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

关系引导的对抗学习用于无数据知识迁移

Relation-Guided Adversarial Learning for Data-free Knowledge Transfer

School of Computer Science and Technology, Beijing Institute of Technology(北京理工大学计算机科学与技术学院)

Yingping Liang, Ying Fu

AI总结:

提出关系引导对抗学习(RGAL),通过三元组损失促进类内多样性和类间混淆,解决无数据知识迁移中的数据同质化问题,提升准确性和数据效率。

摘要:

无数据知识蒸馏通过从预训练模型中恢复训练数据来迁移知识。尽管近期在追求全局数据多样性方面取得了成功,但每个类别内部的多样性以及不同类别之间的相似性在很大程度上被忽视,导致数据同质化和性能受限。在本文中,我们引入了一种新颖的基于三元组损失的关系引导对抗学习方法,从两个方面解决同质化问题。具体而言,我们的方法旨在同时促进生成样本的类内多样性和类间混淆。为此,我们设计了两个阶段:图像合成阶段和学生训练阶段。在图像合成阶段,我们构建了一个优化过程,将具有相同标签的样本推开,并将具有不同标签的样本拉近,从而分别实现类内多样性和类间混淆。然后,在学生训练阶段,我们执行相反的优化,对抗性地尝试减小同类样本之间的距离并增大不同类样本之间的距离。为了缓解追求高全局多样性与保持类间混淆之间的冲突,我们提出了一种焦点加权采样策略,通过在三元组中不均匀地选择负样本,且距离限制在有限范围内。RGAL在准确性和数据效率方面显著优于先前的最先进方法。此外,RGAL可以嵌入到各种无数据知识迁移应用的最先进方法中。在多个基准上的实验证明了我们提出的方法在各种任务上的有效性和泛化性,特别是无数据知识蒸馏、无数据量化和无样本增量学习。我们的代码可在https://github.com/Sharpiless/RGAL获取。

英文摘要:

Data-free knowledge distillation transfers knowledge by recovering training data from a pre-trained model. Despite the recent success of seeking global data diversity, the diversity within each class and the similarity among different classes are largely overlooked, resulting in data homogeneity and limited performance. In this paper, we introduce a novel Relation-Guided Adversarial Learning method with triplet losses, which solves the homogeneity problem from two aspects. To be specific, our method aims to promote both intra-class diversity and inter-class confusion of the generated samples. To this end, we design two phases, an image synthesis phase and a student training phase. In the image synthesis phase, we construct an optimization process to push away samples with the same labels and pull close samples with different labels, leading to intra-class diversity and inter-class confusion, respectively. Then, in the student training phase, we perform an opposite optimization, which adversarially attempts to reduce the distance of samples of the same classes and enlarge the distance of samples of different classes. To mitigate the conflict of seeking high global diversity and keeping inter-class confusing, we propose a focal weighted sampling strategy by selecting the negative in the triplets unevenly within a finite range of distance. RGAL shows significant improvement over previous state-of-the-art methods in accuracy and data efficiency. Besides, RGAL can be inserted into state-of-the-art methods on various data-free knowledge transfer applications. Experiments on various benchmarks demonstrate the effectiveness and generalizability of our proposed method on various tasks, specially data-free knowledge distillation, data-free quantization, and non-exemplar incremental learning. Our code is available at https://github.com/Sharpiless/RGAL.

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

↑