Skip to content
LoopTitanGitHub

07Reference

Map from methods to mechanisms

  1. Loop the middle 6 layers twice, residual ×0.5

    residual ×0.5

    recipes/phase1/m3-adamw.json12 stored · 18 run

  2. Shared middle stack between its own prelude and coda

    every part shared

    recipes/methods/meta-adamw.json6 stored · 12 run

  3. Flattened core: twice the experts, attention per visit

    attention per visit

    recipes/methods/foil-adamw.json8 stored · 12 run

  4. One expert bank for 4 consecutive layers

    each layer repeats in placeattention per visitrouter per visit

    recipes/methods/expert-tying-adamw.json3 stored · 12 run

  5. Recurrent core: input re‑enters each visit, random start

    input re‑entersrandom start

    recipes/methods/huginn-adamw.json4 stored · 10 run

  6. Whole stack looped, router per visit, moving-average state

    router per visitmoving-average state

    recipes/methods/loom-adamw.json4 stored · 12 run

  7. Whole stack looped with a learned exit

    learned exit

    recipes/methods/ouro-adamw.json4 stored · 12 run

  8. Recurrent core with a decaying input re‑entry

    input re‑enters

    recipes/methods/sandwich-adamw.json5 stored · 12 run

  9. Whole stack in a cycle, low-rank delta per visit

    low-rank delta per visit

    recipes/methods/relaxed-adamw.json6 stored · 12 run

  10. Middle loop with a residual scale per visit

    residual per visit

    recipes/methods/latentloop-residual-adamw.json12 stored · 18 run

one layer, area = its expert parameterslooped layers×2visits per token

The release uses the nine paths in the table below and one variant of them. Paper names appear only in recipes and their source. The general core is named by its real state update. The source, preserved and adaptations of each path can be exported directly from recipes.py. The paths share public text, softmax top-k dropless MoE and AdamW (the default; Muon is optional, see Training). The exceptions are the two dense paths, sandwich_spec(dense=True) and relaxed_spec(dense=True): all their FFNs are dense SwiGLU, with no MoE and no aux. These replacements do not make a full training reproduction of the original papers. LoopedLM is the public name of the model class. RecursiveLM is a compatibility alias for the same class object. model.py defines the class as LoopedLM; the links in the table point to that file.

Counting rule. The release has nine published looped recipes, the first nine rows of the table. The last row, the residual split from the LatentLoop paper, is a variant of SMELT, the recipe that it modifies, and not a tenth recipe; scripts/lineage.py places it under phase1/m3. The frozen configurations count twelve. They are the nine recipes (recipes/phase1/m3 for SMELT, and meta, foil, expert-tying, huginn, loom, ouro, sandwich and relaxed under recipes/methods/), the three-visit and four-visit SMELT variants (methods/smelt-v3, methods/smelt-v4) and the residual-split variant (methods/latentloop-residual). Each has an AdamW file and a Muon file. methods/m0-loop is a control and is outside the count.

