Skip to content

About

A guide to looped Transformers and related language-model loops, with annotated papers, architecture diagrams, model weights, and technical reports.

Topics

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

24 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Transformer block feeds its updated hidden state back into the same block, reusing its weights across depth.

Awesome Loop Transformer Awesome

References in BibTeX Browse model checkpoints

A Loop Transformer applies the same block of layers repeatedly to an evolving hidden state. Before predicting the next token, a language model can take several passes through that block while keeping the input prefix fixed. Universal Transformers · Huginn

Five papers to start with · Browse by loop mechanism · Models and weights · Origins · Papers by topic · Other language model loops · Technical reports and tools · Contribute

The collection includes 85 papers on looped Transformers, 31 on related language model loops, and 52 model entries with downloadable weights.

Selected readings

  1. How does a layer loop? Figure 2 of Dehghani et al. (2018) shows attention mixing information across positions and the same block updating each position across depth. Universal Transformers, Fig. 2
  2. What can the shared update learn? Yang et al. (2023) compare looped and untied Transformers on in-context linear regression. Follow how prediction error changes with each pass. Looped Transformers are Better at Learning Learning Algorithms · Experiments
  3. What does another pass buy at inference? Geiping et al. (2025) vary the recurrent depth of one Huginn checkpoint. Its num_steps setting lets you compare depths with the prompt and decoding settings held fixed. Scaling up Test-Time Compute with Latent Reasoning · NeurIPS proceedings · Checkpoint · Compare four ways to spend compute
  4. Can we read the intermediate states? Lu et al. (2025) compare two probes at the same depth in Huginn. The probes differ in which intermediate arithmetic results they recover. Latent Chain-of-Thought? · Probe code
  5. What does sharing save during training? Schwethelm et al. (2026) report a four-pass 410M model matching the validation loss of a 580M untied model at roughly the training cost of a 1B untied model. How Much Is One Recurrence Worth? · Scaling experiments
Read Huginn’s validation curves at different recurrent depths

Huginn validation perplexity measured with different numbers of recurrent passes during pretraining.

Reading a depth sweep. Each curve evaluates Huginn at one recurrent depth. Compare curves at the same training checkpoint to measure the effect of spending more inference compute. Follow one curve over training to see how the model learns to use that depth. Geiping et al., Figure 6, right panel

Browse by loop mechanism

Research question Examples and reading paths
Where does the state go on the next pass? In the decoder diagrams, Ouro repeats the full stack and Dory repeats its middle layers before emitting the next token. HRM updates a fast state several times per slow-state update. Block-Recurrent Transformers carry state from one block of input tokens to the next.
Who decides how many passes to run? Inkling 2 Mini uses three passes in its released model. Huginn lets the caller set the depth. Mixture-of-Recursions routes tokens to different depths. TaH2 learns which tokens benefit from another pass. Ouro’s learned exit gate uses intermediate states to choose an exit. FPRM stops at a residual tolerance or a solver limit.
How is the loop introduced? Huginn is pretrained with a recurrent core. LoopUS converts a pretrained backbone and trains it to reuse a block. In Training-Free Looped Transformers, an inference wrapper applies smaller residual updates on repeated passes through a frozen checkpoint.

Latent Feedback carries a hidden state into the next token. Trading Depth for Time tests what happens when an extra latent step fits between two tokens at a fixed decoding budget. Elsewhere in the catalog, an iteration can produce a revised draft, feedback or a tool observation, or updated model weights.

What does another pass buy?

Huginn changes the depth after training. LoopCoder-v2 chooses it before training. MoR lets tokens take different paths, and Trading Depth for Time asks where to spend a fixed number of block applications.

Four experiments compare inference depth for one Huginn checkpoint, separately trained LoopCoder-v2 models, token routing in MoR, and depth versus time at a fixed decoding budget.

