arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2307.11469cs.CVcs.AI
收藏

分布偏移对基于网络收集图像的知识蒸馏的影响

Distribution Shift Matters for Knowledge Distillation with Webly Collected Images

Nanjing University of Science and Technology(南京理工大学);RIKEN(理化学研究所);The University of Tokyo(东京大学)

Jialiang Tang, Shuo Chen, Gang Niu, Masashi Sugiyama, Chen Gong

AI总结:

针对无数据知识蒸馏中网络收集数据与原始训练数据存在分布偏移、影响学生网络可靠性的问题,提出包含动态样本筛选、特征与分类器对齐、MixDistribution对比学习模块的KD³方法,性能优于现有最先进的无数据知识蒸馏方法。

摘要:

知识蒸馏旨在从预训练的教师网络中学习轻量级的学生网络。在实际应用中,由于隐私问题和数据管理方面的考量,当原始训练数据不可用时,现有的知识蒸馏方法通常无法实施。因此,无数据知识蒸馏方法被提出,用于从互联网收集训练样本。然而,这类方法大多忽略了原始训练数据样本与网络收集数据样本之间普遍存在的分布偏移,这会影响所训练学生网络的可靠性。为解决该问题,我们提出了一种名为“不同分布间知识蒸馏”(KD³)的新方法,该方法由三个模块组成。具体而言,我们首先根据教师网络和学生网络的联合预测结果,从网络收集的数据中动态筛选有用的训练样本。随后,我们对齐两个网络的加权特征和分类器参数,以实现知识记忆。同时,我们还构建了一个名为MixDistribution的新型对比学习模块,用于生成具有新分布的扰动数据以进行样本对齐,从而使学生网络能够进一步学习到分布不变的表征。在多个基准数据集上开展的大量实验表明,我们提出的KD³方法性能优于当前最先进的无数据知识蒸馏方法。

英文摘要:

Knowledge distillation aims to learn a lightweight student network from a pre-trained teacher network. In practice, existing knowledge distillation methods are usually infeasible when the original training data is unavailable due to some privacy issues and data management considerations. Therefore, data-free knowledge distillation approaches proposed to collect training instances from the Internet. However, most of them have ignored the common distribution shift between the instances from original training data and webly collected data, affecting the reliability of the trained student network. To solve this problem, we propose a novel method dubbed ``Knowledge Distillation between Different Distributions" (KD$^{3}$), which consists of three components. Specifically, we first dynamically select useful training instances from the webly collected data according to the combined predictions of teacher network and student network. Subsequently, we align both the weighted features and classifier parameters of the two networks for knowledge memorization. Meanwhile, we also build a new contrastive learning block called MixDistribution to generate perturbed data with a new distribution for instance alignment, so that the student network can further learn a distribution-invariant representation. Intensive experiments on various benchmark datasets demonstrate that our proposed KD$^{3}$ can outperform the state-of-the-art data-free knowledge distillation approaches.

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

↑