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

面向长尾学习的平衡知识蒸馏

Balanced Knowledge Distillation for Long-tailed Learning

Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);University of Chinese Academy of Sciences(中国科学院大学);Nanjing University of Science and Technology(南京理工大学)

Shaoyu Zhang, Chen Chen, Xiyuan Hu, Silong Peng

摘要:

在长尾数据集上训练的深度模型在尾类上表现出不令人满意的性能。现有的方法通常修改分类损失,以增加对尾类的学习,这意外地牺牲了头类的性能。事实上,这种方案导致了长尾学习的两个目标之间的矛盾,即,学习可推广的表示并促进尾类的学习。在这项工作中,我们探索知识蒸馏长尾场景,并提出了一种新的蒸馏框架,命名为平衡知识蒸馏(BKD),解开这两个目标之间的矛盾,并同时实现。具体来说,给定一个普通教师模型,我们通过最小化实例平衡分类损失和类平衡蒸馏损失的组合来训练学生模型。前者受益于样本的多样性,学习可推广的表示,而后者考虑类的先验知识,并促进学习主要是尾部类。使用BKD训练的学生模型即使与其教师模型相比也获得了显着的性能增益。我们在几个长尾基准数据集上进行了广泛的实验,并证明了所提出的BKD是长尾场景中有效的知识蒸馏框架,以及一种新的最先进的长尾学习方法。代码可在https://github.com/EricZsy/BalancedKnowledgeDistillation上获得。

英文摘要:

Deep models trained on long-tailed datasets exhibit unsatisfactory performance on tail classes. Existing methods usually modify the classification loss to increase the learning focus on tail classes, which unexpectedly sacrifice the performance on head classes. In fact, this scheme leads to a contradiction between the two goals of long-tailed learning, i.e., learning generalizable representations and facilitating learning for tail classes. In this work, we explore knowledge distillation in long-tailed scenarios and propose a novel distillation framework, named Balanced Knowledge Distillation (BKD), to disentangle the contradiction between the two goals and achieve both simultaneously. Specifically, given a vanilla teacher model, we train the student model by minimizing the combination of an instance-balanced classification loss and a class-balanced distillation loss. The former benefits from the sample diversity and learns generalizable representation, while the latter considers the class priors and facilitates learning mainly for tail classes. The student model trained with BKD obtains significant performance gain even compared with its teacher model. We conduct extensive experiments on several long-tailed benchmark datasets and demonstrate that the proposed BKD is an effective knowledge distillation framework in long-tailed scenarios, as well as a new state-of-the-art method for long-tailed learning. Code is available at https://github.com/EricZsy/BalancedKnowledgeDistillation .

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

↑