Zeyuan Allen-Zhu & Yuanzhi Li (2024). Physics of Language Models: Part 3.3, Knowledge Capacity Scaling Laws. arXiv:2404.05405
Boshi Wang, Xiang Yue, Yu Su (2024). Grokked Transformers are Implicit Reasoners: A Mechanistic Journey to the Edge of Generalization. arXiv:2405.15071
Guan Wang et al. (2025). Hierarchical Reasoning Model (HRM). arXiv:2506.21734
Ziyang Cai, Xingyu Zhu & Sanjeev Arora (2026). The Temporal Residual: Fast and Effective Retrofitting of Latent Feedback into Pretrained Language Models. X 原帖 (@jackcai1206) · 隐藏推理续帖
Benhao Huang, Xuezhe Ma & Hector Liu (2026). Feedback Shortcut: Speculative Decoding for Latent Feedback Transformers. X 原帖 (@huskydogewoof)
Benhao Huang (2026). Weight-Tied Iterative Models: Promise, Hype, and the Missing Evidence in 2026. huskydoge.github.io
The primary motivation cited for weight-tied Transformers is parameter efficiency: storing one-third of the layer weights and applying them three times promises comparable effective depth at a fraction of the checkpoint footprint. Evaluated purely on static model size, parameter tying appears highly advantageous. Once training FLOPs, non-embedding parameter count, inference KV Cache footprint, and single-request latency are held fixed simultaneously, however, the picture becomes substantially more nuanced—a critical framing pressed by Benhao Huang in Weight-Tied Iterative Models: Promise, Hype, and the Missing Evidence in 2026 (2026).
Much of the disagreement across recent empirical papers stems from conflating fundamentally different loop topologies under a single name and running scaling comparisons where at least one resource axis remains unmatched. Disentangling those designs and anchoring the comparison in controlled function spaces is a prerequisite for reading the scaling evidence accurately.
1. Two Loop Regimes, Reasoning vs. Memorization, and Latent Optimization#
Before examining individual benchmarks, it helps to state the exact mathematical relationship at equal per-token FLOPs. Compare a 2B × 4-pass($K = 4$) looped Transformer against an untied 8B × 1-pass dense Transformer: both execute the exact same FLOPs per token, yet the looped model's hypothesis space is a strict subset of the untied model's hypothesis space obtained by imposing $W_1 = W_2 = W_3 = W_4$:
Because the untied 8B network can always realize any 2B × 4 function by setting its four blocks equal, in the infinite-data, perfect-optimization limit an untied equal-FLOP baseline achieves at least as low loss. Weight tying can therefore only win at iso-FLOPs for two reasons: hard memory/parameter caps (when 8B weights do not fit on device) or superior inductive bias / sample efficiency under finite data and optimization. Along those two objectives, Huginn, Ouro, Inkling 2 Mini, SMELT, and Coconut separate into two distinct regimes:
Stepless extrapolation: Huginn (Geiping et al., 2025) builds a thin, stepless recurrent core (such as four physical layers) intended to scale compute at inference by looping dozens of extra passes on difficult prompts.
Fixed middle-stack folding (Prelude + Core × K + Coda): Inkling 2 Mini, SMELT, and GLM-5.4 avoid unbounded extrapolation; instead, they keep untied outer layers to interface smoothly with token embeddings and output logits while retaining compatibility with mid-training checkpoint folding. In Thinking Machines Lab's open-weight Inkling 2 Mini (2026; 26.4B total parameters, ~20 GB in NVFP4 with MXFP8 on the last 4 layers so it runs on a 32GB unified-memory laptop), a middle 12-layer block inside 6 + 12 + 6 = 24 physical layers executes for $K = 3$ passes to reach 6 + 12×3 + 6 = 48 effective layers.
Weighted active parameter accounting: Tracking compute accurately requires separating per-pass from cumulative active parameters: a single 24-layer pass activates 3.4B parameters, and each extra pass over the 12-layer core adds 1.0B active parameters, giving 3.4B + 2 × 1.0B = 5.4B total weighted active parameters across $K = 3$ passes. Keeping outer layers untied caps parameter compression near $2\times$, and increasing pass count adds compute in coarse 12-layer steps.
Minimal per-step untying (~0.0041% per extra pass): Practical shallow loops ($K = 2\text{–}4$) almost never enforce strict weight identity across iterations. Instead, systems tie the massive Attention and FFN linear matrices—accounting for over $99.9\%$ of parameters—while giving each pass $t$ dedicated RMSNorm scaling vectors $\gamma^{(t)}$ and residual gating scalars $\alpha^{(t)}$ per layer (one RMSNorm per sublayer—Attention and FFN—plus 2 residual scalars). At width $d = 4096$ (~200M parameters per full layer), allocating $2 \times 4096 + 2 = \mathbf{8{,}194}$ extra scalars per layer adds merely ~0.0041% per extra pass to parameter count. That negligible footprint improves fixed-$K$ convergence noticeably by letting each pass rescale activation distributions independently.
Intuition
Intuition & Worked Verification (4D Equalizer Analogy and Out-of-Horizon Miscalibration): Think of a 4-dimensional hidden vector as a four-band audio signal. The shared Attention and FFN matrices act as fixed operators, while pass-specific RMSNorm vectors act like a lightweight 4-band equalizer—for instance, $\gamma^{(1)} = [1.2, 0.8, 1.0, 1.1]$ on pass 1 shifting to $\gamma^{(2)} = [0.9, 1.3, 1.1, 0.8]$ on pass 2. While essentially free in memory, this ties activation calibration to the training horizon $K_{\text{train}}$. Pushing a $K_{\text{train}}=3$ model to $t = 4$ at test time forces an already terminal-normalized hidden state back through terminal-calibrated norm scales $\gamma^{(3)}$ (or uncalibrated weights), causing distribution mismatch and representation drift.
Conflating test-time compute scaling with iso-FLOP architectural efficiency produces contradictory readings unless benchmarks separate Setting 1 from Setting 2:
Evaluation Setting
Held Fixed
Varied Axis
What It Actually Measures & Confounding Risk
Setting 1 (Fixed Physical Params)
Physical parameters $P$ (e.g., Ouro / Huginn)
Unroll passes $K$
FLOPs and KV grow linearly with $K$; mixes test-time compute scaling with weight tying
Setting 2 (Triple-Matched)
Active FLOPs, unique non-embedding params, KV Cache
Trade depth tying for width or MoE experts (e.g., SMELT)
Isolates pure topological and capacity-reallocation value at equal compute
Across both regimes, controlled experiments converge on a sharp capability split: weight-tied looping strengthens knowledge manipulation and multi-step reasoning over context, rather than expanding static parametric memorization. Zeyuan Allen-Zhu and Yuanzhi Li (Physics of Language Models: Part 3.3, arXiv:2404.05405) established an empirical knowledge capacity ceiling of ~2 bits per parameter (~2 bits/param) determined by unique parameter count, which recurrence cannot bypass.
In Thinking Machines Lab's companion variable-loop evaluation on TML-d24-varloop-research (a 24-layer MoE research model evaluated across $K = 1 \to 3$ loop passes alongside Inkling 2 Mini and later probed mechanically in Goodfire's 2026 interpretability study), that capability split is stark:
Multi-hop traversal and agentic search climb sharply: GraphWalks (BFS) jumps from 5.7 → 52.1, BrowseComp climbs from 29.4 → 65.7 (with Inkling 2 Mini reaching 79.0% using context compaction), and HLE rises from 10.5 → 24.9.
Explicit CoT length contracts on hard science QA: On GPQA Diamond, average explicit reasoning tokens fall from 3,703 (1 pass) to 1,731 (3 passes) as intermediate deduction shifts inside the recurrent core.
Closed-book factual recall barely moves: Over the same loop-pass sweep, SimpleQA Verified hovers at 6.3 → 7.3, confirming that additional passes cannot manufacture stored parametric facts beyond the unique-weight ceiling.
Figure 1: TML-d24-varloop (K=1→3) reasoning jumps versus flat closed-book recall, and Fixed-P vs. Triple-Matched eval designs.
Caveat
Caveat (Matched Loss ≠ Shorter CoT): In Inkling 2 Mini evaluations, an untied baseline took 7.5% less training compute yet required +140% more inference compute to match validation loss on 512k agent trajectories. However, matching trajectory validation loss at lower inference FLOPs does not automatically guarantee shorter explicit CoT at equal end-task pass rate—evaluations must report both accuracy and total generated tokens.
Beyond architectural topology, recurrent depth faces an intrinsic credit-assignment bottleneck: intermediate passes receive no direct token-level supervision. Evaluating cross-entropy strictly at the final iteration $H^{(K)}$ leaves early passes under-constrained. Enforcing per-step readout losses (as in PonderNet, examined in Why Adaptive Halting Is Hard to Train: From ACT to PonderNet) yields anytime halting capability at the cost of repeated lm_head projections during training.
⤢ Zoom
Figure 2: LoopLM (Ouro) training objective with per-step losses and entropy regularization (left) versus CDF-threshold early-exit inference via the Exit Gate (right) (arXiv:2510.25741). (Source: Zhu et al., 2025, Fig. 3)
Walking through the left and right panels of Figure 1 clarifies how Ouro decouples training supervision from test-time halting: during Training (left), every pass $t = 1 \dots T_{\max}$ emits both an Exit Gate probability $p_t$ and a vocabulary Head loss $\mathcal{L}^{(t)}$, optimizing expected loss minus an entropy regularizer $\beta H(p_\phi)$; during Inference (right), the Exit Gate accumulates $\mathrm{CDF}_n = \sum_{t=1}^n p_t$ and triggers early exit once $\mathrm{CDF}_n > \text{threshold}$, skipping the faded virtual passes $t = n+1 \dots T_{\max}$.
In reinforcement learning (RL), this credit bottleneck worsens for pure continuous latent trajectories. Whereas discrete CoT samples explicit tokens from a vocabulary simplex, exploring in a continuous $d = 4096$ latent state amounts to 4096-D Gaussian wandering—perturbing a high-dimensional continuous vector without discrete commitment starves outcome-only RL (such as GRPO) of early-step signal. Two families tackle this: self-distillation/interleaving (Coconut, Hao et al., 2024; CODI, Shen et al., 2025) and trajectory-level per-pass policy gradients (RLTT, Williams et al., 2026, raising Ouro-2.6B-Thinking MATH-500 by +14.4% and AIME24 by +16.6% over GRPO).
⤢ Zoom
Figure 3: Discrete token Chain-of-Thought (left) versus Coconut continuous latent thought feeding last hidden states directly back as input embeddings between bot and eot boundary tokens (right) (arXiv:2412.06769). (Source: Hao et al., 2024, Fig. 1)
Figure 2 contrasts the two loops side by side: standard CoT (left) projects each hidden state to a sampled discrete token $x_i, x_{i+1}, \dots$ before re-embedding it, whereas Coconut (right) suppresses token sampling between <bot> and <eot> and routes the last hidden state straight back into the input embedding slot until <eot> emits [Answer]. More pragmatically, alternating short latent passes with explicit discrete tokens keeps RL exploration anchored without sacrificing compression.
To test weight-tying properly under Setting 2, SMELT (Wang et al., 2026) evaluated Mixtures of Experts up to 54B total parameters while locking all three budgets simultaneously. Note that the 16 × 6 = 24 × 4 ratio below illustrates routed-MoE-FFN capacity parity; in the full 54B SMELT scaling runs, the authors also tune hidden width $H$ and GQA head counts to match total non-embedding parameters (<1% delta) and KV Cache (<4% delta) alongside per-token FLOPs (<4% delta):
The short script below verifies SMELT's triple-matched layer/expert arithmetic, Inkling 2 Mini's weighted active parameters, and both dense maj@4 vs. serial 4-pass HBM reads and sparse MoE expert union factors:
With per-token FLOPs, unique parameter capacity, and KV Cache held equal, four concrete findings—and one clear structural dependency—emerged:
Middle-stack tying outperforms whole-stack tying: Restricting weight sharing to roughly the middle 50% of the network consistently beats tying from layer 1 to the output layer under fixed resource caps (for example, in SMELT's $S \approx 85\%$ span ablation, 50% middle-stack looping reaches 1.9257 validation loss / 27.57 Core average vs. 1.9322 / 25.31 for 100% whole-stack looping). Untied prelude and coda layers stabilize token embedding alignment and output distribution calibration.
Trading redundant layers for routed experts yields real compute gains and a taller/skinnier aspect ratio: Reinvesting layer savings into extra routed experts—while shifting toward a taller/skinnier aspect ratio (slightly narrower $H$ to lock FLOPs)—delivers 6.8% to 18.0% effective pretraining compute savings (14.7%–18.0% at $10^{21}$ FLOPs) relative to triple-matched untied MoE baselines. Moreover, downstream benchmarks exhibit an extra ~+1 pt bonus beyond what validation loss alone predicts, concentrated on structured code, math, and multi-shot in-context tasks.
Second-pass attention dilutes <BOS> sinks: Inspecting internal attention maps shows that the first core pass allocates substantial redundant attention mass to idle <BOS> sink tokens. Re-entering the same middle core on pass 2 redistributes that weight away from <BOS> onto informative evidentiary tokens earlier in the context. Across pass counts, $K = 2$ achieves the strongest efficiency gain, whereas $K \ge 3$ forces $H$ too narrow under locked FLOPs and degrades loss.
MoE-dependency limitation: Reinvesting depth savings into inactive routed experts relies entirely on MoE's decoupling of total parameters from active FLOPs. Dense models cannot add inactive capacity to offset narrower hidden dimensions $H$, so this iso-FLOP capacity-reallocation win does not transfer directly to dense Transformers.
⤢ Zoom
Figure 4: SMELT shared middle-layer MoE loop recipe (a), compute-optimal frontier showing 14.7% CE compute gain (b), and downstream accuracy radar (c) (arXiv:2609.01343). (Source: Wang et al., 2026, Fig. 1)
Each panel in Figure 3 highlights a distinct piece of the thesis: panel (a) shows the red Loop × 2 middle stack with red ⊗ 1/2 residual scaling factors after both Attention (GQA) and MoE FFN, plus 3 extra red routed experts added next to the blue baseline experts; panel (b) traces the compute-optimal frontier from $10^{19}$ to $10^{22}$ FLOPs (S ≈ 97% parameter sharing), zooming in at $10^{21}$ FLOPs to mark the horizontal CE Gain 14.7% savings; and panel (c) displays the 6-axis radar chart where Knowledge barely budges over the dashed baseline while MMLU, Reading, Symbolic, Language, and Commonsense expand—visibly mirroring the ~2 bits/param memorization bound vs. reasoning gain split.
Caveat
Caveat — Why Global Expert Pools (SUT) Collapse Compared to Layered SMELT: The Sparse Universal Transformer (SUT, Tan et al., 2023, arXiv:2310.07096) pioneered combining MoE with Stick-Breaking adaptive halting inside a Universal Transformer (29.4 BLEU vs. 29.6 on WMT'14 En-De with lower MACs, 49.23% vs. 36.37% on LRA ListOps), yet flattened all experts into a single global pool shared across every recurrent step—destabilizing expert specialization at LLM scale. Keeping distinct per-layer MoE pools inside a ~50% middle stack framed by untied Prelude/Coda layers avoids global-pool routing collapse.
3. Staged Training, Systems Overhead, and Deployment Boundaries#
3.1 Folding Topologies, GPU Batching, and Our 2027 Bet#
Moving from controlled scaling grids to production training and serving has converged on a pragmatic three-stage training split:
Pretrain fixed: Train either an untied base or a fixed shallow $K=2$ loop with activation checkpointing. Under SGD's simplicity bias, tying weights from random initialization forces every pass to share gradients early on, trapping the core in low-rank/simple basins before layers can differentiate specialized features; pretraining untied first lets depth differentiate cleanly.
CPT / Midtrain folding: Fold middle layers during continual pretraining or mid-training with progressive gating ramp-up. Two folding topologies must be distinguished: adjacent pair-wise folding (aabbcc) vs. block-level looping (abc...abc). For example, Z.ai's GLM-5.4 (2026, built from a ~750B GLM-5 base with 78 physical layers) keeps 26 opening layers and 24 closing layers untied while running a 28-layer middle block for $K = 2$ passes, expanding effective depth to $26 + 28 \times 2 + 24 = \mathbf{106}$ layers using per-token progressive gating, shared sparse KV with sliding windows, and reused sparse attention indices rather than paying full scratch-loop optimization penalties.
Post-training RL early-exit: Apply trajectory-level RL (such as RLTT) or entropy-regularized halting gates on top of the folded or native recurrent core to calibrate per-prompt compute budgets.
Following the systems-honesty lens of HuggingFace's The Smol Training Playbook, production deployment also faces three concrete infrastructure penalties alongside a decisive GPU batching trade-off:
Pipeline Parallelism (1F1B / DualPipe) incompatibility: Standard 1F1B and DeepSeek-V3's bidirectional DualPipe schedules assume an acyclic layer-to-stage partition where each stage owns distinct weights and frees micro-batch activations once passed downstream. Weight-tied middle loops (Core × K) force micro-batches to revisit the same physical core across non-adjacent effective depths, introducing cross-stage dependency cycles and pipeline bubbles unless the core weights are replicated across stages—which forfeits parameter savings. (Even at 1B–3B scales, the Smol Playbook already avoids TP/PP overhead in favor of pure DP whenever weights fit.)
Activation checkpointing recompute tax (+25%–33% wall-clock): Unrolling $K$ passes during training multiplies stored forward activations by $K$; recovering memory parity via activation checkpointing across loop iterations costs roughly +25%–33% extra wall-clock training time for backward recomputation.
50% more routed experts EP All-to-All cost: In SMELT's 24L × 4E → 16L × 6E trade, increasing routed experts per physical layer by 50% (4 → 6) splits each micro-batch across more experts per layer, increasing All-to-All dispatch/combine fragmentation and routing metadata overhead across Expert Parallelism ranks.
maj@4 parallel voting vs. serial $K=4$ HBM traffic: Evaluating 4 independent dense chains in parallel (maj@4) streams 20.0 GB once per decode step versus 50.0 GB across 4 serial core passes on a dense 20 GB checkpoint; on a sparse MoE, maj@4 still pays only one HBM sweep while raising the active expert union from 6.25% (B=1) to ~22.8%($E=128, k=8$), whereas serial looping re-streams shared dense layers and repeated active experts across 4 sequential barriers. Serial looping only pays off when sequential state refinement strictly outperforms majority voting.
Figure 5: Mid-training folding topologies (aabbcc vs. abc…abc) and sparse MoE vs. dense maj@4 decode bandwidth.
On the serving hardware side, why does Looped MoE fail on phones while thriving on 32GB workstations? Sparse MoE requires keeping all26.4B–54B inactive expert weights resident in DRAM to avoid millisecond Flash paging stalls; on an 8–12 GB phone, even a 2× weight-tied MoE checkpoint overflows DRAM and stalls on Flash I/O. Once unified memory reaches 32–64 GB (such as a 32GB laptop running ~20 GB NVFP4 Inkling 2 Mini), the entire Looped MoE fits in memory and trades that capacity fit for 48-layer reasoning depth:
Hardware Tier
Memory & Bandwidth Profile
Recommended Loop Recipe
Governing Constraint
Phone / Edge (DRAM + Flash)
8–12 GB RAM; Flash paging breaks latency
1B–3B quantized dense shallow loop
Avoid large MoE (inactive experts overflow DRAM)
Workstation / Unified Memory
32–64 GB RAM; single-request memory-bound
NVFP4 Looped MoE (e.g., Inkling 2 Mini)
~20 GB checkpoint fits in RAM for 48L reasoning
Cloud Cluster (H100 / H200 / B200)
80–192 GB HBM; $B=1$ bandwidth-bound
SMELT $K=2$ MoE + PLT / FlashLoop
Naive $B=1$ looping still reads $M_W$ over HBM
Use Case / Objective
Does Looping Help?
Mechanism & Empirical Evidence
Required Boundary Condition
Closed-book factual recall
No
Bounded by ~2 bits/param (TML-d24-varloop SimpleQA 6.3 → 7.3)
Core $>50\text{ MB}$ L2 still streams full $M_W$; loses to maj@4 batching
Requires PLT cross-step batching or SRAM-heavy chips
Long-context high-batch VRAM
Hurts by default
Naive loops write $K\times$ KV; some loops overthink
Needs Last-Loop KV / FlashLoop & effort caps
Two deployment caveats round out the picture: unconstrained test-time unrolling ("Marathon Thinking") can trigger latency-wasting overthinking relative to maj@n, and shifting reasoning into continuous latent steps weakens text CoT safety monitoring. Our falsifiable 2027 bet is clear: fixed shallow K=2 MoE folding (SMELT / GLM-5.4 style) will ship far more production tokens than r=32+ stepless unrolling, unless serving stacks overcome ragged batch stalls and 1× M_W re-reading without sacrificing verifiable CoT monitorability.
Zeyuan Allen-Zhu & Yuanzhi Li (2024). Physics of Language Models: Part 3.3, Knowledge Capacity Scaling Laws. arXiv:2404.05405
Boshi Wang, Xiang Yue, Yu Su (2024). Grokked Transformers are Implicit Reasoners: A Mechanistic Journey to the Edge of Generalization. arXiv:2405.15071
Guan Wang et al. (2025). Hierarchical Reasoning Model (HRM). arXiv:2506.21734
Ziyang Cai, Xingyu Zhu & Sanjeev Arora (2026). The Temporal Residual: Fast and Effective Retrofitting of Latent Feedback into Pretrained Language Models. X thread (@jackcai1206) · Latent filler experiments
Benhao Huang, Xuezhe Ma & Hector Liu (2026). Feedback Shortcut: Speculative Decoding for Latent Feedback Transformers. X thread (@huskydogewoof)
Benhao Huang (2026). Weight-Tied Iterative Models: Promise, Hype, and the Missing Evidence in 2026. huskydoge.github.io