[Paper Review] From CLIP to DINO: Visual Encoders Shout in Multi-modal Large Language Models
The paper analyzes how different visual encoders (CLIP, DINOv2, MAE, DeiT) perform as visual branches in MLLMs, finds shallow CLIP and the DINOv2-based approach with MLP alignment excel at fine-grained tasks, and proposes COMM to fuse CLIP and DINOv2 features for improved multimodal understanding.
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.
Motivation & Objective
- Investigate how various visual foundation models influence performance in multi-modal LLMs.
- Identify which layer features (shallow vs deep) contribute to fine-grained versus global understanding.
- Evaluate the potential of a fusion strategy to combine CLIP and DINOv2 for enhanced visual perception in MLLMs.
Proposed method
- Evaluate multiple vision encoders (CLIP, DINOv2, MAE, DeiT) as visual branches in ViT-Large based MLLMs. - Extract features from different layers and align via linear projection or MLP for DINOv2. - Test on REC, REG, POPE, VQA, and captioning benchmarks. - Propose multi-level feature merging (MFM) strategies including LLN-Layerscale and variants. - Build COMM by fusing CLIP and DINOv2 features with an MLP alignment for DINOv2 and a linear projection for CLIP. - Train in two stages with vision encoder frozen and LLM/alignment modules tuned.
- - Use LLN-Layerscale with MLP to align DINOv2 features and concatenate with CLIP features. - Downsample vision features to 14x14 tokens for LLM input. - Use linear layer to match feature dimensions before LLM input. - Train with AdamW, cosine decay, batch size 64, on 8 A800 GPUs.
Experimental results
Research questions
- RQ1Do shallow CLIP features provide advantages for grounding and region understanding compared to deep features?
- RQ2Can a vision-only model like DINOv2, with minimal alignment, serve as an effective visual branch in MLLMs?
- RQ3Does merging CLIP and DINOv2 through multi-level feature fusion (COMM) outperform single-model visual branches across VL tasks?
- RQ4What is the impact of multi-level feature merging strategies on REC, REG, POPE, VQA, and captioning?
Key findings
- Shallow CLIP features improve fine-grained tasks like grounding and region understanding, while deep features excel in global understanding.
- DINOv2, with an MLP alignment, yields strong performance in REC and competitive results in POPE and REG as a vision-only visual branch.
- Multi-level feature merging (MFM) with LLN-Layerscale-MLP significantly boosts CLIP and DINOv2 performance across VL tasks.
- The proposed COMM fusion of CLIP and DINOv2 outperforms single-vision-branch baselines on REC, REG, POPE, VQA, and captioning benchmarks.
- COMM achieves state-of-the-art or competitive results with smaller LLMs and less data compared to some specialist SOTAs.
- COMM reduces object hallucination and improves fine-grained perception, demonstrated on multiple benchmarks.
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.