mlsanityData to 7 Oct 2026

Active Spatial Guidance: Eliminating Injected Positional Mechanisms in Vision Transformers

arXiv 2607.00580 ↗First posted 1 Jul 2026cs.CVcited by 0

Not on the map. Why?

Abstract (arXiv)

Vision Transformers (ViTs) commonly rely on injected positional mechanisms to address self-attention's permutation invariance. Motivated by the spatial regularities of natural images, we ask whether spatial organization can be induced from data rather than explicitly injected. Under controlled, matched from-scratch training, we propose Active Spatial Guidance (Guidance), a training-only objective that disables positional injection and applies an auxiliary 2D coordinate-regression loss to the final-layer patch tokens. The guidance head is used only during training and removed for inference; the deployed model consists of a positional-injection-free ViT encoder and the task-specific prediction module. Using DINOv3 ViT backbones, Guidance consistently improves performance on ImageNet-100 classification, ADE20K semantic segmentation, and Hypersim monocular depth estimation, outperforming strong injected baselines such as learned absolute positional embeddings and rotary positional embeddings under identical training protocols. On ImageNet-100, broader comparisons against representative injected positional designs further support Guidance's effectiveness. Guidance also improves robustness under resolution transfer, and multi-resolution training further strengthens accuracy across input sizes. Overall, our results suggest that spatial inductive bias in ViTs need not be architecturally injected, but can be shaped through training-time supervision. The code used for training and evaluation is publicly available in https://github.com/cloudlc/asg.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 23 of its 35 references that are in the map. First posted on arXiv 1 Jul 2026.

Builds on

23 of 35 references.

References · 23

  1. 2017Attention Is All You Needcited by 59,932
  2. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  3. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
  4. 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
  5. 2021SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformerscited by 2,923
  6. 2016Unsupervised Learning of Visual Representations by Solving Jigsaw Puzzlescited by 1,379
  7. 2018Unified Perceptual Parsing for Scene Understandingcited by 1,265
  8. 2021Swin Transformer V2: Scaling Up Capacity and Resolutioncited by 1,215
  9. 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,085
  10. 2015Unsupervised Visual Representation Learning by Context Predictioncited by 1,062
  11. 2021Do Vision Transformers See Like Convolutional Neural Networks?cited by 671
  12. 2020Hypersim: A Photorealistic Synthetic Dataset for Holistic Indoor Scene Understandingcited by 593
11 more
  1. 2021Intriguing Properties of Vision Transformerscited by 446
  2. 2021Conditional Positional Encodings for Vision Transformerscited by 402
  3. 2021Early Convolutions Help Transformers See Bettercited by 395
  4. 2024Rotary Position Embedding for Vision Transformercited by 226
  5. 2021Rethinking and Improving Relative Position Encoding for Vision Transformercited by 206
  6. 2022Transformer Language Models without Positional Encodings Still Learn Positional Informationcited by 148
  7. 2019Language Modeling with Deep Transformerscited by 96
  8. 2022Masked Jigsaw Puzzle: A Versatile Position Embedding for Vision Transformerscited by 33
  9. 2024ViTAR: Vision Transformer with Any Resolutioncited by 25
  10. 2022Jigsaw-ViT: Learning Jigsaw Puzzles in Vision Transformercited by 21
  11. 2025A 2D Semantic-Aware Position Encoding for Vision Transformerscited by 3

Built on by

Not cited yet.