arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2411.00585cs.CYcs.AI
收藏

大型语言模型在角色扮演中的公平性测试

Fairness Testing of Large Language Models in Role-Playing

Peking University(北京大学);Tsinghua University(清华大学);King's College London(伦敦国王学院);Nanyang Technological University(南洋理工大学);University of Illinois at Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校)

Xinyue Li, Zhenpeng Chen, Jie M. Zhang, Ying Xiao, Tianlin Li, Weisong Sun, Yang Liu, Yiling Lou, Xuanzhe Liu

AI总结:

本文通过生成33000个角色特定问题,评估10种先进LLM在角色扮演场景中的公平性,发现107580次偏见响应,揭示角色扮演中偏见的普遍性。

摘要:

大型语言模型(LLMs)已成为现代语言驱动软件应用的基础,深刻影响日常生活。利用其潜力的关键技术是角色扮演,其中LLMs模拟多样化角色以增强现实用途。然而,尽管研究已指出LLM输出中存在社会偏见,但其在角色扮演场景中出现的程度仍不明确。本文通过实证研究评估LLMs在角色扮演中的公平性测试。为此,我们使用LLMs生成涵盖11个人口属性的550个社会角色,生成33000个针对各种偏见形式的问题。这些问题涵盖是/否、多选和开放性格式,旨在促使LLMs采用特定角色并作出回应。我们结合基于规则和基于LLM的策略来识别偏见响应,并通过人类评估严格验证。使用生成的问题作为测试用例,我们对10种先进LLM进行了广泛评估。评估揭示了107580次偏见响应,各模型分别产生7579至16963次偏见响应,凸显角色扮演情境中的偏见普遍性。为支持未来研究,我们已公开发布数据集、所有脚本和实验结果。

英文摘要:

Large Language Models (LLMs) have become foundational in modern language-driven software applications, profoundly influencing daily life. A critical technique in leveraging their potential is role-playing, where LLMs simulate diverse roles to enhance their real-world utility. However, while research has highlighted the presence of social biases in LLM outputs, it remains unclear whether and to what extent these biases emerge during role-playing scenarios. In this paper, we conduct an empirical study on fairness testing of LLMs in role-playing scenarios. To enable this testing, we use LLMs to generate 550 social roles spanning a comprehensive set of 11 demographic attributes, producing 33,000 role-specific questions that target various forms of bias. These questions, covering Yes/No, multiple-choice, and open-ended formats, are designed to prompt LLMs to adopt specific roles and respond accordingly. We employ a combination of rule-based and LLM-based strategies to identify biased responses, rigorously validated through human evaluation. Using the generated questions as the test cases, we conduct extensive evaluations of 10 advanced LLMs. The evaluation reveal 107,580 biased responses across the studied LLMs, with individual models yielding between 7,579 and 16,963 biased responses, underscoring the prevalence of bias in role-playing contexts. To support future research, we have publicly released the dataset, along with all scripts and experimental results.

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

↑