mlsanityData to 14 Oct 2026

Spatial Priors via Space Filling Curves for Small and Limited Data Vision Transformers

arXiv 2606.14757 ↗First posted 8 Jun 2026cs.CV cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

Though Vision Transformers (ViTs) have become the dominant backbone in many computer vision tasks, due to permutation equivariance, their attention mechanism lacks explicit spatial inductive biases. This become particularly important in two settings: when model capacity is small or training data is limited. Inspired by the attention masking strategies in Linear Transformers and the scanning patterns of Vision SSMs, we introduce VIOLIN, a lightweight masked attention mechanism that encodes spatial structure within attention via Space Filling Curves (SFCs) with less than 0.0015% extra parameters and negligible computational overhead. VIOLIN scans the image using multiple SFCs to construct curve-specific decay masks, which are then combined and multiplied with the attention matrix. Across a wide range of evaluations, VIOLIN consistently improves performance. In limited data regimes such as fine-tuning on VTAB-1K, it boosts accuracy across all task groups and by up to 8.7% on the tasks where spatial information is essential. It can be combined with parameter-efficient fine-tuning methods such as LoRA to further increase the performance. Beyond fine-tuning, VIOLIN improves various small scale ViT architectures (e.g., DeiT, DINO) during pretraining on ImageNet-1K. Additionally, on pixel-level CIFAR-100 training, a task that is highly dependent on location information, VIOLIN increases accuracy by up to 7.2%. Overall, VIOLIN provides a computationally efficient yet effective way to inject spatial inductive bias into ViTs, especially benefiting small models and limited data settings.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 58 of its 81 references that are in the map. First posted on arXiv 8 Jun 2026.

Builds on

58 of 81 references.

References · 58

  1. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  2. 2014Microsoft COCO: Common Objects in Contextcited by 17,608
  3. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
  4. 2014ImageNet Large Scale Visual Recognition Challengecited by 8,498
  5. 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,403
  6. 2017Mask R-CNNcited by 7,277
  7. 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,968
  8. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
  9. 2020Training data-efficient image transformers & distillation through attentioncited by 4,586
  10. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
  11. 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,962
  12. 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,850
38 more
  1. 2020Rethinking Attention with Performerscited by 1,601
  2. 2019MMDetection: Open MMLab Detection Toolbox and Benchmarkcited by 1,385
  3. 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Dualitycited by 1,336
  4. 2018Unified Perceptual Parsing for Scene Understandingcited by 1,271
  5. 2021Swin Transformer V2: Scaling Up Capacity and Resolutioncited by 1,228
  6. 2021Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNetcited by 1,101
  7. 2016Semantic Understanding of Scenes through the ADE20K Datasetcited by 1,069
  8. 2024Vision Mamba: Efficient Visual Representation Learning with Bidirectional State Space Modelcited by 1,056
  9. 2024VMamba: Visual State Space Modelcited by 969
  10. 2017Revisiting Unreasonable Effectiveness of Data in Deep Learning Eracited by 919
  11. 2021PVT v2: Improved Baselines with Pyramid Vision Transformercited by 751
  12. 2021ImageNet-21K Pretraining for the Massescited by 613
  13. 2023Retentive Network: A Successor to Transformer for Large Language Modelscited by 613
  14. 2013Network In Networkcited by 605
  15. 2023VideoMAE V2: Scaling Video Masked Autoencoders with Dual Maskingcited by 528
  16. 2015An Introduction to Convolutional Neural Networkscited by 514
  17. 2023Gated Linear Attention Transformers with Hardware-Efficient Trainingcited by 514
  18. 2021Linear Transformers Are Secretly Fast Weight Programmerscited by 502
  19. 2021ConViT: Improving Vision Transformers with Soft Convolutional Inductive Biasescited by 484
  20. 2019A Large-scale Study of Representation Learning with the Visual Task Adaptation Benchmarkcited by 425
  21. 2022DeiT III: Revenge of the ViTcited by 419
  22. 2023Resurrecting Recurrent Neural Networks for Long Sequencescited by 408
  23. 2021Conditional Positional Encodings for Vision Transformerscited by 406
  24. 2024Parallelizing Linear Transformers with the Delta Rule over Sequence Lengthcited by 396
  25. 2021Random Feature Attentioncited by 354
  26. 2024VideoMamba: State Space Model for Efficient Video Understandingcited by 328
  27. 2021CMT: Convolutional Neural Networks Meet Vision Transformerscited by 310
  28. 2024Rotary Position Embedding for Vision Transformercited by 236
  29. 2021Rethinking and Improving Relative Position Encoding for Vision Transformercited by 207
  30. 2021Shuffle Transformer: Rethinking Spatial Shuffle for Vision Transformercited by 115
  31. 2024ZigMa: A DiT-style Zigzag Mamba Diffusion Modelcited by 84
  32. 2023RMT: Retentive Networks Meet Vision Transformerscited by 68
  33. 2025Forgetting Transformer: Softmax Attention with a Forget Gatecited by 53
  34. 2024Vision-LSTM: xLSTM as Generic Vision Backbonecited by 51
  35. 2024Hydra: Bidirectional State Space Models Through Generalized Matrix Mixerscited by 44
  36. 2023Toeplitz Neural Network for Sequence Modelingcited by 43
  37. 2024An Image is Worth More Than 16x16 Patches: Exploring Transformers on Individual Pixelscited by 33
  38. 2022Bridging the Gap Between Vision Transformers and Convolutional Neural Networks on Small Datasetscited by 29

50 most cited of 58 All 58 (JSON)

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2025HEART-VIT: Hessian-Guided Efficient Dynamic Attention and Token Pruning in Vision Transformer
  2. 2025Learning Object Focused Attention
  3. 2026ASAP: Attention Sink Anchored Pruning
  4. 2026Parameterized Stripe Attention for Efficient Video Generation
  5. 2024CLEAR: Conv-Like Linearization Revs Pre-Trained Diffusion Transformers Up
  6. 20232-D SSM: A General Spatial Layer for Visual Transformers
  7. 2026How Vision Transformers Represent Position: A Mechanistic Comparison of Absolute and Rotary Positional Encodings
  8. 2025Compact Attention: Exploiting Structured Spatio-Temporal Sparsity for Fast Video Generation