Geometrically Constrained and Token-Based Probabilistic Spatial Transformers
Not on the map. Why?
Abstract (arXiv)
Spatial transformations such as rotation and scale obscure the morphological cues needed for accurate image classification. Careful consideration is required for reliable use in high stakes settings. A model should stay robust under such transformations, expose why a correction was applied, and signal when its input is ambiguous. While geometrically equivariant architectures provide a mathematically grounded solution, they often limit model flexibility through strict symmetry constraints and incur significant computational overhead. Spatial Transformer Networks (STNs) offer a data-driven, flexible alternative for learning pseudo-equivariances to affine transformations. However, STNs have historically been restricted to convolutional architectures and suffer from training instability. To address this, we introduce a novel STN framework. It leverages the global modeling capabilities of transformers to regress the affine transformation acting on the input. For this, we decompose affine transformations into interpretable primitives, regressed under adaptable geometric constraints, thereby preventing the training instability typically caused by degenerate transformations. By sharing weights between the localization network and the classification backbone, the framework requires minimal computational overhead. Extensive experiments on challenging insect biodiversity and medical imaging benchmarks demonstrate that our approach achieves superior predictive performance under diverse spatial transformations while maintaining high efficiency. Code is available at https://github.com/johSchm/TokenSTN.
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 35 of its 61 references that are in the map. First posted on arXiv 14 Sep 2025.
Builds on
35 of 61 references.
References · 35
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
- 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 7,005
- 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 5,045
- 2013Auto-Encoding Variational Bayescited by 4,053
- 2016Gaussian Error Linear Units (GELUs)cited by 3,502
- 2017Axiomatic Attribution for Deep Networkscited by 3,384
- 2019Benchmarking Neural Network Robustness to Common Corruptions and Perturbationscited by 2,877
- 2013Estimating or Propagating Gradients Through Stochastic Neurons for Conditional Computationcited by 2,079
- 2015Spatial Transformer Networkscited by 1,429
- 2021Geometric Deep Learning: Grids, Groups, Graphs, Geodesics, and Gaugescited by 1,167
- 2016Group Equivariant Convolutional Networkscited by 1,165
23 more
- 2021MedMNIST v2 -- A large-scale lightweight benchmark for 2D and 3D biomedical image classificationcited by 690
- 2019Making Convolutional Networks Shift-Invariant Againcited by 391
- 2016Steerable CNNscited by 305
- 2019Cyclical Annealing Schedule: A Simple Approach to Mitigating KL Vanishingcited by 191
- 2021Frame Averaging for Invariant and Equivariant Network Designcited by 168
- 2022Equivariance with Learned Canonicalization Functionscited by 109
- 2018A Kernel Theory of Modern Data Augmentationcited by 106
- 2023MedViT: A Robust Vision Transformer for Generalized Medical Image Classificationcited by 89
- 2017Polar Transformer Networkscited by 81
- 2020Meta-Learning Symmetries by Reparameterizationcited by 76
- 2016TI-POOLING: transformation-invariant pooling for feature learning in Convolutional Neural Networkscited by 67
- 2022The Effects of Regularization and Data Augmentation are Class Dependentcited by 67
- 2023Equivariant Adaptation of Large Pretrained Modelscited by 41
- 2019Equivariant Transformer Networkscited by 35
- 2016Inverse Compositional Spatial Transformer Networkscited by 29
- 2021Robustness through Data Augmentation Loss Consistencycited by 8
- 2020Probabilistic Spatial Transformer Networkscited by 7
- 2024Tilt your Head: Activating the Hidden Spatial-Invariance of Classifierscited by 7
- 2020Understanding when spatial transformer networks do not support invariance, and what to do about itcited by 6
- 2015Fine-grained Recognition Datasets for Biodiversity Analysiscited by 5
- 2023Deep Learning Pipeline for Automated Visual Moth Monitoring: Insect Localization and Species Classificationcited by 5
- 2022Learning Continuous Rotation Canonicalization with Radial Beam Samplingcited by 4
- 2023Efficient Rotation Invariance in Deep Neural Networks through Artificial Mental Rotationcited by 2
Built on by
Citing papers per year: 2025: 2; 2026: 1.
3 papers.