mlsanityData to 14 Oct 2026

Studying inductive biases in image classification task

arXiv 2210.17141 ↗First posted 31 Oct 2022cs.CVcited by 0

Not on the map. Why?

Abstract (arXiv)

Recently, self-attention (SA) structures became popular in computer vision fields. They have locally independent filters and can use large kernels, which contradicts the previously popular convolutional neural networks (CNNs). CNNs success was attributed to the hard-coded inductive biases of locality and spatial invariance. However, recent studies have shown that inductive biases in CNNs are too restrictive. On the other hand, the relative position encodings, similar to depthwise (DW) convolution, are necessary for the local SA networks, which indicates that the SA structures are not entirely spatially variant. Hence, we would like to determine which part of inductive biases contributes to the success of the local SA structures. To do so, we introduced context-aware decomposed attention (CADA), which decomposes attention maps into multiple trainable base kernels and accumulates them using context-aware (CA) parameters. This way, we could identify the link between the CNNs and SA networks. We conducted ablation studies using the ResNet50 applied to the ImageNet classification task. DW convolution could have a large locality without increasing computational costs compared to CNNs, but the accuracy saturates with larger kernels. CADA follows this characteristic of locality. We showed that context awareness was the crucial property; however, large local information was not necessary to construct CA parameters. Even though no spatial invariance makes training difficult, more relaxed spatial invariance gave better accuracy than strict spatial invariance. Also, additional strong spatial invariance through relative position encoding was preferable. We extended these experiments to filters for downsampling and showed that locality bias is more critical for downsampling but can remove the strong locality bias using relaxed spatial invariance.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 39 of its 44 references that are in the map. First posted on arXiv 31 Oct 2022.

Builds on

39 of 44 references.

References · 39

  1. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  2. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
  3. 2014ImageNet Large Scale Visual Recognition Challengecited by 8,498
  4. 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 5,045
  5. 2020Training data-efficient image transformers & distillation through attentioncited by 4,586
  6. 2014Going Deeper with Convolutionscited by 4,241
  7. 2017MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applicationscited by 3,845
  8. 2022A ConvNet for the 2020scited by 3,579
  9. 2016Xception: Deep Learning with Depthwise Separable Convolutionscited by 2,332
  10. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
  11. 2021An Empirical Study of Training Self-Supervised Vision Transformerscited by 1,616
  12. 2020Rethinking Attention with Performerscited by 1,601
27 more
  1. 2020Linformer: Self-Attention with Linear Complexitycited by 1,474
  2. 2021MLP-Mixer: An all-MLP Architecture for Visioncited by 1,446
  3. 2018CCNet: Criss-Cross Attention for Semantic Segmentationcited by 718
  4. 2019Stand-Alone Self-Attention in Vision Modelscited by 542
  5. 2021ConViT: Improving Vision Transformers with Soft Convolutional Inductive Biasescited by 484
  6. 2018Bag of Tricks for Image Classification with Convolutional Neural Networkscited by 431
  7. 2021ResNet strikes back: An improved training procedure in timmcited by 368
  8. 2021Bottleneck Transformers for Visual Recognitioncited by 364
  9. 2019Attention Augmented Convolutional Networkscited by 363
  10. 2019Dynamic Convolution: Attention over Convolution Kernelscited by 356
  11. 2021ResMLP: Feedforward networks for image classification with data-efficient trainingcited by 339
  12. 2020Axial-DeepLab: Stand-Alone Axial-Attention for Panoptic Segmentationcited by 326
  13. 2020Exploring Self-attention for Image Recognitioncited by 313
  14. 2019CondConv: Conditionally Parameterized Convolutions for Efficient Inferencecited by 273
  15. 2021When Vision Transformers Outperform ResNets without Pre-training or Strong Data Augmentationscited by 260
  16. 2022Neighborhood Attention Transformercited by 239
  17. 2019Local Relation Networks for Image Recognitioncited by 210
  18. 2018Bayesian Deep Convolutional Networks with Many Channels are Gaussian Processescited by 167
  19. 2021Revisiting ResNets: Improved Training and Scaling Strategiescited by 158
  20. 2019MixConv: Mixed Depthwise Convolutional Kernelscited by 108
  21. 2021Vision Permutator: A Permutable MLP-Like Architecture for Visual Recognitioncited by 103
  22. 2021Involution: Inverting the Inherence of Convolution for Visual Recognitioncited by 99
  23. 2021P2T: Pyramid Pooling Transformer for Scene Understandingcited by 84
  24. 2020Towards Learning Convolutions from Scratchcited by 46
  25. 2020Revisiting Spatial Invariance with Low-Rank Local Connectivitycited by 29
  26. 2021Impact of Aliasing on Generalization in Deep Convolutional Networkscited by 25
  27. 2019Finding the Needle in the Haystack with Convolutions: on the benefits of architectural biascited by 19

Built on by

Not cited yet.