[Paper Review] Unveiling Encoder-Free Vision-Language Models
This paper introduces EVE, a decoder-only, encoder-free vision-language model that achieves performance on par with state-of-the-art encoder-based models by leveraging an LLM-centric pre-alignment strategy and fine-grained visual supervision from pre-trained vision encoders. Training solely on 35M publicly available data, EVE rivals larger encoder-based models and outperforms Fuyu-8B despite the latter's undisclosed training setup.
Existing vision-language models (VLMs) mostly rely on vision encoders to extract visual features followed by large language models (LLMs) for visual-language tasks. However, the vision encoders set a strong inductive bias in abstracting visual representation, e.g., resolution, aspect ratio, and semantic priors, which could impede the flexibility and efficiency of the VLMs. Training pure VLMs that accept the seamless vision and language inputs, i.e., without vision encoders, remains challenging and rarely explored. Empirical observations reveal that direct training without encoders results in slow convergence and large performance gaps. In this work, we bridge the gap between encoder-based and encoder-free models, and present a simple yet effective training recipe towards pure VLMs. Specifically, we unveil the key aspects of training encoder-free VLMs efficiently via thorough experiments: (1) Bridging vision-language representation inside one unified decoder; (2) Enhancing visual recognition capability via extra supervision. With these strategies, we launch EVE, an encoder-free vision-language model that can be trained and forwarded efficiently. Notably, solely utilizing 35M publicly accessible data, EVE can impressively rival the encoder-based VLMs of similar capacities across multiple vision-language benchmarks. It significantly outperforms the counterpart Fuyu-8B with mysterious training procedures and undisclosed training data. We believe that EVE provides a transparent and efficient route for developing a pure decoder-only architecture across modalities. Our code and models are publicly available at: https://github.com/baaivision/EVE.
Motivation & Objective
- To overcome the limitations of encoder-based vision-language models, including fixed image resolution, high deployment overhead, and mismatched model capacities.
- To enable direct training of pure decoder-only vision-language models without vision encoders, which are typically seen as essential for visual feature extraction.
- To develop a training recipe that ensures fast convergence and high performance for encoder-free VLMs despite their inherent training instability.
- To demonstrate that a unified, LLM-centric architecture can achieve strong multimodal understanding while maintaining strong language capabilities.
- To provide a transparent, efficient, and scalable path for future development of pure multimodal models across multiple modalities.
Proposed method
- Pre-aligning vision and language representations within a single unified decoder by training the LLM to understand visual inputs directly, preserving linguistic proficiency.
- Freezing the LLM weights during pre-training to prevent catastrophic forgetting of language knowledge and maintain world knowledge.
- Enhancing visual recognition by using a contrastive alignment loss between patch-level features from a pre-trained vision encoder and predicted text tokens from a teacher encoder-based VLM.
- Introducing a computational control mechanism (CA1) in the visual encoder head to manage FLOPs and maintain low inference latency.
- Scaling up training data to gradually close the performance gap with encoder-based models, showing consistent gains with more data.
- Using a unified, end-to-end training objective that jointly optimizes visual perception and language understanding in a single architecture.
Experimental results
Research questions
- RQ1Can a pure decoder-only architecture achieve competitive performance in vision-language tasks without a dedicated vision encoder?
- RQ2What training strategies are essential to stabilize convergence and prevent performance collapse in encoder-free VLMs?
- RQ3How does pre-aligning vision and language representations from an LLM-centric perspective affect model performance and language retention?
- RQ4To what extent can fine-grained visual supervision from a pre-trained vision encoder improve the visual understanding of an encoder-free VLM?
- RQ5Can encoder-free VLMs match or surpass encoder-based models when trained with the same LLM capacity and sufficient data?
Key findings
- EVE-7B achieves performance comparable to encoder-based models like LLaVA-1.5 and LLaVA-1.6, despite being trained solely on 35M publicly accessible data.
- EVE outperforms Fuyu-8B, a strong baseline with undisclosed training data and procedures, demonstrating the transparency and efficiency of the proposed method.
- The model achieves a 10x speedup in image encoding and a 3.5x reduction in FLOPs compared to LLaVA-1.6, with significantly lower inference latency.
- Freezing the LLM weights during pre-training preserves linguistic proficiency, preventing a 2.3% drop in SQA score that occurs when training only on vision-language data.
- Performance improves consistently with more training data, indicating that encoder-free models are less prone to overfitting and benefit from data scaling.
- The CA1 component enables efficient deployment by controlling computational complexity, allowing high-resolution image processing with minimal latency.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.