mlsanityData to 7 Oct 2026

SoT: Delving Deeper into Classification Head for Transformer

arXiv 2104.10935 ↗First posted 22 Apr 2021cs.CV cs.AI cs.LGcited by 5

Not on the map. Why?

Abstract (arXiv)

Transformer models are not only successful in natural language processing (NLP) but also demonstrate high potential in computer vision (CV). Despite great advance, most of works only focus on improvement of architectures but pay little attention to the classification head. For years transformer models base exclusively on classification token to construct the final classifier, without explicitly harnessing high-level word tokens. In this paper, we propose a novel transformer model called second-order transformer (SoT), exploiting simultaneously the classification token and word tokens for the classifier. Specifically, we empirically disclose that high-level word tokens contain rich information, which per se are very competent with the classifier and moreover, are complementary to the classification token. To effectively harness such rich information, we propose multi-headed global cross-covariance pooling with singular value power normalization, which shares similar philosophy and thus is compatible with the transformer block, better than commonly used pooling methods. Then, we study comprehensively how to explicitly combine word tokens with classification token for building the final classification head. For CV tasks, our SoT significantly improves state-of-the-art vision transformers on challenging benchmarks including ImageNet and ImageNet-A. For NLP tasks, through fine-tuning based on pretrained language transformers including GPT and BERT, our SoT greatly boosts the performance on widely used tasks such as CoLA and RTE. Code will be available at https://peihuali.org/SoT

Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 45 of its 74 references that are in the map. First posted on arXiv 22 Apr 2021.

Builds on

45 of 74 references.

References · 45

  1. 2017Attention Is All You Needcited by 59,932
  2. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  3. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  4. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  5. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  6. 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
  7. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  8. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
  9. 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
  10. 2016Densely Connected Convolutional Networkscited by 6,691
  11. 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,690
  12. 2015Rethinking the Inception Architecture for Computer Visioncited by 5,451
33 more
  1. 2017mixup: Beyond Empirical Risk Minimizationcited by 5,155
  2. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
  3. 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
  4. 2014Going Deeper with Convolutionscited by 4,231
  5. 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
  6. 2019CutMix: Regularization Strategy to Train Strong Classifiers with Localizable Featurescited by 2,875
  7. 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,665
  8. 2017Non-local Neural Networkscited by 2,290
  9. 2019RandAugment: Practical automated data augmentation with a reduced search spacecited by 2,261
  10. 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,960
  11. 2019fairseq: A Fast, Extensible Toolkit for Sequence Modelingcited by 1,486
  12. 2016Google's Neural Machine Translation System: Bridging the Gap between Human and Machine Translationcited by 1,471
  13. 2019Natural Adversarial Examplescited by 1,401
  14. 2017Random Erasing Data Augmentationcited by 1,235
  15. 2021Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNetcited by 1,096
  16. 2021Transformers in Vision: A Surveycited by 1,009
  17. 2018Neural Network Acceptability Judgmentscited by 952
  18. 2017Revisiting Unreasonable Effectiveness of Data in Deep Learning Eracited by 916
  19. 2019SpanBERT: Improving Pre-training by Representing and Predicting Spanscited by 832
  20. 2020Transformer Interpretability Beyond Attention Visualizationcited by 620
  21. 2013Network In Networkcited by 600
  22. 2017Convolutional Sequence to Sequence Learningcited by 550
  23. 2021Rethinking Spatial Dimensions of Vision Transformerscited by 361
  24. 2015Bilinear CNNs for Fine-grained Visual Recognitioncited by 228
  25. 2021LambdaNetworks: Modeling Long-Range Interactions Without Attentioncited by 107
  26. 2021Transformer visualization via dictionary learning: contextualized embedding as a linear superposition of transformer factorscited by 106
  27. 2017Towards Faster Training of Global Covariance Pooling Networks by Iterative Matrix Square Root Normalizationcited by 65
  28. 2017Is Second-order Information Helpful for Large-scale Visual Recognition?cited by 44
  29. 2019Deep CNNs Meet Global Covariance Pooling: Better Representation and Generalizationcited by 42
  30. 2017Improved Bilinear Pooling with CNNscited by 29
  31. 2015Training Deep Networks with Structured Layers by Matrix Backpropagationcited by 28
  32. 2017A Tutorial on Canonical Correlation Methodscited by 14
  33. 2020What Deep CNNs Benefit from Global Covariance Pooling: An Optimization Perspectivecited by 8

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2022: 1; 2023: 0; 2024: 3; 2025: 0; 2026: 1.

5 papers.