让大模型生成推理过程,能显著提升其自然语言理解能力。
Investigating the Impact of Rationales for LLMs on Natural Language Understanding
- 通过构建带推理过程的NLU数据集,系统测试了推理对理解任务的影响。
- 模型越大,带推理的推理方式越优于直接预测,性能超越纯标签训练。
- 用推理训练的模型在新任务上表现媲美十倍大的模型,且解释性更强。
链式思维(CoT)推理过程在数学、符号和常识推理任务中显著提升大模型表现。然而,现有研究多聚焦于推理任务,忽视其对自然语言理解(NLU)的潜在影响。本文提出问题:推理是否也能提升NLU?为此,我们构建了NLURC——一个包含高质量推理过程的综合性NLU数据集,并设计多种推理增强方法。实验发现:(1) 随着模型规模增大,带推理的推理方式从抑制性能转为超越直接标签预测,呈现正相关;(2) 多数推理增强训练方法表现劣于仅使用标签的训练,但一种特殊设计的方法始终带来提升;(3) 使用推理训练的模型在未见的NLU任务上取得显著进步,性能可媲美十倍大小的模型,同时具备与商业大模型相当的可解释性。
原文摘要 · Abstract (English)
Chain-of-thought (CoT) rationales, which provide step-by-step reasoning to derive final answers, benefit LLMs in both inference and training. Incorporating rationales, either by generating them before answering during inference, or by placing them before or after the original answers during training - significantly improves model performance on mathematical, symbolic and commonsense reasoning tasks. However, most work focuses on the role of rationales in these reasoning tasks, overlooking their potential impact on other important tasks like natural language understanding (NLU) tasks. In this work, we raise the question: Can rationales similarly benefit NLU tasks? To conduct a systematic exploration, we construct NLURC, a comprehensive and high-quality NLU dataset collection with rationales, and develop various rationale-augmented methods. Through exploring the applicability of these methods on NLU tasks using the dataset, we uncover several potentially surprising findings: (1) CoT inference shifts from hindering NLU performance to surpassing direct label prediction as model size grows, indicating a positive correlation. (2) Most rationale-augmented training methods perform worse than label-only training, with one specially designed method consistently achieving improvements. (3) LLMs trained with rationales achieve significant performance gains on unseen NLU tasks, rivaling models ten times their size, while delivering interpretability on par with commercial LLMs.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。