Abstract
Large Vision-Language Models (LVLMs) achieve remarkable performance in multimodal tasks but suffer from high computational costs due to the large number of visual tokens. Existing pruning methods either apply after visual tokens enter the LLM or perform pre-pruning based solely on visual attention. Both fail to balance efficiency and semantic alignment, as post-pruning incurs redundant computation, while visual-only pre-pruning overlooks multimodal relevance. To address this limitation, we propose Dual-Cue Pruning (DCP), a novel cross-modal pruning framework that jointly considers textual semantics and visual self-attention. DCP consists of a text-aware computation module, which employs a gradient-weighted attention mechanism to enhance text-visual alignment, and an image-aware computation module, which utilizes deep-layer self-attention distributions to retain essential structural information. By integrating both cues, DCP adaptively selects the most informative visual tokens, achieving efficient inference acceleration while maintaining strong task performance. Experimental results show that DCP can retain only 25% of the visual tokens, with a minimal performance degradation of 0.063% on LLaVA-1.5-13B, demonstrating its effectiveness in balancing efficiency and accuracy.
The Visual Token Bottleneck
Modern Large Vision-Language Models (LVLMs) like LLaVA process images by dividing them into hundreds or thousands of visual patches, or tokens. In many multimodal tasks, these visual tokens account for 90% to 97% of the total input sequence. Because Transformer computational costs scale quadratically with sequence length, this massive volume of visual data creates a significant latency and memory bottleneck during the initial "prefill" stage of inference.
Existing solutions often fall short. Post-input pruning methods reduce generation time but do not alleviate the prefill cost. Conversely, pre-input pruning methods rely exclusively on visual features, often discarding small but crucial details required to answer specific user prompts because they ignore the textual context.
Dual-Cue Pruning (DCP) Framework
DCP addresses these issues through a training-free, pre-input pruning strategy that integrates two complementary signals: textual relevance and inherent image structure.
- Text-Aware Module: This module uses a lightweight NLP parser to extract keywords from the user's prompt. It then calculates gradient-weighted attention scores within the vision encoder to identify visual tokens that align most strongly with the text. This ensures that patches relevant to the specific question (e.g., a small number on a jersey) are preserved.
- Image-Aware Module: This module exploits "mode collapse" in deep vision encoder layers, where attention concentrates on a small subset of tokens. By identifying these structural anchors, DCP ensures the model retains the overall context of the scene regardless of the prompt.
By combining these cues, DCP adaptively selects the most informative tokens, merging them back into their original spatial sequence for processing by the LLM.
Experimental Results and Efficiency
The authors evaluated DCP across seven standard benchmarks, including POPE (object hallucination), MMMU (multi-discipline reasoning), and OCRBench. The results demonstrate that DCP consistently outperforms existing training-free pruning methods in both accuracy and wall-clock speedups.
Key results include:
- Extreme Compression: On LLaVA-1.5-13B, DCP can prune 75% of visual tokens (retaining only 25%) with a minimal average performance degradation of 0.063%.
- Significant Speedups: At a 25% retention rate, DCP achieved a 2.26x speedup in Time to First Token (TTFT) on LLaVA-1.5-13B and reached 2.52x on LLaVA-NeXT-13B.
- Complementary Cues: Ablation studies confirmed that both text and image cues are necessary; text cues capture the specific answer, while image cues preserve the background context needed for reasoning.
Conclusion
Dual-Cue Pruning (DCP) effectively balances efficiency and semantic alignment in LVLMs. By utilizing both textual and visual cues, it enables significant inference acceleration without sacrificing task performance. Future work may explore adaptive pruning strategies that dynamically adjust retention ratios based on prompt complexity or task requirements.
Summary updated