arXiv:2610.07758cs.CVOct 2026

Manuscript Offprint

arXiv:2610.07758

Later Is Better: Token Reduction for ViTs Under Distribution Shift

Hyeongheon Cha, Hyungjun Yoon, Sung-Ju Lee

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

ABSTRACT

Training-free token reduction accelerates vision transformers by removing redundant tokens across layers, recovering most of the original accuracy at a fraction of the compute. These methods, however, are designed and evaluated primarily on clean data, and under real-world distribution shift their accuracy gap to the uncompressed model widens with the removal rate. We show that this gap is governed by the reduction schedule, the depth profile of removal, usually left fixed as an implementation detail. Concretely, we introduce a one-parameter late-concentrated power-law schedule that consistently improves out-of-distribution accuracy over flat at no extra inference cost. On ImageNet-C with DeiT-S, the late schedule closes 83% of that gap at a 26% compute reduction (+1.17pp), and 99% of it at a lighter 7% reduction (+0.26pp). The gain cannot be attributed to retaining more tokens or using extra compute: held to flat's compute, the late schedule removes more tokens in total and leaves fewer tokens at the end, yet still wins. Single-layer probes point to a mechanism: earlier reductions perturb features that pass through more remaining layers, front-loading reduction error in depth. The effect is broad, holding across five token-reduction methods (ToMe, EViT, ATS, ATC, PiToMe), nine backbones, all ImageNet-C corruption types, eight further shift suites, and two further modalities, video and vision-language QA. It is also specific to shift, still positive on clean and rising monotonically to ∼4×\sim4\times that at the highest severity 5. The schedule keeps its gain under six test-time adaptation methods, and needs no per-input or per-domain tuning.

1 INTRODUCTION

Vision transformers (ViTs) (Dosovitskiy et al., 2021) split an image into patches, embed each as a token, and process the resulting sequence through a stack of transformer layers. Their compute scales with the number of tokens, steeply so in self-attention, whose cost is quadratic in the sequence length. Because many of these tokens are redundant, token-reduction methods cut this cost by removing tokens as the image passes through the network, shrinking the sequence the deeper layers must process: pruning unimportant tokens (Liang et al., 2022), merging similar ones (Bolya et al., 2023; Tran et al., 2024), clustering them into groups (Haurum et al., 2024), or sampling a subset to keep (Fayyaz et al., 2022), all recovering most of the original accuracy at a fraction of the compute. Because they require no retraining and act at test time, with no extra data, they are widely studied as plug-in efficiency tools for existing ViT pipelines.

These methods, however, are designed and evaluated primarily on clean, in-distribution images, while the deployments they target rarely see such inputs. Sensor noise, motion blur, weather, and compression artifacts produce a distribution shift away from the training data (Hendrycks & Dietterich, 2019; Mintun et al., 2021; Kar et al., 2022). Whether token reduction, tuned for clean efficiency, retains its accuracy under such real-world shift is largely unexamined. Figure 1a,b answers this for the widely used ToMe (Bolya et al., 2023): the more aggressive the reduction, the more accuracy it sacrifices under shift, while clean accuracy is barely touched.

The remedy lies in a choice these methods leave implicit. A token-reduction method is defined not only by how many tokens it removes, but by where along the network's depth it removes them, that is, its schedule. Existing methods largely use a flat schedule that removes the same number

(a) in-distribution (clean)

Figure

(b) out-of-distribution (gauss. noise, sev 5)

(c) same compute, different schedule: where the token budget is spent over depth uncompressed (33.89% top-1, 4.25 GFLOPs)

input, 196 tokens (gauss. noise, sev 5)

Figure

Figure 1: Token reduction increasingly sacrifices out-of-distribution accuracy; a late-concentrated schedule recovers it at no extra compute. (a,b) DeiT-S top-1 vs. the per-layer token removal rate rbaser_{base} on clean and gaussian-noise ImageNet-C. (c) each ribbon's height is the tokens remaining, so the pale band above is what was removed; flat removes the same number at every layer, ours follows the late-concentrated power law. Ours ends with far fewer tokens, yet closer to uncompressed.

at every layer (Bolya et al., 2023; Haurum et al., 2024), treated as a fixed implementation detail, with tuning effort targeting the per-layer rate or input-adaptive rules rather than the depth profile of removal itself. The deployment shift is unknown in advance and unlabeled at test time. We therefore ask whether, in this training-free regime, the schedule is itself a lever for robustness at matched inference cost.

We find that it is, and that concentrating removal late is the direction that helps, while the mirror-image early-concentrated schedule is the most damaging of the three. The probes in Section 4 point to amplification: a token-reduction step perturbs the features it acts on, and the earlier it acts, the more layers amplify that perturbation before it reaches the classifier. Removing later therefore distorts the output less, and shift widens the gap by raising that amplification. Concretely, we propose a late-concentrated power-law schedule, a per-layer removal rate that increases with depth (Eq. 1, Figure 1c). We use a single fixed exponent at our main operating point, with no per-input or per-domain tuning. On DeiT-S and ImageNet-C this recovers 83% of the accuracy that token reduction loses under shift at a 26% compute reduction (+1.17pp over flat), and 99% of it at a lighter 7% reduction (+0.26pp). It also removes more tokens in total than flat, yet still improves accuracy, so neither a larger token budget nor extra compute can account for the gain.

The benefit holds across five training-free reducers and nine backbones from four pretraining recipes, all ImageNet-C corruption types, eight further shift suites (ImageNet-A/R/V2/Sketch, DomainNet-126, ImageNet-C/3DCC, NaBirds-C), and two modalities beyond image classification, video on Kinetics and vision-language QA on GQA-C. The schedule also composes with six test-time adaptation methods, which adapt the model to the same shift. And the gain rises monotonically with corruption severity, ∼4×\sim4\times from a small +0.28+0.28pp on clean images to +1.17+1.17pp at severity 5, so it is a robustness property rather than a general accuracy improvement.

We make the following contributions:

• We identify the reduction schedule (the depth profile of removal) as an under-characterized determinant of ViT robustness to distribution shift, and show that at matched compute a late-concentrated power law recovers most of the accuracy that reduction costs under shift.

• We provide a first-order diagnostic account of the gain by measuring per-layer distortion and perturbation amplification, finding both to be front-loaded in depth.

• We show the effect is broad, holding across five training-free reducers, nine backbones, all ImageNet-C corruptions, eight further shift suites, two other modalities, growing with shift severity, and composing with six test-time adaptation methods.

References (100)

Couldn't load all references. Reload the page to try again.