TL;DR
This paper introduces CARPE, a novel framework that helps Large Vision-Language Models (LVLMs) improve their performance on vision-centric tasks like image classification. CARPE achieves this by dynamically balancing raw visual features with language-aligned representations, leading to better overall multimodal understanding.
What Problem Does This Paper Address?
Large Vision-Language Models (LVLMs) are powerful tools that combine visual and textual understanding, aiming to become general-purpose assistants. However, a significant drawback has emerged: while excelling at generative tasks, they often underperform on pure image classification compared to their underlying vision encoders (like CLIP). This suggests that the process of aligning visual information with language can degrade the model's ability to perform fundamental visual recognition tasks. This limitation hinders LVLMs in scenarios where accurate visual understanding is a prerequisite for effective reasoning and generation. The paper aims to bridge this gap by enhancing LVLMs' intrinsic visual capabilities without sacrificing their multimodal strengths.
Methods
The core of CARPE is a Context-Aware Image Representation Prioritization via Ensemble (CARPE) framework. It's designed to be model-agnostic and integrates seamlessly with existing LVLMs. CARPE introduces two key components:
- Vision-Integrator: This module aims to capture a richer set of visual features by combining two sources:
- Raw vision features: These are the direct outputs from the base vision encoder, preserving fine-grained details.
-
LLM representations: These are the visual features after they've been processed and aligned with the language model. The vision-integrator uses cross-attention and self-attention layers to merge these two perspectives, assuming they offer complementary information.
-
Context-Aware Ensemble Mechanism: This is the "prioritization" part. CARPE uses a context encoder and a learnable context prompt to dynamically determine how much weight to give to the vision-integrator's output versus the final LLM output. This weighting is guided by the text input, allowing the model to prioritize visual information for vision-centric tasks (like classification) and lean more on language reasoning for other tasks. This is achieved by generating ensemble weights ($\alpha, \beta$) that sum to 1.
An extension, CARPE-MoE, further enhances this by incorporating a Mixture-of-Experts (MoE) approach, using multiple diverse vision encoders as experts to capture even more robust visual representations.
Datasets
The paper evaluates CARPE on a range of datasets:
- Classification Datasets:
- ImageNet
- Caltech101
- Flowers102
- Food101
- Vision-Language Benchmarks:
- ScienceQA (image subset)
- TextVQA
- POPE
- MME
- MMBench
- CV-Bench
- MMVP
The paper does not introduce new benchmarks but uses established ones to demonstrate CARPE's effectiveness across different multimodal tasks, including general-purpose and vision-centric ones.
Key Insights and Ideas
- Classification-relevant information is preserved but underutilized: The paper's key insight is that LVLMs don't entirely "forget" visual information during language alignment. Instead, this information becomes suboptimally aligned for discriminative tasks, leading to performance drops.
- Dynamic weighting is crucial for generalization: Different tasks require different balances between visual and linguistic processing. CARPE's ability to adaptively weight these modalities based on the context is key to improving generalization.
- Combining raw and aligned features is beneficial: The vision-integrator's approach of merging pre- and post-alignment visual features effectively captures a broader spectrum of visual information.
- Parameter efficiency matters: CARPE is designed to be lightweight and easily integrated, offering significant improvements without drastically increasing model size or complexity, especially compared to methods like SPHINX.
Key Results
- Improved Classification: CARPE significantly boosts performance on ImageNet and, crucially, on out-of-distribution (OOD) classification benchmarks, unlike simple fine-tuning which can hurt OOD performance. CARPE-MoE achieved the highest average classification accuracy.
- Vision-Centric Benchmark Gains: CARPE-MoE showed substantial improvements on vision-centric benchmarks like CV-Bench (+12.2%) and MMVP (+2.0%) compared to the base LVLM, while the fine-tuning baseline saw drops.
- Competitive Performance: Despite being much smaller, CARPE often outperformed larger models like SPHINX-13B on classification benchmarks.
- Adaptive Weighting: Table 4 shows CARPE-MoE assigns a higher vision weight (0.26) to classification tasks compared to vision-language tasks (0.13), demonstrating its context-aware balancing.
Limitations and Future Work
- Single LVLM Evaluation: The current experiments primarily used LLaVA-1.5. Future work could explore CARPE's integration with more recent and diverse LVLMs.
- Simple Architecture: The vision-integrator and context encoder use relatively simple architectures (e.g., single linear layer). Exploring richer architectural choices could yield further improvements.
- Performance Drops on Some Benchmarks: While CARPE improves average performance, it still shows drops on some general vision-language benchmarks and its classification accuracy, though improved, remains below the base CLIP model.
- Future Directions: The authors suggest exploring alternative ensemble strategies, architectural variations, and evaluating on stronger LVLM architectures to further enhance performance and generalizability.
Summary updated