Frequency Attention for Knowledge Distillation

Cuong Pham, Van-Anh Nguyen, Trung Le, Dinh Phung, Gustavo Carneiro, Thanh Toan Do

Research output: Chapter in Book/Report/Conference proceedingConference PaperResearchpeer-review

6 Citations (Scopus)

Abstract

Knowledge distillation is an attractive approach for learning compact deep neural networks, which learns a lightweight student model by distilling knowledge from a complex teacher model. Attention-based knowledge distillation is a specific form of intermediate feature-based knowledge distillation that uses attention mechanisms to encourage the student to better mimic the teacher. However, most of the previous attention-based distillation approaches perform attention in the spatial domain, which primarily affects local regions in the input image. This may not be sufficient when we need to capture the broader context or global information necessary for effective knowledge transfer. In frequency domain, since each frequency is determined from all pixels of the image in spatial domain, it can contain global information about the image. Inspired by the benefits of the frequency domain, we propose a novel module that functions as an attention mechanism in the frequency domain. The module consists of a learnable global filter that can adjust the frequencies of student's features under the guidance of the teacher's features, which encourages the student's features to have patterns similar to the teacher's features. We then propose an enhanced knowledge review-based distillation model by leveraging the proposed frequency attention module. The extensive experiments with various teacher and student architectures on image classification and object detection benchmark datasets show that the proposed approach outperforms other knowledge distillation methods.

Original languageEnglish
Title of host publicationProceedings - 2024 IEEE Winter Conference on Applications of Computer Vision, WACV 20
EditorsEric Mortensen
Place of PublicationPiscataway NJ USA
PublisherIEEE, Institute of Electrical and Electronics Engineers
Pages2266-2275
Number of pages10
ISBN (Electronic)9798350318920
ISBN (Print)9798350318937
DOIs
Publication statusPublished - 2024
EventIEEE Winter Conference on Applications of Computer Vision 2024 - Waikoloa, United States of America
Duration: 4 Jan 20248 Jan 2024
https://wacv2024.thecvf.com/ (Website)
https://ieeexplore.ieee.org/xpl/conhome/10483279/proceeding (Proceedings)

Conference

ConferenceIEEE Winter Conference on Applications of Computer Vision 2024
Abbreviated titleWACV 2024
Country/TerritoryUnited States of America
CityWaikoloa
Period4/01/248/01/24
Internet address

Keywords

  • Algorithms
  • and algorithms
  • Applications
  • Embedded sensing / real-time techniques
  • formulations
  • Machine learning architectures

Cite this