Automated Knowledge Distillation via Monte Carlo Tree Search
摘要
In this paper, we present Auto-KD, the first automated search framework for optimal knowledge distillation design. Traditional distillation techniques typically require handcrafted designs by experts and extensive tuning costs for different teacher-student pairs. To address these issues, we empirically study different distillers, finding that they can be decomposed, combined, and simplified. Based on these observations, we build our uniform search space with advanced operations in transformations, distance functions, and hyperparameters components. For instance, the transformation parts are optional for global, intra-spatial, and inter-spatial operations, such as attention, mask, and multi-scale. Then, we introduce an effective search strategy based on the Monte Carlo tree search, modeling the search space as a Monte Carlo Tree (MCT) to capture the dependency among options. The MCT is updated using test loss and representation gap of student trained by candidate distillers as the reward for better exploration-exploitation balance. To accelerate the search process, we exploit offline processing without teacher inference, sparse training for student, and proxy settings based on distillation properties. In this way, our Auto-KD only needs small costs to search for optimal distillers before the distillation phase. Moreover, we expand Auto-KD for multi-layer and multi-teacher scenarios with training-free weighted factors. Our method is promising yet practical, and extensive experiments demonstrate that it generalizes well to different CNNs and Vision Transformer models and attains state-of-the-art performance across a range of vision tasks, including image classification, object detection, and semantic segmentation. Code is provided at https://github.com/lilujunai/Auto-KD.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 22 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Pruner-Zero: Evolving Symbolic Pruning Metric From Scratch for Large Language Models 引用了 KD-Zero: Evolving Knowledge Distiller for Any Teacher-Student Pairs
- Contrastive Representation Distillation 引用了 Similarity-Preserving Knowledge Distillation
- KD-Zero: Evolving Knowledge Distiller for Any Teacher-Student Pairs 引用了 Contrastive Representation Distillation
- KD-Zero: Evolving Knowledge Distiller for Any Teacher-Student Pairs 引用了 Similarity-Preserving Knowledge Distillation
- KD-Zero: Evolving Knowledge Distiller for Any Teacher-Student Pairs 引用了 Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutions
- KD-Zero: Evolving Knowledge Distiller for Any Teacher-Student Pairs 引用了 EMQ: Evolving Training-free Proxies for Automated Mixed Precision Quantization
- KD-Zero: Evolving Knowledge Distiller for Any Teacher-Student Pairs 引用了 Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNet
- Discovering Sparsity Allocation for Layer-wise Pruning of Large Language Models 引用了 Pruner-Zero: Evolving Symbolic Pruning Metric From Scratch for Large Language Models
- Discovering Sparsity Allocation for Layer-wise Pruning of Large Language Models 引用了 KD-Zero: Evolving Knowledge Distiller for Any Teacher-Student Pairs
- Discovering Sparsity Allocation for Layer-wise Pruning of Large Language Models 引用了 EMQ: Evolving Training-free Proxies for Automated Mixed Precision Quantization
- Logit Standardization in Knowledge Distillation 引用了 Contrastive Representation Distillation
- Logit Standardization in Knowledge Distillation 引用了 Similarity-Preserving Knowledge Distillation
- Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutions 引用了 Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNet
引用它的顶会 Paper22
- Logit Standardization in Knowledge DistillationShangquan Sun, Wenqi Ren, Jingzhi Li, Rui Wang 等CVPR 2024 · 183 次引用
- Pruner-Zero: Evolving Symbolic Pruning Metric From Scratch for Large Language ModelsPeijie Dong, Lujun Li, Zhenheng Tang, Xiang Liu 等ICML 2024 · 64 次引用
- Discovering Sparsity Allocation for Layer-wise Pruning of Large Language ModelsLujun Li, Peijie Dong, Zhenheng Tang, Xiang Liu 等NeurIPS 2024 · 51 次引用
- EMQ: Evolving Training-free Proxies for Automated Mixed Precision QuantizationPeijie Dong, Lujun Li, Zimian Wei, Xin Niu 等ICCV 2023 · 51 次引用
- KD-Zero: Evolving Knowledge Distiller for Any Teacher-Student PairsLujun Li, Peijie Dong, Anggeng Li, Zimian Wei 等NeurIPS 2023 · 49 次引用
它引用的 Paper26
- Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without ConvolutionsWenhai Wang, Enze Xie, Xiang Li, Deng-Ping Fan 等ICCV 2021 · 4,909 次引用
- Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNetLi Yuan, Yunpeng Chen, Tao Wang, Weihao Yu 等ICCV 2021 · 2,462 次引用
- Contrastive Representation DistillationYonglong Tian, Dilip Krishnan, Phillip IsolaICLR 2020 · 1,305 次引用
- Similarity-Preserving Knowledge DistillationFrederick Tung, Greg MoriICCV 2019 · 1,214 次引用
- Rethinking Spatial Dimensions of Vision TransformersByeongho Heo, Sangdoo Yun, Dongyoon Han, Sanghyuk Chun 等ICCV 2021 · 733 次引用
相关 Paper
- DetKDS: Knowledge Distillation Search for Object DetectorsLujun Li, Yufan Bao, Peijie Dong, Chuanguang Yang 等ICML 2024 · 35 次引用
- Multi-Teacher Knowledge Distillation with Reinforcement Learning for Visual RecognitionChuanguang Yang, Xinqiang Yu, Han Yang, Zhulin An 等AAAI 2025 · 26 次引用
- Few-shot Task-agnostic Neural Architecture Search for Distilling Large Language ModelsDongkuan Xu, Subhabrata Mukherjee, Xiaodong Liu, Debadeepta Dey 等NeurIPS 2022 · 21 次引用
- DisWOT: Student Architecture Search for Distillation WithOut TrainingPeijie Dong, Lujun Li, Zimian WeiCVPR 2023
- Towards Oracle Knowledge Distillation with Neural Architecture SearchMinsoo Kang, Jonghwan Mun, Bohyung HanAAAI 2020 · 48 次引用
