Manuscript Offprint

arXiv:2611.05742

Learning Hierarchical Patch Splitting Policies for Faster Vision Transformers

Aditya Gupta, Jean Sebastien Dandurand, Kai Qiu, Rohan Choudhury, Laszlo A. Jeni

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Vision Transformers (ViTs) are bottlenecked by the length of their input token sequence. Standard patchification fixes this length with a single patch size applied across the image, regardless of regional content. Prior work on adaptive patch sizing reduces token count by assigning coarser patches to visually simple regions, but relies on noisy pixel-level heuristics such as local entropy to make patchification decisions. We argue that this compute allocation should be grounded in the model's interpretation of task relevant information, not in raw pixel statistics. We introduce Split Policy Learned Image Tokenization which learns to allocate token resolution based on what the model finds meaningful, producing shorter token sequences that are better matched to task-relevant content. SPLIT matches the accuracy of full-resolution ViT classification baselines while using 30% fewer tokens. The same gains hold on dense prediction: SPLIT achieves competitive accuracy on COCO and ADE20K, demonstrating that semantically aligned patchification generalises well beyond classification.

1 Introduction

Vision Transformers (ViTs) [Dosovitskiy et al., 2021] have become the dominant architecture for various visual tasks, demonstrating strong scalability and effectiveness across a wide range of applications. However, their efficiency remains a major challenge: self-attention scales quadratically with sequence length, and because patch embedding uses a uniform grid, sequence length itself grows quadratically with input resolution. As a result, doubling the resolution of an image quadruples its token count and increases self-attention cost by roughly 16×16\times, making high-resolution inputs prohibitively expensive to process.

To reduce the number of tokens processed while preserving task-relevant information, many prior works reduce the token count after the tokens have been fully computed. These methods typically leverage signals produced by the Vision Transformer itself, such as self-attention scores [Liang et al., 2022] or intermediate feature representations [Bolya et al., 2023], to filter, merge, or refine tokens [Rao et al., 2021], aligning token allocation with the model's learned semantics.

While promising, these methods are limited in their efficiency gains due to the cost of generating and processing dense tokens in the early stages. An alternative approach is to perform adaptive tokenization at the patch embedding stage itself. For example, Quadformer [Ronen et al., 2023] uses the feature discrepancy between an image and its downsampled-then-upsampled counterpart as a proxy for regional importance, and APT [Choudhury et al., 2026] uses entropy as a heuristic to estimate task-relevant uncertainty, allocating higher resolution to regions that are more informative for dense visual tasks.

Although adaptive patchification has proven effective, existing methods still rely on hand-crafted or external proxies to estimate regional importance. Visual signals such as entropy provide a useful

40th Conference on Neural Information Processing Systems (NeurIPS 2026).

Figure

Original Images

Split Policy Learned Image Tokenizer (Ours)

Figure 1: Split Policy Learned Image Tokenization. SPLIT is an adaptive patchification framework that learns to allocate fine tokens to semantically important regions and coarse tokens to homogeneous ones, accelerating ViT inference without sacrificing accuracy.

estimate of local uncertainty or information density, but they are not directly optimized for the downstream task and may overlook semantically important regions while mistakenly assigning high importance to visually complex but task-irrelevant areas. The natural alternative, using semantic importance derived from the ViT itself, is impractical, since it requires first processing the full dense token sequence to obtain reliable importance signals. This leads to a key question: can we obtain a lightweight yet semantic importance signal before processing with ViT layers?

Our key insight is that this dilemma is less rigid than it appears. Although processing the full dense token sequence is expensive, coarse tokens provide a lightweight alternative for obtaining model-aligned semantic cues. By optimizing the patch selection policy through the downstream task objective, the errors in the final prediction relative to different patch selection policies implicitly reveal which regions are semantically important, allowing the splitting decisions themselves to be learned in a task-aware manner, without requiring external proxies or costly dense ViT guidance.

Building on this insight, we propose Split Policy Learned Image Tokenization (SPLIT), an adaptive patchification framework that learns task-aware patch selection from coarse to fine. As shown in fig. 1, SPLIT uses coarse tokens as lightweight semantic anchors and selectively refines only the regions that are semantically important to the downstream task. To further encourage efficiency, we formulate patch refinement as a budget-constrained decision-making problem and optimize the network with reinforcement learning, learning effective region selection without exceeding the prescribed token budget.

Our contributions can be summarized as follows:

  • We introduce SPLIT, an adaptive patchification framework that learns task-aware patch selection from coarse semantic anchors, rather than pixel-level heuristics.
  • We formulate adaptive patch refinement as a budget-constrained decision-making problem and optimize the decision policy with reinforcement learning, enabling effective region selection under a fixed token budget.
  • SPLIT is lightweight to train: it adapts pretrained ViTs to semantically aligned tokenization with minimal fine-tuning, and transfers cleanly across image classification, object detection, semantic segmentation, and VQA benchmarks.

