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

CALM:用于全面评估语言模型偏差的多任务基准

CALM : A Multi-task Benchmark for Comprehensive Assessment of Language Model Bias

Pennsylvania State University(宾夕法尼亚州立大学);HuggingFace

Vipul Gupta, Pranav Narayanan Venkit, Hugo Laurençon, Shomir Wilson, Rebecca J. Passonneau

AI总结:

CALM 基准通过整合十六个数据集和 224 个高多样性模板,稳健测量语言模型在性别和种族上的社会人口统计学偏差,并在 20 个 LLM 上验证了其鲁棒性。

摘要:

随着语言模型(LMs)日益强大并被广泛使用,量化其可能造成伤害的社会人口统计学偏差变得十分重要。先前的偏差测量方法对用于比较不同社会群体表现的模板扰动较为敏感,原因包括模板多样性低或模板数量有限。此外,大多数先前工作只考虑单一自然语言处理(NLP)任务。我们提出 Comprehensive Assessment of Language Models(CALM),用于稳健测量两类普遍相关的社会人口统计学偏差:性别和种族。CALM 整合了十六个用于问答、情感分析和自然语言推理的数据集。每个数据集中的示例经过筛选,生成 224 个具有高多样性的模板(例如在长度、词汇方面)。我们为七个不同人口群体各收集了 50 个高频人名,生成覆盖三个 NLP 任务的 78,400 个提示。我们的实证评估表明,与先前的偏差测量方法相比,CALM 偏差分数对模板扰动(如同义词替换)或模板随机子集选择更加稳健且敏感度远低。我们将 CALM 应用于 20 个大型语言模型,发现对于 2 个语言模型系列,参数规模更大的模型往往比规模更小的模型表现出更多偏差。在所研究的 20 个 LLM 中,T0 系列是偏差最小的模型家族。代码可在 https://github.com/vipulgupta1011/CALM 获取。

英文摘要:

As language models (LMs) become increasingly powerful and widely used, it is important to quantify them for sociodemographic bias with potential for harm. Prior measures of bias are sensitive to perturbations in the templates designed to compare performance across social groups, due to factors such as low diversity or limited number of templates. Also, most previous work considers only one NLP task. We introduce Comprehensive Assessment of Language Models (CALM) for robust measurement of two types of universally relevant sociodemographic bias, gender and race. CALM integrates sixteen datasets for question-answering, sentiment analysis and natural language inference. Examples from each dataset are filtered to produce 224 templates with high diversity (e.g., length, vocabulary). We assemble 50 highly frequent person names for each of seven distinct demographic groups to generate 78,400 prompts covering the three NLP tasks. Our empirical evaluation shows that CALM bias scores are more robust and far less sensitive than previous bias measurements to perturbations in the templates, such as synonym substitution, or to random subset selection of templates. We apply CALM to 20 large language models, and find that for 2 language model series, larger parameter models tend to be more biased than smaller ones. The T0 series is the least biased model families, of the 20 LLMs investigated here. The code is available at https://github.com/vipulgupta1011/CALM.

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

↑