arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2602.04398cs.CLcs.AI
收藏

双向偏见归因:无需修改提示的大型语言模型去偏方法

Bi-directional Bias Attribution: Debiasing Large Language Models without Modifying Prompts

School of Informatics, Xiamen University, China(厦门大学信息学院);vivo AI Lab, China(vivo AI实验室);Key Laboratory of Digital Protection and Intelligent Processing of Intangible Cultural Heritage of Fujian and Taiwan (Xiamen University), Ministry of Culture and Tourism, China(福建省和台湾非物质文化遗产数字化保护与智能处理重点实验室(厦门大学),文化部,中国)

Yujie Lin, Kunquan Li, Yixuan Liao, Xiaoxin Chen, Jinsong Su

AI总结:

本文提出一种无需微调或修改提示的双向偏见归因方法,通过检测刻板印象词汇并归因神经元偏见,有效减少LLM中的偏见同时保持性能。

摘要:

大型语言模型(LLMs)在自然语言处理任务中展现出了令人印象深刻的能力。然而,其输出往往表现出社会偏见,引发了公平性问题。现有的去偏方法,如在额外数据集上微调或提示工程,面临可扩展性问题或在多轮交互中损害用户体验。为了解决这些挑战,我们提出了一种框架,用于检测诱发刻板印象的词语并归因于神经层面的偏见,而无需微调或修改提示。我们的框架首先通过跨人口群体的比较分析来识别刻板印象性的形容词和名词。然后,我们使用基于集成梯度的两种归因策略,将偏见行为归因于特定神经元。最后,我们通过在投影层上直接干预其激活来减轻偏见。在三个广泛使用的LLMs上的实验表明,我们的方法在减少偏见的同时保持了整体模型性能。代码可在github链接:https://github.com/XMUDeepLIT/Bi-directional-Bias-Attribution上获得。

英文摘要:

Large language models (LLMs) have demonstrated impressive capabilities across a wide range of natural language processing tasks. However, their outputs often exhibit social biases, raising fairness concerns. Existing debiasing methods, such as fine-tuning on additional datasets or prompt engineering, face scalability issues or compromise user experience in multi-turn interactions. To address these challenges, we propose a framework for detecting stereotype-inducing words and attributing neuron-level bias in LLMs, without the need for fine-tuning or prompt modification. Our framework first identifies stereotype-inducing adjectives and nouns via comparative analysis across demographic groups. We then attribute biased behavior to specific neurons using two attribution strategies based on integrated gradients. Finally, we mitigate bias by directly intervening on their activations at the projection layer. Experiments on three widely used LLMs demonstrate that our method effectively reduces bias while preserving overall model performance. Code is available at the github link: https://github.com/XMUDeepLIT/Bi-directional-Bias-Attribution.

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

↑