Study What the authors compare What the experiment shows
Huginn, Table 1 Evaluate the same 3.5B checkpoint at 8, 16 and 32 recurrent passes. Each doubling spends more inference compute. Zero-shot HellaSwag normalized accuracy rose from 58.54% to 64.67% to 65.21%. The second doubling added 0.54 percentage points on this task.
LoopCoder-v2, Table 2 Train four 7B models with 1, 2, 3 or 4 passes, each on 18T pretraining tokens with matched instruction tuning. On SWE-bench Verified the four models resolved 43.0%, 64.4%, 27.6% and 22.4% of issues. Two passes worked best among these training configurations.
MoR, Table 3 Compare fixed three-pass recurrence with expert-choice routing up to three passes. Both use 118M non-embedding parameters and 16.5 × 10¹⁸ training FLOPs. FineWeb-Edu validation negative log-likelihood fell from 2.8466 (fixed) to 2.7925 (routed). The routed run processed 30B training tokens and the fixed run 20B, so the comparison includes the extra data seen.
Trading Depth for Time, Fig. 3 · Table 4 Each model runs 2L blocks per output token, where L is the reference backbone depth. Compare doubled physical depth, two passes through shared layers, and a latent step between vocabulary tokens. At the largest matched training-compute budget, validation bits per byte were 0.717 (double depth), 0.729 (two passes) and 0.718 (latent step). The latent-step model saw about half as many unique training tokens as the other two.

Models and weights

Five decoder architectures

Architectures of Ouro-Thinking 2.6B, Nanbeige 4.2 3B, GLM-5.4, Dory1.0 4B and Inkling 2 Mini. The colored paths show which layers run again.

Figure source · Sebastian Raschka, 24 November 2026. Original post on X · Full-resolution figure · LLM Architecture Gallery

Follow the return arrow to see which layers process the same token again.

Ouro and Nanbeige repeat the full decoder. GLM-5.4, Dory and Inkling repeat only the middle blocks. The model names link to Sebastian Raschka’s diagrams. The pass schedules link to the publishers’ configurations or release notes. Weight availability was checked on 26 November 2026.

Model Pass schedule Distinct blocks Block applications per token Weights
Ouro-Thinking 2.6B 48 × 4 48 192 Thinking checkpoint
Nanbeige 4.2 3B 22 × 2 22 44 Post-trained checkpoint
GLM-5.4 26 + 28 × 2 + 24 78 106 Release planned
Dory1.0 4B 8 + 20 × 2 + 8 36 56 BF16 checkpoint
Inkling 2 Mini 6 + 12 × 3 + 6 24 48 Fixed three-pass checkpoint
Trace the five pass schedules block by block

Forward-pass schedules for five models. Dark blue marks the first pass through the shared core, light blue marks later passes with the same weights, and gray marks layers executed once.

GLM-5.4 runs layers 1–26 once, 27–54 twice and 55–78 once, for 106 block applications across 78 distinct blocks. Counts exclude embedding and output layers. Dory’s configuration counts attention and feed-forward sublayers separately, so its 40 recurrent sublayers correspond to 20 Transformer blocks. Gallery comparison

Checkpoint links open the weight files or the publisher’s release directory. Each entry was checked for public weight files on 2026-11-26. The license column reports the terms the publisher gives for the weights. “Unspecified” means no weight license was identified. For adapters, the entry names the required base model.

Shared-depth language models

