Skip to main content
QUICK REVIEW

[论文解读] Unveiling Encoder-Free Vision-Language Models

Haiwen Diao, Yufeng Cui|arXiv (Cornell University)|Jun 17, 2024
Multimodal Machine Learning ApplicationsComputer Science被引用 3
一句话总结

本文提出EVE,一种仅使用解码器、无需编码器的视觉-语言模型,通过基于大语言模型(LLM)的预对齐策略以及来自预训练视觉编码器的细粒度视觉监督,实现了与当前最先进编码器模型相当的性能。仅在3500万条公开可用数据上进行训练,EVE在性能上可与更大的编码器模型比肩,且优于Fuyu-8B,尽管后者采用了未公开的训练设置。

ABSTRACT

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.

研究动机与目标

  • 为克服基于编码器的视觉-语言模型的局限性,包括固定的图像分辨率、较高的部署开销以及模型容量不匹配的问题。
  • 实现无需视觉编码器的纯解码器仅架构的直接训练,而视觉编码器通常被视为视觉特征提取的关键组件。
  • 开发一种训练方案,确保在固有训练不稳定性的情况下,无编码器VLM仍能实现快速收敛和高性能。
  • 证明统一的、以LLM为中心的架构可在保持强大语言能力的同时,实现强大的多模态理解能力。
  • 为未来在多种模态上开发纯多模态模型提供一种透明、高效且可扩展的路径。

提出的方法

  • 通过让LLM直接理解视觉输入,在单一统一的解码器中对齐视觉与语言表征,同时保持语言能力的熟练度。
  • 在预训练过程中冻结LLM权重,以防止语言知识的灾难性遗忘,维持世界知识。
  • 通过预训练视觉编码器的图像块级特征与教师编码器-基于VLM预测的文本标记之间的对比对齐损失,增强视觉识别能力。
  • 在视觉编码器头部引入一种计算控制机制(CA1),以管理FLOPs并保持低推理延迟。
  • 通过逐步扩大训练数据规模,持续缩小与基于编码器模型的性能差距,显示出更多数据带来的一致性收益。
  • 采用统一的端到端训练目标,联合优化单一架构中的视觉感知与语言理解。

实验结果

研究问题

  • RQ1纯解码器仅架构是否能在无专用视觉编码器的情况下实现视觉-语言任务的竞争力表现?
  • RQ2在无编码器VLM中,哪些训练策略对稳定收敛和防止性能崩溃至关重要?
  • RQ3从LLM中心视角对齐视觉与语言表征,如何影响模型性能与语言保留能力?
  • RQ4来自预训练视觉编码器的细粒度视觉监督,能在多大程度上提升无编码器VLM的视觉理解能力?
  • RQ5当使用相同LLM容量并拥有足够数据时,无编码器VLM是否能与基于编码器的模型比肩甚至超越?

主要发现

  • EVE-7B在仅使用3500万条公开可访问数据训练的情况下,性能可与基于编码器的模型(如LLaVA-1.5和LLaVA-1.6)相媲美。
  • EVE优于Fuyu-8B这一强基线模型,后者未公开其训练数据和流程,凸显了所提方法的透明性与高效性。
  • 与LLaVA-1.6相比,EVE在图像编码速度上实现了10倍的提升,FLOPs降低3.5倍,且推理延迟显著降低。
  • 在预训练过程中冻结LLM权重可保持语言熟练度,防止仅在视觉-语言数据上训练时SQA得分下降2.3%。
  • 随着训练数据的增加,性能持续提升,表明无编码器模型更不易过拟合,且能从数据扩展中获益。
  • CA1组件通过控制计算复杂度,实现了高效部署,使高分辨率图像处理在极低延迟下完成。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。