Introduction
Multimodal Large Language Models (MLLMs), such as LLaVA, have demonstrated remarkable capabilities in understanding visual information. However, these models typically process images by decomposing them into hundreds of "vision tokens." Because Transformer architectures scale quadratically with the number of input tokens, this approach is computationally expensive and memory-intensive.
The primary challenge is redundancy. Images often contain large regions of uniform or irrelevant information (e.g., background sky) that do not contribute to answering a specific user prompt. While previous research has attempted to prune tokens, these efforts were often limited to a single stage—either during initial vision encoding or the prefilling phase. Such "myopic" strategies risk discarding critical information or failing to sufficiently reduce the memory bottleneck in the Key-Value (KV) cache during long-form generation.
The MustDrop Framework
MustDrop (Multi-Stage Vision Token Dropping) is a training-free framework designed to optimize the entire inference lifecycle of MLLMs. By strategically pruning redundant vision tokens across three distinct stages—vision encoding, prefilling, and decoding—MustDrop achieves significant efficiency gains with minimal impact on accuracy.
1. Vision Encoding Stage
In the initial stage, MustDrop employs two techniques to reduce the visual token count before they reach the language model:
- Local Spatial Merging (LSM): The model identifies spatially adjacent tokens with high similarity and merges them, effectively compressing redundant background areas.
- Key Retaining (KR): To prevent the loss of vital information, MustDrop uses the attention scores of the [CLS] token (representing global context) to identify "vision-critical" tokens, marking them as un-prunable for subsequent stages.
2. Prefilling Stage
As the model integrates the text prompt with visual tokens, MustDrop applies Dual-Attention Filtering. This evaluates token importance through two lenses:
- Global Attention: Measures a token's relevance to the entire input sequence.
- Individual Attention: Ensures that tokens representing specific small objects mentioned in the prompt (the "needle-in-a-haystack" problem) are preserved, even if their global relevance score is low.
3. Decoding Stage
During text generation, the researchers observed that the model's attention to vision tokens becomes extremely sparse after the first few layers. MustDrop introduces an Output-Aware Cache Policy that prunes the KV cache, retaining only the small subset of vision tokens that remained active through the final layer of the prefilling stage.
Experimental Results
MustDrop was evaluated as a "plug-and-play" module on models including LLaVA-1.5-7B, LLaVA-Next-7B, and Video-LLaVA across various benchmarks (GQA, MMBench, VQA-v2, and more).
- Efficiency Gains: On LLaVA-Next-7B, MustDrop reduced FLOPs by 88.5% and KV cache memory usage by up to 92.2%.
- Competitive Performance: The method outperformed existing benchmarks like SparseVLM by 2.1% to 6.6% in accuracy while maintaining higher compression rates.
- Video Understanding: In Video-LLaVA, MustDrop maintained performance while using only 50% of tokens. On the MSVD dataset, it actually improved accuracy by 1.3% by filtering out visual noise.
Conclusion
MustDrop provides a robust, training-free solution for the efficiency bottlenecks of MLLMs. By addressing redundancy throughout the entire inference process rather than in isolation, it enables high-performance multimodal reasoning on resource-constrained hardware. Future work may involve adaptive thresholding to dynamically adjust pruning intensity based on image complexity or question difficulty.
Summary updated