Model family Recurrent mechanism Released checkpoints Reference Weight license
ALBERT A fixed-depth encoder with cross-layer parameter sharing. The base-v2 release is a compact reference for studying weight tying in masked language modeling. Base v2 ALBERT Apache-2.0
ARLoop Uses attention over earlier layer states to decide what each layer reads. The authors also release a 0.6B looped baseline with standard pre-normalization for a same-size residual-design comparison. 0.6B · 0.6B baseline · 1.2B ARLoop report Apache-2.0
Attractor LM A language backbone proposes an output state. A second, shared module refines it toward equilibrium, conditioned on that initial proposal. 770M Paper MIT
Concertina-2.27B Each pair of adjacent layers in Qwen3-4B becomes one block run twice, with token-gated low-rank corrections. The distilled student runs on its own with the custom Transformers code included in the release. 2.27B student Paper · Loading example Apache-2.0
DEQ-Transformer A fixed-point solver repeatedly applies a shared self-attention transformation until it reaches an equilibrium or its iteration limit. The authors released the full word-level language model trained on WikiText-103. pretrained_wt103_deqtrans_v3.pkl Deep Equilibrium Models · Release and evaluation instructions Unspecified
Dory 1.0 The BF16 checkpoint runs eight prefix blocks, 20 shared blocks twice (n_recurrent_loops=2), then eight suffix blocks. The default recurrent_kv_cache_mode=per_loop keeps a separate KV cache for each pass. Set it to last_loop to keep one cache per recurrent attention layer. 4B BF16 · 4B NVFP4 · MXFP8 · GGUF Dory report · BF16 config · KV cache settings OpenMDW-1.1
Gated Recurrent Transformer (GRT) A gate blends the previous state with a shared core update between a fixed prelude and coda. Releases include compute-matched and parameter-matched training configurations. large-isoflop · large-isoparam · medium-isoflop · medium-isoparam Paper CC-BY-4.0
HRM-Text Applies fast and slow recurrent modules to text generation. This release uses a task-completion objective on instruction–response pairs. 1B original release HRM-Text report Apache-2.0
Huginn A 3.5B language model with a recurrent core between distinct input and output stacks. The same checkpoint supports different recurrence counts at inference. Huginn-0125 Recurrent depth report Apache-2.0
Inkling 2 Mini Runs six prefix blocks once, twelve shared middle blocks three times and six suffix blocks once. A separate research checkpoint supports experiments that vary the pass count. Inkling 2 Mini · Variable-loop research checkpoint Thinking Machines Lab release Apache-2.0
LatentLoop The two middle passes share mixture-of-experts weights and have separate attention parameters. The first pass processes a compressed sequence, then its update feeds the full-length second pass. Each folder holds a separately trained model for the authors’ PyTorch loader. 1.3B · 3B · 7B Paper · Loading example Apache-2.0
LatentMT Each translation direction has its own LoRA adapter. Load it on ByteDance/Ouro-2.6B-Thinking and run four recurrent passes. English → Simplified Chinese adapter · All 32 translation directions Paper · Model card and loading example Apache-2.0 (adapter)
LEV Scores the answer options after each pass through a looped backbone. Each release contains an adapter and decision head to use with its base model. 1.4B adapter · 2.6B adapter · 3B adapter Paper Apache-2.0
LOTUS Shared passes refine padded latent reasoning positions in parallel. from_pretrained loads the weights. The authors’ GSM8K script runs the loop with --n_looped_iters 6. Use --c_thought 25 for the standard and CODI checkpoints or --c_thought 50 for the natural-language variant to set the number of tokens per latent block. GSM-LLaMA 3B · CODI variant · Natural-language variant Paper · Evaluation script · GSM8K command MIT
LoopCoder-v2 A 7B instruction-tuned coding model. The downloadable variant runs its 14 shared layers twice. 7B two-loop checkpoint Loop-count study Apache-2.0
LoopFormer Three models pair different block counts and iteration counts for the same nominal depth of 24. Shortcut modulation allows shorter inference trajectories. 1 × 24 · 2 × 12 · 3 × 8 LoopFormer paper Unspecified
LoopRes Looped layers attend to a window of their own outputs from earlier passes when adapting a pretrained language model. Qwen3-1.7B Paper MIT
LoopUS Converts Qwen3 into an encoder, shared reasoning block, and decoder. A confidence head can terminate the recurrent stage early. Qwen3-1.7B retrofit LoopUS paper Apache-2.0
Looped GPT-BERT The BabyLM Strict-small release traverses four shared layers twelve times. It combines causal and masked next-token training. 4 layers × 12 passes Paper Unspecified
Metis-1.6 Praxis and Logos each run a hybrid Mamba-2 and attention mixture-of-experts stack twice per token. Logos · Praxis-Base · Logos-Base · Praxis · Precision variants Paper Apache-2.0
Mixture-of-Recursions (MoR) A router selects which tokens continue through the shared block. Compare expert-choice and token-choice routing at a maximum depth of three against the fixed-depth recursive model and the vanilla Transformer from the same experiment series. Expert-choice ×3 · Token-choice ×3 · Fixed ×3 · Vanilla · All nine checkpoints Paper · Checkpoint guide Unspecified
Nanbeige4.2 The 3B model runs all 22 shared layers twice. The report covers the base model and post-training for tool use and coding. The reported 3B count excludes embeddings. 3B base · 3B post-trained Nanbeige4.2 technical report Apache-2.0
OrbitLM-1.8B-Thinking The released bilingual model runs the same 24 Ouro-style layers four times per token. It was pretrained from scratch on English and Russian text, then fine-tuned with supervised examples and GRPO. 1.8B Thinking Training study · Released model and training recipe Apache-2.0
Ouro The 2.6B Thinking config runs 48 shared layers four times. The released implementation computes gate scores at each pass. 1.4B base · 1.4B Thinking · 2.6B base · 2.6B Thinking Ouro report Apache-2.0
Parcae The recurrent block mixes the encoded input with the current state under a constraint that limits amplification across passes. The four model sizes support depth sweeps at a fixed parameter count. Load them with parcae_lm.from_pretrained. 140M · 370M · 770M · 1.3B Paper · Loader Unspecified
Retrofitted TinyLlama Two conversions of the same pretrained backbone with different target training recurrence counts. These are separately trained models. 4 recurrences · 32 recurrences · All backbones and controls Retrofitting study Apache-2.0
Think-at-Hard / TaH2 A learned decision module selects tokens for another pass. The TaH2 two-pass release includes the 1.7B backbone, an input updater and the decision module. Compare it with the single-pass TaH2 control using the authors’ inference code. TaH-plus 1.7B · TaH2 at most two passes · TaH2 single-pass control TaH · TaH2 · Inference code Apache-2.0
Towards Looped Models Done Right Part I compares loop placement, input injection and recurrent state design. Part II varies the training depth distribution and how the input is reinjected. The authors’ xLLM loader reads all 49 checkpoints, including baselines and distilled students. Part I dense Huginn · Part II learned depth prior · All 49 checkpoints Part I · Part II · xLLM loader and manifest Apache-2.0

