mlsanityData to 14 Oct 2026

Spatial Entropy as an Inductive Bias for Vision Transformers

arXiv 2206.04636 ↗First posted 9 Jun 2022cs.CV cs.LGcited by 5

Not on the map. Why?

Abstract (arXiv)

Recent work on Vision Transformers (VTs) showed that introducing a local inductive bias in the VT architecture helps reducing the number of samples necessary for training. However, the architecture modifications lead to a loss of generality of the Transformer backbone, partially contradicting the push towards the development of uniform architectures, shared, e.g., by both the Computer Vision and the Natural Language Processing areas. In this work, we propose a different and complementary direction, in which a local bias is introduced using an auxiliary self-supervised task, performed jointly with standard supervised training. Specifically, we exploit the observation that the attention maps of VTs, when trained with self-supervision, can contain a semantic segmentation structure which does not spontaneously emerge when training is supervised. Thus, we explicitly encourage the emergence of this spatial clustering as a form of training regularization. In more detail, we exploit the assumption that, in a given image, objects usually correspond to few connected regions, and we propose a spatial formulation of the information entropy to quantify this object-based inductive bias. By minimizing the proposed spatial entropy, we include an additional self-supervised signal during training. Using extensive experiments, we show that the proposed regularization leads to equivalent or better results than other VT proposals which include a local bias by changing the basic Transformer architecture, and it can drastically boost the VT final accuracy when using small-medium training sets. The code is available at https://github.com/helia95/SAR.

Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Builds on 86 of its 113 references that are in the map. First posted on arXiv 9 Jun 2022.

Builds on

86 of 113 references.

References · 86

  1. 2017Attention Is All You Needcited by 60,361
  2. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  3. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  4. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  5. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
  6. 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 12,049
  7. 2014ImageNet Large Scale Visual Recognition Challengecited by 8,498
  8. 2018Representation Learning with Contrastive Predictive Codingcited by 7,777
  9. 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,513
  10. 2020End-to-End Object Detection with Transformerscited by 7,414
  11. 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,403
  12. 2017Mask R-CNNcited by 7,277
38 more
  1. 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,968
  2. 2022Hierarchical Text-Conditional Image Generation with CLIP Latentscited by 6,585
  3. 2017mixup: Beyond Empirical Risk Minimizationcited by 5,183
  4. 2020Bootstrap your own latent: A new approach to self-supervised Learningcited by 4,750
  5. 2020Training data-efficient image transformers & distillation through attentioncited by 4,586
  6. 2022Flamingo: a Visual Language Model for Few-Shot Learningcited by 4,386
  7. 2021Zero-Shot Text-to-Image Generationcited by 4,288
  8. 2020Deformable DETR: Deformable Transformers for End-to-End Object Detectioncited by 3,422
  9. 2015Fast R-CNNcited by 2,933
  10. 2019CutMix: Regularization Strategy to Train Strong Classifiers with Localizable Featurescited by 2,884
  11. 2019Benchmarking Neural Network Robustness to Common Corruptions and Perturbationscited by 2,877
  12. 2020Exploring Simple Siamese Representation Learningcited by 2,866
  13. 2020Unsupervised Learning of Visual Features by Contrasting Cluster Assignmentscited by 2,857
  14. 2021BEiT: BERT Pre-Training of Image Transformerscited by 2,375
  15. 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,962
  16. 2021Barlow Twins: Self-Supervised Learning via Redundancy Reductioncited by 1,838
  17. 2021An Empirical Study of Training Self-Supervised Vision Transformerscited by 1,616
  18. 2020Point Transformercited by 1,470
  19. 2019Natural Adversarial Examplescited by 1,408
  20. 2020Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hyperspherecited by 1,405
  21. 2019Contrastive Multiview Codingcited by 1,301
  22. 2018Learning deep representations by mutual information estimation and maximizationcited by 1,273
  23. 2021SimMIM: A Simple Framework for Masked Image Modelingcited by 1,153
  24. 2021Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNetcited by 1,101
  25. 2022MaskGIT: Masked Generative Image Transformercited by 1,099
  26. 2016Semantic Understanding of Scenes through the ADE20K Datasetcited by 1,069
  27. 2021VICReg: Variance-Invariance-Covariance Regularization for Self-Supervised Learningcited by 1,057
  28. 2018Deep Clustering for Unsupervised Learning of Visual Featurescited by 1,028
  29. 2021CvT: Introducing Convolutions to Vision Transformerscited by 947
  30. 2021iBOT: Image BERT Pre-Training with Online Tokenizercited by 903
  31. 2020Object-Centric Learning with Slot Attentioncited by 876
  32. 2021Segmenter: Transformer for Semantic Segmentationcited by 855
  33. 2020PCT: Point cloud transformercited by 732
  34. 2022Exploring Plain Vision Transformer Backbones for Object Detectioncited by 724
  35. 2021Do Vision Transformers See Like Convolutional Neural Networks?cited by 675
  36. 2021SimVLM: Simple Visual Language Model Pretraining with Weak Supervisioncited by 647
  37. 2021Masked Feature Prediction for Self-Supervised Visual Pre-Trainingcited by 576
  38. 2017Understanding the Effective Receptive Field in Deep Convolutional Neural Networkscited by 553

50 most cited of 86 All 86 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 3; 2026: 2.

5 papers.