知识蒸馏(KD)是一种简单且成功的方法,仅基于功能活动将知识从教师模型迁移到学生模型。然而,当前的KD存在若干不足:最近的研究表明,该方法不适合迁移诸如平移等变性之类的简单归纳偏置,难以迁移域外泛化能力,并且与默认的非KD模型训练相比,优化时间要长数个数量级。为了改进KD的这些方面,我们提出了用于鲁棒蒸馏的硬增强(Hard Augmentations for Robust Distillation,HARD),这是一个普遍适用的数据增强框架,可生成教师模型与学生模型存在分歧的合成数据点。我们通过一个简单的玩具示例表明,我们的增强框架解决了使用KD迁移简单等变性的问题。随后,我们将该框架应用于现实世界任务中,涵盖多种增强模型,从简单的空间变换到使用预训练变分自编码器进行的无约束图像操作。我们发现,学习到的增强显著提升了KD在域内和域外评估中的性能。此外,我们的方法甚至优于最先进的数据增强方法,并且由于增强后的训练输入可以被可视化,它们为从教师模型迁移到学生模型的属性提供了定性洞察。因此,HARD代表了一种普遍适用、动态优化的数据增强技术,专门用于提升使用KD训练的模型的泛化能力和收敛速度。
英文摘要:
Knowledge distillation (KD) is a simple and successful method to transfer knowledge from a teacher to a student model solely based on functional activity. However, current KD has a few shortcomings: it has recently been shown that this method is unsuitable to transfer simple inductive biases like shift equivariance, struggles to transfer out of domain generalization, and optimization time is magnitudes longer compared to default non-KD model training. To improve these aspects of KD, we propose Hard Augmentations for Robust Distillation (HARD), a generally applicable data augmentation framework, that generates synthetic data points for which the teacher and the student disagree. We show in a simple toy example that our augmentation framework solves the problem of transferring simple equivariances with KD. We then apply our framework in real-world tasks for a variety of augmentation models, ranging from simple spatial transformations to unconstrained image manipulations with a pretrained variational autoencoder. We find that our learned augmentations significantly improve KD performance on in-domain and out-of-domain evaluation. Moreover, our method outperforms even state-of-the-art data augmentations and since the augmented training inputs can be visualized, they offer a qualitative insight into the properties that are transferred from the teacher to the student. Thus HARD represents a generally applicable, dynamically optimized data augmentation technique tailored to improve the generalization and convergence speed of models trained with KD.
Revealing the Two Sides of Data Augmentation: An Asymmetric Distillation-based Win-Win Solution for Open-Set Recognition
School of Artificial Intelligence, Jilin University(吉林大学人工智能学院);Institute of Computing Technology, CAS(中国科学院计算技术研究所);Harbin Institute of Technology (Shenzhen)(哈尔滨工业大学(深圳));Institute of Automation, CAS(中国科学院自动化研究所);DIDI(滴滴)
Hierarchical Augmentation and Distillation for Class Incremental Audio-Visual Video Recognition
School of Information Science and Technology, University of Science and Technology of China(中国科学技术大学信息科学技术学院);Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);School of Artificial Intelligence, University of Chinese Academy of Sciences(中国科学院大学人工智能学院)
DiffKD-DCIS: Predicting Upgrade of Ductal Carcinoma In Situ with Diffusion Augmentation and Knowledge Distillation
School of Medical Imaging, Laboratory Medicine and Rehabilitation, Xiangnan University(医学影像学院、实验室医学与康复学院,湘南大学);Department of Radiotherapy, Affiliated Hospital (Clinical College) of Xiangnan University(放疗科,湘南大学附属医院(临床学院));Faculty of Applied Sciences, Macao Polytechnic University(应用科学学院,澳门 polytechnic 大学)
Single-Teacher View Augmentation: Enhancing Knowledge Distillation with Student-Guided Perturbations
State Key Laboratory of Human-Machine Hybrid Augmented Intelligence, Institute of Artificial Intelligence and Robotics, Xi’an Jiaotong University(西安交通大学人工智能与机器人研究所人机混合增强智能技术国家重点实验室);Guangdong Institute of Intelligence Science and Technology(广东省智能科学与技术研究院);Institute of Collaborative Innovation, University of Macau(澳门大学协同创新研究院);Beijing Huahang Institute of Radio Measurement(北京华航无线电测量研究所)
CEKD:Cross Ensemble Knowledge Distillation for Augmented Fine-grained Data
Hangzhou Dianzi University(杭州电子科技大学);University of Sydney(悉尼大学);UBTECH Sydney AI Centre(优必选悉尼人工智能中心);Australian Centre for Field Robotics(澳大利亚现场机器人研究中心)
Flow Augmentation and Knowledge Distillation for Lightweight Face Presentation Attack Detection
SDAIA-KFUPM Joint Research Center for Artificial Intelligence(SDAIA-KFUPM联合人工智能研究中心);King Fahd University of Petroleum & Minerals(国王法赫德石油大学);Interdisciplinary Research Center for Intelligent Secure Systems (IRC-ISS)(智能安全系统跨学科研究中心);College of Information Science & Electronic Engineering(信息科学与电子工程学院);Department of Computer Engineering, College of Computing and Mathematics(计算机工程系,计算与数学学院)
Self-Supervised Z-Slice Augmentation for 3D Bio-Imaging via Knowledge Distillation
Collège de France(法兰西学院);Université PSL(巴黎文理研究大学);Université Grenoble-Alpes(格勒诺布尔-阿尔卑斯大学);Sorbonne University(索邦大学);National Institutes of Health(美国国立卫生研究院);Hospices Civils de Lyon(里昂公立医院);Claude Bernard Lyon 1 University(里昂第一大学克洛德·贝尔纳)
Soft Label Pruning and Quantization for Large-Scale Dataset Distillation
CFAR, Agency for Science, Technology and Research, Singapore(新加坡科技研究局应用科学与技术研究院);IHPC, Agency for Science, Technology and Research, Singapore(新加坡科技研究局信息与通信技术研究院);National University of Singapore(新加坡国立大学)
S2HPruner: Soft-to-Hard Distillation Bridges the Discretization Gap in Pruning
School of Information Science and Technology, Fudan University(复旦大学信息科学与技术学院);Academy for Engineering and Technology, Fudan University(复旦大学工程技术研究院);Shanghai AI Laboratory(上海人工智能实验室)
MixSKD: Self-Knowledge Distillation from Mixup for Image Recognition
Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所);University of Chinese Academy of Sciences(中国科学院大学);Horizon Robotics(地平线机器人)
University of Maryland, College Park(马里兰大学帕克分校);Georgia Institute of Technology(佐治亚理工学院);Johns Hopkins University(约翰斯·霍普金斯大学);University of Oxford(牛津大学);UC San Diego(加利福尼亚大学圣迭戈分校)