WMIP:一种受工作记忆启发的可编程探针,用于大语言模型中的累积状态跟踪

·

研究论文 · 2026/11/12

人类工作记忆能维持和更新信息。大型语言模型(LLM)在单次提示中跟踪更新而不写出中间状态时面临类似需求,但现有测试对写出步骤的约束不同。我们提出一种受工作记忆启发的累积状态跟踪探针,答案由程序计算,更新次数为3至100次,查询类型包括最终状态、中间状态或多目标。该探针在相同项目上比较不同协议。在18个LLM上,单步算术准确率为84.9%,但需要3至7次更新后给出一个数字的核心项目准确率仅为31.7%。从50次更新起,没有模型超过10%的准确率。在更大预算并指示写出步骤且将答案放在最后一行的条件下,核心准确率达到88.0%,这主要归因于指令变化而非预算。核心准确率还与公开的Berkeley函数调用排行榜分数正相关。这些发现表明,强单步算术能力并不能保证可靠的累积跟踪,且输出协议会显著改变测得的准确率。我们发布了生成器、项目、评分代码和响应,以便在深度、查询类型和协议之间进行可重复比较。

该研究揭示了LLM在累积状态跟踪上的显著不足,即使单步算术能力强,多步更新后准确率急剧下降,且输出协议对测量结果影响巨大,对评估LLM的推理和状态跟踪能力有重要启示。

Human working memory lets people maintain and update information. Large language models (LLMs) face a related demand when tracking updates within a single prompt without writing out intermediate states, yet existing tests differ in their constraints on written steps. We introduce a working-memory-inspired probe of cumulative state tracking with program-computed answers, 3 to 100 updates, and final-state, intermediate-state, or multi-target queries. It compares protocols on identical items. Across 18 LLMs, accuracy is 84.9% on single-step arithmetic but 31.7% on core items requiring one number after three to seven updates. From 50 updates on, no model exceeds 10% accuracy. Core accuracy reaches 88.0% under a larger budget and instructions to write steps and place the answer on the last line, mainly due to the instruction changes rather than the budget. Core accuracy also correlates positively with public Berkeley Function Calling Leaderboard scores. These findings show that strong single-step arithmetic does not ensure reliable cumulative tracking and that output protocols substantially change measured accuracy. We release the generator, items, scoring code, and responses for reproducible comparisons across depths, query types, and protocols.

阅读原文

参与讨论