paper-with-me

홈 › Papers

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

2026-06-08 · Leyla Naz Candogan, Arshia Afzal, Pol Puigdemont, Volkan Cevher 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.

📄 PDF Abstract BibTeX arXiv:2606.14757

Code (0)

등록된 구현이 없습니다.

Tasks

parameter-efficient fine-tuning

Similar Papers 제목 키워드 기반

Neural Space-filling Curves

2022-04-18 · Hanyu Wang, Kamal Gupta, Larry Davis, Abhinav Shrivastava

We present Neural Space-filling Curves (SFCs), a data-driven approach to infer a context-based scan order for a set of images. Linear ordering of pixels forms the basis for many applications such as video scrambling, com…

Image Compression

Hilbert curves for efficient exploratory landscape analysis neighbourhood sampling

2024-08-01 · Johannes J. Pienaar, Anna S. Bosman, Katherine M. Malan

Landscape analysis aims to characterise optimisation problems based on their objective (or fitness) function landscape properties. The problem search space is typically sampled, and various landscape features are estimat…

Geometrical Structure of Bifurcations during Spatial Decision-Making

2023-07-11 · Dan Gorbonos, Nir S. Gov, Iain D. Couzin

Animals must constantly make decisions on the move, such as when choosing among multiple options, or "targets", in space. Recent evidence suggests that this results from a recursive feedback between the (vectorial) neura…

Decision Making

Aztec curve: proposal for a new space-filling curve

2022-07-28 · Diego Ayala, Daniel Durini, Jose Rangel-Magdaleno

Different space-filling curves (SFCs) are briefly reviewed in this paper, and a new one is proposed. A century has passed between the inception of this kind of curves, since then they have been found useful in computer s…

compressed sensing

Space-filling Curves for High-performance Data Mining

2020-08-04 · Christian Böhm

Space-filling curves like the Hilbert-curve, Peano-curve and Z-order map natural or real numbers from a two or higher dimensional space to a one dimensional space preserving locality. They have numerous applications like…

ClusteringVocal Bursts Intensity Prediction