arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2305.14890cs.CV
收藏

HARD:用于鲁棒蒸馏的硬增强

HARD: Hard Augmentations for Robust Distillation

University of Tübingen(蒂宾根大学);University of Göttingen(哥廷根大学)

Arne F. Nix, Max F. Burg, Fabian H. Sinz

AI总结:

本文提出HARD数据增强框架,通过生成师生模型分歧的合成数据来改进知识蒸馏,显著提升域内外泛化性能与收敛速度。

摘要:

知识蒸馏(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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