arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.08407cs.LGcs.CYstat.ML
收藏

蒸馏后留下了什么?知识转移如何影响公平性与偏见

What is Left After Distillation? How Knowledge Transfer Impacts Fairness and Bias

University of Calgary(卡尔加里大学)

Aida Mohammadshahi, Yani Ioannou

AI总结:

研究知识蒸馏对深度神经网络公平性与偏见的影响,发现提高蒸馏温度能显著改善蒸馏学生模型的整体和个体公平性,甚至在高温下超越教师模型,强调在敏感领域使用蒸馏模型需谨慎。

摘要:

知识蒸馏是一种常用的深度神经网络(DNN)压缩方法,通常能保持整体的泛化性能。然而,我们表明,即使对于像CIFAR-100、Tiny ImageNet和ImageNet这样平衡的图像分类数据集,在比较教师模型/蒸馏学生模型或蒸馏学生模型/非蒸馏学生模型之间的逐类准确率(即类偏见)时,多达41%的类别在统计上受到蒸馏的显著影响。如果在模型使用语境之外考虑,类偏见的变化并不一定是一个不良结果。使用两种常见的公平性指标——人口统计平价差异(DPD)和均等化赔率差异(EOD),对在CelebA、Trifeature和HateXplain数据集上训练的模型进行评估,我们的结果表明,提高蒸馏温度能改善蒸馏学生模型的公平性,在高温下蒸馏学生模型的公平性甚至能超越教师模型。此外,我们考察了个体公平性,即确保相似实例得到相似预测。结果证实,较高温度也能提升蒸馏学生模型的个体公平性。本研究强调了蒸馏对某些类别的不均匀影响及其在公平性方面的潜在重要作用,强调在敏感应用领域使用蒸馏模型时需谨慎。

英文摘要:

Knowledge Distillation is a commonly used Deep Neural Network (DNN) compression method, which often maintains overall generalization performance. However, we show that even for balanced image classification datasets, such as CIFAR-100, Tiny ImageNet and ImageNet, as many as 41% of the classes are statistically significantly affected by distillation when comparing class-wise accuracy (i.e. class bias) between a teacher/distilled student or distilled student/non-distilled student model. Changes in class bias are not necessarily an undesirable outcome when considered outside of the context of a model's usage. Using two common fairness metrics, Demographic Parity Difference (DPD) and Equalized Odds Difference (EOD) on models trained with the CelebA, Trifeature, and HateXplain datasets, our results suggest that increasing the distillation temperature improves the distilled student model's fairness, and the distilled student fairness can even surpass the fairness of the teacher model at high temperatures. Additionally, we examine individual fairness, ensuring similar instances receive similar predictions. Our results confirm that higher temperatures also improve the distilled student model's individual fairness. This study highlights the uneven effects of distillation on certain classes and its potentially significant role in fairness, emphasizing that caution is warranted when using distilled models for sensitive application domains.

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

↑