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

大语言模型能否克服捷径学习?大语言模型中捷径挑战的评估

Do LLMs Overcome Shortcut Learning? An Evaluation of Shortcut Challenges in Large Language Models

University of Science and Technology of China(中国科学技术大学);State Key Lab of Cognitive Intelligence(认知智能国家重点实验室);School of Computer Science and Technology(计算机科学与技术学院)

Yu Yuan, Lili Zhao, Kai Zhang, Guangting Zheng, Qi Liu

AI总结:

本文提出Shortcut Suite测试套件,系统评估大语言模型对六类捷径的依赖,发现更大模型更易利用捷径、思维链提示可显著减少捷径依赖,为提升LLM鲁棒性提供新方向。

摘要:

大语言模型(LLMs)在各种自然语言处理任务中展现了卓越的能力。然而,LLMs可能依赖数据集偏差作为预测捷径,这会显著损害其鲁棒性和泛化能力。本文提出了Shortcut Suite,一个用于评估捷径对LLMs性能影响的综合测试套件,包含六种捷径类型、五种评估指标和四种提示策略。我们的大量实验得出了几个关键发现:1)LLMs在下游任务中对捷径的依赖程度各不相同,这显著损害了其性能。2)在零样本和少样本上下文学习提示下,更大的LLMs更倾向于利用捷径。3)思维链提示显著减少了捷径依赖,并优于其他提示策略,而少样本提示通常表现不如零样本提示。4)LLMs在预测中经常表现出过度自信,尤其是在处理包含捷径的数据集时。5)在充满捷径的数据集中,LLMs的解释质量通常较低,错误可分为三种类型:分心、伪装理解和逻辑谬误。我们的发现为评估LLMs的鲁棒性和泛化能力提供了新的见解,并为减少对捷径的依赖提出了潜在方向。代码可在\url{https://github.com/yyhappier/ShortcutSuite.git}获取。

英文摘要:

Large Language Models (LLMs) have shown remarkable capabilities in various natural language processing tasks. However, LLMs may rely on dataset biases as shortcuts for prediction, which can significantly impair their robustness and generalization capabilities. This paper presents Shortcut Suite, a comprehensive test suite designed to evaluate the impact of shortcuts on LLMs' performance, incorporating six shortcut types, five evaluation metrics, and four prompting strategies. Our extensive experiments yield several key findings: 1) LLMs demonstrate varying reliance on shortcuts for downstream tasks, significantly impairing their performance. 2) Larger LLMs are more likely to utilize shortcuts under zero-shot and few-shot in-context learning prompts. 3) Chain-of-thought prompting notably reduces shortcut reliance and outperforms other prompting strategies, while few-shot prompts generally underperform compared to zero-shot prompts. 4) LLMs often exhibit overconfidence in their predictions, especially when dealing with datasets that contain shortcuts. 5) LLMs generally have a lower explanation quality in shortcut-laden datasets, with errors falling into three types: distraction, disguised comprehension, and logical fallacy. Our findings offer new insights for evaluating robustness and generalization in LLMs and suggest potential directions for mitigating the reliance on shortcuts. The code is available at \url {https://github.com/yyhappier/ShortcutSuite.git}.

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

↑