arXiv:2505.01070cs.LGcs.AI2025-05

用拉普拉斯近似提升知识蒸馏中的群体公平性

Improving Group Fairness in Knowledge Distillation via Laplace Approximation of Early Exits

  • 用拉普拉斯近似获取更精准的不确定度估计
  • 在MultiNLI上显著改善弱势群体的预测公平性
  • 适合关注模型公平性的从业者和研究者

知识蒸馏(KD)通过使用大型预训练教师模型来训练紧凑的学生模型,通常所需数据和计算资源更少。教师模型层数更多,特征表示更丰富,而学生模型早期层往往学习到更简单的表面特征。这种差异可能导致某些标签与特定输入属性偶然相关时,群体公平性下降,即使整体准确率与教师相当。为缓解此问题,早期退出神经网络(EENNs)被采用,其多层中间输出可用于生成置信度裕度,以实例级重加权交叉熵与蒸馏损失。本文提出,利用基于拉普拉斯近似的不确定性估计可更有效地重加权困难样本,从而提升群体公平性。我们假设拉普拉斯近似比基于裕度的方法更能稳健识别困难或模糊实例。为验证,我们在MultiNLI数据集上基于Bert模型进行基准测试。

原文摘要 · Abstract (English)

Knowledge distillation (KD) has become a powerful tool for training compact student models using larger, pretrained teacher models, often requiring less data and computational resources. Teacher models typically possess more layers and thus exhibit richer feature representations compared to their student counterparts. Furthermore, student models tend to learn simpler, surface-level features in their early layers. This discrepancy can increase errors in groups where labels spuriously correlate with specific input attributes, leading to a decline in group fairness even when overall accuracy remains comparable to the teacher. To mitigate these challenges, Early-Exit Neural Networks (EENNs), which enable predictions at multiple intermediate layers, have been employed. Confidence margins derived from these early exits have been utilized to reweight both cross-entropy and distillation losses on a per-instance basis. In this paper, we propose that leveraging Laplace approximation-based methods to obtain well-calibrated uncertainty estimates can also effectively reweight challenging instances and improve group fairness. We hypothesize that Laplace approximation offers a more robust identification of difficult or ambiguous instances compared to margin-based approaches. To validate our claims, we benchmark our approach using a Bert-based model on the MultiNLI dataset.

知识蒸馏公平性不确定性估计BERT

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。