Lune

CVPR2024Top-tier venue

FreeKD: Knowledge Distillation via Semantic Frequency Prompt

Yuan Zhang, Tao Huang, Jiaming Liu, Tao Jiang, Kuan Cheng, Shanghang Zhang

Abstract

Knowledge distillation (KD) has been applied to various tasks successfully, and mainstream methods typically boost the student model via spatial imitation losses. However, the consecutive downsamplings induced in the spatial domain of teacher model is a type of corruption, hindering the student from analyzing what specific information needs to be imitated, which results in accuracy degradation. To better understand the underlying pattern of corrupted feature maps, we shift our attention to the frequency domain. During frequency distillation, we encounter a new challenge: the low-frequency bands convey general but minimal context, while the high are more informative but also introduce noise. Not each pixel within the frequency bands contributes equally to the performance. To address the above problem: (1) We propose the Frequency Prompt plugged into the teacher model, absorbing the semantic frequency context during finetuning. (2) During the distillation period, a pixel-wise frequency mask is generated via Frequency Prompt, to localize those pixel of interests (PoIs) in various frequency bands. Additionally, we employ a position-aware relational frequency loss for dense prediction tasks, delivering a high-order spatial enhancement to the student model. We dub our Frequency Knowledge Distillation method as FreeKD, which determines the optimal localization and extent for the frequency distillation. Extensive experiments demonstrate that FreeKD not only outperforms spatial-based distillation methods consistently on dense prediction tasks (e.g., FreeKD brings 3.8 AP gains for RepPoints-R50 on COCO2017 and 4.55 mIoU gains for PSPNet-R18 on Cityscapes), but also conveys more robustness to the student. Notably, we also validate the generalization of our approach on large-scale vision models (e.g., DINO and SAM).

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

10 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Knowledge Diffusion for Distillation cites FCOS: Fully Convolutional One-Stage Object Detection
  • Knowledge Diffusion for Distillation cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • Knowledge Diffusion for Distillation cites RepPoints: Point Set Representation for Object Detection
  • Swin Transformer: Hierarchical Vision Transformer using Shifted Windows cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Swin Transformer: Hierarchical Vision Transformer using Shifted Windows cites Deformable DETR: Deformable Transformers for End-to-End Object Detection
  • ACAM-KD: Adaptive and Cooperative Attention Masking for Knowledge Distillation cites Knowledge Diffusion for Distillation
  • ACAM-KD: Adaptive and Cooperative Attention Masking for Knowledge Distillation cites RepPoints: Point Set Representation for Object Detection
  • ScaleKD: Strong Vision Transformers Could Be Excellent Teachers cites Knowledge Diffusion for Distillation
  • ScaleKD: Strong Vision Transformers Could Be Excellent Teachers cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • ScaleKD: Strong Vision Transformers Could Be Excellent Teachers cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • Deformable DETR: Deformable Transformers for End-to-End Object Detection cites FCOS: Fully Convolutional One-Stage Object Detection
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers10

  1. Knowledge Diffusion for DistillationTao Huang, Yuan Zhang, Mingkai Zheng, Shan You et al.NeurIPS 2023 · 125 citations
  2. MoLe-VLA: Dynamic Layer-skipping Vision Language Action Model via Mixture-of-Layers for Efficient Robot ManipulationRongyu Zhang, Menghang Dong, Yuan Zhang, Liang Heng et al.AAAI 2026 · 56 citations
  3. Frequency-Aligned Knowledge Distillation for Lightweight Spatiotemporal ForecastingYuqi Li, Chuanguang Yang, Hansheng Zeng, Zeyu Dong et al.ICCV 2025 · 23 citations
  4. ScaleKD: Strong Vision Transformers Could Be Excellent TeachersJiawei Fan, Chao Li, Xiaolong Liu, Anbang YaoNeurIPS 2024 · 20 citations
  5. ACAM-KD: Adaptive and Cooperative Attention Masking for Knowledge DistillationQizhen Lan, Qing TianICCV 2025 · 5 citations

Builds on22

  1. Swin Transformer: Hierarchical Vision Transformer using Shifted WindowsZe Liu, Yutong Lin, Yue Cao, Han Hu et al.ICCV 2021 · 31,683 citations
  2. An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
  3. Deformable DETR: Deformable Transformers for End-to-End Object DetectionXizhou Zhu, Weijie Su, Lewei Lu, Bin Li et al.ICLR 2021 · 7,353 citations
  4. FCOS: Fully Convolutional One-Stage Object DetectionZhi Tian, Chunhua Shen, Hao Chen, Tong HeICCV 2019 · 6,042 citations
  5. RepPoints: Point Set Representation for Object DetectionZe Yang, Shaohui Liu, Han Hu, Liwei Wang et al.ICCV 2019 · 1,056 citations

Related papers

  1. Channel-wise Knowledge Distillation for Dense Prediction*Changyong Shu, Yifan Liu, Jianfei Gao, Zheng Yan et al.ICCV 2021 · 432 citations
  2. Masked Distillation with Receptive TokensTao Huang, Yuan Zhang, Shan You, Fei Wang et al.ICLR 2023 · 7 citations
  3. Localization Distillation for Dense Object DetectionZhaohui Zheng, Rongguang Ye, Ping Wang, Dongwei Ren et al.CVPR 2022 · 177 citations
  4. Pixel-Wise Contrastive DistillationJunqiang Huang, Zichao GuoICCV 2023 · 8 citations
  5. Focal and Global Knowledge Distillation for DetectorsZhendong Yang, Zhe Li, Xiaohu Jiang, Yuan Gong et al.CVPR 2022 · 325 citations
Dusk over the sea between two cliffs drawn in fine vertical lines