TL;DR
IF-Prune accelerates Vision-Language Models (VLMs) by using a small VLM equipped with a variational information bottleneck to identify and discard redundant visual tokens in a single forward pass. By filtering out non-informative tokens before they reach the large VLM, it slashes computational costs by 40% while preserving 95% of the model's original performance using just 5% of the visual tokens.
What Problem Does This Paper Address?
State-of-the-art Vision-Language Models (VLMs) increasingly rely on dynamic-resolution vision encoders to capture fine-grained details in high-resolution images. While this boosts accuracy, it floods the model with an enormous number of visual tokens, creating a massive computational bottleneck during the "pre-fill" and autoregressive decoding stages.
To save compute, researchers use token pruning—discarding less informative visual tokens. Recent state-of-the-art methods like SGP use a compact, "small" VLM to generate an importance map based on attention weights aggregated during answer generation. However, this approach suffers from a fatal flaw: it is entirely answer-driven. If the small VLM lacks the prior knowledge to answer a complex query correctly, its attention maps become noisy and ineffective, leading to poor pruning choices that degrade the larger model's reasoning capacity.
Methods
The authors introduce IF-Prune (Information-Flow Guided Token Pruning), which flips the existing paradigm on its head. Instead of forcing a small model to guess the most important tokens via full text generation, IF-Prune trains the small VLM to model the distribution of non-informative tokens using a Variational Information Bottleneck (VIB) framework.
Here is how it works under the hood:
- Latent Mapping: The small VLM processes the user query and visual tokens. A lightweight projection module maps the output visual embeddings into a latent space represented by a multivariate Gaussian distribution.
- Information Flow Quantification: By calculating the Kullback-Leibler (KL) divergence between this predicted posterior distribution and a learnable prior, the model measures exactly how much task-relevant information each visual token contributes. Tokens with low KL divergence (low entropy) are deemed redundant.
- One-Pass Pruning: Unlike previous methods that require full autoregressive decoding to extract attention scores, IF-Prune computes token importance in a single forward pass of the small VLM. The bottom tokens are hard-pruned, and the remaining top-$K\%$ are sent directly to the large VLM.
To keep training stable and prevent the KL divergence from exploding, the authors also introduce a channel-wise gating mechanism (using a sigmoid activation) and an adaptive KL weighting schedule during optimization.
Datasets
- Training: The information bottleneck module and small VLM are fine-tuned on a mixture of single-image instruction datasets, including ShareGPT-4V, LLaVA, and DVQA.
- Evaluation: The approach was rigorously tested across eight prominent VLM benchmarks spanning various capabilities:
- OCR & Chart Understanding: TextVQA, ChartQA
- General Visual Reasoning: GQA, MMStar, MMBench, MM-Vet, MME, RealWorldQA
Key Insights and Ideas
- Inverting the Paradigm: Shifting from answer-driven heuristics to posterior-driven information theory is the core breakthrough. By framing token selection as an amortized variational inference problem, the pruning guidance becomes query-aware without being brittle to the small model's factual correctness.
- Soft Visual Cues vs. Point-wise Targets: SGP tends to hyper-focus only on tokens directly tied to the final answer string. IF-Prune acts more like a soft visual cue detector, preserving broader contextual regions that the large VLM needs to perform complex, multi-step reasoning.
- "One Can Serve Many": A highly practical finding is that the posterior distribution learned by a single small VLM (e.g., InternVL2.5-1B) transfers seamlessly to guide larger models (e.g., 8B and 26B variants) within the same architecture family without requiring any retraining of the larger backbones.
Key Results
- Aggressive Compression: At an aggressive 5% token retention rate (95% of visual tokens thrown away), IF-Prune preserves 95.4% of the full-token performance on InternVL2-26B, outperforming the previous state-of-the-art (SGP) by roughly 8%.
- Efficiency Gains: IF-Prune achieves a 40% reduction in overall computational cost (FLOPs) for the combined system.
- Real-world Speedups: Because it avoids autoregressive generation in the small model, IF-Prune maintains a pre-fill latency close to the baseline and achieves higher overall token throughput compared to attention-aggregation methods. Furthermore, because it doesn't require explicit attention matrix extraction, it is fully compatible with optimized execution kernels like FlashAttention.
Limitations and Future Work
- Architecture Dependency: The small VLM must share the same visual encoding architecture family as the large VLM to ensure that the visual token embeddings remain aligned and consistent.
- Scope of Tasks: The current evaluation focuses primarily on single-image tasks. Extending this information-flow framework to video models or long-context multi-image documents—where token explosion is an even more severe issue—remains an open and promising direction for future research.
Summary updated