DORA: Dynamic Online Reinforcement Agent for Token Merging in Vision Transformers
On the map: Efficient LLM inference and serving → Token pruning and merging for ViTs
Abstract (arXiv)
Vision Transformers (ViTs) incur significant computational overhead due to the quadratic complexity of self-attention relative to the token sequence length. While existing token reduction methods mitigate this issue, they predominantly rely on fixed heuristic metrics, predefined ratios, or static offline masks, which lack the adaptability to capture input-dependent redundancy during inference. In this paper, we propose DORA (Dynamic Online Reinforcement Agent), the first reinforcement learning (RL)-driven online inference framework for dynamic token merging in ViTs. We formulate the merging process as a sequential Markov Decision Process (MDP), where a lightweight RL agent determines the merging strategy for each Transformer block based on the current feature state and layer-specific context. To balance computational efficiency and feature fidelity, the agent is optimized via a dense reward function incorporating a non-linear distillation-based penalty. We implement an asymmetric Actor-Critic architecture that utilizes a high-capacity Critic for stable offline training while retaining a minimal Actor head for low-computation online inference. Evaluations across multiple ViT scales (Tiny to Large) demonstrate that DORA improves the accuracy-efficiency Pareto front compared to current baselines. Under strict negligible accuracy-drop constraints (<= 0.05%), DORA achieves up to a 12.66% token merging rate, and delivers up to a 569.7% relative improvement over the most efficient baseline. On ImageNet-1K, under aligned accuracy constraints, DORA achieves up to a 76% relative improvement in computational savings compared to state-of-the-art methods. Furthermore, on out-of-distribution (OOD) benchmarks such as ImageNet-A and ImageNet-C, DORA attains a relative efficiency advantage of over 430%.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Token pruning and merging for ViTs, one of 12 directions in Efficient LLM inference and serving. Builds on 19 of its 22 references that are in the map. First posted on arXiv 12 May 2026.
Builds on
19 of 22 references.
Closest ancestors · 4
Same direction, newest first
- 2024Learning to Merge Tokens via Decoupled Embedding for Efficient Vision Transformers13 Dec
- 2024Accelerating Transformers with Spectrum-Preserving Token Merging25 May
- 2023Zero-TPrune: Zero-Shot Token Pruning through Leveraging of the Attention Graph in Pre-Trained Transformers27 May
- 2022Token Merging: Your ViT But Faster17 Oct
Other references · 15
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2017Proximal Policy Optimization Algorithmscited by 14,441
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
- 2015Distilling the Knowledge in a Neural Networkcited by 10,076
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
- 2019Benchmarking Neural Network Robustness to Common Corruptions and Perturbationscited by 2,857
- 2020The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalizationcited by 1,842
- 2021Is Space-Time Attention All You Need for Video Understanding?cited by 1,609
- 2019Natural Adversarial Examplescited by 1,401
- 2021Video Swin Transformercited by 1,090
- 2021DynamicViT: Efficient Vision Transformers with Dynamic Token Sparsificationcited by 849
- 2021How to train your ViT? Data, Augmentation, and Regularization in Vision Transformerscited by 562
3 more
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026DORA: Dynamic Online Reinforcement Agent for Token Pruning in Vision Transformers
- 2025Reinforcement Learning-based Token Pruning in Vision Transformers: A Markov Game Approach
- 2023Training-Free Acceleration of ViTs with Delayed Spatial Merging
- 2026Fusion: A Framework for Unified Sequential Token AdaptatIon in VisiOn TraNsformers
- 2026MergeOver: Post-Training Token Merging for Recursive Vision Transformers
- 2026Language-Guided Token Compression with Reinforcement Learning in Large Vision-Language Models
- 2026AdaMerge: Salience-Aware Adaptive Token Merging for Training-Free Acceleration of Vision Transformers
- 2021Evo-ViT: Slow-Fast Token Evolution for Dynamic Vision Transformer