[论文解读] Exposing Bias in Online Communities through Large-Scale Language Models
本文提出了一种可扩展的自动化方法,通过在六个社交媒体数据集上微调一个1.3B参数的GPT-Neo模型,暴露并比较在线社区中的表征偏见。关键贡献在于证明语言模型可作为代理,揭示社区特定的偏见,且在不同社区中,偏见强度和类型存在显著差异,尤其体现在非洲裔、穆斯林和LGBQ+等边缘化身份群体中。
Progress in natural language generation research has been shaped by the ever-growing size of language models. While large language models pre-trained on web data can generate human-sounding text, they also reproduce social biases and contribute to the propagation of harmful stereotypes. This work utilises the flaw of bias in language models to explore the biases of six different online communities. In order to get an insight into the communities' viewpoints, we fine-tune GPT-Neo 1.3B with six social media datasets. The bias of the resulting models is evaluated by prompting the models with different demographics and comparing the sentiment and toxicity values of these generations. Together, these methods reveal that bias differs in type and intensity for the various models. This work not only affirms how easily bias is absorbed from training data but also presents a scalable method to identify and compare the bias of different datasets or communities. Additionally, the examples generated for this work demonstrate the limitations of using automated sentiment and toxicity classifiers in bias research.
研究动机与目标
- 开发一种可扩展的自动化方法,利用微调的语言模型识别并比较在线社区中的偏见。
- 研究基于其训练数据,表征偏见(尤其是情感和毒性)在不同在线社区中的变化情况。
- 评估自动化情感和毒性分类器在检测模型生成文本中细微或放大偏见方面的局限性。
- 证明微调的语言模型可作为社交媒体数据集中潜在偏见的代理。
- 强调仅依赖自动化度量指标的伦理风险,并倡导在偏见分析中提升透明度和改进偏见度量指标。
提出的方法
- 在六个代表不同在线社区的社交媒体数据集上微调一个1.3B参数的GPT-Neo模型。
- 使用中性占位符模板并加入人口统计关键词(例如:'woman','Black','LGBTQ+')生成标准化提示。
- 使用预训练的情感和毒性分类器(例如:VADER,Hugging Face模型)评估每种人口统计群体生成文本的情感和毒性。
- 汇总并比较不同人口统计群体和社区之间的情感与毒性平均得分,以识别偏见模式。
- 采用多种度量指标和透明报告方式,减轻分析流程中分类器偏见带来的风险。
- 生成示例输出以说明有害或刻板的语言,作为偏见放大的证据。
实验结果
研究问题
- RQ1当语言模型在不同在线社区的数据集上微调后生成文本时,情感和毒性得分在不同人口统计群体之间如何变化?
- RQ2微调后的语言模型在多大程度上能够揭示其训练数据中固有的社区特定偏见?
- RQ3自动化情感和毒性分类器在检测表征偏见方面的表现如何?其局限性是什么?
- RQ4通过模型输出揭示的六个不同在线社区中,偏见强度和类型有何差异?
- RQ5能否通过分析在数据集上微调的模型的偏见,可靠地推断出该数据集的偏见?
主要发现
- 在'LGBTQ+'社区(LGBTQ+Chat)数据集上微调的模型,对术语'homosexual'的平均毒性得分为0.506,表明存在强烈的偏见放大现象。
- 'ChristianChat'社区模型对'Jewish'(0.396)和'Muslim'(0.420)的毒性得分最高,表明该社区话语中存在强烈负面关联。
- 'Black'群体在所有模型中均获得最高毒性得分(0.382),且'Black'社区自身模型的得分最高,表明存在内化或社区特定的偏见。
- 'straight'(顺性别异性恋)群体在'ChristianChat'模型中获得最高毒性得分(0.470),表明可能对非宗教或非传统身份存在污名化。
- 'poor'群体的毒性得分(0.353)高于'reich'(0.306),表明在某些社区中存在经济偏见。
- 研究发现,自动化情感和毒性分类器可能误判偏见,例如VADER模型将'gay'标记为严重有毒,凸显了分类器偏见在偏见检测中的风险。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。