Method and frozen original source Real forward / objective Preserved and explicit adaptations Verifiable evidence
SMELT v3 §3/4, Appendix A/B smelt_spec → LoopedLM.forward / Cell.forward, objective The middle part runs twice, core residual 1/2; public data/initialization/optimizer stack; P2 E88 is a budget adaptation P1, V1 four-method qualification; P2 pair
Meta Looped MoE v1 C.1/C.2 meta_spec → LoopedLM.forward, terminal CE Independent prefix/suffix, shared middle, full BPTT; common routing/dispatch/AdamW, independent embedding/head V1 qualification, recipe regression tests
Foil v1 §2.1/2.2 foil_spec → Cell.forward (E,D,L)→(2E,D/2,2L), per-visit attention; common training stack V1 qualification, tests/reference
Tying v1 §3/Appendix B expert_tying_spec → layer-order LoopedLM.forward, expert LR in titan.py Consecutive layers share experts, other components are independent, expert LR /sqrt(g); the recipe defaults to AdamW (the paper uses Muon), and optimizer.name can change to Muon V1 qualification, tests/training
Huginn v2 §3/4.1 huginn_spec → initial_latent / sampled_depth, LoopedLM.forward Live anchor, random latent, per-microbatch depth, tail gradient; sparse pre-norm replaces the original dense layout; zero-init fixed-depth evaluation V2 qualification, tests/model; HF with no cache
LOOM v1 loom_spec → MemoryCell.forward, ema_update Two EMAs, write before read, per-visit router, re-injection; full BPTT selected path, no optimizer step between segments V2 and LOOM×attention qualification, tests/model; HF with no cache
Ouro v5 ouro_spec → expected_lm_loss, objective Stage I per-token expected CE minus entropy, joint training of gate/head/backbone; terminal CE evaluation; Stage II and early exit are not delivered V2 qualification, tests/hf
Looped Models Done Right, Part I §2.1/3.1/3.4.2/4.1/Appendix A sandwich_spec → InputAdapter, LoopedLM.forward prefix/core/suffix, diag_decay injection before each core visit, z_0 = e, full BPTT, terminal CE; the MoE path takes the input-initialized variant of the released code; dense=True is the dense path of §3.4.2 tests/model/test_sandwich_recipes.py; GPU runs with AdamW and Muon: run issue #232
Relaxed Recursive Transformers v3 §2.2/2.3/3.5/Appendix C relaxed_spec → LoRA / Cell.forward, terminal CE CYCLE-shared block, one LoRA per layer and visit (W'x + BAx, no alpha), zero initialization with B = 0, full BPTT; the MoE path relaxes only attention (routed experts get no LoRA); dense=True is the paper’s path with LoRA on all linear layers; training from random weights instead of uptraining tests/model/test_relaxed.py; GPU runs with AdamW and Muon: run issue #232
Variant of SMELT: LatentLoop v1 §2.1/3.1, Figure 2, Table 5 latentloop_residual_spec → Cell.forward (visit_residual_scales), terminal CE SMELT’s middle-half loop with every core owner shared; core residuals 0.25 at the first visit and 1 at the second, full BPTT; the fixed pair of §3.1, not the paper’s final pooled method (§3.2–3.4) tests/model/test_visit_residual_scales.py; GPU runs with AdamW and Muon: run issue #254

Numeric/gradient proofs, native training/resume proofs and HF proofs each have different limits; see the validation matrix and the reference baselines. P1/P2 compare only standard MoE and SMELT. C compares only the attention/router owners on a fixed expert pool. The engineering qualification of the first seven paths is not a quality conclusion about these seven. Sandwich, relaxed and the LatentLoop residual variant have no engineering qualification record; run issues #232 and #254 trained them on GPU, exported them to HF and evaluated them. Each P1/P2 pair of arms reached the same 20.486B-label endpoint and completed the full downstream evaluation. The four C arms reached a bounded common endpoint. Validation gives the mixed ARC direction, the C parameter increments and the single-seed limit. No final recipe is declared from the results. Public evidence cites its original source snapshot; there is no retraining for one common release commit.

Read the per-visit behaviour with moeloop.diagnostics (logit lens, residual updates, routing overlap, effective depth). The frozen protocol for comparison across methods is Looped MoE Bench; see Cost and comparison.

The 47 entries below include baselines, related paradigms and boundary cases. They record only the depth of the literature reading and the source-code review. They are not 47 implementations or training qualifications. The table above is the reference for the real run evidence of the nine release paths and the variant. The other entries do not join the supported set automatically.

Each work relates to several mechanism axes at once: state/layout, call order, component sharing, conditional selection, training objective/gradients and the inference cache. The table below is an entry point.

Method/work Core mechanism extracted Depth of evidence Detailed record
ACT Additive accumulated halting mass, remainder and weighted output Paper method Static review, loop track
Universal Transformer Shared depth transform, time signal, ACT variant Paper + official core code Static review, loop track
ALBERT Group-level and component-level parameter sharing Paper + official core code Static review, loop track
PonderNet Hazard exit distribution, expected loss, prior KL Paper method Static review, loop track
Huginn prefix/core/suffix, anchor injection, random initial state, tail gradient Paper + official core code Static review, loop track
Ouro / LoopLM Full loop, hazard objective, staged gate training Paper + official HF code; training source not confirmed Static review, loop track
HRM Two states H/L, separate banks, two clocks, carry Paper + official core code Static review, loop track
TRM Two states answer/latent, shared bank, gradient in the last cycle Paper + official core code Static review, loop track
LoopFormer t/dt conditional modulation, consistency of full and shortcut trajectories Paper + official core code Static review, loop track
T-LoopFormer Per-token depth budget, sparse trajectories, cache with holes Paper + official core code Static review, loop track
xLLM-Loop Part II Global depth prior, injection, TBPTT, terminal KV Paper + official core code Static review, loop track
RingFormer Shared base plus depth-specific low-rank projections Paper method; code not reviewed Static review, loop track
Latent Recurrent Transformer Token-time memory; a boundary case of depth recurrence Paper method Static review, loop track
Universal Transformers Need Memory Memory/register tokens, ACT Paper method; puzzle setting Static review, loop track
RecurTrace Window of past loop states at the same token position Paper method Static review, loop track
One Model to Loop Them All / ELR Gated delta update, budget modulation, route/cache reuse Paper method; code not reviewed Static review, loop track
Coconut New latent token positions, hidden-state feedback, KV carry Paper + official core code Static review, loop track
PonderLM Feedback of embeddings weighted by vocabulary probabilities Paper method Static review, loop track
PonderLM-2 Interleaved latent slots and Jacobi refinement Paper method Static review, loop track
Foil Fewer physical layers, larger expert bank, more visits, separate attention Paper + official core code Static review, moe track
LOOM Per-loop router, residual/injection, optimization between segments Paper + official core code Static review, moe track
Tying the Loop Adjacent logical layers share expert parameters; other components are separate Paper + official core code Static review, moe track
SMELT Middle loop and a width/expert/GQA/residual recipe Paper method; code not reviewed Static review, moe track
LoopMoE Normalization conditioned on iteration and state, and a capacity recipe Paper method; official code not located Static review, moe track
LatentLoop Asymmetric two-pass compute on compressed and full tokens Paper + official core code Static review, moe track
Sparse Layers are Critical Diversity of sparse-router paths across loops Paper method; code not reviewed Static review, moe track
MoEUT SigmaMoE+SwitchHead, selector-only norm Paper + official core code Static review, moe track
Chain-of-Experts Attention once, FFN expert chain, router at each round Paper + official core code Static review, moe track
Mixture-of-Recursions Token/recursion choice, attention scope and cache Paper + official core code Static review, moe track
DeepSeekMoE Fine-grained and always-on shared experts Abstract; audit of the related V3 operator code Static review, moe track
DeepSeek-V3 Selection bias, group limit, combine with the raw scores Official inference core code Static review, moe track
Qwen3 MoE Plain token-choice top-k baseline Official Transformers code; paper metadata Static review, moe track
OLMoE Plain fine-grained MoE and configurable probability renormalization Official Transformers core code Static review, moe track
Expert-Choice Routing Experts select tokens with a fixed capacity Paper method; code not reviewed Static review, moe track
Loop the Loopies Layer loop and a recipe from measured throughput Paper method; code not reviewed Static review, moe track
Closing the Loop Warmup/exit entropy/data stages and norm ablations Paper method/ablations; code not confirmed Static review, root track
Loop-μP Separate parameterization of loop and unique depth Latest paper version, method/experiment scope; code not reviewed Static review, root track
Parcae Constrained diagonal injection, prefix norm, per-sequence sampling Paper + official core code Static review, root track
STARS Jacobian-related regularization and random depth Paper + official core code Static review, root track
Readout Blind Spot Readout visibility, state scale, loss position Paper + official core code Static review, root track
Growth / Boundary Operators Boundary norm + anchor, shared/separate growth Paper + official core code Static review, root track
What Limits Recursive Reasoning Gradient position, bounded/gated update, physical batch Paper method/ablations on algorithmic tasks Static review, root track
MixerLoop Repeats only the mixer; the FFN runs once Paper method; code not reviewed Static review, root track
Scaling Laws for Looped MoE Separation of recurrence/sparsity from the budget Some paper sections; not an implementation audit Static review, root track
LoopRPT EMA teacher, hard tokens, noisy rollouts and multiple objectives Latest paper version, method/ablations; code not reviewed Static review, root track
Deep Equilibrium Models Root solve and implicit differentiation Paper method/theorems; code not reviewed Static review, root track
Mixture-of-Depths Capacity selection on the token axis; link to MoR Paper base mechanism; the deeper code evidence comes from MoR Static review, root track

The runtime review separately checked TorchTitan (pinned and current), Transformers and flame. It also re-checked the training and delivery paths of Foil, LOOM and xLLM; see TorchTitan and the public implementation of each project.

Quality evidence stays within the tasks, scale, budget and ablation scope of each original paper. An entry with only an abstract read, or with no code found, does not become a verified mechanism.