Huginn

Read the blue, green and red blocks from left to right. The prelude encodes the tokens once. Each green pass receives the current latent state and the encoded input. The coda reads the final state to predict the next token. Changing the pass count changes the depth of the same checkpoint.

Architecture figure and sources for Huginn

Huginn architecture. Prelude, recurrent core and coda.

Original figure 2 · Paper · Weight files

Ouro

Follow one position up the stack. Each pass updates its hidden state with the same layers. In training the authors attach a prediction loss at each depth. The paper describes early stopping based on accumulated exit probability. The released Hugging Face implementation runs the configured passes before choosing or weighting their outputs. Publisher implementation

Architecture figure and sources for Ouro

Ouro architecture. A shared stack with an exit gate.

Original figure 3 · Paper · Weight files

LoopUS

Panel (a) divides the pretrained layers into an encoder, a reasoning block and a decoder. The reasoning block is reused, with a gate between iterations. Panel (b) shows the supervision used to train the confidence signal that can end refinement.

Architecture figure and sources for LoopUS

LoopUS architecture. Adding a loop to a pretrained model.

Original figure 2 · Paper · Weight files

Attractor LM

The backbone makes an initial proposal. On every solver step the attractor module reads both that original proposal and the current estimate. The output head reads the final estimate when the solver converges or reaches its step limit.

