mlsanityData to 7 Oct 2026

Optimizing Vision Transformers with Data-Free Knowledge Transfer

arXiv 2408.05952 ↗First posted 12 Aug 2024cs.CVcited by 1

Not on the map. Why?

Abstract (arXiv)

The groundbreaking performance of transformers in Natural Language Processing (NLP) tasks has led to their replacement of traditional Convolutional Neural Networks (CNNs), owing to the efficiency and accuracy achieved through the self-attention mechanism. This success has inspired researchers to explore the use of transformers in computer vision tasks to attain enhanced long-term semantic awareness. Vision transformers (ViTs) have excelled in various computer vision tasks due to their superior ability to capture long-distance dependencies using the self-attention mechanism. Contemporary ViTs like Data Efficient Transformers (DeiT) can effectively learn both global semantic information and local texture information from images, achieving performance comparable to traditional CNNs. However, their impressive performance comes with a high computational cost due to very large number of parameters, hindering their deployment on devices with limited resources like smartphones, cameras, drones etc. Additionally, ViTs require a large amount of data for training to achieve performance comparable to benchmark CNN models. Therefore, we identified two key challenges in deploying ViTs on smaller form factor devices: the high computational requirements of large models and the need for extensive training data. As a solution to these challenges, we propose compressing large ViT models using Knowledge Distillation (KD), which is implemented data-free to circumvent limitations related to data availability. Additionally, we conducted experiments on object detection within the same environment in addition to classification tasks. Based on our analysis, we found that datafree knowledge distillation is an effective method to overcome both issues, enabling the deployment of ViTs on less resourceconstrained devices.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 30 of its 45 references that are in the map. First posted on arXiv 12 Aug 2024.

Builds on

30 of 45 references.

References · 30

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  3. 2014Microsoft COCO: Common Objects in Contextcited by 17,498
  4. 2015Distilling the Knowledge in a Neural Networkcited by 10,076
  5. 2020End-to-End Object Detection with Transformerscited by 7,384
  6. 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
  7. 2020Knowledge Distillation: A Surveycited by 1,578
  8. 2018Self-Attention Generative Adversarial Networkscited by 809
  9. 2019Dreaming to Distill: Data-free Knowledge Transfer via DeepInversioncited by 419
  10. 2024A Survey on Knowledge Distillation of Large Language Modelscited by 276
  11. 2018A Note on the Inception Scorecited by 225
  12. 2022On The Computational Complexity of Self-Attentioncited by 137
18 more
  1. 2021Comparing Kullback-Leibler Divergence and Mean Squared Error Loss in Knowledge Distillationcited by 131
  2. 2021How to represent part-whole hierarchies in a neural networkcited by 123
  3. 2024Logit Standardization in Knowledge Distillationcited by 101
  4. 2019Knowledge Distillation from Internal Representationscited by 87
  5. 2023Compositional Text-to-Image Synthesis with Attention Map Control of Diffusion Modelscited by 82
  6. 2023A Comprehensive Survey on Applications of Transformers for Deep Learning Taskscited by 70
  7. 2023From Knowledge Distillation to Self-Knowledge Distillation: A Unified Approach with Normalized Loss and Customized Soft Labelscited by 69
  8. 2021Contrastive Model Inversion for Data-Free Knowledge Distillationcited by 66
  9. 2023Decoupled Kullback-Leibler Divergence Losscited by 58
  10. 2024Survey on Knowledge Distillation for Large Language Models: Methods, Evaluation, and Applicationcited by 55
  11. 2023Learning to Retain while Acquiring: Combating Distribution-Shift in Adversarial Data-Free Knowledge Distillationcited by 29
  12. 2023A Comprehensive Overview and Comparative Analysis on Deep Learning Models: CNN, RNN, LSTM, GRUcited by 25
  13. 2024Faster Neighborhood Attention: Reducing the O(n^2) Cost of Self Attention at the Threadblock Levelcited by 14
  14. 2024Towards a theory of model distillationcited by 14
  15. 2024De-confounded Data-free Knowledge Distillation for Handling Distribution Shiftscited by 11
  16. 2022Comparison of Soft and Hard Target RNN-T Distillation for Large-scale ASRcited by 10
  17. 2024TaylorShift: Shifting the Complexity of Self-Attention from Squared to Linear (and Back) using Taylor-Softmaxcited by 6
  18. 2024Interactive Multi-Head Self-Attention with Linear Complexitycited by 1

Built on by

Cited by year

Citing papers per year: 2025: 1.

1 paper.