From CLIP to DINO: Visual Encoders Shout in Multi-modal Large Language Models

Dongsheng Jiang, Yuchen Liu, Songlin Liu, Jin'e Zhao, Hao Zhang +4 more
10/13/2023
122 citations
cs.CV

Official code: YuchenLiu98/COMM (212 stars, Jupyter Notebook, MIT, last commit 2025-01-08).

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

YuchenLiu98/COMMOfficial100%
MIT

Pytorch code for paper From CLIP to DINO: Visual Encoders Shout in Multi-modal Large Language Models

2126Jupyter NotebookOct 12, 20231 years agoMIT

Similar Papers

Cite this paper

@article{jiang2023from,
  title  = {From CLIP to DINO: Visual Encoders Shout in Multi-modal Large Language Models},
  author = {Dongsheng Jiang and Yuchen Liu and Songlin Liu and Jin'e Zhao and Hao Zhang and Zhen Gao and Xiaopeng Zhang and Jin Li and Hongkai Xiong},
  year   = {2023},
  eprint = {2310.08825},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2310.08825v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2310.08825.svg)](https://codeofpaper.com/paper/2310.08825)

Discussion