TL;DR
Existing visual token pruning methods for Multimodal Large Language Models (MLLMs) drastically degrade performance on complex reasoning tasks because they permanently discard tokens during the initial prefill stage. This paper identifies Relevant Visual Information Shift (RVIS)—the phenomenon where a model's visual focus dynamically moves across an image during multi-step decoding—and introduces DSTP, a training-free framework that adaptively swaps visual tokens back in as the reasoning context changes.
What Problem Does This Paper Address?
Multimodal Large Language Models (MLLMs) excel at processing images and text, but they rely on a massive number of visual tokens generated by vision encoders. This creates a massive computational and memory bottleneck during deployment. To mitigate this, researchers developed visual token pruning methods to throw away redundant visual tokens.
While these pruning methods work perfectly fine for simple visual understanding tasks (like identifying an object in an image), they fail miserably when applied to complex visual reasoning tasks (like solving geometry puzzles or math word problems).
The authors discover the root cause of this failure: Relevant Visual Information Shift (RVIS). In simple tasks, the visual cues needed to answer a question are concentrated in one spot and stay the same throughout the answer. In complex reasoning tasks, the model solves problems step-by-step, meaning it needs to look at different parts of an image at different times during text generation. Existing pruning methods statically discard tokens during the initial "prefill" stage, effectively blinding the model to visual details it will desperately need a few decoding steps later.
Methods
The authors propose Decoding-stage Shift-aware Token Pruning (DSTP), a training-free, plug-and-play add-on framework that can be integrated into existing static pruning algorithms (like FastV or DivPrune).
Instead of permanently deleting pruned tokens, DSTP stores them in a Reserved Visual Tokens Set. The framework then operates via a simple "Detect-and-Swap" design using two modules:
- Relevant Visual Information Shift Detect (RISD): At each decoding step, this module calculates the cosine similarity between the model's current visual attention map and its initial prefill attention map. If the similarity drops below a set threshold ($\tau$), it signals that the model's focus is shifting (an RVIS event).
- Context-Preserving Visual Token Swap (CPTS): Once RVIS is triggered, the module re-evaluates the importance of all visual tokens (including the reserved ones) relative to the current generated text token. To prevent a sudden context shift that might confuse the model, it merges the original prefill tokens with the newly relevant tokens using a union operation. This expanded token set is maintained for a temporary duration ($L$ steps) before reverting to keep inference fast.
Datasets
The authors evaluated their method across two primary task domains using state-of-the-art MLLMs (Qwen3-VL and InternVL3.5):
- Visual Reasoning Benchmarks: MathVerse, WeMath, and DynaMath (for visual math reasoning); LogicVista and MMMU-Pro (for complex logic, puzzles, and expert-level analytical tasks).
- Visual Understanding Benchmarks: ScienceQA (SQA), TextVQA, and GQA.
Key Insights and Ideas
- RVIS is Intrinsic to Reasoning: The shifting of visual focus isn't just a side-effect of generating longer answers. The authors showed that even short math answers exhibit a significantly higher frequency of RVIS than the longest simple visual understanding answers.
- Pruning Failure Correlates with Shift Frequency: The success rate of traditional static pruning methods drops precipitously as the number of RVIS events increases, proving that static pruning's inability to adapt during decoding is its primary failure driver.
- Dynamic Allocation Beats Brute Force: Providing the right visual tokens at the exact step they are needed is far more effective than simply retaining a larger blanket percentage of tokens during the prefill stage.
Key Results
- Massive Performance Recovery: On the MathVerse benchmark using Qwen3-VL-4B (at a 33.3% token retention ratio), standard FastV pruning retains only 52.6% of the vanilla model's accuracy. Integrating DSTP recovers this performance to 85.7%. On InternVL3.5-8B, DSTP brings FastV from 56.66% relative accuracy up to 92.44%.
- Negligible Computational Overhead: Because DSTP only activates when a shift is detected and uses an efficient union mechanism, its impact on total floating-point operations (TFLOPs) is virtually unnoticeable.
- Reduced Latency via Smarter Generation: Surprisingly, in some configurations, DSTP actually decreased total end-to-end latency compared to baseline pruning. By providing the correct visual context at the right time, DSTP prevents the model from generating long, rambling, and incorrect reasoning paths, streamlining the overall decoding process.
Limitations and Future Work
- Uniform Layer Application: Currently, DSTP applies the retrieved visual tokens uniformly across all transformer layers. However, different layers process different levels of abstraction (low-level features vs. high-order reasoning), meaning layer-wise token adaptation could yield better efficiency.
- Fixed Hyperparameters: The framework relies on fixed constants for the detection threshold ($\tau$) and context-preserving duration ($L$). Dynamically adjusting these parameters based on query difficulty remains an open challenge.
- Future Directions: The authors plan to explore Reinforcement Learning (RL)-based strategies to allow MLLMs to autonomously determine when to trigger token swapping and exactly how many tokens to retrieve.
Summary updated