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

DeduCE:演绎一致性作为评估大语言模型推理的框架

DeduCE: Deductive Consistency as a Framework to Evaluate LLM Reasoning

Microsoft Research India(微软研究院印度分部)

Atharva Pandey, Kshitij Dubey, Rahul Sharma, Amit Sharma

AI总结:

本文提出演绎一致性框架DeduCE,通过分离输入前提理解与多跳推理两个子任务,在扰动后的新颖基准上评估大语言模型推理错误,发现多跳推理是主要错误来源。

摘要:

尽管前沿大语言模型在奥林匹克级别的推理问题上表现出色,但当面对标准基准之外的新颖问题时,它们在高中数学上仍可能遇到困难。超越最终准确率,我们提出了一种演绎一致性度量,用于分析语言模型(LMs)的思维链输出。形式上,演绎推理涉及两个子任务:理解一组输入前提,以及推断由这些前提得出的结论。所提出的度量研究语言模型在这些子任务上的表现,目标是解释语言模型在新颖问题上的推理错误:随着上下文长度的增加,语言模型对输入前提的理解程度如何,以及它们在多个推理跳数上推断结论的能力如何?由于现有基准可能被记忆,我们开发了一个流程,用于在基准问题的新颖扰动版本上评估语言模型的演绎一致性。在新颖的小学数学问题(GSM-8k)上,我们发现语言模型对输入前提数量的增加相当稳健,但随着推理跳数的增加,准确率显著下降。有趣的是,这些错误在原始基准中被掩盖了,因为所有模型都达到了接近100%的准确率。当我们使用合成数据集增加解题步骤数量时,与理解输入前提相比,多跳预测仍然是错误的主要来源。其他因素,如语言风格的变化或早期错误的自然传播,并不能解释这些趋势。我们的分析为刻画语言模型推理提供了一种新视角——将其视为对输入前提窗口和推理跳数的计算——这可以在不同问题领域提供统一的评估。

英文摘要:

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.

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

↑