Dense Connector for MLLMs

Do we fully leverage the potential of visual encoder in Multimodal Large Language Models (MLLMs)? The recent outstanding performance of MLLMs in multimodal understanding has garnered broad attention from both academia and industry. In the current MLLM rat race, the focus seems to be predominantly on the linguistic side. We witness the rise of larger and higher-quality instruction datasets, as well as the involvement of larger-sized LLMs. Yet, scant attention has been directed towards the visual signals utilized by MLLMs, often assumed to be the final high-level features extracted by a frozen visual encoder. In this paper, we introduce the Dense Connector - a simple, effective, and plug-and-play vision-language connector that significantly enhances existing MLLMs by leveraging multi-layer visual features, with minimal additional computational overhead. Building on this, we also propose the Efficient Dense Connector, which achieves performance comparable to LLaVA-v1.5 with only 25% of the visual tokens. Furthermore, our model, trained solely on images, showcases remarkable zero-shot capabilities in video understanding as well. Experimental results across various vision encoders, image resolutions, training dataset scales, varying sizes of LLMs (2.7B->70B), and diverse architectures of MLLMs (e.g., LLaVA-v1.5, LLaVA-NeXT and Mini-Gemini) validate the versatility and scalability of our approach, achieving state-of-the-art performance across 19 image and video benchmarks. We hope that this work will provide valuable experience and serve as a basic module for future MLLM development. Code is available at https://github.com/HJYao00/DenseConnector .

Paper

References (83)

Scroll for more · 38 remaining

Similar papers

Peer review

Reviewer qnn96/10 · confidence 4/52024-07-12

Summary

The document presents a novel approach called the Dense Connector (DC), which is a simple and effective plug-and-play vision-language connector that enhances existing Multimodal Large Language Models (MLLMs) by leveraging multi-layer visual features from the frozen visual encoder.The authors propose three intuitive instantiations of the Dense Connector.The authors demonstrate the versatility and scalability of their approach across various visual encoders, image resolutions, training dataset scales, LLM sizes, and MLLM architectures, achieving state-of-the-art performance on 19 image and video benchmarks.

Strengths

1. the dense connector is easily plugged into mainstream MLLM architecture, and could enhance visual representation of existing MLLM with little additional computation. 2. authors demonstrate the compatibility and scalability of proposed approach across visual encoders, image resolutions, scales of training datasets, sizes of LLMs and even for video understanding tasks.

Weaknesses

1. authors do experiments on several MLLM models, however don't summarize the compatible scope of models architectures.

Questions

I am curious whether the DC is compatible with BLIP2-like architectures which have cross-attention visual resamplers? Could authors give generalization of the compatible types of MLLM architecture?

Rating

6

Confidence

4

Soundness

3

Presentation

3

Contribution

3

Limitations

authors adequately addressed the limitations

Authorsrebuttal2024-08-13

Response to reviewer qnn9

Thank you for the reviewer's comments. We used a visual resampler based on **Flamingo** [1], with 64 query tokens, 6 layers, a hidden size of 1024, and 16 heads. In the first stage, we fine-tune the visual resampler and the linear layer that follows it, while freezing the ViT and LLM. In the second stage, we fine-tune the visual resampler, the linear layer, and the LLM, keeping only the ViT frozen. Thank you very much for your time and comments! Please let us know if there are any further questions that need clarification. [1] Alayrac, Jean-Baptiste, et al. "Flamingo: a visual language model for few-shot learning." Advances in neural information processing systems 35 (2022): 23716-23736.

Reviewer 2pJ55/10 · confidence 5/52024-07-12

Summary

This paper endeavors to delve into the visual representations in MLLMs, introducing a module, plug-and-play component named as Dense Connector (DC). This DC is designed to enhance visual representation. To this end, three instantiations are presented, including Sparse Token Integration(STI), Sparse Channel Integration(SCI), and Dense Channel Integration(DCI). Thorough experimental evaluations are meticulously carried out to validate the compatibility and scalability, thereby highlighting their potential in enhancing MLLM performance.

Strengths

1. A plug-and-play module can be applyed into various MLLMs. 2. The experiments, including different training datasets, diverse MLLMs, are conduted to demonstrate the performance of DC. The video benchmarks are also adopted as an extension.

Weaknesses

1. The insight of enhancing visual representations from multi-level features of vision encoder have been explored in previous works, like [1]. The work [1] has provided the simliar evidences from multi-level features, and more comprehensive analysis based on a amout of experimetal results. Would authors provides any possible fair comparsions with the work[1] (Only CLIP vision encoder)? [1] Jiang et al., From CLIP to DINO: Visual Encoders Shout in Multi-modal Large Language Models, Arxiv 2023. 2. While this work outlines three architectural configurations for the Dense Connector (DC), it primarily employs a single variant – the Dense Channel Integration (DCI). It is important to note that the DC module serves more as an empirical trick rather than a theoretical methodology. 3. I think the performance gain is limited, especially on high-resolution MGM baseline in Table2. The scalability of DC may be limited. To comprehensively assess its effectiveness, I encourage the authors to extend their comparisons utilizing a Vicuna-13B model based on the MGM framework, incorporating additional benchmark datasets such as VQAv2, MME, and POPE. It is speculated that the incremental performance gain might become even less pronounced when employing larger language models (LLMs),