Architecture figure and sources for Attractor LM

Attractor LM architecture. Refining an output proposal.

Original figure 3 · Paper · Weight files

Puzzle reasoning

Model family Recurrent mechanism Released checkpoints Reference Weight license
Equilibrium Reasoners (EqR) Iterates a recurrent solver toward a puzzle solution. The implementation supports attention and MLP variants. Maze and Sudoku Paper Unspecified
FPRM A shared Transformer update refines a puzzle state. The model uses convergence as its halting signal. ARC, maze and Sudoku checkpoints Paper MIT
HRM Two recurrent attention modules run at different rates. Each task has its own checkpoint; the files are named checkpoint. ARC-AGI-2 · Sudoku Extreme · Maze-Hard HRM paper Unspecified
Input-Conditioned Search (ICS) An inference procedure for recurrent puzzle solvers. Changing the input condition gives the same state a different update trajectory. The release includes task-specific solver weights. Solver checkpoints Paper MIT
Tiny Recursive Model (TRM) A small shared network alternates latent refinement and answer updates. ARC Prize independently trained and released the ARC evaluation checkpoints using the authors’ recipe. ARC Prize verification weights Paper MIT

HRM

Follow the low-level state through several updates while the high-level state is held fixed. The high-level module then reads the revised low-level state and updates its own state. Each module has its own weights, reused on its own schedule.

Architecture figure and sources for HRM

HRM architecture. Two recurrent modules at different rates.

Original figure 4 · Paper · Weight files

Tiny Recursive Model

Read the inner path first. A small network updates a latent state from the question, the current answer and the preceding latent. The answer update then reads the revised latent. The linked ARC checkpoints were trained by ARC Prize for independent verification.

Architecture figure and sources for Tiny Recursive Model

Tiny Recursive Model architecture. A latent state and a candidate answer.

Original figure 1 · Paper · Weight files

FPRM

The recurrent Transformer repeatedly updates the puzzle representation. Pre-normalization and residual scaling control propagation through repeated steps. The change between successive states supplies a signal for deciding when to stop.

Architecture figure and sources for FPRM

FPRM architecture. Stopping near a fixed point.

Original figure 3 · Paper · Weight files

Vision, action and scientific sequences

Model family Recurrent mechanism Released checkpoints Reference Weight license
AdaLoop Uses the question to condition further passes through a frozen vision encoder. The release includes base-model files and adaptation weights. Vision-language adapters and bases Paper Base-model terms
Déjà View Repeats a decoder block on multi-view image features to refine a 3D reconstruction. Multi-view reconstruction Paper NVIDIA OneWay Noncommercial
Dooop Distills a diffusion Transformer into a student whose shared block produces a supervised output at each depth. The hub contains the looped diffusion components. SD3 Medium and Turbo Paper Stability AI Non-Commercial Research Community
Jina-OCR-v1 A shared draft block predicts three future positions for speculative decoding. The OCR decoder verifies the draft. OCR model and FastMTP head Paper CC-BY-NC-4.0
Looped-DiT Reapplies Transformer blocks within a diffusion denoising step. Loop count and sampling steps control different parts of generation. B/16 · B/32 Paper MIT
LoopVL Refines a joint vision–language state through module-level and model-level loops. The authors expose the two recurrence counts for inference. LoopVL-1B LoopVL paper Unspecified
LoopedWAM The video and action experts each reuse a core. The action expert can take a different number of passes while reading cached video features. Task-specific policies and elastic variants Paper Apache-2.0
RD-VLA Repeats a weight-tied Transformer in the action head. Each file tree includes the action head and its associated model components for one LIBERO evaluation suite. Spatial, 40k steps · Long, 75k steps RD-VLA paper Apache-2.0
recAMPLIFY A masked protein language model applies a weight-tied Transformer core to residue representations for a configurable number of cycles. Recurrent, gated and baseline variants Paper MIT
Solv3R One shared solver updates the state of each camera view using features from across the scene. It can continue refining the same images or incorporate new views before predicting depth and camera poses. 117M reconstruction model Paper · Inference code NVIDIA License (non-commercial)

