arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.12406cs.LGcs.AIcs.CV
收藏

教师作为宽容专家:教师无关的无数据知识蒸馏

Teacher as a Lenient Expert: Teacher-Agnostic Data-Free Knowledge Distillation

Inha University(仁荷大学)

Hyunjune Shin, Dong-Wan Choi

AI总结:

本文针对无数据知识蒸馏对教师模型敏感、易出现灾难性失败的问题,提出教师无关的 TA-DFKD 方法,将教师视为宽容专家并通过选择性接纳干净样本提升蒸馏的鲁棒性与稳定性。

摘要:

无数据知识蒸馏(DFKD)旨在借助生成器而不使用原始数据,将预训练知识蒸馏到学生模型。在这种无数据场景下,由于缺乏验证数据,实现 DFKD 的稳定性能至关重要。遗憾的是,本文发现现有 DFKD 方法对不同教师模型相当敏感,即使使用训练良好的教师模型,有时也会出现灾难性的蒸馏失败。我们的观察是,DFKD 中的生成器采用现有的同时最小化类先验损失和对抗损失的代表性策略,并不能始终保证生成精确且多样的样本。通过实证研究,我们关注到一个事实:类先验不仅降低了生成样本的多样性,而且无法完全解决因教师模型不同而产生意外低质量样本的问题。在本文中,我们提出了教师无关的无数据知识蒸馏(TA-DFKD)方法,目标是无论教师模型如何,都能获得更鲁棒、更稳定的性能。我们的基本思想是赋予教师模型一个宽容的专家角色来评估样本,而不是充当严格的监督者,将其类先验强加给生成器。具体来说,我们设计了一种样本选择方法,只选取经教师模型验证的干净样本,而不对生成多样样本的能力施加限制。通过大量实验,我们表明我们的方法在各种教师模型上成功实现了鲁棒性和训练稳定性,同时优于现有 DFKD 方法。

英文摘要:

Data-free knowledge distillation (DFKD) aims to distill pretrained knowledge to a student model with the help of a generator without using original data. In such data-free scenarios, achieving stable performance of DFKD is essential due to the unavailability of validation data. Unfortunately, this paper has discovered that existing DFKD methods are quite sensitive to different teacher models, occasionally showing catastrophic failures of distillation, even when using well-trained teacher models. Our observation is that the generator in DFKD is not always guaranteed to produce precise yet diverse samples using the existing representative strategy of minimizing both class-prior and adversarial losses. Through our empirical study, we focus on the fact that class-prior not only decreases the diversity of generated samples, but also cannot completely address the problem of generating unexpectedly low-quality samples depending on teacher models. In this paper, we propose the teacher-agnostic data-free knowledge distillation (TA-DFKD) method, with the goal of more robust and stable performance regardless of teacher models. Our basic idea is to assign the teacher model a lenient expert role for evaluating samples, rather than a strict supervisor that enforces its class-prior on the generator. Specifically, we design a sample selection approach that takes only clean samples verified by the teacher model without imposing restrictions on the power of generating diverse samples. Through extensive experiments, we show that our method successfully achieves both robustness and training stability across various teacher models, while outperforming the existing DFKD methods.

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

↑