arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2411.01547cs.LGcs.CV

通过分块 Logit 蒸馏解耦暗知识以实现特征级对齐

Decoupling Dark Knowledge via Block-wise Logit Distillation for Feature-level Alignment

College of Information Science and Electronic Engineering, Zhejiang University(浙江大学信息与电子工程学院);ZJU-UIUC Institute, Zhejiang University(浙江大学-伊利诺伊大学厄巴纳-香槟分校联合学院)

Chengting Yu, Fengzhao Zhang, Ruizhe Chen, Aili Wang, Zuozhu Liu, Shurun Tan, Er-Ping Li

AI总结:

针对知识蒸馏中 logits 与特征路径难以取舍的问题,本文提出分块 logit 蒸馏框架,以教师块逐步构建垫脚石模型并实现隐式特征对齐,性能达到或超过现有最先进方法。

摘要:

知识蒸馏(Knowledge Distillation,KD)是一种由较大的教师网络指导较小的学生网络的学习方式,它通过 logits 或中间特征将暗知识从教师迁移给学生,目标是得到性能良好的轻量级模型。值得注意的是,许多后续的基于特征的 KD 方法优于最早的基于 logit 的 KD 方法,并迭代产生了大量最先进的蒸馏方法。然而,近期工作揭示了基于 logit 方法的潜力,使这种简单的基于 logit 的 KD 形式重新受到关注。特征还是 logits?二者从完全不同的视角部分实现了 KD;因此,在 logits 与特征之间作出选择并不直接。本文提供了一个特征对齐的统一视角,以便更好地理解它们的根本区别。继承基于特征和基于 logit 方法的设计理念与洞见,我们提出一种分块 logit 蒸馏框架,通过逐步替换教师的块作为中间垫脚石模型,来弥合学生与教师之间的差距,从而执行隐式的基于 logit 的特征对齐。我们的方法取得了与最先进蒸馏方法相当甚至更优的结果。本文展示了结合 logit 与特征的巨大潜力,并希望这将启发未来研究从更高的有利位置重新审视 KD。

英文摘要:

Knowledge Distillation (KD), a learning manner with a larger teacher network guiding a smaller student network, transfers dark knowledge from the teacher to the student via logits or intermediate features, with the aim of producing a well-performed lightweight model. Notably, many subsequent feature-based KD methods outperformed the earliest logit-based KD method and iteratively generated numerous state-of-the-art distillation methods. Nevertheless, recent work has uncovered the potential of the logit-based method, bringing the simple KD form based on logits back into the limelight. Features or logits? They partially implement the KD with entirely distinct perspectives; therefore, choosing between logits and features is not straightforward. This paper provides a unified perspective of feature alignment in order to obtain a better comprehension of their fundamental distinction. Inheriting the design philosophy and insights of feature-based and logit-based methods, we introduce a block-wise logit distillation framework to apply implicit logit-based feature alignment by gradually replacing teacher's blocks as intermediate stepping-stone models to bridge the gap between the student and the teacher. Our method obtains comparable or superior results to state-of-the-art distillation methods. This paper demonstrates the great potential of combining logit and features, and we hope it will inspire future research to revisit KD from a higher vantage point.

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

↑