arXiv:2410.13343cs.CLcs.LG2024-10EMNLP被引 31

测试大模型对数据捷径的依赖,发现越大越依赖,思维链可缓解。

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

  • 构建六类捷径测试集,评估大模型在五项指标下的表现。
  • 大模型在零样本和少样本下更依赖捷径,性能显著下降。
  • 思维链提示能有效减少捷径依赖,适合提升模型可靠性。

大型语言模型(LLMs)在自然语言处理任务中表现出色,但可能依赖数据集偏差作为预测捷径,严重影响其鲁棒性和泛化能力。本文提出Shortcut Suite,一个涵盖六类捷径、五项评估指标和四种提示策略的综合性测试套件。大量实验表明:1)不同下游任务中,大模型对捷径的依赖程度各异,严重损害性能;2)更大规模的模型在零样本和少样本上下文学习中更易使用捷径;3)思维链提示显著降低捷径依赖,优于其他提示策略,而少样本提示通常不如零样本提示;4)面对含捷径的数据集时,大模型常表现出过度自信;5)在含捷径的数据集中,模型解释质量较低,错误类型包括干扰、伪装理解与逻辑谬误。研究为评估大模型鲁棒性与泛化能力提供了新视角,并指明缓解捷径依赖的方向。代码已开源。

原文摘要 · Abstract (English)

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}.

大模型捷径学习鲁棒性思维链

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。