arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.04489cs.LGcs.CRcs.CYstat.ME

在语言模型微调中消除差分隐私带来的偏差放大

De-amplifying Bias from Differential Privacy in Language Model Fine-tuning

Stanford University(斯坦福大学);Truera(Truera公司);Princeton University(普林斯顿大学)

Sanjari Srivastava, Piotr Mardziel, Zhikhun Zhang, Archana Ahlawat, Anupam Datta, John C Mitchell

AI总结:

该研究揭示差分隐私在微调大语言模型时会放大性别、种族和宗教偏见,并发现梯度收敛差异是原因,提出结合反事实数据增强来缓解偏见,实现公平与隐私兼顾。

摘要:

公平性和隐私是机器学习(ML)从业者通常寻求在模型中实现的两个重要价值。公平性旨在减少模型对特定社会/人口统计子群体的偏见。另一方面,通过差分隐私(DP)机制实现的隐私保护限制了任何个体的训练数据对最终模型的影响。可信ML的隐私与公平目标之间的权衡对希望同时解决这两个问题的人构成了挑战。我们证明,在微调大型语言模型(LLMs)时,DP会放大性别、种族和宗教偏见,产生比不使用DP微调的模型更具偏见的模型。我们发现这种放大的原因是不同子群体之间梯度收敛的差异。通过二元性别偏见的案例,我们证明反事实数据增强(CDA),一种已知的解决偏见的方法,也能缓解DP引起的偏见放大。因此,DP和CDA可以一起用于微调模型,同时保持公平性和隐私性。

英文摘要:

Fairness and privacy are two important values machine learning (ML) practitioners often seek to operationalize in models. Fairness aims to reduce model bias for social/demographic sub-groups. Privacy via differential privacy (DP) mechanisms, on the other hand, limits the impact of any individual's training data on the resulting model. The trade-offs between privacy and fairness goals of trustworthy ML pose a challenge to those wishing to address both. We show that DP amplifies gender, racial, and religious bias when fine-tuning large language models (LLMs), producing models more biased than ones fine-tuned without DP. We find the cause of the amplification to be a disparity in convergence of gradients across sub-groups. Through the case of binary gender bias, we demonstrate that Counterfactual Data Augmentation (CDA), a known method for addressing bias, also mitigates bias amplification by DP. As a consequence, DP and CDA together can be used to fine-tune models while maintaining both fairness and privacy.

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

↑