TPRL: Adaptive Visual Token Pruning in LVLMs via Language-Guided Reinforcement Learning

Sihan Cao, Jianwei Zhang, Pengcheng Zheng, Jiaxin Yan, Caiyan Qin, Yalan Ye, Wei Dong, Peng Wang, Yang Yang, Chaoning ZhangNeurIPS 2026

TL;DR

Large Vision-Language Models (LVLMs) waste massive amounts of compute staring at empty skies and repetitive textures because they convert every image patch into a dense visual token. TPRL uses reinforcement learning to teach a lightweight network how to spot and throw away up to two-thirds of these visual tokens before the heavy language model ever sees them. By doing the slow, step-by-step thinking during training and snapping a single-pass decision at runtime, TPRL cuts inference compute by 65% with virtually zero loss in accuracy.

What Problem Does This Paper Address?

When you feed a high-resolution image into a modern LVLM (like LLaVA or Qwen-VL), the vision encoder chops it up into hundreds or thousands of "visual tokens" and hands them to a Large Language Model (LLM). Because attention mechanisms scale poorly with sequence length, this flood of tokens creates a massive bottleneck in memory and latency. Yet, if you ask a model, "What word is painted on the airplane?", it really doesn't need 400 tokens describing the clouds above it.

Existing attempts to prune redundant tokens fall into a classic Catch-22:

  1. Static heuristics (like dropping tokens with low attention scores) are fast, but they are blind to the user's text prompt and ignore how removing one token changes the importance of its neighbors.
  2. Dynamic, multi-step pruners figure out token dependencies iteratively, which preserves accuracy—but running a multi-step decision loop during inference adds so much latency that it defeats the whole point of speeding up the model.

The authors ask: Can we get the deep, context-aware reasoning of sequential pruning during training, while keeping the lightning-fast execution of a single-pass filter at test time?

Methods

TPRL (Token Pruning via Reinforcement Learning) sits right at the interface between the vision encoder and the LLM. It solves the training-versus-inference dilemma through a clever three-stage pipeline:

Figure 1: Overview of the TPRL framework consisting of three synergistic stages. (a) Autoencoder training for state compression learns a compact latent representation to reduce the feature dimen- sionality of each visual token. (b) LfD provides a foundational initialization for the pruning policy by imitating high-quality trajectories to ensure stable convergence. (c) RL training using PPO fine-tunes the policy through language-guided sequential optimization to achieve an optimal balance between task performance and computational efficiency.
  • 1. State Compression (Taming the Space): Visual tokens are huge (e.g., 4096 dimensions), making RL exploration a nightmare. The authors train a tiny, self-supervised MLP autoencoder to squash each token down to a 256-dimensional latent code ($1/16$th the size). Crucially, these compressed codes are only used by the pruner to make decisions; the surviving original, uncompressed tokens are what get passed to the LLM.
  • 2. Learning from Demonstrations (Warm Start): Training an RL agent from scratch in a combinatorial token space is painfully slow. Instead, TPRL gets a warm start via supervised learning, imitating 50K progressive pruning trajectories generated offline by an existing heuristic method (VisPruner).
  • 3. Sequential RL Training $\rightarrow$ One-Shot Inference: Framed as a Markov Decision Process (MDP), the policy network (which shares a self-attention module with a critic network to see how visual tokens relate to the text query) practices pruning step-by-step using Proximal Policy Optimization (PPO). The reward balances downstream task accuracy against the fraction of tokens dropped.

The Magic Trick (Amortized Reasoning): Even though the policy learns via multi-step trajectories during training, all that sequential wisdom gets baked directly into its weights. At inference time, TPRL runs in one shot: it looks at the compressed tokens and text query once, outputs retention probabilities, and drops anything below a user-defined threshold $\tau$.

Datasets

No new benchmarks were introduced; instead, the authors used standard multimodal datasets:

  • Training (Autoencoder, demonstrations, and RL): Training splits of MME and VQA-v2.
  • Evaluation: Eight diverse benchmarks covering general VQA, reasoning, and object hallucination: GQA, MMBench, MME, POPE, SEED-Bench, ScienceQA-Image, VQA-v2, and VizWiz.

