arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2312.16549cs.LGcs.AIcs.CL
收藏

大型语言模型对上下文多数标签偏差的鲁棒性如何?

How Robust are LLMs to In-Context Majority Label Bias?

Amazon(亚马逊)

Karan Gupta, Sumegh Roychowdhury, Siva Rajesh Kasa, Santhosh Kumar Kasa, Anish Bhanushali, Nikhil Pattisapu, Prasanna Srinivasa Murthy

AI总结:

本研究探讨大型语言模型在文本分类中面对上下文多数标签偏差时的鲁棒性,发现不同模型和任务的鲁棒性差异大,部分模型鲁棒性高达约90%,且模型大小和指令提示丰富性影响鲁棒性。

摘要:

在上下文学习(ICL)设置中,各种形式的标签偏差可能会显现。其中一种表现是多数标签偏差,当上下文样本中标注示例的分布偏向于一个或多个特定类别时,会使大型语言模型(LLMs)更倾向于预测这些标签。这种偏差可能源于多种因素,包括物流限制、数据收集方法中固有的偏差、对多样化数据源的访问受限等,这些在现实世界的工业环境中是不可避免的。在本工作中,我们研究了在文本分类任务范围内,大型语言模型的上下文学习对因多数标签偏差而产生的偏移的鲁棒性。先前的研究已表明,使用大型语言模型进行上下文学习容易受到此类偏差的影响。在我们的研究中,我们进一步深入,表明不同模型和任务的鲁棒性边界差异很大,某些大型语言模型对多数标签偏差具有高度鲁棒性(约90%)。此外,我们的发现还强调了模型大小和指令提示的丰富性对模型鲁棒性的贡献。我们将研究仅限于公开可用的开源模型,以确保透明度和可复现性。

英文摘要:

In the In-Context Learning (ICL) setup, various forms of label biases can manifest. One such manifestation is majority label bias, which arises when the distribution of labeled examples in the in-context samples is skewed towards one or more specific classes making Large Language Models (LLMs) more prone to predict those labels. Such discrepancies can arise from various factors, including logistical constraints, inherent biases in data collection methods, limited access to diverse data sources, etc. which are unavoidable in a real-world industry setup. In this work, we study the robustness of in-context learning in LLMs to shifts that occur due to majority label bias within the purview of text classification tasks. Prior works have shown that in-context learning with LLMs is susceptible to such biases. In our study, we go one level deeper and show that the robustness boundary varies widely for different models and tasks, with certain LLMs being highly robust (~90%) to majority label bias. Additionally, our findings also highlight the impact of model size and the richness of instructional prompts contributing towards model robustness. We restrict our study to only publicly available open-source models to ensure transparency and reproducibility.

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

↑