NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Anchors That Move Without Collapsing: Exclusive-Region Anchor Routing for Vision Transformers

Aadi GuptaarXiv 2026

It’s late, you’re tired, and the last thing you want to think about is $O(N^2)$ complexity. But here is the reality: Vision Transformers (ViTs) are computationally expensive because every pixel (or patch) wants to talk to every other pixel. To fix this, researchers often use "anchors"—a small set of summary tokens that act as intermediaries.

The problem? These anchors are often redundant. You might pay for 32 global summaries but end up with 32 copies of the exact same information. This paper, "Anchors That Move Without Collapsing," introduces a clever way to force these anchors to stay unique while still letting them hunt for the most important parts of an image.

TL;DR

Most "anchor-based" transformers suffer from "anchor collapse," where all summary tokens converge to describe the same part of the image. This paper introduces Focus Anchors, which use exclusive spatial regions (Voronoi partitions) to prevent collapse by design, allowing the model to process high-resolution images at a fraction of the computational cost without losing accuracy.

What Problem Does This Paper Address?

In a standard ViT, global self-attention scales quadratically with the number of patches. If you double the resolution, you quadruple the cost. "Anchor" methods try to solve this by having patches write to a few latent tokens, which then talk to each other and write back.

However, the author discovers a phenomenon called anchor collapse. Because there is often no structural constraint forcing anchors to be different, they all gravitate toward the same "interesting" features. In one test, 32 anchors converged to near-identical vectors with a 0.99 cosine similarity. You’re essentially paying the computational tax for a committee but only getting the opinion of one person.

Methods

The author proposes a "Local–Global–Local" block. Patches first talk to their neighbors (local), then summarize information into anchors (global), and finally receive updates back from those anchors.

The "secret sauce" is how patches are assigned to anchors:

  1. Exclusive Regions: Instead of "soft" attention where a patch can contribute to many anchors, the author uses a hard assignment. Every patch belongs to its nearest anchor, creating a Voronoi partition. This ensures that no two anchors ever look at the same patch, making collapse mathematically impossible.
  2. Focus Anchors: To make this dynamic, the model learns an "importance map." It keeps some anchors on a fixed grid to ensure total coverage, but allows "Focus Anchors" to migrate toward high-importance areas (like an object in a cluttered scene).
  3. Straight-Through Estimation: Since hard assignments aren't differentiable, the model uses a "straight-through" gradient trick—using the hard assignment for the forward pass but a soft, distance-based assignment for the backward pass to allow the anchors to "learn" where to move.
The proposed block structure: patches communicate locally, then via exclusive anchors.

Datasets

The model was put through its paces on a variety of tasks designed to test spatial reasoning and resolution scaling:

  • CIFAR-100: Standard baseline.
  • Cluttered CIFAR-10: A synthetic task where a small object is hidden on a large, noisy canvas.
  • Tiny ImageNet Canvas: Similar to cluttered CIFAR but with more classes.
  • Megapixel MNIST: High-resolution grids of digits.
  • DFG Traffic Signs: Full-HD (1920x1080) real-world street scenes.

Key Insights and Ideas

  • Softness is the Enemy of Diversity: Common techniques like Softmax or Sinkhorn relaxations for anchor assignment often lead to divergence or redundancy. Hard, exclusive assignment was the only method that remained both stable and accurate.
  • The "Aha" Moment on Clutter: Moving anchors don't help much if the "important" stuff is everywhere. They shine in "cluttered" scenarios where the model needs to ignore 90% of the image to find a small, relevant object.
  • Resolution Matters: On full-HD images, downsampling the input to save compute kills accuracy (halving mAP). Anchors allow the model to keep the full resolution while only paying for a fraction of the attention cost.
Visualizing how Focus Anchors (dots) migrate toward the object (white box) while maintaining exclusive regions (colors).

Key Results

  • Accuracy Boost: On CIFAR-100, the exclusive partition method was 2.4–3.6 points more accurate than previous "Representative Attention" methods.
  • Efficiency: On full-HD traffic sign recognition, the anchor variants matched the accuracy of dense attention while using only 1/5th of the FLOPs.
  • Training Speed: The fixed partition method trained 1.5x faster per step than dense attention using the industry-standard FlashAttention.
  • Collapse Prevention: As shown in the metrics, while other methods (like Perceiver or AnchorFormer) saw their anchor similarity skyrocket toward 1.0 (total collapse), the proposed method maintained a similarity of 0.0 by construction.
Figure 4: Test accuracy during training, mean over 3 seeds (band: min–max; omitted for ResNet-18, whose per-epoch test accuracy fluctuates strongly). Anchor models solid, baselines dashed or dotted.

Limitations and Future Work

  • The ResNet Shadow: Interestingly, the author notes that a good old-fashioned ResNet-18 still outperformed these transformers on every task when trained from scratch. The "transformer advantage" might require pre-training or even larger datasets.
  • Memory Overhead: While FLOPs (compute) are lower, the current implementation uses more memory than FlashAttention because the custom "gather/scatter" operations aren't yet optimized into fused kernels.
  • Scale: The experiments were limited to models trained from scratch on relatively small datasets (up to 100k images). How these anchors behave in "Foundation Model" territory remains an open question.

Summary updated

BibTeX
@misc{gupta2026anchors,
  author = {Aadi Gupta},
  title = {{Anchors That Move Without Collapsing: Exclusive-Region Anchor Routing for Vision Transformers}},
  year = {2026},
  eprint = {2611.27855},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.27855},
}
Figure