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

ShiftKD:分布偏移下知识蒸馏的基准评测

ShiftKD: Benchmarking Knowledge Distillation under Distribution Shift

School of Cyber Science and Technology, Shenzhen Campus of Sun Yat-sen University(中山大学深圳校区计算机科学与技术学院);Department of Mathematics, Chongqing Jiaotong University, China(重庆交通大学数学系);Department of Land Surveying and Geo-informatics, The Hong Kong Polytechnic University, Hong Kong(香港理工大学土地测量与地理信息系);Shenzhen University of Advanced Technology(深圳大学先进技术学院)

Songming Zhang, Yuxiao Luo, Ziyu Lyu, Xiaofeng Chen

AI总结:

本文提出ShiftKD基准框架,系统评测知识蒸馏在多样性与相关性分布偏移下的表现,覆盖30余种方法并分析训练关键因素,为鲁棒KD方法发展提供依据。

摘要:

知识蒸馏(KD)将知识从大模型迁移到小模型,近年来取得了显著成功。然而,现有KD方法在实际应用中的可靠性,尤其是在分布偏移下的可靠性,仍未得到充分探索。分布偏移是指训练阶段与测试阶段之间数据分布的漂移,这可能对KD的有效性产生不利影响。本文提出了一个统一且系统化的框架ShiftKD,用于针对两种一般性分布偏移——多样性偏移和相关性偏移——对KD进行基准评测。该评测基准覆盖了来自算法、数据驱动和优化视角的30多种方法,并在五个基准数据集上进行评估。我们构建的ShiftKD开展了大量实验,揭示了当前最先进KD方法的优势与局限。更重要的是,我们深入分析了学生模型训练过程中的关键因素,包括数据增强、剪枝方法、优化器和评估指标。我们相信ShiftKD可以作为评估真实场景下KD的有效基准,从而推动更鲁棒的KD方法的发展,以应对不断变化的需求。代码将在发表后公开。

英文摘要:

Knowledge Distillation (KD) transfers knowledge from large models to small models and has recently achieved remarkable success. However, the reliability of existing KD methods in real-world applications, especially under distribution shift, remains underexplored. Distribution shift refers to the data distribution drifts between the training and testing phases, and this can adversely affect the efficacy of KD. In this paper, we propose a unified and systematic framework \textsc{ShiftKD} to benchmark KD against two general distributional shifts: diversity and correlation shift. The evaluation benchmark covers more than 30 methods from algorithmic, data-driven, and optimization perspectives for five benchmark datasets. Our development of \textsc{ShiftKD} conducts extensive experiments and reveals strengths and limitations of current SOTA KD methods. More importantly, we thoroughly analyze key factors in student model training process, including data augmentation, pruning methods, optimizers, and evaluation metrics. We believe \textsc{ShiftKD} could serve as an effective benchmark for assessing KD in real-world scenarios, thus driving the development of more robust KD methods in response to evolving demands. The code will be made available upon publication.

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

↑