TL;DR
MetaCompress is a novel, learning-based token reduction method designed to slash the high inference costs of Large Vision-Language Models (LVLMs) in multi-turn dialogue settings. By treating token reduction as a learnable compression mapping rather than relying on hand-crafted attention heuristics, it discards up to 90% of visual tokens while maintaining high accuracy and demonstrating robust generalization across different datasets and architectures.
What Problem Does This Paper Address?
While Large Vision-Language Models (LVLMs) excel at multimodal tasks, processing images generates thousands of visual tokens. Because self-attention scales quadratically with sequence length, this causes massive computational and memory overhead during deployment.
Existing token reduction techniques generally fall short in realistic, multi-turn Visual Question Answering (MT-VQA) scenarios:
- Prompt-dependent methods (e.g., FastV) prune tokens based on relevance to the initial question. This is problematic for multi-turn conversations where subsequent questions might ask about completely different, previously discarded regions of the image.
- Prompt-agnostic methods (e.g., PruMerge) operate solely on the image, making them technically viable for multi-turn use. However, they rely heavily on human-designed heuristics—like keeping tokens with high attention scores relative to the
[CLS]token—which the authors prove are fundamentally suboptimal.
Methods
The authors unify token pruning and merging into a single optimization framework by formulating token reduction as a linear projection:
$$\tilde{X}_{IMG} = P X_{IMG}$$
where $P$ is a sparse compression matrix.
Instead of using hardcoded rules to build $P$, they introduce MetaCompress, a lightweight, prompt-agnostic module that generates this compression matrix dynamically based on the image sequence alone.
As shown in the architecture diagram, MetaCompress uses:
- Query down-sampling and Key projection layers to map the visual features into a lower-dimensional space ($d_c \ll d$) to minimize overhead.
- A weighted inner product to dynamically construct the compression matrix $P$, allowing it to adapt to varying image resolutions (such as the multi-scale inputs used in LLaVA-NeXT).
The module is trained using a data-efficient paradigm with a three-part loss function: a prediction discrepancy loss (KL divergence between the outputs of the compressed and uncompressed models), a sparsity entropy loss, and an anti-collapse regularization term to prevent the model from mapping all tokens to a single source.
Datasets
The method was trained on a small subset (approx. 20k samples) drawn from the training splits of:
- MT-VQA-v2: A 3-turn dialogue dataset constructed from the VQA-v2 validation set (25k total pairs).
- MT-GQA: A 3-turn dialogue dataset based on GQA (4,061 total pairs).
To test generalization, the models were evaluated zero-shot on:
- ConvBench: A multi-turn conversation benchmark evaluating hierarchical multimodal capabilities.
- MT-Video-MME: A 3-turn dialogue adaptation of the Video-MME dataset used to test transferability to video tasks.
Key Insights and Ideas
The core "aha!" moment of the paper lies in challenging the community's reliance on attention scores for token pruning.
The authors ran a pilot study where they optimized a compression matrix $P$ directly for individual images to minimize response divergence. When they visualized the attention distributions of the optimally retained tokens, they found a surprising result: the vast majority of the most critical visual tokens did not have high attention scores relative to either the [CLS] token or the text prompt tokens.
As visualized in Figure 1(b) and 1(c), relying strictly on heuristic attention metrics causes models to inadvertently discard crucial visual information needed for downstream dialogue turns. This explains why traditional attention-guided pruning can sometimes perform worse than uniform or even random sampling in multi-turn contexts.
Key Results
MetaCompress was evaluated across five diverse LVLM architectures (including LLaVA-1.5, LLaVA-NeXT, and InternLM-XComposer-2.5) at both 70% and 90% token reduction rates.
- Superior Accuracy-Efficiency Trade-offs: At a 90% reduction rate, MetaCompress consistently outperformed baselines like FastV and PruMerge. For instance, on LLaVA-1.5-13B (MT-GQA), MetaCompress achieved an average accuracy of 59.48%, compared to PruMerge's 58.11% and FastV's 52.85%.
- High Computational Speedup: MetaCompress achieves inference speeds comparable to simple equidistant down-sampling ('Sample'), which is the theoretical speed limit for token reduction since it involves no complex routing logic. It drastically reduces Time-to-First-Token (TTFT) and End-to-End generation time while slashing TFLOPs (e.g., dropping LLaVA-NeXT-7b TFLOPs from 95.3 to 12.7).
- Strong Cross-Dataset & Cross-Modal Transfer: Despite being trained on a modest 20k image-text pairs, the module generalized seamlessly to ConvBench and even outperformed video-optimized baselines on the MT-Video-MME dataset without any video-specific fine-tuning.
Limitations and Future Work
Currently, MetaCompress is applied as a single-stage compression module right before visual tokens are fed into the LLM decoder. The authors acknowledge that a multi-stage approach distributed across all layers of the LLM could yield even higher efficiency gains. They map out future work to explore full-stage token reduction without hand-crafted designs and intend to deepen the framework's application to complex video understanding tasks.
Summary updated