LoopVL

The vision encoder and projector supply visual positions alongside instruction tokens. In the default schedule the low-level module runs three times, then the high-level module runs once. That entire cycle runs twice. The two modules own separate weights.

Architecture figure and sources for LoopVL

LoopVL architecture. Two scales of visual refinement.

Original figure 2 · Paper · Weight files

LoopedWAM

The video expert reuses its core to encode the frame and caches its keys and values. At each action sampling step the action expert reuses its own core and attends to those cached features. The two experts can use different loop counts.

Architecture figure and sources for LoopedWAM

LoopedWAM architecture. Separate depths for vision and action.

Original figure 2 · Paper · Weight files

Dooop

Panel (c) unrolls the student at a single diffusion time. Each round applies the same Transformer blocks to the previous hidden state and produces an intermediate output. These depth updates occur inside a denoising step. The teacher supplies the training targets.

Architecture figure and sources for Dooop

Dooop architecture. A shared denoiser trained from a teacher.

Original figure 2 · Paper · Weight files

Solv3R

Follow one view across the solver calls. Each call applies the same block, attending first within each image and then across views. When a new image arrives, the block can refine its initial state alongside the current states of earlier views. Decoding those states gives updated camera poses and depth maps.

Architecture figure and sources for Solv3R

Solv3R uses one shared Transformer block to refine multiple views. New views can enter the loop alongside earlier ones.

Figure 4 by Jeong-gi Kwak et al. (2026), licensed under CC BY 4.0. Original figure 4 · Project page · 117M checkpoint

Tabular classification

Model family Recurrent mechanism Released checkpoints Reference Weight license
LoopICL A shared Transformer block refines cell and row representations for in-context classification. Compare a fixed pass budget with a learned early-exit gate using the two full classifier checkpoints (about 6.6 MB each). Standard classifier · Early-exit classifier Paper · Inference example Unspecified

Sequence recurrence and iterative decoding

Model family Recurrent mechanism Released checkpoints Reference Weight license
ALoDLM Within each denoising step, unresolved positions carry their latent states through more shared passes. Committed tokens become context. Both releases include backbone weights and the learned exit gate (exit_gate.pt) for the authors’ decoder. 1.7B · 8B Paper · Decoder CC-BY-NC-4.0
Latent Feedback Each token passes its top-layer state to the next token’s input. The linked 134M runs compare feedback with a plain Transformer at the same unique-data and training-compute budgets. Use the LoRM code to load each checkpoint.pt. 134M feedback · 134M matched control Paper · LoRM experiments Apache-2.0
LLaDA Repeatedly fills masked response positions conditioned on the prompt. 8B Instruct LLaDA MIT
Looped UDLM Repeats early Transformer layers during a denoising step of a uniform diffusion language model. The release includes looped and baseline training runs. OpenWebText checkpoints Paper Apache-2.0
Mamba Updates a selective state-space representation as the sequence advances. 130M base, original format Mamba Apache-2.0
MDLM Repeatedly denoises a partially masked sequence. OpenWebText checkpoint MDLM Apache-2.0
RWKV-4 Updates the recurrent state once per input token. 169M Pile RWKV Unspecified
URCHIN A spiking language model recirculates the current token’s activity through a lateral network across multiple transmissions. BabyLM multilingual Paper CC-BY-NC-4.0

Release variants

Retrofitted language models

Show all Retrofitted language models checkpoints

The study publishes separately trained depth targets and untrained conversion controls. The non-recurrent checkpoint is a post-training baseline. Paper · Publisher collection

Metis-1.6

Show all Metis-1.6 checkpoints

The publisher provides two model sizes and several inference formats. The following links open the weight files.

Research releases

