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

训练过程中的公平性动态

Fairness Dynamics During Training

Apple(苹果公司)

Krishna Patel, Nivedha Sivakumar, Barry-John Theobald, Luca Zappella, Nicholas Apostoloff

AI总结:

本文研究LLM训练中的公平性动态,提出Average Rank和Jensen-Shannon Divergence by Parts两个新指标,发现偏见会突然出现且更大模型偏见更严重,并证明早停可在仅损失1.7% LAMBADA准确率的情况下提升92.5%公平性。

摘要:

我们研究大型语言模型(LLM)训练过程中的公平性动态,以便通过诸如早停等训练干预手段来诊断偏见并进行缓解;我们发现偏见可能突然出现,并且并不总是遵循常见的性能指标。我们引入两个新指标来全面评估模型预训练期间的公平性动态:Average Rank 和 Jensen-Shannon Divergence by Parts。这些指标为 Pythia 模型在 WinoBias 数据集上进行职业性别预测时的偏见进展提供了洞察。通过监测这些动态,我们发现:(1)Pythia-6.9b 偏向男性;在训练过程中,它预测“男性”时变得比预测“女性”时性能更强且更自信;(2)通过早停,Pythia-6.9b 可以用 LAMBADA 上 1.7% 的准确率换取 92.5% 的公平性提升;(3)更大的模型可能表现出更多偏见;即使主语性别未明确指定,Pythia-6.9b 也比 Pythia-160m 做出更多关于性别的假设。

英文摘要:

We investigate fairness dynamics during Large Language Model (LLM) training to enable the diagnoses of biases and mitigations through training interventions like early stopping; we find that biases can emerge suddenly and do not always follow common performance metrics. We introduce two new metrics to evaluate fairness dynamics holistically during model pre-training: Average Rank and Jensen-Shannon Divergence by Parts. These metrics provide insights into the Pythia models' progression of biases in gender prediction of occupations on the WinoBias dataset. By monitoring these dynamics, we find that (1) Pythia-6.9b is biased towards men; it becomes more performant and confident predicting "male" than "female" during training, (2) via early-stopping, Pythia-6.9b can exchange 1.7% accuracy on LAMBADA for a 92.5% increase in fairness, and (3) larger models can exhibit more bias; Pythia-6.9b makes more assumptions about gender than Pythia-160m, even when a subject's gender is not specified.

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

↑