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

打破偏见,建立桥梁:通过接触假说评估与缓解大语言模型中的社会偏见

Breaking Bias, Building Bridges: Evaluation and Mitigation of Social Biases in LLMs via Contact Hypothesis

George Mason University(乔治梅森大学);University of Washington(华盛顿大学)

Chahat Raj, Anjishnu Mukherjee, Aylin Caliskan, Antonios Anastasopoulos, Ziwei Zhu

AI总结:

本文基于社会心理学接触假说构建108,000条提示,评估三款LLM在13个维度的社会偏见,并提出SCD指令微调方法,使LLaMA 2偏见最高降低40%。

摘要:

大语言模型(LLM)会延续社会偏见,反映其训练数据中的偏见,并强化社会刻板印象与不平等。本研究探索接触假说(Contact Hypothesis)用于为LLM去偏见的潜力;该概念来自社会心理学。我们通过LLM提示模拟多种形式的社会接触,以衡量它们对模型偏见的影响,对应社会情境中群际互动如何减少偏见。我们遵循一项复现社会接触的原则性方法,构建了包含108,000条提示的数据集,在13个社会偏见维度上测量三个LLM(LLaMA 2、Tulu和NousHermes)的偏见。我们提出一种独特的去偏见技术Social Contact Debiasing(SCD,社会接触去偏见),该技术使用对提示的无偏见回答对这些模型进行指令微调。研究表明,在接受接触探测时,LLM回答表现出社会偏见;但更重要的是,按照SCD策略对LLaMA 2进行1个epoch的指令微调后,这些偏见可显著降低,最高降幅达40%。代码和数据可在https://github.com/chahatraj/breakingbias获取。

英文摘要:

Large Language Models (LLMs) perpetuate social biases, reflecting prejudices in their training data and reinforcing societal stereotypes and inequalities. Our work explores the potential of the Contact Hypothesis, a concept from social psychology for debiasing LLMs. We simulate various forms of social contact through LLM prompting to measure their influence on the model's biases, mirroring how intergroup interactions can reduce prejudices in social contexts. We create a dataset of 108,000 prompts following a principled approach replicating social contact to measure biases in three LLMs (LLaMA 2, Tulu, and NousHermes) across 13 social bias dimensions. We propose a unique debiasing technique, Social Contact Debiasing (SCD), that instruction-tunes these models with unbiased responses to prompts. Our research demonstrates that LLM responses exhibit social biases when subject to contact probing, but more importantly, these biases can be significantly reduced by up to 40% in 1 epoch of instruction tuning LLaMA 2 following our SCD strategy. Our code and data are available at https://github.com/chahatraj/breakingbias.

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

↑