Thinking in Place: Anchored Recurrent Depth and the Convergence of Modeling
A frozen, pretrained transformer block can be re-used as an iterative operator at inference time. Each full-attention block is looped on its own output and anchored to its original input by a damped blend, with the number of iterations allocated across layers by a square-root law of depth. No training, no adapters, no extra weights. The paper reports the mechanism, per-layer convergence probes (the iterate settles within about three iterations), a depth schedule that matches a larger uniform budget at about half the loop compute, and the behaviour of mixture-of-experts routing under iteration (frozen or re-decided). On a 9B model, accuracy on nine reasoning items goes from 92/108 to 103/108 (paired, 13 answers won against 2 lost, p = 0.007); on public benchmarks the loop changes nothing where the model is saturated (GSM8K) and gains 6.3 points on a harder MATH-500 subset (p = 0.087). Limits are stated: the loop amplifies what the base configuration does, does not recover a capacity destroyed by quantization, and regresses when over-iterated. Measured on five checkpoints of one architecture (Qwen hybrid attention / state-space): Qwen 3.8 27B, Qwen 3.5 35B, Qwythos 9B, Ornith 9B and 35B. A reference implementation is provided as a llama.cpp patch, shared for non-commercial use: https://github.com/Cocofraise/Thinking-in-place
Authors
- Vincent Mathieu Malet (ORCID: https://orcid.org/0009-0003-9945-7296)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-11-24
- DOI
- https://doi.org/10.5281/zenodo.24507287
- Primary Topic
- Topic Modeling
- Type
- preprint