TL;DR
While standard short-task benchmarks suggest that large language model (LLM) scaling is hitting a wall of diminishing returns, this paper demonstrates that marginal gains in single-step accuracy compound exponentially over long-horizon tasks. By isolating execution from planning, the authors uncover a critical "self-conditioning" failure mode where models mimic their own past errors, a flaw that scaling model size alone cannot fix, but sequential test-time compute ("thinking") completely mitigates.
What Problem Does This Paper Address?
As the AI industry shifts from building simple chatbots to autonomous agents capable of managing entire software projects or workflows, long-horizon execution has become the primary bottleneck. Currently, there is a fierce debate over whether continued scaling of LLMs yields diminishing returns.
The authors argue that this perceived slowdown is an artifact of our benchmarks. Standard benchmarks focus on short, single-turn tasks. However, for a complex, multi-step task, a model must execute a long sequence of steps correctly; a single mistake can cause the entire task to fail.
Furthermore, when LLMs fail at long tasks, researchers often blame a lack of "reasoning" or "planning" capabilities. This paper isolates execution—the ability to successfully carry out a pre-determined plan using provided knowledge—to understand why LLMs break down as tasks get longer.
Methods
To isolate execution from planning and parametric knowledge, the authors designed a clean, synthetic abstraction: Key-Value Dictionary Addition.
- The Setup: The model is given a fixed dictionary of five-letter words mapped to integers (e.g.,
Apple: -82, Grape: 56) in its context window. - The Task: In each turn, the model is given an explicit plan consisting of specific keys (e.g.,
Add Apple and Grape). It must retrieve the values, sum them, and maintain a running total across multiple turns.
The authors controlled two main axes: the number of turns and the turn complexity ($K$, the number of keys queried per turn).
To investigate why performance degrades over time, they conducted a counterfactual history experiment. They systematically injected artificial errors into the model's prior turn history at controlled rates (0% to 100% error rates). This allowed them to separate standard long-context degradation (forgetting due to context length) from self-conditioning (the tendency of an autoregressive model to output more errors because its context window contains errors).
To ensure their findings weren't limited to simple arithmetic, they also validated their results using an inherently sequential Matrix Multiplication task (Appendix B).
Datasets
- Synthetic Long-Horizon Execution Benchmark: A programmatically generated, contamination-free dataset of key-value pairs and multi-turn addition/matrix multiplication instructions.
- AgentErrorBench Trajectories: To verify if their synthetic findings apply to real-world scenarios, the authors manually analyzed annotated failed trajectories from popular agent benchmarks: GAIA, ALFWorld, and WebShop.
Key Insights and Ideas
- The Hyperbolic Growth of Horizon Length: Assuming a constant step accuracy $p$, the task length $H$ a model can complete successfully scales hyperbolically ($H \approx \frac{\ln(s)}{\ln(p)}$). This means moving from 98% to 99.9% accuracy on a single step results in an explosion of the maximum reliable task length. Diminishing returns at the single-step level mask massive exponential breakthroughs for long-horizon tasks.
- The Self-Conditioning Trap: LLMs are trained to predict the most likely next token given the context. If a model makes a mistake early on, that mistake becomes part of its context. The model then "self-conditions" on this error-prone history, dramatically increasing its likelihood of making subsequent errors.
- Scaling Model Size Exacerbates Self-Conditioning: While larger models handle long contexts better (showing near-perfect accuracy when history is artificially kept 100% correct), they are actually more susceptible to self-conditioning when errors creep in. Because larger models are better in-context learners, they rapidly adapt to the "error-prone personality" implied by a flawed history.
- "Thinking" is the Antidote: Models trained with reinforcement learning (RL) to generate internal thinking tokens (like DeepSeek-R1 or GPT-5 Horizon) completely eliminate the self-conditioning effect. Their turn-100 accuracy remains stable regardless of how many errors are present in the prior history.
Key Results
- Without Thinking, Models Fail Fast: Without Chain-of-Thought (CoT) or thinking tokens, even frontier models like DeepSeek-V3 (670B) and Kimi-K2 (1026B) fail to execute tasks requiring more than 6 sequential steps in a single turn.
- Real-World Impact: The authors estimate that self-conditioning accounts for roughly 20% of GAIA, 48% of ALFWorld, and 33% of WebShop failures, where agents get stuck in endless loops repeating similar failed actions.
- Frontier Thinking Model Benchmark: When evaluating how many steps a model can reliably execute ($\ge 80\%$ accuracy) in a single turn using test-time compute, the authors found a massive gap between frontier models:
- Gemini 2.5 Pro: 120 steps
- Grok 4: 384 steps
- Claude-4 Sonnet: 432 steps
- GPT-5 ("Horizon"): 2,176 steps—outperforming the next best competitor by a factor of five.
Limitations and Future Work
- Synthetic Constraints: The primary task is highly structured and clean. Real-world agent execution involves complex tool environments, branching logic, and open-ended action spaces where a single "correct" plan doesn't exist.
- Parallelizability: Simple list addition is theoretically parallelizable within a transformer's attention layers (TC0 complexity class). While the authors introduced a matrix multiplication task to enforce sequentiality (TC1 complexity class), future benchmarks should focus on inherently non-parallelizable, causal execution chains.
- Lack of Environment Feedback: The current setup does not evaluate an agent's ability to self-correct based on external environmental feedback, which is a promising parallel avenue for mitigating execution failures.
Summary updated