Abstract
Achieving better alignment between vision embeddings and Large Language Models (LLMs) is crucial for enhancing the abilities of Multimodal LLMs (MLLMs). A common approach to connect the pretrained vision encoder and LLM is through a projector. However, the mechanism by which LLMs understand each vision token remains unclear. This work investigates the role of the projector in compressing vision embeddings and aligning them with word embeddings. We show that the projector significantly compresses visual information, removing redundant details while preserving essential elements. We examine patch-level alignment and propose a multi-semantic alignment hypothesis. To address weak alignment in current models, we propose patch-aligned training. Our experiments show that this method improves performance by 16% on referring expression grounding tasks and enhances general question-answering and instruction-following capabilities.
Introduction
Multimodal Large Language Models (MLLMs), such as LLaVA, typically integrate a vision encoder, an LLM, and a "projector" bridge. While these models excel at general scene description, they often struggle with fine-grained details, leading to hallucinations or vague responses in grounding tasks. This research identifies the projector as a critical bottleneck. Current training regimes rely on image-level captions, which provide "coarse" supervision but fail to establish precise correspondences between specific visual patches and semantic words. Consequently, the alignment between vision and text remains weak at the pixel level.
Methodology
The study introduces a novel training strategy and an automated data generation pipeline to bridge this gap.
Automated Annotation Pipeline
To obtain the necessary fine-grained data, the authors developed an automated pipeline utilizing three state-of-the-art models: RAM for tag recognition, Grounding DINO for bounding box localization, and Segment Anything (SAM) for generating precise segmentation masks. This process resulted in the Patch-Aligned Dataset (PAD), containing 2.3 million regions with detailed semantic labels.
Patch-Aligned Training
The proposed patch-aligned training introduces a new loss function, L_patch. Unlike standard captioning loss, L_patch explicitly forces individual vision patches to have high cosine similarity with the word embeddings of the objects they represent. This ensures that the LLM receives vision tokens that are semantically grounded in its own vocabulary.
Analysis and Key Insights
The Projector as an Information Filter
Using Von Neumann entropy to measure information flow, the researchers discovered that the projector acts as a filter rather than a simple translator. It significantly compresses visual data, stripping away redundant pixels while retaining features essential for the LLM's understanding. This explains why non-linear MLP projectors consistently outperform linear layers.
Multi-Semantic Alignment Hypothesis
The authors suggest that a single image patch often contains multiple meanings (e.g., a patch of a "white TV" encompasses both "white" and "TV"). Using Matching Pursuit to decompose vision embeddings into discrete words, they found that standard models are often "semantically blind" at the patch level. Patch-aligned training significantly clarifies this mapping, allowing patches to align with multiple relevant semantic tokens.
Results
The "Patch-Aligned" approach yielded substantial improvements across several benchmarks:
- Referring Expression Comprehension (REC): A 16% average improvement on RefCOCO/+/g benchmarks, indicating much stronger object localization.
- Visual Question Answering (VQA): A 4% improvement on GQA and SciQA.
- Caption Quality: Significant increases in METEOR and SPICE scores, reflecting more accurate and descriptive text generation.
- Instruction Following: A 3% boost on modern benchmarks like MMVet and MMMU.
Conclusion
This work demonstrates that explicit patch-level alignment is vital for robust multimodal understanding. By treating the projector as a selective filter and supervising it with region-specific semantic labels, MLLMs can achieve far greater precision in grounding and description. Future research will focus on more sophisticated alignment strategies and balancing information compression with the preservation of fine-grained details for niche tasks.
Summary updated