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

超越性能:量化与缓解大语言模型中的标签偏差

Beyond Performance: Quantifying and Mitigating Label Bias in LLMs

School of Computer Science and Engineering, The Hebrew University of Jerusalem(耶路撒冷希伯来大学计算机科学与工程学院)

Yuval Reif, Roy Schwartz

AI总结:

本文在279个分类任务和十个LLMs上系统量化了标签偏差,发现去偏前后均显著存在,并提出一种优于现有方法的少样本标签偏差校准方法,以同时提升性能与可靠性。

摘要:

大语言模型(LLMs)通过利用包含指令或少量输入输出示例的上下文提示,已展现出对多种任务的显著适应能力。然而,近期研究揭示它们也会表现出标签偏差——一种倾向于预测某些答案而非其他答案的不良偏好。尽管如此,如何可靠且大规模地检测和测量这种偏差仍相对未被探索。在本研究中,我们评估了量化模型预测中标签偏差的不同方法,并在279个分类任务和十个LLMs上进行了全面调查。我们的调查显示,在去偏尝试之前和之后,模型均存在显著的标签偏差,同时凸显了基于结果的评估指标的重要性,而这些指标此前未被用于此目的。我们进一步提出了一种专为少样本提示定制的新型标签偏差校准方法,该方法在提升性能和缓解标签偏差方面均优于近期的校准方法。我们的结果强调,LLMs预测中的标签偏差仍然是其可靠性的一个障碍。

英文摘要:

Large language models (LLMs) have shown remarkable adaptability to diverse tasks, by leveraging context prompts containing instructions, or minimal input-output examples. However, recent work revealed they also exhibit label bias -- an undesirable preference toward predicting certain answers over others. Still, detecting and measuring this bias reliably and at scale has remained relatively unexplored. In this study, we evaluate different approaches to quantifying label bias in a model's predictions, conducting a comprehensive investigation across 279 classification tasks and ten LLMs. Our investigation reveals substantial label bias in models both before and after debiasing attempts, as well as highlights the importance of outcomes-based evaluation metrics, which were not previously used in this regard. We further propose a novel label bias calibration method tailored for few-shot prompting, which outperforms recent calibration approaches for both improving performance and mitigating label bias. Our results emphasize that label bias in the predictions of LLMs remains a barrier to their reliability.

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

↑