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

BiasAlert:用于大语言模型中社会偏见检测的即插即用工具

BiasAlert: A Plug-and-play Tool for Social Bias Detection in LLMs

Zhejiang University(浙江大学)

Zhiting Fan, Ruizhe Chen, Ruiling Xu, Zuozhu Liu

AI总结:

BiasAlert是一种即插即用工具,结合外部知识与推理能力,在开放文本生成中可靠检测LLM社会偏见,性能优于GPT4-as-A-Judge,并支持偏见评估与缓解。

摘要:

随着大语言模型(LLMs)的快速发展,评估其偏见变得日益重要。然而,现有评估方法依赖固定形式的输出,无法适应LLMs灵活开放文本生成场景(如句子补全和问答)。为解决这一问题,我们引入BiasAlert,一种即插即用工具,旨在检测LLMs开放文本生成中的社会偏见。BiasAlert整合外部人类知识与内在推理能力,以可靠地检测偏见。大量实验表明,BiasAlert在偏见检测方面显著优于现有最先进方法(如GPT4-as-A-Judge)。此外,通过应用研究,我们展示了BiasAlert在可靠LLM偏见评估和跨多种场景偏见缓解中的实用性。模型和代码将公开发布。

英文摘要:

Evaluating the bias in Large Language Models (LLMs) becomes increasingly crucial with their rapid development. However, existing evaluation methods rely on fixed-form outputs and cannot adapt to the flexible open-text generation scenarios of LLMs (e.g., sentence completion and question answering). To address this, we introduce BiasAlert, a plug-and-play tool designed to detect social bias in open-text generations of LLMs. BiasAlert integrates external human knowledge with inherent reasoning capabilities to detect bias reliably. Extensive experiments demonstrate that BiasAlert significantly outperforms existing state-of-the-art methods like GPT4-as-A-Judge in detecting bias. Furthermore, through application studies, we demonstrate the utility of BiasAlert in reliable LLM bias evaluation and bias mitigation across various scenarios. Model and code will be publicly released.

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

↑