TL;DR
Vision-Language-Action (VLA) models are great at controlling robots, but they waste a lot of compute staring at irrelevant background pixels. JPT-Pruner is a training-free, plug-and-play framework that trims away unimportant image patches before the vision encoder and unimportant visual tokens before the language model. By using the previous step's attention maps to predict what matters in the current frame, it cuts computation roughly in half while keeping robot success rates virtually intact.
What Problem Does This Paper Address?
Modern robots powered by VLA models—which pair a Vision Encoder (VE) with a Large Language Model (LLM) to turn camera feeds and text instructions into physical actions—have a speed problem. Processing hundreds of visual tokens at every step is computationally expensive, even though most of a robot's view is static background or irrelevant clutter.
Existing "visual pruning" methods face an awkward trade-off:
- Prune early (before the VE): Saves compute in both the VE and the LLM, but discarding raw pixels before encoding risks losing critical visual details.
- Prune late (after the VE or inside the LLM): Preserves task performance because the visual features are richer, but leaves the VE's heavy lifting untouched—a major bottleneck for edge-cloud robotic systems.
- Prune inside the architecture: Requires modifying the VE or LLM, which complicates real-world deployment.
Even if you decide where to prune, knowing what to keep is tricky. Raw visual saliency doesn't always match what the language instruction actually cares about, and you can't use the current step's LLM attention maps to prune before the LLM even runs.
Methods
JPT-Pruner solves this with a training-free, two-stage pruning pipeline—Pre-VE patch pruning followed by Post-VE token pruning—with independently configurable retention budgets ($K_{\text{P}}$ patches and $K_{\text{T}}$ tokens) and zero architectural changes.
- First Observation ($t = 0$): Since no previous LLM attention maps exist yet, Pre-VE pruning uses local image edge scores (via Scharr gradients) to keep structural object boundaries, while Post-VE pruning uses the VE's own attention maps.
- Subsequent Observations ($t > 0$): Instead of running a costly full-token pass, JPT-Pruner recycles the previous step's LLM attention maps. Because some patches were pruned in the previous step, it first fills in missing scores using a weighted average of neighboring values (importance completion).
- Inter-Observation Matching: To account for robot, camera, or object movement, JPT-Pruner transfers the completed importance map to the current frame. It matches current patches to previous patches in a local window using structural similarity (SSIM), and matches current encoded tokens to previous tokens using cosine similarity.
- Wrist-View & Sampling: Because wrist-mounted cameras move rapidly with the robot arm, JPT-Pruner boosts wrist-view patch scores using current edge cues. It also applies Gumbel-Top-$K$ sampling (adding controlled noise before selecting the top $K$) so the model doesn't get stuck looking only at the same spots. After each LLM inference, the cache is refreshed.
Datasets
- Simulation: Evaluated on four suites of the LIBERO benchmark (Spatial, Object, Goal, and Long/LIBERO-10) using $\pi_{0.5}$ and OpenVLA-OFT as base models (with existing LIBERO-fine-tuned checkpoints and no pruning-specific training).
- Real-World: Evaluated on a UFACTORY xArm 850 robot with base and wrist cameras on a yellow-block placement task across three scenes: Static, Cluttered, and Relocation (where the target block is moved before grasping). No new public benchmarks were introduced.
Key Insights and Ideas
- You don't need the current LLM's attention for task-aware pruning: Temporal continuity combined with local visual matching lets you accurately predict what the LLM will care about before it even sees the frame.
- Lower per-inference FLOPs doesn't always mean better episode efficiency: Pruning patches too aggressively (e.g., dropping from 96 to 64 patches at $K_{\text{T}}=64$) hurts accuracy enough that the robot needs more observations to finish the task, which actually reduces overall FLOPs savings per episode.
- Importance completion is crucial: Without filling in missing scores from previously pruned regions, the pruner gets tunnel vision and repeatedly selects the same areas, causing success rates to plummet (e.g., from 96.45% down to 73.56% in token-only mode).
- Matching matters when things move: In real-world tests where the target object was relocated three times before grasping, disabling inter-observation matching dropped the success rate from 100% (10/10) to 10% (1/10).
Key Results
Efficiency-performance trade-offs on pi0.5
- On $\pi_{0.5}$ (LIBERO):
- Token-only ($K_{\text{P}}=256, K_{\text{T}}=64$): Saves 51.73% of overall FLOPs per episode with only a 0.02 percentage point drop in success rate (96.45% vs. 96.47% unpruned), achieving a 1.38× latency speedup (57.83 ms → 41.84 ms).
- Joint ($K_{\text{P}}=128, K_{\text{T}}=96$): Nearly halves VE FLOPs (22,276 → 11,142 GFLOPs) and saves 48.98% overall FLOPs with a 1.38× speedup and just a 0.40 percentage point SR drop (96.07%).
- Patch-only: Achieves the lowest VE cost across all budgets, though aggressive patching ($K_{\text{P}}=64$) drops SR to 81.84%.
- On OpenVLA-OFT: Joint pruning ($128, 96$) saves 52.45% overall FLOPs while keeping SR at 95.95% (vs. 97.05% unpruned).
- Real-World xArm 850: Cuts overall FLOPs by 58.2%–61.7% and speeds up inference (~177 ms → ~142 ms) while matching unpruned success rates (96%–100%).
Limitations and Future Work
- Aggressive pre-VE patch pruning (such as $K_{\text{P}}=64$) discards too much raw visual information, leading to noticeable performance drops and more observations per episode.
- Relying on cached attention requires frequent cache refreshes; if refreshing is disabled or too infrequent, accuracy degrades as the scene changes.
- The authors do not outline a specific roadmap for future work, though they note that their code will be publicly released.
Summary updated