Skip to main content
QUICK REVIEW

[论文解读] From CLIP to DINO: Visual Encoders Shout in Multi-modal Large Language Models

Dongsheng Jiang, Yuchen Liu|arXiv (Cornell University)|Oct 13, 2023
Multimodal Machine Learning ApplicationsComputer Science被引用 12
一句话总结

本文分析不同视觉编码器(CLIP、DINOv2、MAE、DeiT)在多模态大语言模型中的视觉分支表现,发现浅层 CLIP 与基于 DINOv2 的通过 MLP 对齐的方法在细粒度任务上表现出色,并提出 COMM 将 CLIP 与 DINOv2 的特征融合以提升多模态理解。

ABSTRACT

Multi-modal Large Language Models (MLLMs) have made significant strides in expanding the capabilities of Large Language Models (LLMs) through the incorporation of visual perception interfaces. Despite the emergence of exciting applications and the availability of diverse instruction tuning data, existing approaches often rely on CLIP or its variants as the visual branch, and merely extract features from the deep layers. However, these methods lack a comprehensive analysis of the visual encoders in MLLMs. In this paper, we conduct an extensive investigation into the effectiveness of different vision encoders within MLLMs. Our findings reveal that the shallow layer features of CLIP offer particular advantages for fine-grained tasks such as grounding and region understanding. Surprisingly, the vision-only model DINO, which is not pretrained with text-image alignment, demonstrates promising performance as a visual branch within MLLMs. By simply equipping it with an MLP layer for alignment, DINO surpasses CLIP in fine-grained related perception tasks. Building upon these observations, we propose a simple yet effective feature merging strategy, named COMM, that integrates CLIP and DINO with Multi-level features Merging, to enhance the visual capabilities of MLLMs. We evaluate COMM through comprehensive experiments on a wide range of benchmarks, including image captioning, visual question answering, visual grounding, and object hallucination. Experimental results demonstrate the superior performance of COMM compared to existing methods, showcasing its enhanced visual capabilities within MLLMs.

研究动机与目标

  • 研究各种视觉基础模型如何影响多模态大语言模型的性能。
  • 识别哪些层级特征(浅层与深层)对细粒度理解与全局理解的贡献。
  • 评估将 CLIP 与 DINOv2 融合以提升在多模态大语言模型中的视觉感知潜力。

提出的方法

  • 在基于 ViT-Large 的多模态大语言模型中评估多种视觉编码器(CLIP、DINOv2、MAE、DeiT)作为视觉分支。 - 从不同层提取特征,并通过线性投影对齐 DINOv2 的特征或使用 MLP。 - 在 REC、REG、POPE、VQA 和字幕生成基准上进行测试。 - 提出多层级特征融合(MFM)策略,包括 LLN-Layerscale 及其变体。 - 通过将 CLIP 与 DINOv2 特征融合,使用 DINOv2 的 MLP 对齐和 CLIP 的线性投影来构建 COMM。 - 分两阶段训练,视觉编码器保持冻结,LLM/对齐模块进行微调。
  • - 使用 LLN-Layerscale 配合 MLP 对齐 DINOv2 特征并与 CLIP 特征拼接。 - 将视觉特征下采样至 14x14 令牌,以便输入到大语言模型。 - 在进入 LLM 之前使用线性层匹配特征维度。 - 使用 AdamW、余弦衰减、批量大小 64,在 8 块 A800 GPU 上训练。

实验结果

研究问题

  • RQ1浅层的 CLIP 特征是否在定位和区域理解方面提供比深层特征更大的优势?
  • RQ2像 DINOv2 这样的仅视觉模型,若仅进行最小对齐,是否能够在 MLLMs 中作为有效的视觉分支?
  • RQ3通过多层特征融合(COMM)将 CLIP 与 DINOv2 合并,是否在 VL 任务上优于单模型的视觉分支?
  • RQ4多层特征融合策略对 REC、REG、POPE、VQA 和字幕生成的影响如何?

主要发现

  • 浅层 CLIP 特征在定位和区域理解等细粒度任务上有改善,而深层特征在全局理解方面表现更佳。
  • DINOv2 通过 MLP 对齐,在作为仅视觉分支的情况下,在 REC 上取得强劲表现,在 POPE 与 REG 上也有竞争力。
  • 带有 LLN-Layerscale 的多层特征融合(MFM)显著提升了 CLIP 与 DINOv2 在各 VL 任务上的表现。
  • 提出的 COMM 融合方法在 REC、REG、POPE、VQA 和字幕生成基准上优于单一视觉分支基线。
  • 相比某些专业SOTA,COMM 在较小的语言模型和较少数据的情况下实现了领先或具有竞争力的结果。
  • COMM 减少了对象幻觉并提升了细粒度感知,在多个基准上得到证明。

阅读本论文

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

在 Nubint 中阅读本论文

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