To Preserve or To Compress: An In-Depth Study of Connector Selection in Multimodal Large Language Models

Junyan Lin, Haoran Chen, Dawei Zhu, Xiaoyu Shen · DOI

Abstract

In recent years, multimodal large language models (MLLMs) have garnered significant attention from both industry and academia. However, there is still considerable debate on constructing MLLM architectures, particularly regarding the selection of appropriate connectors for perception tasks of varying granularities. This paper systematically investigates the impact of connectors on MLLM performance. Specifically, we classify connectors into feature-preserving and feature-compressing types. Utilizing a unified classification standard, we categorize sub-tasks from three comprehensive benchmarks, MMBench, MME, and SEED-Bench, into three task types: coarse-grained perception, fine-grained perception, and reasoning, and evaluate the performance. Our findings reveal that feature-preserving connectors excel in fine-grained perception tasks due to their ability to retain detailed visual information. In contrast, feature-compressing connectors, while less effective in fine-grained perception tasks, offer significant speed advantages and perform comparably in coarse-grained perception and reasoning tasks. These insights are crucial for guiding MLLM architecture design and advancing the optimization of MLLM architectures.

Introduction

In Multimodal Large Language Models (MLLMs) such as LLaVA or Qwen-VL, the "connector" serves as the critical bridge transforming raw visual features from an encoder (e.g., CLIP) into a format compatible with the Large Language Model (LLM). Despite its importance, a fundamental architectural tension exists between preserving all visual patch tokens for maximum detail and compressing tokens for computational efficiency. Prior research has offered inconsistent conclusions regarding this trade-off. This study provides a rigorous, head-to-head comparison across different task granularities and image resolutions to resolve these debates.

Methodology

We categorize connectors into two primary families based on their treatment of visual tokens:

  1. Feature-Preserving: These maintain the original number of visual patches, typically utilizing a simple Linear layer or a Two-layer MLP.
  2. Feature-Compressing: These reduce the token count to enhance efficiency. We evaluate Average Pooling, Q-Former (cross-attention based), and C-Abstractor (convolution-based).
Architectural diagrams of different connector types: (a) Average Pooling, (b) Attention Pooling, and (c) Convolutional Mapping.

A key methodological contribution is the reclassification of standard benchmarks (MMBench, MME, and SEED-Bench) into three distinct task types to better understand performance nuances:

  • Coarse-grained perception: Global scene understanding (e.g., identifying a room type).
  • Fine-grained perception: Localized detail recognition (e.g., identifying small object attributes).
  • Reasoning: Logical deduction based on visual input.

Results and Discussion

Our evaluation across multiple resolutions (224px, 336px, and 448px) reveals several critical insights into MLLM architecture design.

The Fine-Grained Performance Gap

Feature-preserving connectors, specifically the Two-layer MLP, demonstrate a clear advantage in fine-grained tasks. Compressing tokens inevitably sacrifices the spatial resolution necessary for localized details. For instance, at 336px resolution, the Two-layer MLP achieved a fine-grained perception score of 66.43, significantly outperforming Average Pooling (59.37).

Radar charts comparing Two-layer MLP, Q-Former, and C-Abstractor performance across various tasks and resolutions.

Efficiency and the "Q-Former Paradox"

While the Q-Former is a popular choice in models like BLIP-2, it performed the worst among compressing connectors in our tests. It appears more difficult to train, with slower loss convergence given our 1.23M sample training set. Conversely, simpler methods like Average Pooling or the C-Abstractor performed nearly as well as the full MLP in reasoning and coarse-grained tasks while offering massive speedups. At 448px, the C-Abstractor reduced pre-training time by 80% and fine-tuning time by 51%.

Resolution Optimization

We identified 336px as the optimal resolution for feature-preserving models. Increasing resolution to 448px results in 1024 tokens, which significantly slows LLM processing without providing proportional accuracy gains, especially as many visual encoders are not natively trained at such high resolutions.

Conclusion

This study demonstrates that while feature-preserving connectors are essential for fine-grained perception, feature-compressing connectors like the C-Abstractor offer a superior balance of efficiency and performance for reasoning and global understanding tasks. Future work should explore these connectors within dynamic resolution frameworks to adaptively balance detail and efficiency based on content.

Summary updated

BibTeX
@inproceedings{lin2024preserve,
  author = {Junyan Lin and Haoran Chen and Dawei Zhu and Xiaoyu Shen},
  title = {{To Preserve or To Compress: An In-Depth Study of Connector Selection in Multimodal Large Language Models}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2024},
  doi = {10.18653/v1/2024.emnlp-main.325},
}
Figure