Rust in Everything
← Papers

WMIP: A Working-Memory-Inspired Programmable Probe of Cumulative State Tracking in Large Language Models

Dengzhe Hou, Lingyu Jiang, Deng Li, Zirui Li, Fangzhou Lin, Kazunori D Yamada

2026-11-12▲ 3arXiv 2603.27343v3Hugging FaceCode

AI-generated from the full paper (deepseek-flash). It may contain mistakes; check the original.

TL;DR

WMIP probes cumulative state tracking in LLMs with program-computed items and same-item protocol comparisons, finding 31.7% core accuracy versus 84.9% single-step arithmetic across 18 models and large protocol effects.

Problem

LLMs must track cumulative updates in a prompt without writing intermediate states, a demand related to human working memory. Existing state-tracking tests differ in how much they constrain written steps, so they may not all pose this demand. The paper introduces a controlled probe that varies updates, query types, and response protocols on identical items.

Method

The generator initializes three named entities with integers from 5 to 20 and applies K ordered gains, losses, or transfers; a short program computes answers and counts updates to the queried entity. Items support final-state, intermediate-state, and multi-target queries, with redraw rules excluding degenerate cases. The core protocol keeps the full sequence visible, tells the model it cannot refer back to the initial state, allows 16 output tokens, and scores exactly one integer. Comparison protocols use the same core items: an instruction variant, a 512-token large budget, and a written-steps protocol with last-integer scoring. The study evaluates 18 LLMs on 1,080 requests per model and relates core scores to public BFCL scores.

Results

  • Core accuracy was lower than single-step arithmetic accuracy for every model, 31.7% versus 84.9% pooled. §4
  • Accuracy fell from 44.4% at K=3 to 0.8% at K=100, and from K=50 onward no model exceeded 2/20 correct. §4.1
  • On 60 shared core items, the larger budget added 195 correct responses under last-integer scoring, and the combined instruction added 400 more, reaching 950/1,080 or 88.0%. §4.4
  • Mean third-update accuracy was 23.3 points below first-update accuracy, and readout exceeded tracking by 9.2 to 28.3 percentage points across M=1, 2, and 4. §4.2
  • Across all 18 models, core accuracy was positively associated with all three BFCL criteria with Kendall tau_b from 0.417 to 0.449. §4.6

Limitations

  • The visible sequence and final answers cannot distinguish state maintenance from recomputation or establish equivalence to human working-memory tasks.
  • Scores depend on instructions, formatting, and output limits; one-integer responses do not rule out written steps or hidden computation.
  • Protocol changes are bundled, while depth and control comparisons also vary task content.
  • The 18-model convenience panel limits generalization; model-bootstrap intervals omit item-sampling uncertainty and provider dependence and are not adjusted for multiplicity, and BFCL is the sole external criterion from a historical snapshot.

Key points

  • The generator initializes three named entities with integers from 5 to 20 and draws gains from 1 to 10, losses from 1 to 5, and transfers from 1 to 3. §3.1
  • The core prompt says the initial state cannot be consulted again, keeps the full sequence in context, and allows 16 output tokens with an instruction to respond with only the final number. §3.1
  • Each model receives 1,080 requests, including 840 main-bank requests and 60 core items at K=3,5,7 across four generation seeds. §3.2
  • Scoring uses a one-integer rule for core and most blocks, written steps uses last-integer scoring, and multi-target responses must give exactly M integers in the requested order. §3.3
  • All 18 models answered all 840 main-bank requests; ten ran locally and eight through APIs. §3.4
  • Core accuracy was 52.4%, 32.2%, 21.5%, and 18.2% with one, two, three, and four or more updates to the queried entity. §4.1
  • Assignment accuracy was 90.0% under Parser 1 versus 54.1% for sets and counts; sets and counts ranged from 34.1% for meeting counts to 64.6% for inventory. §4.3
  • Across four core-item generation seeds, six pairwise correlations averaged 0.821; five wordings' ten pairwise ranking correlations averaged 0.674. §4.5

Mind map

WMIP probe
Problem
Cumulative state tracking without written steps
Existing tests constrain written steps differently
Method
Generator
Three entities and K updates
Final intermediate and multi-target queries
Protocols
Core 16 tokens one integer
Written steps 512 tokens last integer
Large budget and instruction variant
Evaluation
18 LLMs and 1080 requests
BFCL association
Results
Core 31.7 vs arithmetic 84.9
Accuracy falls with depth
Protocol raises core to 88.0
Intermediate and readout gaps
Positive BFCL associations
Limitations
Visible sequence cannot show maintenance
Scores depend on protocol
Convenience panel and interval limits
Released artifacts
Generator items scoring code and responses