Abstract
Multimodal Large Language Models (MLLMs) have recently demonstrated remarkable perceptual and reasoning abilities, typically comprising a Vision Encoder, an Adapter, and a Large Language Model (LLM). The adapter serves as the critical bridge between the visual and language components. However, training adapters with image-level supervision often results in significant misalignment, undermining the LLMs' capabilities and limiting the potential of Multimodal LLMs. To address this, we introduce Supervised Embedding Alignment (SEA), a token-level alignment method that leverages vision-language pre-trained models, such as CLIP, to align visual tokens with the LLM's embedding space through contrastive learning. This approach ensures a more coherent integration of visual and language representations, enhancing the performance and interpretability of multimodal LLMs while preserving their inherent capabilities. Extensive experiments show that SEA effectively improves MLLMs, particularly for smaller models, without adding extra data or inference computation. SEA also lays the groundwork for developing more general and adaptable solutions to enhance multimodal systems.
Introduction
Current MLLMs, such as LLaVA, typically utilize a two-stage pipeline where an adapter learns to map visual features into a space understandable by the LLM, followed by instruction tuning. However, this alignment is generally guided by coarse, image-level supervision (e.g., matching a whole image to a whole caption). This approach introduces an "alignment tax" characterized by two major issues:
- Semantic Distortion: Visual tokens often map to semantically unrelated words in the LLM's vocabulary (e.g., a patch of a blueberry might be interpreted as "bluejeans").
- The Modality Gap: There is a significant spatial distance in the embedding space between visual tokens and the LLM’s native text tokens.
Because the input is perceived as "noisy" or "foreign," the LLM must expend internal reasoning capacity simply to decode visual inputs, rather than focusing on the user's prompt. This is particularly detrimental for smaller models with limited parameter counts.
Methodology: Supervised Embedding Alignment (SEA)
To bridge this gap, we propose Supervised Embedding Alignment (SEA), which moves beyond coarse alignment to precise, token-level supervision. Instead of allowing the adapter to learn a mapping autonomously, SEA provides explicit "hints" at the patch level during pre-training.
The SEA framework involves three core processes:
- Semantic Label Extraction: A well-aligned vision-language model (like CLIP) identifies the most relevant text labels for individual image patches from a 4-million-word vocabulary.
- Token-Level Contrastive Learning: The adapter is trained to map visual patches close to the LLM's own embeddings for those specific text labels.
- Similarity-Weighted & Localized Sampling: To handle patches containing multiple concepts, we employ a weighted sampling strategy and localized windowing to ensure semantic consistency without overwhelming the model.
Crucially, this supervision occurs only during training. The final model maintains the same inference speed as standard MLLMs.
Key Insights and Results
SEA significantly reduces the "translation burden" on the language model. By making visual inputs appear more like "native" text, the LLM retains its pre-trained knowledge more effectively and can dedicate more resources to reasoning.
Performance Gains
- Small Model Efficiency: SEA acts as a force multiplier for smaller models. SEA-PRIME achieved an average performance gain of 7.61% over the baseline on Gemma-2B.
- State-of-the-Art Results: The SEA-PRIME 8B model (based on Llama-3) outperformed many larger models on benchmarks like ScienceQA and POPE.
- Reduced Hallucination: On the POPE benchmark, SEA models demonstrated higher scores, indicating they are less likely to hallucinate objects not present in the image.
- Preserving Language "Soul": Standard multimodal training often degrades an LLM's original language-only performance. SEA helps the LLM retain its pre-trained knowledge better by providing more semantically consistent inputs.
Conclusion
SEA demonstrates that precise, token-level alignment is critical for the next generation of MLLMs. By reducing the modality gap and semantic distortion, SEA allows models—especially smaller ones—to punch significantly above their weight class. Future research will explore dynamic label selection and extending this paradigm to video and audio modalities.
Summary updated