arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2306.04735cs.CLcs.AIcs.LG
收藏

用于大型语言模型偏见评估的软提示调优

Soft-prompt Tuning for Large Language Models to Evaluate Bias

Vector Institute for AI(矢量人工智能研究所);McGill University(麦吉尔大学);Amirkabir University(阿米尔卡比尔大学);York University(约克大学)

Jacob-Junqi Tian, David Emerson, Sevil Zanjani Miyandoab, Deval Pandya, Laleh Seyyed-Kalantari, Faiza Khan Khattak

AI总结:

本文提出用软提示调优在情感分类任务中评估 OPT 与 Galactica 等 LLM 的群体公平性偏见,以避免人工提示引入偏见,并开源评估流程。

摘要:

近年来,提示大型语言模型因无需标注数据也能产生良好结果的优势而广受欢迎。然而,这需要进行提示调优,以获得能够带来更优模型性能的最佳提示。本文在情感分类任务上探索使用软提示调优,以量化大型语言模型(LLM)的偏见,例如 Open Pre-trained Transformers(OPT)和 Galactica 语言模型。由于这些模型是在真实世界数据上训练的,而这些数据可能倾向于对特定人群群体产生偏见,因此识别这些潜在问题十分重要。使用软提示评估偏见还为我们带来了额外优势,即可以避免人工设计提示可能造成的人类偏见注入。我们利用群体公平性(偏见)检查模型在不同敏感属性上的偏见,并发现了有趣的偏见模式。鉴于 LLM 已在工业界的各类应用中得到使用,在实际部署这些模型之前识别其偏见至关重要。我们开源了自身的流程,并鼓励工业界研究人员将我们的工作适配到他们的使用场景中。

英文摘要:

Prompting large language models has gained immense popularity in recent years due to the advantage of producing good results even without the need for labelled data. However, this requires prompt tuning to get optimal prompts that lead to better model performances. In this paper, we explore the use of soft-prompt tuning on sentiment classification task to quantify the biases of large language models (LLMs) such as Open Pre-trained Transformers (OPT) and Galactica language model. Since these models are trained on real-world data that could be prone to bias toward certain groups of populations, it is important to identify these underlying issues. Using soft-prompts to evaluate bias gives us the extra advantage of avoiding the human-bias injection that can be caused by manually designed prompts. We check the model biases on different sensitive attributes using the group fairness (bias) and find interesting bias patterns. Since LLMs have been used in the industry in various applications, it is crucial to identify the biases before deploying these models in practice. We open-source our pipeline and encourage industry researchers to adapt our work to their use cases.

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

↑