References (63)

  • Token merging: Your ViT but faster
  • End-to-end object detection with transformers
  • Cf-vit: A general coarse-to-fine method for vision transformer
  • Diffrate: Differentiable compression rate for efficient vision transformers
  • Accelerating vision transformers with adaptive patch sizes
  • Safe RLHF: Safe reinforcement learning from human feedback
  • FlashAttention: Fast and memory-efficient exact attention with IO-awareness
  • Imagenet: A large-scale hierarchical image database
  • An image is worth 16x16 words: Transformers for image recognition at scale
  • Eva-02: A visual representation for neon genesis
  • MME: A Comprehensive Evaluation Benchmark for Multimodal Large Language Models
  • Making the v in vqa matter: Elevating the role of image understanding in visual question answering
  • Msvit: Dynamic mixed-scale tokenization for vision transformers
  • Gqa: A new dataset for real-world visual reasoning and compositional question answering
  • Dynamic chunking for end-to-end hierarchical sequence modeling (opens arXiv in a new tab)
  • Enabling faster vision transformers via latency-aware soft token pruning
  • Learning to merge tokens via decoupled embedding for efficient vision transformers
  • Exploring plain vision transformer backbones for object detection
  • Not all patches are what you need: Expediting vision transformers via token reorganizations
  • Microsoft coco: Common objects in context
  • Improved baselines with visual instruction tuning
  • Is your multi-modal model an all-around player? In European conference on computer vision, pages 216–233
  • Swin transformer: Hierarchical vision transformer using shifted windows
  • Learn to explain: Multimodal reasoning via thought chains for science question answering
  • Adavit: Adaptive vision transformers for efficient image recognition
  • IA-RED $^{2}$: Interpretability-aware redundancy reduction for vision transformers
  • Learning transferable visual models from natural language supervision
  • DynamicViT: Efficient vision transformers with dynamic token sparsification
  • Vision transformers with mixed-resolution tokenization
  • A-okvqa: A benchmark for visual question answering using world knowledge
  • Towards vqa models that can read
  • Segmenter: Transformer for semantic segmentation
  • Patch slimming for efficient vision transformers
  • Training data-efficient image transformers & distillation through attention
  • Attention is all you need
  • Ppt: Token pruning and pooling for efficient vision transformers (opens arXiv in a new tab)
  • Unified perceptual parsing for scene understanding
  • A-vit: Adaptive tokens for efficient vision transformer
  • MM-Vet: Evaluating Large Multimodal Models for Integrated Capabilities
  • Ada-K routing: Boosting the efficiency of MoE-based LLMs
  • Scene parsing through ade20k dataset
  • Semantic understanding of scenes through the ade20k dataset
  • ImageNet classification training was conducted on a single node of 8x NVIDIA A100s
  • We kept all experimental settings (training schedule, optimizers, input resolutions, and other hyperparameters) identical to the original baselines to ensure a fair comparison
  • The ImageNet-1K dataset [Deng et al., 2009] was used for training and evaluation, following prior work [Havtorn et al., 2023, Ronen et al., 2023]
  • Fine-tuning was conducted following the recommended procedures outlined in EVA-02
  • As discussed in Section 3.3, training the decision network requires gradients to flow through an indexing operation that selects whether a patch is represented by a coarse token or by 4 fine tokens in the final sequence passed to the transformer backbone
  • direct optimization ... is precluded due to the non-differentiable nature of the sampling operation
  • To address this, we sweep each of SPLIT's PPO-specific and warm-start hyper-parameters, varying one at a time around the default configuration used in the main paper while holding all others fixed
  • The results in Table 7 correspond to the image classification task using the configuration: ViT-L, 224×224, 0.5 target token fraction
  • A run using the default hyper-parameters scores 86.49 at token fraction 0.586
  • The Lagrangian dual rate $\eta_\lambda$ controls how quickly the multiplier $\lambda$ reacts to token-budget violations and the policy learning rate controls how fast the policy changes based on the combined cost weighted by $\lambda$
  • Each cell reports test accuracy (%) / realized token fraction
  • >$\eta_\lambda$</td><td colspan=
  • We also study how performance depends on the iterations used during the warm-start and RL phases of training through two complementary experiments
  • Default configuration marked $\dagger$
  • For ImageNet → CIFAR-100 (resized), we learn a linear probe fit with the backbone frozen, since the label space of CIFAR-100 is different from that of ImageNet
  • Table 13 uses identical hardware (single A100 GPU) and batch size, and a matched 3000-iteration schedule for all rows and reports per-iteration and per-image latency alongside total wall-clock training time
  • The warm-start phase plays exactly this role for SPLIT, and in no configuration does SPLIT's
  • Changing the token budget at run time not only requires a tokenizer that allows for adjusting the budget but also needs the backbone to adapt to the new distribution of tokens for optimal performance
  • We measure fine-token recall on ADE20K val against SceneParse150 ground-truth masks (unlabeled / not-in-150 pixels are ignored)
  • At a matched budget, SPLIT allocates fine tokens to a substantially higher share of objects (+9.9 pp over APT) and boundaries (+11.2 pp), and the PPO phase further sharpens alignment beyond the warm-start policy (+2.0 pp thing, +1.1 pp boundary)
  • As illustrated in Figure 9 and Figure 10, SPLIT reliably allocates larger patches to uniform background regions while preserving fine-grained structure with smaller patches around object boundaries and detail-heavy areas