TL;DR
Large Vision-Language Models (LVLMs) spend massive amounts of compute processing redundant visual tokens. This paper introduces TPRL, a reinforcement learning framework that treats token pruning as a language-guided, sequential decision process. By combining token-state compression, learning from demonstrations, and Proximal Policy Optimization (PPO), TPRL cuts visual tokens by up to 66.7% and inference FLOPs by 54.2% with a negligible 0.7% average drop in accuracy.
What Problem Does This Paper Address?
Modern Large Vision-Language Models (LVLMs) like LLaVA or Qwen-VL achieve impressive multimodal reasoning capabilities, but they come with a steep computational cost. As these models move toward higher-resolution inputs to capture fine-grained spatial details, the number of visual tokens passed into the Large Language Model (LLM) backbone explodes. This causes high inference latency and massive memory consumption.
Existing methods try to mitigate this by pruning or merging visual tokens based on hand-engineered heuristic rules (such as vision transformer attention weights or feature similarity). However, these approaches suffer from two major flaws:
- Task-Agnosticism: They prune tokens based purely on visual importance, completely ignoring the downstream text query. For instance, they might prune a small, visually obscure object that is actually the exact subject of the user's question.
- One-Shot Execution: They treat pruning as a single, isolated step, failing to model how visual information can be progressively refined over a multi-step trajectory.
Methods
The authors propose TPRL (Language-Guided Token Compression with Reinforcement Learning), which formulates visual token pruning as a sequential Markov Decision Process (MDP).
As shown in Figure 1, the framework operates in three distinct stages:
- State Compression via Autoencoder: Passing raw, high-dimensional visual tokens (e.g., 4096 dimensions) directly into an RL agent makes training computationally intractable. TPRL solves this by training a lightweight, token-wise self-supervised autoencoder. This compresses the feature dimension of each token independently (e.g., down to 256 dimensions) to provide a compact state representation for the policy network.
- Learning from Demonstrations (LfD): Training an RL agent from scratch in a massive token-wise action space often leads to poor convergence. TPRL warm-starts the policy network using supervised pre-training on short pruning trajectories generated by an existing heuristic pruner (Vispruner).
- RL Fine-Tuning via PPO: The pre-trained policy is then optimized using Proximal Policy Optimization (PPO). The reward function directly balances downstream task performance (accuracy) and computational efficiency (the ratio of tokens removed).
During inference, the policy executes a deterministic, one-shot pruning mask based on the learned token retention probabilities, ensuring zero additional sequential overhead during deployment.
Datasets
The authors evaluated TPRL across seven prominent multimodal benchmarks covering visual question answering, reasoning, perception, and object hallucination:
- GQA (Visual reasoning)
- MMBench (All-around capability evaluation)
- MME (Perception and cognition)
- POPE (Object hallucination evaluation)
- SEED-Bench (Generative comprehension)
- ScienceQA-Image (Scientific question answering)
- VQA-v2 (Visual question answering)
The training splits of these seven datasets were combined to train the token-wise autoencoder and the policy network.
Key Insights and Ideas
- Language-Guided Pruning: Pruning decisions must be directly tied to the semantic requirements of the text prompt. TPRL explicitly conditions its policy network on both the compressed visual tokens and the text query embedding.
- The Compression Sweet Spot: Reducing token feature dimensions from 4096 to 256 allows the RL agent to achieve fast convergence and high accuracy. However, compressing too aggressively (down to 128 dimensions) introduces an information bottleneck that degrades performance.
- Pruning as Noise Filtering: On certain benchmarks like MMBench, TPRL actually outperforms the unpruned upper-bound model (achieving 102.3% relative accuracy). This reveals that an intelligent, task-aware pruner acts as a semantic filter, removing distracting visual noise and helping the LLM focus on relevant information.
Key Results
- High Efficiency Gains: When evaluated on LLaVA-1.5-7B, TPRL successfully removes 66.7% of visual tokens (reducing the count from 576 to 192), yielding a 54.2% reduction in FLOPs and a 53.8% reduction in latency during the LLM prefill phase.
- Near-Lossless Accuracy: Across all seven benchmarks, this massive token reduction incurs an average accuracy drop of only 0.7%.
- Cross-Model Scalability: TPRL generalizes robustly across different model architectures and scales, showing strong performance when applied to the larger LLaVA-1.5-13B and the native multi-resolution Qwen-2.5-VL-3B.
Limitations and Future Work
While TPRL achieves an excellent Pareto frontier for accuracy and efficiency, it still relies on an offline heuristic pruner to generate initial demonstrations for the warm-start phase. This means the framework's initial behavior is bounded by the quality of existing heuristics.
For future work, the authors suggest extending this language-guided sequential token pruning strategy to complex video world models, where temporal redundancy makes token compression even more critical.
Summary updated