GLM-5.4. Z.ai reports converting the pretrained GLM-5 backbone through continued training. The middle 28 decoder layers run twice. Z.ai announced plans to release the weights after safety hardening. As of 2026-11-26, no public checkpoint was listed in its Hugging Face organization. Architecture comparison · Z.ai release · Publisher model hub

Two papers in the Awesome-Loop-Models catalog snapshot identify releases for which public weight files could not be verified on 2026-11-26. Their author resources are indexed here.

  • Late Entry skips the initial passes for newly drafted tokens and uses a deep context cache. The authors list five Ouro and Huginn variants, including matched early-exit controls. Paper · Author checkpoint list
  • GatedLoop compares training schedules for repeated blocks with learned residual gates. The authors document the fixed and sampled loop-count runs and how their checkpoints are laid out. Paper · Author repository

Historical development

The encoder and decoder of the Universal Transformer unrolled along recurrent depth.

In the Universal Transformer, one step lets a position attend to other positions and update its representation. At the next step, the same transformation operates on those updated representations. The adaptive variant lets individual positions take different numbers of steps. Dehghani et al., Figure 2

First public release What changed
2016–17 · Two ingredients Graves’s Adaptive Computation Time let an RNN learn how many internal updates to spend on an input. The original Transformer processed token positions in parallel using a stack of attention and feed-forward layers. The Universal Transformer later brought adaptive halting into that architecture. ACT · Attention Is All You Need · Universal Transformer, §2
July 2018 · Two motivations Dehghani et al. studied whether repeatedly updating every position helps with tasks such as copying and logical inference. The same month, Dabre and Fujita asked how much translation quality survives weight sharing. On their translation experiments, one layer used six times gave quality comparable to six separate layers. Universal Transformers · Recurrent Stacking of Layers for Compact Neural Machine Translation Models
2019 · Sharing during pretraining ALBERT used cross-layer sharing in a BERT-style encoder. Its ablations are worth reading because the model also changes the embedding parameterization. ALBERT
2023–25 · Learning an update and spending more steps Yang et al. studied what a shared update learns on in-context data-fitting tasks. Geiping et al. later pretrained Huginn, a 3.5B language model whose recurrent core can run for different numbers of steps at inference. In-context learning study · Huginn report

Definition and notation

Write one pass as $h^{(t+1)} = F_\theta(h^{(t)})$. The sequence state $h^{(t)}$ changes with each pass, while the parameters $\theta$ are shared. A core with layers A and B, executed three times, applies A → B → A → B → A → B. That is six layer applications using two sets of weights. Recurrent stacking in translation

Looped Transformer papers

Entries cite the first public release and are grouped by research question. Code links point to implementations or experiments. The BibTeX bibliography contains full author lists and source records.

From translation to shared Transformer blocks

Algorithms and length generalization

Depth allocation and scaling

The Huginn and Dory reports vary inference depth on a single checkpoint. LoopCoder-v2 compares models trained with different pass counts. Ouro learns an exit gate during pretraining.

Training across recurrent depth

For pretraining examples, Ouro learns when to exit, while ARLoop studies which earlier states a shared layer should read. HRM-Text couples fast and slow updates with instruction–response pretraining. Nanbeige4.2 follows a looped decoder through pretraining and agent post-training.

Converting pretrained models

The retrofitting report and checkpoints let readers compare newly converted backbones with the same models after recurrent training.

Interpreting recurrent states

Puzzles and recurrent state

For a language-model counterpart to the fast and slow puzzle-solving modules below, see how HRM-Text trains the two modules on text.

Vision, speech, control and tabular data

The LoopVL release report traces the training stages that produce its recurrent vision–language model.

Inference, attention and memory

The Dory report and runtime configuration show how inference handles the KV cache when tokens revisit the middle blocks.

Other loops in language models

Follow the state from one iteration to the next. With a fixed prompt, an equilibrium model can refine one hidden state many times. A recurrent sequence model instead reads new input at each step. The sections below distinguish the state being updated and the time scale of the update. Years refer to first public release. Full citations in BibTeX

