arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.00817cs.CL
收藏

当LLM停止遵循步骤:语言模型中程序执行的诊断研究

When LLMs Stop Following Steps: A Diagnostic Study of Procedural Execution in Language Models

Indian Institute of Technology Gandhinagar(印度理工学院冈丁加尔)

Sailesh Panda, Pritam Kadasi, Abhishek Upperwal, Mayank Singh

AI总结:

本研究通过构建受控诊断基准,评估大型语言模型在程序执行任务中的忠实性,发现随着步骤增加准确率从63%降至20%,并揭示了缺失答案、过早答案、自我修正和执行不完整等失败模式。

摘要:

大型语言模型(LLM)在推理基准测试中通常表现强劲,但仅凭最终答案的准确性并不能表明它们是否忠实地执行了提示中指定的程序。我们引入了一个受控的诊断基准,用于程序执行,其中模型被给予一个逐步的算术程序以及两个数值输入,必须返回最终计算值。通过程序长度和中间变量的回溯依赖性来改变复杂性。平均首次答案准确率从5步程序的63%下降到95步程序的20%。生成级别分析表明,失败通常涉及缺失答案、过早答案、初始错误后的自我修正以及未完全执行的轨迹。这些发现表明,表面上的推理能力可能掩盖了在忠实的长程程序执行中的重大弱点。

英文摘要:

Large language models (LLMs) often achieve strong performance on reasoning benchmarks, but final-answer accuracy alone does not show whether they faithfully execute the procedure specified in a prompt. We introduce a controlled diagnostic benchmark for arithmetic procedural execution, where models are given a step-wise arithmetic procedure and two numeric inputs, and must return the final computed value. Complexity is varied through procedure length and look-back dependencies over intermediate variables. Average first-answer accuracy drops from 63% on 5-step procedures to 20\% on 95-step procedures. Generation-level analysis shows that failures often involve missing answers, premature answers, self-correction after an initial error and under-executed traces. These findings reveal a consistent decline in execution performance as arithmetic procedural complexity increases.

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

↑