TL;DR
Standard visual token pruning methods in Large Vision-Language Models (LVLMs) often degrade performance when applied to shallow layers because early network stages act as chaotic edge detectors rather than semantic object recognizers. To solve this, the authors introduce STD, a stage-aware hierarchical pruning framework that aligns token selection with the changing functional roles of the vision encoder across its depth. STD achieves up to a 94.4% token reduction with minimal accuracy loss, delivering a 3.9× speedup in the prefilling stage.
What Problem Does This Paper Address?
Large Vision-Language Models (LVLMs) are computationally heavy, largely because high-resolution visual inputs generate thousands of visual tokens that overwhelm the downstream Large Language Model (LLM). To improve efficiency, researchers use training-free, attention-based multi-layer pruning to progressively discard redundant visual tokens inside the vision encoder.
However, a persistent issue has plagued these methods: pruning tokens in the shallow (early) layers consistently tanks model accuracy.
This paper investigates why early pruning fails. The authors discover a fundamental misalignment: standard pruning assumes attention weights reflect semantic importance uniformly across all layers. In reality, a vision encoder's functional role evolves across its depth. Early layers exhibit chaotic attention maps because they function primarily as high-frequency edge detectors, not object recognizers. Indiscriminately pruning based on these noisy early attention signals accidentally discards critical structural information.
Methods
To bridge the gap between pruning strategies and network stages, the authors propose STD (Shallow to Deep), a hierarchical token pruning framework that applies three distinct, stage-specific strategies:
- Shallow Layers (High-Frequency Spectral Analysis - HSA): Instead of relying on chaotic attention weights, STD applies a Real-valued Fast Fourier Transform (RFFT) to the patch tokens to isolate high-frequency spectral components. This allows the model to deterministically identify and preserve structural edge features.
- Intermediate Layers (Gaussian-Smoothed Attention - GSA): As the network transitions to local subject recognition, attention maps become more localized around main objects. STD applies a 1D Gaussian kernel to smooth these attention weights, preserving spatial coherence and preventing the fragmentation of object parts.
- Deep Layers (Stability-Adaptive Trigger - SAT): In the deepest layers, attention collapses onto a few "hub" tokens for abstract semantic aggregation. Because this phase is highly unstable and fluctuates between layers, STD replaces fixed-interval pruning with a dynamic trigger. Pruning is executed only when the semantic shift between consecutive layers diminishes, indicating the model has entered a stable state.
Datasets
The authors rigorously evaluated STD across 13 distinct benchmarks:
- Image Understanding (10): GQA (scene comprehension), MMBench & MMB-CN (three-tiered capability evaluation), MME (perceptual/cognitive faculties), POPE (object hallucination), ScienceQA (multimodal scientific problems), VQA-V2 (open-ended visual QA), TextVQA (visual-textual synergy), MIA-Bench (instruction following), MMStar (vision-indispensable tasks), and RealWorldQA/RWQA (real-world visual scenes).
- Video Understanding (3): TGIF-QA, MSVD-QA, and MSRVTT-QA (evaluating spatiotemporal reasoning and video captioning).
Key Insights and Ideas
- Shallow layers are edge detectors, not noise generators: The chaotic attention maps in early layers aren't broken; they are tracking high-frequency contours rather than whole objects. Token importance here is spectral, not semantic.
- The U-Shaped Attention Distance: The authors observed that average attention distance follows a U-shaped curve across network depth. Distances are high in very shallow layers (due to edge-tracking noise), drop in the middle layers (as the model focuses locally on objects), and rise again in deep layers (as tokens connect to distant semantic hubs).
- Deep layer evolution is non-uniform: Semantic aggregation in deep layers happens in fits and starts. Pruning during high-fluctuation layers destroys critical information refinement, making a stability-adaptive trigger essential.
Key Results
- State-of-the-Art Efficiency: On LLaVA-1.5-7B, STD outperformed existing state-of-the-art pruning methods by 1.1% while maintaining an aggressive 88.9% token reduction (retaining just 64 tokens).
- Massive Speedups: On LLaVA-NeXT-7B, STD achieved a 94.4% token reduction (retaining 160 tokens), outperforming the baseline by 2.1% and delivering a 3.9× speedup in the prefilling stage alongside a 3.8× speedup in overall inference time.
- Plug-and-Play Complementarity: Because STD operates inside the vision encoder, it is fully compatible with downstream projector or LLM-stage pruning methods (like DART or $V^2$Drop), yielding even higher performance gains when combined.
Limitations and Future Work
While highly effective, the authors note a few limitations:
- Architectural Dependency: The empirical stage-wise characterization was observed on standard vision backbones (like ViT); whether this exact transition pattern holds for radically different vision architectures requires further study.
- Hyperparameter Tuning: The framework introduces hand-crafted components (like the layer boundaries $L_1, L_2$ and the frequency balance $\alpha$) which might require re-tuning for different image resolutions or token budgets.
- Scope of Bottlenecks: STD targets visual token redundancy during inference but does not directly address other efficiency bottlenecks, such as KV-cache growth or decoding latency in the LLM stage.
Summary updated