TL;DR
Long-horizon LLM agents don't just degrade gracefully when tasks become complex; they experience a sudden, catastrophic "world-model collapse" akin to a physical phase transition. By evaluating agents on controlled stress grids, this paper reveals that an agent's internal representation of the world fails before its planned actions do, meaning it continues to reason fluently but over a completely corrupted internal state.
What Problem Does This Paper Address?
When complex LLM agents fail on long-horizon tasks, the standard narrative is "smooth drift"—the gradual accumulation of local errors over time. Under this assumption, giving an agent more search steps, self-correction prompts, or a larger context window should fix the issue.
However, the authors suspect a deeper, structural failure mode: world-model collapse. They investigate whether an agent's implicit internal tracking of the world state undergoes an abrupt phase transition from perfectly accurate to completely broken when structural limits (like the number of objects or dependencies) are crossed.
Methods
To isolate this phenomenon, the authors designed a controlled agent architecture using a three-call loop per step:
- Planner: Proposes the next action and its expected state changes.
- Updater: Rewrites the explicit working memory based on environment observations.
- Self-Diagnosis: Performs a non-blocking consistency check on action validity.
They systematically varied two primary control parameters:
- State Cardinality (SC): The number of entities, rooms, or items that must remain jointly addressable in memory.
- Dependency Density (DD): The number of preconditions binding each subgoal to the current state.
They also tested secondary factors like horizon length ($T$), branching factor, observation noise, and mutation rate to rule them out as primary drivers of collapse.
Datasets
The authors built three deterministic simulators with exact per-step gold states to serve as diagnostic environments:
- GraphNav: Room-and-door navigation with keys and switches.
- ToolDAG: Typed tool-call planning with a growing variable namespace.
- StatefulPuzzle (Selected for the main study): Moving objects across rooms, containers, and slots via ordered subgoal chains.
Unlike naturalistic benchmarks (e.g., WebArena, SWE-Bench) which confound multiple difficulty factors, these environments allow for exact, per-step tracking of the agent's internal state accuracy versus the true environment state.
Key Insights and Ideas
- The Phase Diagram Geometry: Instead of a smooth sigmoid curve of declining success, agent performance maps to a distinct phase diagram: a perfectly solved plateau, a narrow critical transition band, and a flat collapse floor where success drops to zero.
- Cognitive Precedence (State Fails First): Per-step traces revealed a clear causal sequence: the agent's internal world model loses fidelity before it attempts an invalid action. The agent isn't just picking bad moves; it is reasoning perfectly logically about a completely wrong internal world.
- Capability Translates, Doesn't Erase: Upgrading to a more powerful model (e.g., from Claude Haiku to GPT-4o) shifts the critical boundary outward (allowing the agent to handle higher state loads), but the sharp, binary cliff remains.
Key Results
- In
StatefulPuzzleusing Claude Haiku, performance remains at 100% success for low state cardinality ($SC=5$). - At $SC=10$, increasing dependency density ($DD$) from 1 to 6 drops the success rate sharply from 100% to 20%.
- Once $SC \ge 20$, the success rate drops to a flat 0% across all dependency densities, representing total collapse.
- Fine-grained scanning localized the critical point precisely at $SC^* \approx 13.5$ for the baseline model.
- Secondary factors like horizon length ($T$) acted as enablers (insufficient steps cause failure), but did not define the sharp phase boundary itself.
Limitations and Future Work
- Controlled Setting Constraint: The findings are strictly demonstrated within the synthetic
StatefulPuzzleenvironment and a specific three-call agent harness. It remains to be seen how cleanly this maps to messy, naturalistic benchmarks. - Binary Order Parameter: The study simplifies agent state into a binary success/failure outcome. The authors note that real agent behavior might include richer intermediate phases (e.g., recoverable state corruption or persistent but compensated errors).
- Future Directions: The authors suggest developing multi-dimensional order parameters to map out more complex agent phases and designing memory scaffolding specifically aimed at delaying world-state collapse ($\tau_W$).
Summary updated