Key Insights and Ideas

  • Less Vision Can Mean Better Thinking: On several benchmarks (MMBench, MME, VizWiz), pruning 66.7% of the tokens actually beats the unpruned baseline. Filtering out redundant background patches removes visual "noise" that otherwise distracts the LLM's reasoning.
  • Sequential Training Matters, Even for One-Shot Execution: Ablations show that trying to distill a one-shot mask directly—or doing single-step RL—consistently underperforms multi-step RL ($T_{\text{max}}=3$). The agent needs to experience progressive removal during training to understand inter-token dependencies.
  • 16$\times$ Compression is the Sweet Spot: Shrinking 4096-D tokens down to 256-D preserves enough high-level semantics to match uncompressed accuracy while speeding up RL convergence dramatically. Pushing further to 128-D hits an information cliff.
  • MDP > Specific RL Algorithm: Swapping PPO out for GRPO or MAPO yields nearly identical results, proving the secret sauce is the compressed, language-guided MDP formulation itself rather than policy-gradient hyperparameter wizardry.

Key Results

Tested primarily on LLaVA-1.5-7B (and validated on LLaVA-1.5-13B and Qwen-VL-2.5-3B), TPRL sets a strong accuracy-efficiency Pareto frontier:

Table 1: Performance comparison on multiple benchmarks with the LLaVA-1.5-7B backbone. All baselines use a frozen LLM by default. F and L denote the frozen LLM and LoRA-tuned LLM settings, respectively. Avg Acc. (%) means the average of normalized relative percentage accuracy across all benchmarks. Bold indicates the best result in each column.
  • Near-Lossless Compression: Dropping 66.7% of visual tokens (retaining ~192 of 576) cuts total FLOPs by 65.3%, slashes KV-cache memory by 65.3%, and reduces latency by 38.8% (57.8 ms $\rightarrow$ 35.4 ms)—all with just a 0.6% average accuracy drop on a frozen LLM, and a mere 0.2% drop when the LLM is LoRA-tuned.
  • Extreme Pruning: Even when throwing away 88.9% of the image (~64 tokens left), TPRL retains 95.8% relative accuracy, cutting FLOPs by 87.0% and latency in half (52.8% reduction), handily outperforming heuristic baselines like FastV (74.8% accuracy).
  • Qualitative Smarts: Heatmaps confirm the pruner genuinely reads the prompt—peeling away uniform skies first, then discarding non-queried objects, leaving bright red high-probability islands right over the answer (like the text painted on an airplane's fuselage).

Limitations and Future Work

Not explicitly discussed in a dedicated section of the main text. However, two practical trade-offs are apparent from the methodology and experiments:

  • Upfront Training Pipeline: Unlike zero-shot, plug-and-play heuristics (e.g., FastV), TPRL requires a multi-stage training setup (autoencoder $\rightarrow$ offline heuristic demonstrations $\rightarrow$ PPO rollouts) for a given vision-LLM interface, plus optional LoRA fine-tuning of the LLM for peak accuracy.
  • Non-Zero Pruner Overhead: Because TPRL runs a lightweight encoder and self-attention layer before the LLM, its pruner module incurs slightly more compute overhead than simple internal attention-dropping rules—though this tiny upfront cost is massively repaid during LLM prefill and decoding.

Summary updated

Abstract

Large Vision-Language Models (LVLMs) incur substantial inference costs due to the processing of a vast number of visual tokens. Existing methods typically rely on hand-engineered scoring rules that fail to capture the complex inter-dependencies of progressive visual token reduction, while directly deploying multi-step pruner during inference introduces unacceptable latency. To overcome this dilemma, we propose TPRL, a reinforcement learning framework that leverages sequential multi-step exploration during training to derive a highly adaptive, one-shot pruning policy for efficient inference. During the training phase, we formulate visual token reduction as a Markov Decision Process (MDP) with explicit state transitions, employing a self-supervised autoencoder to compress visual tokens for efficient policy learning. Initialized via learning from demonstrations, the policy is fine-tuned using Proximal Policy Optimization (PPO) to explicitly learn sequential token dependencies and jointly optimize end-task accuracy and computational efficiency. Crucially, at inference time, TPRL deploys this trained policy as a deterministic one-shot selector, amortizing the cost of sequential reasoning into a single forward pass. Our experimental results demonstrate that TPRL removes up to 66.7\% of visual tokens and achieves up to a 65.3\% reduction in FLOPs during inference while maintaining a near-lossless average accuracy drop of only 0.2\% on LLaVA-1.5-7B. Extensive evaluations across diverse architectures further confirm the robust generalizability of our approach.
BibTeX
@inproceedings{cao2026tprl,
  author = {Sihan Cao and Jianwei Zhang and Pengcheng Zheng and Jiaxin Yan and Caiyan Qin and Yalan Ye and Wei Dong and Peng Wang and Yang Yang and Chaoning Zhang},
  title = {{TPRL: Adaptive Visual Token Pruning in LVLMs via Language-Guided Reinforcement Learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=HGL8gQMjLg},
}
Figure