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

FairMonitor:一个用于检测大语言模型中刻板印象与偏见的四阶段自动框架

FairMonitor: A Four-Stage Automatic Framework for Detecting Stereotypes and Biases in Large Language Models

School of Computer Science and Technology, East China Normal University(华东师范大学计算机科学与技术学院);School of Computer Science, Fudan University(复旦大学计算机学院)

Yanhong Bai, Jiabao Zhao, Jinxin Shi, Tingjiang Wei, Xingjiao Wu, Liang He

AI总结:

本文提出FairMonitor四阶段自动框架,通过直接询问、故事测试、内隐联想和未知情境测试检测LLMs生成内容中的刻板印象与偏见,并构建教育领域基准Edu-FairMonitor验证其有效性。

摘要:

检测大语言模型(LLMs)中的刻板印象和偏见,可以在这些LLMs被应用时增强公平性并减少对个人或群体的不利影响。然而,现有大多数方法侧重于衡量模型对数据集中包含偏见和刻板印象的句子的偏好,这缺乏可解释性,并且无法检测现实世界中的隐性偏见和刻板印象。为弥补这一不足,本文引入了一个四阶段框架,用于直接评估LLMs生成内容中的刻板印象和偏见,包括直接询问测试、连续或改编故事测试、内隐联想测试和未知情境测试。此外,本文还提出了多维评估指标和可解释的零样本提示,用于自动化评估。以教育领域为案例研究,我们基于该四阶段框架构建了Edu-FairMonitor,其中包含12,632个开放式问题,涵盖九个敏感因素和26个教育场景。实验结果表明,在Edu-FairMonitor上评估的五个LLMs表现出不同程度的刻板印象和偏见。此外,我们提出的自动化评估方法的结果与人工标注之间表现出高度相关性。

英文摘要:

Detecting stereotypes and biases in Large Language Models (LLMs) can enhance fairness and reduce adverse impacts on individuals or groups when these LLMs are applied. However, the majority of existing methods focus on measuring the model's preference towards sentences containing biases and stereotypes within datasets, which lacks interpretability and cannot detect implicit biases and stereotypes in the real world. To address this gap, this paper introduces a four-stage framework to directly evaluate stereotypes and biases in the generated content of LLMs, including direct inquiry testing, serial or adapted story testing, implicit association testing, and unknown situation testing. Additionally, the paper proposes multi-dimensional evaluation metrics and explainable zero-shot prompts for automated evaluation. Using the education sector as a case study, we constructed the Edu-FairMonitor based on the four-stage framework, which encompasses 12,632 open-ended questions covering nine sensitive factors and 26 educational scenarios. Experimental results reveal varying degrees of stereotypes and biases in five LLMs evaluated on Edu-FairMonitor. Moreover, the results of our proposed automated evaluation method have shown a high correlation with human annotations.

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

↑