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

诱导大型语言模型社会偏见的红队测试

Red-Teaming for Inducing Societal Bias in Large Language Models

Queen’s University Vector Institute(女王大学向量研究所);SigmaRed Tech.(SigmaRed科技公司);Ernst & Young(埃森哲);Monark Health(Monark健康)

Chu Fei Luo, Ahmad Ghawanmeh, Bharat Bhimshetty, Kashyap Murali, Murli Jadhav, Xiaodan Zhu, Faiza Khan Khattak

AI总结:

提出两种针对社会偏见的红队测试方法(EBP和BiasKG),通过对抗性攻击诱导LLM产生偏见响应,发现即使有安全防护的模型也受影响,强调严格评估和AI安全措施。

摘要:

确保AI系统的安全部署在工业环境中至关重要,因为偏见的输出可能导致重大的运营、声誉和监管风险。部署前的彻底评估对于防止这些危害至关重要。红队测试通过采用对抗性攻击来开发防护措施,以检测和拒绝偏见或有害的查询,从而使模型能够被重新训练或引导远离有害输出,从而满足这一需求。然而,大多数红队测试工作侧重于有害或不道德的指令,而非解决社会偏见,使得这一关键领域尽管在现实世界中具有重大影响,尤其是在面向客户的系统中,却仍未得到充分探索。我们提出了两种针对偏见的红队测试方法,即情感偏见探针(EBP)和BiasKG,以评估针对有害内容的标准安全措施如何影响偏见。对于BiasKG,我们将自然语言刻板印象重构为知识图谱。我们使用这些攻击策略来诱导多个开源和闭源语言模型产生偏见响应。与先前的工作不同,这些方法专门针对社会偏见。我们发现,我们的方法增加了所有模型中的偏见,即使是那些经过安全防护措施训练的模型。我们的工作强调通过严格评估来揭示LLM中的社会偏见,并建议采取措施确保高风险工业部署中的AI安全。

英文摘要:

Ensuring the safe deployment of AI systems is critical in industry settings where biased outputs can lead to significant operational, reputational, and regulatory risks. Thorough evaluation before deployment is essential to prevent these hazards. Red-teaming addresses this need by employing adversarial attacks to develop guardrails that detect and reject biased or harmful queries, enabling models to be retrained or steered away from harmful outputs. However, most red-teaming efforts focus on harmful or unethical instructions rather than addressing social bias, leaving this critical area under-explored despite its significant real-world impact, especially in customer-facing systems. We propose two bias-specific red-teaming methods, Emotional Bias Probe (EBP) and BiasKG, to evaluate how standard safety measures for harmful content affect bias. For BiasKG, we refactor natural language stereotypes into a knowledge graph. We use these attacking strategies to induce biased responses from several open- and closed-source language models. Unlike prior work, these methods specifically target social bias. We find our method increases bias in all models, even those trained with safety guardrails. Our work emphasizes uncovering societal bias in LLMs through rigorous evaluation, and recommends measures ensure AI safety in high-stakes industry deployments.

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

↑