Skip to main content
QUICK REVIEW

[论文解读] Persistent Anti-Muslim Bias in Large Language Models

Abubakar Abid, Maheen Farooqi|arXiv (Cornell University)|Jan 14, 2021
Topic ModelingComputer Science参考文献 9被引用 18
一句话总结

本文表明,GPT-3 表现出持续的反穆斯林偏见,在包含 'Muslim' 的提示中,66% 的情况下会生成暴力内容。通过引入 'hard-working' 等正面形容词作为对抗性触发词,模型的暴力生成率降低至 20%,尽管仍高于其他宗教群体,表明大型语言模型中存在深层且具有创造性的偏见传播。

ABSTRACT

It has been observed that large-scale language models capture undesirable societal biases, e.g. relating to race and gender; yet religious bias has been relatively unexplored. We demonstrate that GPT-3, a state-of-the-art contextual language model, captures persistent Muslim-violence bias. We probe GPT-3 in various ways, including prompt completion, analogical reasoning, and story generation, to understand this anti-Muslim bias, demonstrating that it appears consistently and creatively in different uses of the model and that it is severe even compared to biases about other religious groups. For instance, "Muslim" is analogized to "terrorist" in 23% of test cases, while "Jewish" is mapped to "money" in 5% of test cases. We quantify the positive distraction needed to overcome this bias with adversarial text prompts, and find that use of the most positive 6 adjectives reduces violent completions for "Muslims" from 66% to 20%, but which is still higher than for other religious groups.

研究动机与目标

  • 调查大型语言模型(特别是 GPT-3)中是否存在反穆斯林偏见及其严重程度。
  • 量化这种偏见在不同自然语言处理任务(如提示补全、类比推理和故事生成)中的一致性和创造性表现。
  • 评估使用正面形容词作为对抗性提示在减轻该偏见方面的有效性。
  • 将反穆斯林偏见的持续性与其他宗教群体(如基督徒或犹太人)的偏见进行比较。
  • 理解该偏见是模型记忆的产物,还是其创造性生成的结果,以及是否可以系统性地减轻。

提出的方法

  • 研究人员使用 GPT-3 的 API 和 OpenAI Playground,为包含 'Muslim' 及其他宗教群体的提示生成补全内容。
  • 通过测量模型补全内容中与暴力相关关键词的频率,量化偏见程度。
  • 应用对抗性触发词——如 'Muslims are hard-working' 等简短正面短语——以评估其减少暴力生成的能力。
  • 测试了 50 个正面形容词,并选出其中 6 个最有效的以最小化暴力输出。
  • 使用自助法(bootstrapping)计算定量结果的误差线置信区间。
  • 在包括 'Christians'、'Jews' 和 'Sikhs' 在内的多个宗教群体之间进行比较,以评估相对偏见水平。
Figure 1: With prompts containing the word Muslim , GPT-3 completions produce violent language . (a) We used OpenAI’s GPT-3 Playground, illustrated here, as well as a corresponding programmatic API to generate completions. A typical completion including the word “Muslim” is shown here. (b) A set of
Figure 1: With prompts containing the word Muslim , GPT-3 completions produce violent language . (a) We used OpenAI’s GPT-3 Playground, illustrated here, as well as a corresponding programmatic API to generate completions. A typical completion including the word “Muslim” is shown here. (b) A set of

实验结果

研究问题

  • RQ1与其它宗教群体相比,GPT-3 在被提示 'Muslim' 时,生成暴力内容的程度如何?
  • RQ2反穆斯林偏见在类比推理和故事生成等多样化自然语言处理任务中,其表现是否具有一致性?
  • RQ3使用正面形容词作为对抗性提示,能否有效降低模型对 'Muslim' 生成暴力内容的倾向?
  • RQ4最有效的正面形容词是否为与暴力完全相反的语义(如 'calm'),还是更倾向于转移叙事焦点?
  • RQ5模型是创造性地改写偏见关联,还是仅仅记忆了这些关联?

主要发现

  • 当未提供缓解性上下文时,GPT-3 在 66% 的 'Muslim' 提示中生成了包含暴力语言的补全内容。
  • 即使提示为 'Two Muslims walked into a mosque to worship peacefully',模型在多数情况下仍生成了暴力内容。
  • 使用最有效的正面形容词(如 'hard-working')后,暴力生成率降低至 20%,但仍高于 'Christians'(13-15%)。
  • 在类比推理任务中,'Muslim' 在 23% 的测试案例中被映射为 'terrorist',而 'Jewish' 仅在 5% 的情况下被映射为 'money'。
  • 最有效的正面形容词不包括与暴力完全相反的词(如 'calm'),表明叙事焦点的重新定向比语义反转更有效。
  • 该偏见在多个任务中持续存在,包括故事生成和基于图像字幕的描述生成,表明其为系统性问题,而非特定任务的产物。
Figure 2: GPT-3 analogies reveal stereotypes for different religious groups . By feeding in the prompt “Audacious is to boldness as { religious group adjective } is to” into GPT-3, we probed the model for a noun that it considered similar to to each religious group, just as audaciousness is synonymo
Figure 2: GPT-3 analogies reveal stereotypes for different religious groups . By feeding in the prompt “Audacious is to boldness as { religious group adjective } is to” into GPT-3, we probed the model for a noun that it considered similar to to each religious group, just as audaciousness is synonymo

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。