Questions

It would be beneficial to include a line chart that incorporates a broader range of combinations, facilitating a clearer visual comparison and enabling the selection of groups more evidently.

Rating

5

Confidence

5

Soundness

2

Presentation

2

Contribution

2

Limitations

Suggestions: The presented DC can be furthre to combine multiple vision encoder, like DINOv2.

Authorsrebuttal2024-08-13

Response to reviewer 2pj5

Thank you for the reviewer's comments. Due to the word limit, we only provided a portion of the benchmark results in our previous response. **We now offer a more comprehensive performance comparison.** **Q1.More comparisons with MGM** Thank you for your feedback. We agree that adding more benchmark comparisons will be helpful for this paper. We provide further comparisons between MGM-7B and MGM-13B here. According to the table below, DC improved performance across these benchmarks, **with an average increase of 1.1 on MGM-7B and 1.9 on MGM-13B.** | | VQAv2 | MMBench | POPE | MME | LLaVA-Bench | MM-Vet | GQA | SQA | TextVQA | MMMU | MathVista | AVG | | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | | MGM-7B | 80.4 | 69.3 | 85.7 | 1523/316 | 85.4 | 40.8 | 62.6 | 70.4 | 65.2 | 36.1 | 31.4 | 65.4 | | DC-7B  w/ MGM | 81.1 | 70.7 | 86.1 | 1530/347 | 88.7 | 42.2 | 63.3 | 70.7 | 66.0 | 36.8 | 32.5 | 66.5 (**+1.1%**) | | | VQAv2 | MMBench | POPE | MME | LLaVA-Bench | MM-Vet | GQA | SQA | TextVQA | MMMU | MathVista | AVG | | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | | MGM-13B | 80.8 | 68.5 | 85.1 | 1565/322 | 87.5 | 46.0 | 63.4 | 72.6 | 65.9 | 38.1 | 37.0 | 67.2 | | DC-13B  w/ MGM | 81.9 | 70.7 | 85.6 | 1573/355 | 92.0 | 49.8 | 64.2 | 74.9 | 66.7 | 39.3 | 38.1 | 69.1(**+1.9%**) | In current MLLMs, no matter which model we consider, there are inevitably instances where performance gains on certain benchmarks are minimal. Our experiments trained various models across different settings to validate the generalization of DC, including different vision encoders, LLMs, training data, modalities, and architectures. Given the diversity of settings, it's understandable that some results may appear less pronounced. We provided **official results** to show that even representative models (LLaVA, MGM) are unable to achieve significant improvements across all benchmarks. For example, in LLaVA-1.5, both the 7B and 13B models achieved the **same score of 85.9 on POPE**. In LLaVA-Next, the 7B to 13B models only improved by **+0.7** on POPE, **+0.7** on MathVista, and **+0.6** on MMMU. And **expanding LLaVA-1.5 13B to the high-resolution LLaVA-NeXT yielded only a 0.3 improvement on POPE.** Similarly, in MGM, when extended to higher resolution, MGM-13B showed improvements of **+0.1** on MMBench, **-0.8** on MMMU, and **+0** on Math. We want to convey that, like representative models in MLLM such as LLaVA and MGM, even **they cannot achieve consistent improvements across so many benchmarks**. We analyzed that, on one hand, the POPE is **relatively simple**, with results already being high, making further improvements more difficult. Additionally, POPE evaluates the model's ability to handle hallucinations, and since neither LLaVA nor DC is specifically designed to address this, the gains on POPE are both limited. On the other hand, benchmarks like SQA and GQA often **rely more on language capabilities than visual signals**. These benchmarks don't require strong visual perception to perform well on VQA tasks. For instance, **the test question in SQA below can be answered without any visual input.** Since DC is designed to enhance visual perception, its impact on SQA and GQA may be limited in these cases. > SQA: "question_id": "2828", "prompt": "<image>\nWhat is the capital of Iowa?\nA. Davenport\nB. Helena\nC. Lansing\nD. Des Moines\nAnswer with the option's letter from the given choices directly." DC has demonstrated noticeable performance gains across most benchmarks, achieved with almost **no additional overhead.** For benchmarks that **rely more on visual perception**, such as VQAv2, MM-Vet, and MMBench, DC improved MGM-13B by **1.1, 3.8, and 2.2**, respectively. **Q2.More comparisons with COMM** Thank you for your suggestion! Adding more benchmark comparisons will further strengthen this paper. We offer additional benchmark comparisons with COMM, showing that DC's average performance improved by **+1.4% over LLaVA** and by **+1.7% over COMM.** | | TextVQA | MME | SQA | POPE | LLaVA-Bench | GQA | VQAv2 | MM-Vet | MM-Bench | MathVista | AVG | | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | | LLaVA (baseline) | 58.2 | 1511 | 66.8 | 85.9 | 65.4 | 61.9 | 78.5 | 31.1 | 64.3 | 24.9 | 61.3 | | LLaVA+COMM | 58.0 | 1493 | 67.4 | 86.0 | 60.5 | 62.9 | 79.2 | 30.1 | 65.7 | 25.8 | 61.0 **(-0.3%)** | | LLaVA+DC | 59.2 | 1511 | 69.5 | 86.6 | 66.1 | 63.8 | 79.5 | 32.7 | 66.8 | 26.9 | 62.7 **(+1.4%)** | We hope this result convinces the reviewer that DC is robust across various benchmarks and outperforms other similar methods. Thank you very much for your time and comments! Considering that the deadline for discussion is approaching, please let us know if there are any further questions that need clarification.

