Paper Overview
Field: Machine Learning Authors: Dheeraj Mohandas Pai, Lu Xian Published: 2026-09-03 arXiv: 2509.00005
Abstract
Long-horizon tasks remain uncommon in large language model (LLM) evaluation, and for a reason: when each step depends on the last, per-step accuracy that looks excellent in isolation decays catastrophically, as errors cascade and the end-to-end failure probability grows sharply with length. Existing agentic benchmarks report end-to-end success but confound this state-tracking difficulty with instruction interpretation, give no control group that isolates it, and are vulnerable to shortcuts such as a hallucinated final answer, so they cannot say why a long run fails. Whether an LLM can carry exact intermediate state across many tool calls at all is itself not well established.
The authors test this cleanly by having the model compute a cryptographic hash, MD5, step by step: a sequence of 196 dependent tool calls over 64 rounds, carrying four 32-bit words (a, b, c, d) in the model's own context between each call. Interpretation is trivial because MD5 is implemented from scratch (RFC 1321); each call is aligned to a ground-truth trajectory and the digest is checked bit-by-bit, so any failure is pure bookkeeping.
Key Findings
- gpt-oss-120b, a Mixture-of-Experts model with only ~5.5 billion active parameters per token, carries full state across all 196 calls at temperature 0 with a short fixed prompt, returning correct digests in most completed runs.
- In the strongest setting, every raw tool is replaced by a second LLM — a driver and a worker compute the entire hash from scratch with no exact arithmetic oracle in the loop.
- Two factors determine success, neither involving weight changes: 1. Preserving the model's own reasoning in its context at every round. 2. Voting over a thinking-enabled worker to eliminate its modular-arithmetic slips.
- Residual failures are localized by source, separating state-carrying from arithmetic and from serving.