mlsanityData to 7 Oct 2026

A Transformer-in-Transformer Network Utilizing Knowledge Distillation for Image Recognition

arXiv 2502.16762 ↗First posted 24 Feb 2025cs.CVcited by 0

Not on the map. Why?

Abstract (arXiv)

This paper presents a novel knowledge distillation neural architecture leveraging efficient transformer networks for effective image classification. Natural images display intricate arrangements encompassing numerous extraneous elements. Vision transformers utilize localized patches to compute attention. However, exclusive dependence on patch segmentation proves inadequate in sufficiently encompassing the comprehensive nature of the image. To address this issue, we have proposed an inner-outer transformer-based architecture, which gives attention to the global and local aspects of the image. Moreover, The training of transformer models poses significant challenges due to their demanding resource, time, and data requirements. To tackle this, we integrate knowledge distillation into the architecture, enabling efficient learning. Leveraging insights from a larger teacher model, our approach enhances learning efficiency and effectiveness. Significantly, the transformer-in-transformer network acquires lightweight characteristics by means of distillation conducted within the feature extraction layer. Our featured network's robustness is established through substantial experimentation on the MNIST, CIFAR10, and CIFAR100 datasets, demonstrating commendable top-1 and top-5 accuracy. The conducted ablative analysis comprehensively validates the effectiveness of the chosen parameters and settings, showcasing their superiority against contemporary methodologies. Remarkably, the proposed Transformer-in-Transformer Network (TITN) model achieves impressive performance milestones across various datasets: securing the highest top-1 accuracy of 74.71% and a top-5 accuracy of 92.28% for the CIFAR100 dataset, attaining an unparalleled top-1 accuracy of 92.03% and top-5 accuracy of 99.80% for the CIFAR-10 dataset, and registering an exceptional top-1 accuracy of 99.56% for the MNIST dataset.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 44 of its 61 references that are in the map. First posted on arXiv 24 Feb 2025.

Builds on

44 of 61 references.

References · 44

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  4. 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
  5. 2015Distilling the Knowledge in a Neural Networkcited by 10,076
  6. 2020End-to-End Object Detection with Transformerscited by 7,384
  7. 2019EfficientNet: Rethinking Model Scaling for Convolutional Neural Networkscited by 6,415
  8. 2017Squeeze-and-Excitation Networkscited by 4,763
  9. 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
  10. 2016Gaussian Error Linear Units (GELUs)cited by 3,431
  11. 2020Deformable DETR: Deformable Transformers for End-to-End Object Detectioncited by 3,410
  12. 2019CutMix: Regularization Strategy to Train Strong Classifiers with Localizable Featurescited by 2,875
32 more
  1. 2017Non-local Neural Networkscited by 2,290
  2. 2020Knowledge Distillation: A Surveycited by 1,578
  3. 2020Rethinking Semantic Segmentation from a Sequence-to-Sequence Perspective with Transformerscited by 1,368
  4. 2019Relational Knowledge Distillationcited by 873
  5. 2018Image Transformercited by 770
  6. 2015Distillation as a Defense to Adversarial Perturbations against Deep Neural Networkscited by 675
  7. 2020A Survey on Visual Transformercited by 653
  8. 2021Transformer in Transformercited by 632
  9. 2019Improved Knowledge Distillation via Teacher Assistantcited by 567
  10. 2019On the Efficacy of Knowledge Distillationcited by 377
  11. 2018Dataset Distillationcited by 224
  12. 2019Understanding and Improving Layer Normalizationcited by 213
  13. 2021SpectralFormer: Rethinking Hyperspectral Image Classification with Transformerscited by 168
  14. 2021Transformer for Single Image Super-Resolutioncited by 150
  15. 2021Not All Images are Worth 16x16 Words: Dynamic Transformers for Efficient Image Recognitioncited by 143
  16. 2018Attention Branch Network: Learning of Attention Mechanism for Visual Explanationcited by 108
  17. 2020Flexible Dataset Distillation: Learn Labels Instead of Imagescited by 91
  18. 2020Understanding and Improving Knowledge Distillationcited by 83
  19. 2019Lifelong GAN: Continual Learning for Conditional Image Generationcited by 78
  20. 2022Knowledge Distillation via the Target-aware Transformercited by 70
  21. 2020Explaining Knowledge Distillation by Quantifying the Knowledgecited by 65
  22. 2019An Empirical Study of Spatial Attention Mechanisms in Deep Networkscited by 58
  23. 2022Cross-Architecture Knowledge Distillationcited by 40
  24. 2020Knowledge Distillation in Wide Neural Networks: Risk Bound, Data Efficiency and Imperfect Teachercited by 33
  25. 2021A Battle of Network Structures: An Empirical Study of CNN, Transformer, and MLPcited by 32
  26. 2019Revisiting Knowledge Distillation via Label Smoothing Regularizationcited by 29
  27. 2020Speech Enhancement using Self-Adaptation and Multi-Head Self-Attentioncited by 28
  28. 2019A Regularization Approach for Instance-Based Superset Label Learningcited by 21
  29. 2019Advancements in Image Classification using Convolutional Neural Networkcited by 20
  30. 2020Knowledge distillation via adaptive instance normalizationcited by 14
  31. 2018Taming the Cross Entropy Losscited by 10
  32. 2018Hypergraph p-Laplacian Regularization for Remote Sensing Image Recognitioncited by 5

Built on by

Not cited yet.