Free Depth at Test Time: Training-Free Looped Transformers on Frozen Checkpoints

Primary pillar: llm-ops-hitl

Most of an LLM deployment's capacity is decided before you deploy: model size, quantization level, whether the checkpoint has mixture-of-experts (MoE) layers at all. A May 2026 paper (arXiv:2605.23872) adds a lever you can pull at inference time instead: run a block of the model's mid-stack layers more than once. No fine-tuning, no architecture change, no new parameters — and the interesting part for ops teams is *why it only works if you damp the loop*.

The idea: rent depth, don't buy it

A looped transformer reuses one block of layers, executing it K times instead of once — extra effective depth without extra weights. All prior work baked the loop into the architecture and trained end-to-end with it. This paper asks the narrower, more ops-shaped question: can an outside wrapper loop a frozen, off-the-shelf checkpoint at test time?

The wrapper is small: pick a contiguous window of mid-stack layers, run the window K passes, hand the result to the rest of the network as if nothing happened. The bill is exactly (window size) x (K - 1) extra forward passes through those layers.

Why naive looping falls apart

Re-running a pretrained block as-is usually *hurts*. On a tiny deliberately-undersized network the paper uses to make the geometry visible, a naive K=2 loop pushes test-set MSE up to 2.88 against the baseline, and naive K=4 loops collapse outright on full-scale configs. Wide loop windows blow up too.

The fix comes from reading a pre-norm transformer block — the standard building unit, where the block's output is added back to its input — as one forward-Euler step on a differential equation: one big update added to the running state. A naive loop applies that full-size step K times and drifts off the distribution the checkpoint was trained on. Damping shrinks each sub-step to a fraction of the original (alpha = 1/K), so K small steps replace one trained-size step and the output stays in the valley training carved out. The damped configuration gains where the naive loop loses — +0.51 pp on a 0.6B model versus a 10-point collapse for the undamped path.

Better math is not better here: higher-order ODE solvers (RK4, Heun) and accelerated variants all degrade, because the checkpoint was calibrated for exactly one step. Faithful *refinement* of the same approximation is what wins.

What it actually buys

Across seven model families — dense, sparse MoE, and MLA (multi-head latent attention) variants — 45 model-by-benchmark cells gave 27 gains, 12 neutral, and 87% positive-or-neutral under the paper's own threshold. Representative numbers:

  • Qwen3-4B-Instruct: +2.64 pp on MMLU-Pro
  • Qwen3-30B-A3B-Instruct (MoE): +1.14 pp on CommonsenseQA
  • Moonlight-16B-A3B-Instruct (MoE): +1.20 pp on OpenBookQA

Sub-pp claims, validated on held-out splits — the paper overfits a position search against the aggregate and says so. That reporting discipline is the review gate working, not a footnote.

The cost line

Looping is not free even when training is. The measured wall-clock on Qwen3-4B-Instruct (K=3, four-layer window):

decode modewhat it meanscost vs baseline
prefill-only (bypass)loop while reading the prompt, skip during generationwithin noise (~free)
first-N tokensloop the first N generated tokens-1.0% at N=16, +4.6% at N=64
fullloop every generated token+21.6%

Prefill — the phase where the model reads your prompt — hides the loop almost entirely. Full-decode looping costs about a fifth more wall-clock. That is a latency-budget decision, not a research question.

What ops teams should take from it

  1. Accuracy becomes a deploy-time knob. Loop window and K join quantization and context budget as config, applicable to frozen checkpoints you already run.
  2. Match the math to what was trained. Damped refinement beat better solvers because it respected the checkpoint's single-step calibration.
  3. Price the loop per phase. Prefill-only is effectively free; full-decode is a fifth more time. Decide per route, per latency SLO.
  4. Trust held-out validation only. Every number above is a sub-pp claim until a validation split agrees.

MeltingFace is an LLM Ops research consultancy; Presence is the HITL living lab — not a chatbot vendor. The sibling lever — spending thinking tokens instead of layers — is covered in /blog/test-time-compute-scaling, and how we run both under human review lives at /use-cases/.

MeltingFace