arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.14023cs.CLcs.AI
收藏

从心理测量学视角攻击以评估大型语言模型中的隐性偏见

Evaluating Implicit Bias in Large Language Models by Attacking From a Psychometric Perspective

State Key Laboratory of AI Safety, Institute of Computing Technology, Chinese Academy of Sciences(中国科学院人工智能安全国家重点实验室,计算技术研究所);Key Laboratory of Network Data Science and Technology, Institute of Computing Technology, Chinese Academy of Sciences(中国科学院网络数据科学与技术重点实验室,计算技术研究所);University of Chinese Academy of Sciences(中国科学院大学)

Yuchen Wen, Keping Bi, Wei Chen, Jiafeng Guo, Xueqi Cheng

AI总结:

本文从心理测量学视角提出伪装、欺骗和教学三种攻击方法,构建双语数据集和BUMBLE基准,有效揭示大型语言模型中的隐性偏见,为评估其伦理风险提供有效手段。

摘要:

随着大型语言模型(LLMs)成为信息获取的重要途径,人们越来越担忧LLMs可能会加剧不道德内容的传播,包括在没有明确有害词语的情况下伤害特定人群的隐性偏见。在本文中,我们通过从心理测量学视角攻击LLMs以引诱其对偏见观点表示同意,从而对LLMs针对特定人群的隐性偏见进行了严格评估。受认知心理学和社会心理学中的心理测量学原理启发,我们提出了三种攻击方法,即伪装、欺骗和教学。结合相应的攻击指令,我们构建了两个基准:(1) 包含四种偏见类型(2.7K个实例)的双语偏见陈述数据集,用于广泛的比较分析;(2) BUMBLE,一个涵盖九种常见偏见类型(12.7K个实例)的更大规模基准,用于全面评估。对流行的商业和开源LLMs的广泛评估表明,与具有竞争力的基线相比,我们的方法能更有效地引诱出LLMs的内在偏见。我们的攻击方法和基准为评估LLMs的伦理风险提供了有效手段,推动其开发朝着更高问责制的方向发展。

英文摘要:

As large language models (LLMs) become an important way of information access, there have been increasing concerns that LLMs may intensify the spread of unethical content, including implicit bias that hurts certain populations without explicit harmful words. In this paper, we conduct a rigorous evaluation of LLMs' implicit bias towards certain demographics by attacking them from a psychometric perspective to elicit agreements to biased viewpoints. Inspired by psychometric principles in cognitive and social psychology, we propose three attack approaches, i.e., Disguise, Deception, and Teaching. Incorporating the corresponding attack instructions, we built two benchmarks: (1) a bilingual dataset with biased statements covering four bias types (2.7K instances) for extensive comparative analysis, and (2) BUMBLE, a larger benchmark spanning nine common bias types (12.7K instances) for comprehensive evaluation. Extensive evaluation of popular commercial and open-source LLMs shows that our methods can elicit LLMs' inner bias more effectively than competitive baselines. Our attack methodology and benchmarks offer an effective means of assessing the ethical risks of LLMs, driving progress toward greater accountability in their development. Our code, data, and benchmarks are available at https://yuchenwen1.github.io/ImplicitBiasEvaluation/.

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

↑