research digesten May 13, 2026 5 min read
The Fragility of Procedural Execution in Large Language Models
By kualia research desk
Current discourse around large language models often centers on their reasoning capabilities. Recent advances in test-time compute and reinforcement learning have produced models that generate extensive chains of thought before arriving at answers. Yet a fundamental question remains unanswered. Do these models faithfully execute the procedures we provide, or do they merely simulate reasoning through pattern matching and statistical shortcuts?
A recent diagnostic study by Panda et al. titled "When LLMs Stop Following Steps: A Diagnostic Study of Procedural Execution in Language Models" addresses this question directly. The research reveals a troubling gap between final answer accuracy and faithful procedural execution. Their findings suggest that even when models produce correct answers, they often fail to follow the specified algorithms step by step.
The Benchmark Design and Empirical Results
The researchers constructed a controlled benchmark to isolate procedural execution from other reasoning confounders. Each test instance provides a model with an explicit algorithm defined through a sequence of arithmetic operations. The algorithm initializes two variables, S1 and S2, with numeric inputs x and y, then defines subsequent variables through basic operations such as addition or multiplication. Since the ground-truth output is deterministic and easily verifiable, this setting allows for precise measurement of execution fidelity without ambiguity in task interpretation.
The benchmark manipulates complexity along two critical dimensions. First, algorithmic length varies from 5 steps to 95 steps. Second, look-back dependencies require the model to retrieve intermediate variables computed several steps earlier rather than merely operating on recent outputs. This design specifically tests whether models can maintain and access procedural state over extended contexts. Across 14 models spanning different scales and families, and across 55 dataset configurations totaling 55,000 examples, the results reveal systematic degradation in performance.
The empirical results are stark. Average first-answer accuracy plummets from 61 percent on 5-step procedures to just 20 percent on 95-step procedures. Perhaps more revealing, increasing look-back depth from 1 to 7 steps reduces average accuracy by 18.43 percentage points. These numbers indicate that length and state tracking pose distinct challenges beyond simple arithmetic complexity. While models might handle short, localized computations reliably, their ability to maintain procedural integrity collapses as algorithms extend and require non-local variable retrieval.
Decomposing Failure Modes
The paper's contribution extends beyond aggregate accuracy metrics through detailed generation-level analysis. The authors categorize failures into distinct patterns that reveal how models deviate from prescribed procedures.
Exact-step execution, where models follow the algorithm precisely without deviation, drops from 70.88 percent on short procedures to 46.84 percent on longer ones. Conversely, under-execution, where models terminate before completing all required steps, rises from 24.25 percent to 50.87 percent as procedure length increases. This suggests that models possess a tendency to truncate algorithms prematurely, perhaps due to training biases favoring shorter responses or attention mechanisms that decay over long sequences.
Other failure modes include premature answers, where models output results before processing all steps; self-correction loops that attempt to fix earlier errors but introduce new inconsistencies; and hallucinated extra steps that append unnecessary operations to otherwise correct sequences. These patterns indicate that models do not merely make isolated arithmetic errors. Instead, they lose track of the procedural structure itself, conflating the goal of producing a plausible number with the task of executing a specific algorithm.
Implications for Test-Time Reasoning
These findings carry significant implications for current trends in test-time reasoning and long chain-of-thought generation. Recent work has emphasized scaling inference-time computation to improve reasoning, with models trained through reinforcement learning to produce extended thought processes. However, the procedural execution failures documented by Panda et al. suggest that longer generation does not automatically imply faithful execution.
If models cannot reliably track intermediate variables across 95 steps of explicit arithmetic, their ability to manage complex multi-hop reasoning over implicit knowledge remains questionable. The look-back dependency results are particularly concerning for applications requiring non-local state retrieval, such as policy execution or structured workflow management. A model that hallucinates steps or truncates procedures could introduce subtle errors in financial calculations, medical dosing protocols, or automated system administration.
Your Take: The Simulation vs. Execution Gap
What strikes me most about this study is how it exposes the fundamental difference between simulating reasoning and executing algorithms. Current LLMs appear to operate as sophisticated pattern matchers that approximate the surface structure of reasoning without possessing robust mechanisms for state maintenance and procedural control.
The distinction matters because many real-world applications require algorithmic fidelity, not just plausible outputs. When a user provides a 50-step procedure for calculating tax liabilities or configuring network security rules, they expect literal execution, not an impressionistic interpretation. The paper's finding that models often under-execute or hallucinate extra steps suggests that transformer architectures may lack the necessary mechanisms for maintaining explicit program counters or variable registries across long contexts.
This connects to broader questions about the limits of in-context learning. The rapid decay in accuracy with increased look-back depth implies that attention mechanisms struggle to maintain pointers to specific intermediate states, instead relying on recency biases or semantic associations. For procedural tasks, this represents a fundamental architectural limitation rather than a training data deficiency. The model is not forgetting; it was never reliably tracking the state to begin with.
Limitations and Future Directions
The study focuses on arithmetic algorithms, which, while controlled and verifiable, may not fully generalize to natural language reasoning or code execution. Arithmetic operations have deterministic outputs, whereas many real-world procedures involve conditional logic or ambiguous state transitions. Additionally, the benchmark tests zero-shot execution without allowing models to verify intermediate steps or use external tools, which might mitigate some failure modes in practical deployments.
Future research should investigate whether tool use, such as calculator APIs or code interpreters, can compensate for these procedural weaknesses, or whether the underlying failure to follow instructions persists even when offloading computation. It also remains unclear whether these limitations are inherent to transformer architectures or whether targeted training on procedural execution could improve faithfulness. The development of specific training objectives that penalize under-execution and step hallucination, rather than just final-answer error, may prove necessary for reliable deployment in algorithmic tasks.
Conclusion
The work by Panda et al. serves as a necessary corrective to narratives emphasizing raw reasoning capability without examining procedural faithfulness. Their diagnostic benchmark demonstrates that current language models struggle to maintain execution integrity as algorithmic complexity increases, particularly when required to reference non-local states.
As we deploy these systems in high-stakes domains requiring exact procedure following, we must develop evaluation frameworks that measure not just final answer accuracy but step-by-step execution fidelity. The gap between appearing to reason and actually executing instructions represents one of the most critical challenges for reliable AI systems. Addressing this gap will likely require architectural innovations in state management, memory mechanisms, or explicit symbolic representations, rather than merely scaling existing approaches.
This digest was drafted by kualia's research assistant from a public paper and reviewed before publishing. It summarises the paper; it is not a substitute for reading it.