[论文解读] Evaluating Gender Bias in Large Language Models via Chain-of-Thought Prompting
本文表明 chain-of-thought 提示可以缓解大语言模型在一个不可扩展的计数任务中的性别偏见,并且 CoT 去偏见可以转移到下游任务如问答和自然语言推理。
There exist both scalable tasks, like reading comprehension and fact-checking, where model performance improves with model size, and unscalable tasks, like arithmetic reasoning and symbolic reasoning, where model performance does not necessarily improve with model size. Large language models (LLMs) equipped with Chain-of-Thought (CoT) prompting are able to make accurate incremental predictions even on unscalable tasks. Unfortunately, despite their exceptional reasoning abilities, LLMs tend to internalize and reproduce discriminatory societal biases. Whether CoT can provide discriminatory or egalitarian rationalizations for the implicit information in unscalable tasks remains an open question. In this study, we examine the impact of LLMs' step-by-step predictions on gender bias in unscalable tasks. For this purpose, we construct a benchmark for an unscalable task where the LLM is given a list of words comprising feminine, masculine, and gendered occupational words, and is required to count the number of feminine and masculine words. In our CoT prompts, we require the LLM to explicitly indicate whether each word in the word list is a feminine or masculine before making the final predictions. With counting and handling the meaning of words, this benchmark has characteristics of both arithmetic reasoning and symbolic reasoning. Experimental results in English show that without step-by-step prediction, most LLMs make socially biased predictions, despite the task being as simple as counting words. Interestingly, CoT prompting reduces this unconscious social bias in LLMs and encourages fair predictions.
研究动机与目标
- 激发对 LLM 如何在非扩展性任务中内化性别偏见的理解。
- 引入一个多步骤性别偏见推理(MGBR)基准,它将算术/符号推理与性别词分类相结合。
- 评估 chain-of-thought (CoT) 提示相较于标准提示和简单去偏提示,是否能降低偏见。
- 评估 MGBR 偏见分数与现有外部/内部偏见基准之间的相关性。
提出的方法
- 使用女性词汇、男性词汇以及性别刻板印象的职业词汇列表来构建 MGBR 基准。
- 要求 LLM 在计数之前将每个词分类为 feminine 或 masculine,将计数与词义解释结合。
- 比较 zero-shot、few-shot 与 Debiasing Prompt (DP) 基线,是否使用 CoT(Zero-shot+CoT、Few-shot+CoT)。
- 在 23 个开源/封闭式 LLM 上进行提示评估,并以当职业词汇被包含与排除在词表中时的准确率差来衡量偏见。
- 将 MGBR 偏见分数与外部基准( BBQ、BNLI)和内部基准( CP、SS)相关联。
- 分析模型规模和训练对 CoT 去偏能力的影响,并在下游基准中比较 CoT 与 DP 去偏。
实验结果
研究问题
- RQ1与 zero-shot 和 few-shot 提示相比,CoT 提示是否在不可扩展的计数任务(MGBR)中减少性别偏见?
- RQ2仅通过指令进行的简单去偏(DP)对 MGBR 是否有效,还是需要 CoT 才能实现偏见缓解?
- RQ3MGBR 偏见分数与内部与外部偏见基准之间的相关性如何?
- RQ4更大规模的模型或经过额外训练的模型是否表现出更强的 CoT 去偏能力?
- RQ5在 MGBR 中的 CoT 去偏是否可以转移到下游任务如 BBQ 和 BNLI?
主要发现
- 对于大多数 LLM,zero-shot 提示在 MGBR 上表现出较高的性别偏见。
- 相较于 zero-shot,few-shot 提示降低了偏见。
- DP 去偏在 MGBR 上几乎没有改善;CoT 去偏更有效。
- CoT 提示在许多模型中减少偏见,且偏见缓解随模型规模和训练而提升。
- MGBR 偏见分数与外部基准( BBQ、BNLI)的相关性大于与内部基准( CP、SS)之相关性。
- 在许多模型中,CoT 去偏提高了 BBQ 和 BNLI 的下游任务偏见表现,且在更大模型上收益更大。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。