Recurrent depth and equilibrium

  • Bai et al. (2019). Deep Equilibrium Models — A fixed-point solver repeatedly evaluates a shared transformation until its state settles or the solver reaches its budget. The paper tests an equilibrium self-attention model on language modeling. Read alongside the fixed-pass and adaptive-depth Transformers in the main list. Code · WikiText-103 checkpoint

For layer sharing, recurrent pretraining, halting and deployment, continue to the reading path and the Transformer bibliography.

Memory across tokens and segments

Intermediate steps before an answer

Editing and denoising text

Feedback, retrieval and search

Training across rounds

Technical reports and tools

Technical reports and implementations

The links in the research focus column lead to papers on the same question.

Release report Research focus Author resources
Huginn recurrent-depth report How the recurrent block is pretrained and how performance changes with inference depth. Training and evaluation code · Training dataset
Scaling Latent Reasoning via Looped Language Models How Ouro supervises predictions at successive depths and trains an exit gate. The model card documents how gate scores select an output depth. Project · Model card and exit settings
Nanbeige4.2-3B technical report How a looped backbone fits into a 28T-token pretraining and agent post-training pipeline. The final agent benchmarks reflect that whole pipeline. Architecture implementation
LoopCoder-v2 report Why cross-loop position offsets and cache sharing matter for parallel looping, and how the authors tested the cost of another pass. Implementation · Released configuration
ARLoop: Fully-Open Pre-trained Looped Transformers with Attention Residuals Sliding-window versus full-history attention across depth, followed by larger pretraining runs. The released baseline is useful when comparing residual designs. Pretraining, inference, and evaluation
Dory1.0-4B: A Looped Normalized-GPT How inference depth, precision and KV caching interact in a 4B nGPT. The report distinguishes the training loop schedule from the inference-time setting. Runtime configuration
HRM-Text: Efficient Pretraining Beyond Scaling How fast and slow recurrent modules and normalization fit into instruction–response pretraining. The data and objective also change when comparing to conventional pretrained baselines. Training framework
Teaching Pretrained Language Models to Think Deeper with Retrofitted Recurrence How the authors introduce recurrence into a pretrained backbone and schedule the training curriculum. The checkpoint collection includes untrained conversions and multiple trained depths. Full checkpoint collection
LoopVL: Recurrent Visual Intelligence How language pretraining, multimodal training, and post-training are staged for a shared vision–language state. Publisher model card

Analysis tools

  • MoR routing notebook — Inspect expert-choice routing decisions for individual tokens in a Mixture-of-Recursions model.
  • Huginn latent probes — Compare Logit Lens and Coda Lens readouts at intermediate recurrent depths on arithmetic examples.
  • Loopscape — Reproduce perturbation and basin-of-attraction analyses on recurrent reasoners using the authors’ experiment code.

Related lists

  • Awesome Loop Models — A broader catalog covering looped architectures, implicit models, theory, and applications, with an interactive paper browser.
  • HJSang’s Awesome Looped Transformers — A complementary reading list covering recurrent-depth Transformers, systems work, and commentary.

Bibliography

Import the BibTeX bibliography into a reference manager to cite individual works. The export retains the source records’ citation keys and years. A revised arXiv record can carry a later year than the first release shown in the index.

Contributing

Have a paper or model to recommend? Suggest a resource with its primary source and a sentence explaining what repeats. To add an entry yourself, follow the submission and review criteria, edit the relevant topic page, and open a pull request.

Star history

GitHub stars over time. Exact dates and counts are available in the accompanying CSV.

The chart starts on 26 November 2026. A weekly observation records the total number of stars at that time, including any decreases since the previous observation. Download the observations · View stargazers

About

A guide to looped Transformers and related language-model loops, with annotated papers, architecture diagrams, model weights, and technical reports.

Topics

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages