Vision Transformers Need More Than Registers

Cheng Shi, Yizhou Yu, Sibei YangarXiv 2026

TL;DR

Vision Transformers (ViTs) suffer from dense-feature artifacts because they "lazily" use background patches as shortcuts to represent global image semantics. This paper introduces LaSt-ViT (LazyStrike ViT), a simple frequency-aware pooling mechanism that forces the model to anchor its global tokens to the actual foreground, fixing feature misalignment and boosting performance across 12 downstream benchmarks.

What Problem Does This Paper Address?

Vision Transformers are the undisputed backbone of modern computer vision foundation models. However, researchers have repeatedly noticed strange "artifacts" in their dense feature maps—such as the mysterious "high-norm tokens" found in self-supervised models like DINOv2, or severe attention deficits in fully supervised models.

Previous fixes, like adding "register tokens," merely sweep these high-norm tokens under the rug without addressing why they happen. This paper uncovers the root cause: lazy aggregation.

Because ViTs are typically trained with coarse, image-level supervision (like a single label or text caption) and possess unconstrained global attention, the model's global (CLS) token takes the path of least resistance. It diffuses foreground information into the abundant background patches, using them as shortcuts to minimize training loss. This leads to high image-level classification accuracy but terrible patch-level alignment for downstream tasks like dense segmentation or object discovery.

Figure 1. LazyStrike provides a unified framework for analyzing and mitigating diverse artifacts across different supervision settings in ViTs. The figure visualizes patch scores—defined as CLS–patch similarity—under full supervision (middle) and self-supervision (right), together with PCA projections of features under full supervision (left).

Methods

To break this lazy shortcut behavior, the authors propose LaSt-ViT (LazyStrike ViT). Instead of standard global pooling or unconstrained attention aggregation into the CLS token, they introduce a frequency-aware selection mechanism during pre-training:

  1. Stability Score: In deep layers of a network, foreground features tend to have more homogeneous semantic meanings (lower variation along the channel dimension), while background features exhibit higher semantic diversity. LaSt-ViT applies a 1D Fast Fourier Transform (FFT) along the channel dimension of each patch, passes it through a low-pass filter, and transforms it back. Patches that change the least are deemed "stable" foreground candidates.
  2. Channel-wise Top-K Pooling: For each channel, the CLS token only aggregates the top-$K$ most stable patches. This prevents background patches from dominating the global representation and forces the model to focus on the true foreground object.

Datasets

The authors validated their approach across a wide array of standard computer vision datasets:

  • Pre-training & Image Classification: ImageNet-1k.
  • Downstream Evaluation (12 Benchmarks): Pascal VOC 2007/2012, COCO (including COCO-Obj and COCO-Stf), ADE20K, Cityscapes, Context59, and LVIS.
  • New Benchmark Metric: The paper introduces the Point-in-Box (PiB) metric using ImageNet validation images with single-object annotations. PiB quantitatively measures the proportion of images where the highest-scoring patch falls correctly within the foreground bounding box.

Key Insights and Ideas

  • The Background Shortcut is Real: Masking out the top 50% highest-scoring patches in a standard pre-trained ViT has virtually zero negative impact on ImageNet classification accuracy (and can even slightly improve it). This proves that the model's most confident patches are actually non-essential background shortcuts.
Patch score distribution and masking performance
  • Early and Persistent Bias: Lazy aggregation isn't a late-stage training quirk; it emerges at the very beginning of training and stays flat, even as classification accuracy climbs.
Figure 3. Training dynamics on ImageNet-1k. Left: top-1 ac- curacy; Right: Point-in-Box score. As training proceeds, ViT’s classification accuracy steadily improves, yet its Point-in-Box score remains nearly flat (around 0.42 →0.44) and consistently lower than ResNet’s across the entire training process.
  • Registers are just a Band-Aid: While adding register tokens removes high-norm outliers from the feature maps, it doesn't fix the underlying feature misalignment because it doesn't stop the CLS token from relying on background shortcuts.

Key Results

  • Point-in-Box (PiB) Boosts: LaSt-ViT significantly improves the PiB score across all supervision types. Fully supervised ViT jumps from 42.7% to 55.1%, DINO-v1 leaps from 44.5% to 69.7%, and CLIP improves from 39.8% to 50.1%, bringing ViT localization capabilities close to or exceeding traditional ConvNets.
  • Dramatic Segmentation Gains: When integrated into CLIP (ViT-B/16), LaSt-ViT dramatically improves zero-shot semantic segmentation. For instance, Mean Intersection over Union (mIoU) on Pascal VOC20 leaps from 49.0% to 75.0%.
  • State-of-the-Art Object Discovery: It achieves top-tier unsupervised object localization (CorLoc) scores on VOC07 (64.4%), VOC12 (67.6%), and COCO (51.6%) while maintaining a highly efficient throughput of 55.9 frames per second.

Limitations and Future Work

The authors note a fundamental trade-off: completely restricting global dependencies (e.g., using window attention or larger patch sizes) naturally mitigates background bias but harms overall classification accuracy. While LaSt-ViT navigates this trade-off effectively by selectively filtering channels, optimizing both global classification and dense local alignment perfectly remains an open challenge.

Future work could explore extending this frequency-aware token selection to multi-modal generation tasks or autoregressive vision models where dense feature alignment is critical.

Summary updated

BibTeX
@misc{shi2026vision,
  author = {Cheng Shi and Yizhou Yu and Sibei Yang},
  title = {{Vision Transformers Need More Than Registers}},
  year = {2026},
  eprint = {2602.22394},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2602.22394},
}
Figure