用推理一致性评估大模型数学思维,发现多步推导是主要错误来源。
DeduCE: Deductive Consistency as a Framework to Evaluate LLM Reasoning
- 通过分析模型对前提理解和多步推导能力,提出推理一致性新指标。
- 在新问题上,模型在多步推理时准确率显著下降,但理解前提较稳定。
- 适合关注模型推理机制、评测其真实思维能力的研究者。
尽管在奥赛级推理题上表现优异,前沿大语言模型在面对新题型的高中数学题时仍表现不佳。本文提出一种推理一致性度量方法,用于分析语言模型链式思考输出。该方法将推理分为理解输入前提和从中推导结论两个子任务,旨在解释模型在新问题上的错误:随着上下文长度增加,模型理解前提的能力如何?在多步推理中推导结论的能力又如何?由于现有基准可能被记忆,我们构建了生成管道,在基准题目的扰动版本上评估模型的推理一致性。在新构造的小学数学题(GSM-8k)上,模型对前提的理解较为稳健,但随着推理步骤数增加,准确率急剧下降。有趣的是,原基准测试中所有模型均接近100%准确,掩盖了这些错误。使用合成数据增加解题步骤后,多步推理仍是主要错误来源,而非语言风格变化或早期错误传播。本分析揭示了一种统一的模型推理表征方式——基于输入前提窗口与推理跳数的计算过程。
原文摘要 · Abstract (English)
Despite great performance on Olympiad-level reasoning problems, frontier large language models can still struggle on high school math when presented with novel problems outside standard benchmarks. Going beyond final accuracy, we propose a deductive consistency metric to analyze chain-of-thought output from language models (LMs).Formally, deductive reasoning involves two subtasks: understanding a set of input premises and inferring the conclusions that follow from them. The proposed metric studies LMs' performance on these subtasks, with the goal of explaining LMs' reasoning errors on novel problems: how well do LMs understand input premises with increasing context lengths, and how well can they infer conclusions over multiple reasoning hops? Since existing benchmarks may be memorized, we develop a pipeline to evaluate LMs' deductive consistency on novel, perturbed versions of benchmark problems. On novel grade school math problems (GSM-8k), we find that LMs are fairly robust to increasing number of input premises, but suffer significant accuracy decay as the number of reasoning hops is increased. Interestingly, these errors are masked in the original benchmark as all models achieve near 100% accuracy. As we increase the number of solution steps using a synthetic dataset, prediction over multiple hops still remains the major source of error compared to understanding input premises. Other factors, such as shifts in language style or natural propagation of early errors do not explain the trends. Our analysis provides a new view to characterize LM reasoning -- as computations over a window of input premises and reasoning hops -- that can provide unified evaluation across problem domains.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。