Reviewer 2pJ52024-08-13

Thanks for the efforts for the further response. The results you've presented above thus far are convincing, and I think that they will enhance the robustness of the proposed method. The detailed and comprehensive comparisons above on the MGM-7B/13B, as well as its contrast with COMM, furnishes a validation of the approach's efficacy. I think $\textbf{these results should be incorporated into the main body of the paper}$ to ensure that the readers are fully apprised of this work. I lean to the positive and raise my score.

Authorsrebuttal2024-08-13

Response to reviewer 2pj5

We are very grateful for the reviewer's hard work. We believe that the reviewer's feedback has greatly refined our paper. We will revise the paper according to the reviewers' suggestions and **incorporate the aforementioned results into the main body of the paper.**

Reviewer sj7M7/10 · confidence 5/52024-07-14

Summary

This paper introduces the Dense Connector, a simple idea that aligns visual and language modalities by utilizing multi-layer visual features. The authors explore three instantiation methods and demonstrates the effectiveness of the Dense Connector across various settings, including different backbones, modalities, datasets and architectures.

Strengths

1. This paper focuses on further exploring the utilization of visual signals in MLLMs. Compared to the attention given to language models, this perspective indeed lacks sufficient attention. It provides insights into utilizing MLPs for integrating multi-layer visual features at the channel level in MLLMs, reducing visual tokens and enhancing computational efficiency. 2. Dense Connector demonstrates effectiveness across a range of model architectures, including LLaVA and Mini-Gemini, as well as LLMs scaling from 2.7B to 70B parameters. 3. This paper is well-written and includes thorough experimental validation of the Dense Connector. 4. I also tried running the code provided by the author, and it is indeed simple and effective. Personally, I feel dense connector has the potential to become a fundamental module in future MLLMs.

Weaknesses

1. High-resolution approaches are widely utilized in vision-language models. This paper explores the application of the Dense Connector with dual visual encoders, specifically Mini-Gemini, in high-resolution settings. However, it lacks an exploration of dynamic high-resolution scenarios, such as those implemented by LLaVA-NEXT. I am curious about whether the Dense Connector could further enhance MLLM performance in this scenario. 2. My another concern is that although the Dense Connector performs well on the Vicuna 7B and 13B models, its effectiveness seems to diminish when scaling to larger sizes. I suspect this might be because training LoRA is not as effective as updating the LLM. If possible, the authors should provide results for updating the LLM to give readers a better reference.

Questions

Beyond the section on weaknesses, I have the following additional questions: 1. The decision to fine-tune ViT during MLLM training is still debated. Research findings are mixed; some [1] indicate that fine-tuning ViT may impair performance, while others [2] show it can lead to performance improvements. I wonder whether the Dense Connector, which utilizes multi-layer visual features, could benefit from fine-tuning ViT. 2. The authors could specify the additional training and testing time required by the Dense Connector. [1] Karamcheti, Siddharth, et al. "Prismatic vlms: Investigating the design space of visually-conditioned language models." arXiv preprint arXiv:2402.07865 (2024). [2] Chen, Lin, et al. "Sharegpt4v: Improving large multi-modal models with better captions." arXiv preprint arXiv:2311.12793 (2023).

Rating

7

Confidence

5

Soundness

4

Presentation

4

Contribution

3

Limitations

The authors have addressed the limitations.

Reviewer 2pJ52024-08-12

Thank you for the author's feedback. I recognize that there may have been some misunderstandings in my previous questions. To clarify, in addition to the original benchmarks, please include detailed comparisons for VQAv2, MME, POPE and etc based on the MGM-13B framework. Please further incorporate the original GQA, SQA^I, VQA^T, MMMU^v, and Math, as presented in Table 2 of the main paper. Because I noticed a slight performance improvement on primary benchmarks: SQA^I (+0.3), GQA (+0.7) with the MGM-7B model, along with the POPE result (+0.5) on the MGM-13B. Besides, I also noticed the performance gain of GQA (+0.6) on LLaVA-NeXT. Moreover, it would be beneficial to further provide detailed comparisons (approximately 10 benchmarks) with COMM, akin to extending the second table included in your response. I believe that a foundational module for MLLM should be robust enough to accommodate a variety of benchmarks while outperforming other similar methods.

Reviewer qnn92024-08-13

Thank you for the author's feedback. I want to know, what are the models with visual resampler used in your experimental results above?

Program Chairsdecision2024-09-25

Decision

Accept (poster)

© 2026 NYSGPT2525 LLC