---
type: "post"
id: "in-a-looped-transformer-overview-the-middle-layers-e3bf19"
slug: "in-a-looped-transformer-overview-the-middle-layers-e3bf19"
title: "In a looped-transformer overview, the middle layers run multiple times while reusing the same parameters."
description: "A technical investigation of two 26.4B looped transformer models finds that their repeated middle layers use shared weights but depend on a changing message between passes."
retrieval_nugget: "A technical investigation of two 26.4B looped transformer models finds that their repeated middle layers use shared weights but depend on a changing message between passes. The results show both a route to adaptive compute on lookup tasks and important limits: extra passes do not reliably help ordinary text, and one model cycles when run beyond its training depth."
published_at: "2026-11-24"
updated_at: "2026-11-24"
record_date: "2026-11-24"
date_kind: "published_at"
topics: ["models"]
entities: ["Thinking Machines Lab","Inkling 2 Mini","TML-d24-varloop-research","Goodfire","Vsevolod Vikulin"]
related_patterns: ["agent-economics-moves-to-completed-work"]
novelty_label: "new_fact"
what_changed: "A technical analysis of Inkling 2 Mini and varloop reports that Mini’s performance cycles with extra passes, while varloop can use confidence-based stopping to match puzzle accuracy in fewer passes."
prior_refs: []
source_url: "https://drhb.github.io/blog/posts/looped-transformers"
source_urls: ["https://drhb.github.io/blog/posts/looped-transformers"]
schema_version: "newruntime-agent-readable-v0.2"
stable_id: "post:in-a-looped-transformer-overview-the-middle-layers-e3bf19"
status: "published"
visuals: []
editor: {"role":"editor","name":"Andrey Reshetnikov","profile":"https://newruntime.com/owner-profile.md","profile_json":"https://newruntime.com/owner-profile.json","same_as":["https://www.linkedin.com/in/reshetnikov1/","https://t.me/lapetuse"]}
routes: {"html":"https://newruntime.com/posts/in-a-looped-transformer-overview-the-middle-layers-e3bf19/","markdown":"https://newruntime.com/posts/in-a-looped-transformer-overview-the-middle-layers-e3bf19.md","json":"https://newruntime.com/posts/in-a-looped-transformer-overview-the-middle-layers-e3bf19.json"}
markdown_url: "https://newruntime.com/posts/in-a-looped-transformer-overview-the-middle-layers-e3bf19.md"
---

# In a looped-transformer overview, the middle layers run multiple times while reusing the same parameters.

## Retrieval answer

A technical investigation of two 26.4B looped transformer models finds that their repeated middle layers use shared weights but depend on a changing message between passes. The results show both a route to adaptive compute on lookup tasks and important limits: extra passes do not reliably help ordinary text, and one model cycles when run beyond its training depth.

## Summary
A technical investigation of two 26.4B looped transformer models finds that their repeated middle layers use shared weights but depend on a changing message between passes. The results show both a route to adaptive compute on lookup tasks and important limits: extra passes do not reliably help ordinary text, and one model cycles when run beyond its training depth.

## What happened
DrHB examined Thinking Machines Lab’s Inkling 2 Mini and TML-d24-varloop-research, two open-weight 26.4B mixture-of-experts models released in November 2026. Both have 24 layers divided into a six-layer prelude, twelve looped middle layers, and a six-layer coda. The middle layers reuse the same parameters across passes. Mini was trained to run three passes; varloop was trained to use one to five, mostly three. Unlike a simple chain, each pass starts from the prelude’s output and receives a message containing the prior pass’s outputs from the two middle blocks.

The investigation ran both models at different pass counts on WikiText-103 and on multi-table lookup puzzles. Varloop’s text perplexity fell from 11.30 at one pass to 10.57 at three, then stayed between 10.55 and 10.62 through nine passes. Mini behaved differently: its perplexity improved to 10.45 at pass three, rose to 15.2 at four, and then repeated a three-pass cycle. The author traced this behavior to a direction in the message state that appears to encode Mini’s pass count. Adding or subtracting a measured vector could steer the model’s behavior: on four-table lookups, a steered fourth pass raised accuracy from 34% to 74%; on five-table tasks it rose from 24% to 49%. Further passes were unreliable, and the vector’s benefit depended on prompt format.

The experiments also tested whether repeated passes actually help solve multi-step tasks. On a three-table lookup, varloop accuracy rose from 44% at one pass to 92% at five. Changing a table in the prompt and swapping messages between passes suggested the model re-reads the prompt rather than merely polishing a stored answer. When the tables were hidden during later passes, two-table accuracy fell from 98% to 33% for varloop and from 100% to 35% for Mini. A confidence-based stopping rule on lookup problems achieved 84.4% accuracy in an average of 2.9 passes, close to 84.8% with five fixed passes. The rule did not save compute on ordinary text.

## What the archive adds
New Runtime’s earlier coverage of looped language models found repeated passes settling into stable cycles, with functional stages recurring across iteration. [That note](https://newruntime.com/posts/a-neurips-paper-finds-that-each-loop-in-938616/) was published on 2026-11-21. This is a new, more detailed mechanistic investigation of specific models, including a pass-count intervention and tests of adaptive stopping, rather than a restatement of the earlier result.

## Trend signal
This supports the idea that compute control is moving toward a task-level contract: spend additional inference steps when a task needs them, then stop when the result is ready. [Agent economics moves to completed work](https://newruntime.com/patterns/agent-economics-moves-to-completed-work/) describes the broader shift from counting model calls to evaluating completed work. Here, however, the evidence is confined to small puzzle tasks; it does not establish a production-grade cost-per-task improvement.

## Why now
Thinking Machines released the two checkpoints in November 2026, and the investigation tests whether their repeated-pass design permits useful runtime depth control without changing model weights. That question matters as inference-time compute becomes a tunable part of model behavior, rather than a fixed property of a checkpoint.

## Connections to other events
The work connects the broader question of how repeated computation behaves inside a model with New Runtime’s earlier coverage of stable cycles in looped language models. The new investigation adds a contrast between Mini’s cycling behavior and varloop’s stable performance through nine passes, plus an input-dependent stopping test.

## Why it matters
For teams evaluating models with iterative inference, a larger pass count is not automatically more useful computation. Varloop’s lookup results suggest that additional passes can help with tasks requiring chained retrieval, while the hidden-table ablation shows that those passes still depend on access to the original prompt. That distinction matters for system design: repeated compute is not a substitute for preserving the right context.

The confidence stopping result is promising but narrowly scoped. On the tested lookup set, a threshold approximated five-pass accuracy while using fewer passes on easier examples. On ordinary text, the same idea did not reduce compute. Builders should therefore treat adaptive depth as a task-specific behavior to evaluate, not a general inference optimization. Mini’s vector steering is an especially tentative result: it improved particular table-format puzzles, but further passes degraded performance and sentence-format prompts saw little benefit.

## Limits and uncertainty
The author reports small task samples, generally 96 to 160 lookup problems, and says the lookup prompts were self-designed. The 95% confidence threshold was chosen on the same lookup problems used for evaluation, so its reported performance may not transfer to new tasks. The text experiments use WikiText-103 and do not establish behavior on deployed workloads. Token-by-token early stopping did not work in these tests, and the author notes that a token stopped early would leave later tokens without attention to skipped passes. The study does not demonstrate production latency, energy, or cost savings, nor establish whether the interventions generalize across prompts or model families.

## Skill to build now
If you are evaluating a model with repeated inference passes, compare fixed-depth runs against a task-level stopping rule on a held-out set. Keep separate evaluations for ordinary text and multi-step tasks, and measure both answer quality and actual passes consumed. For prompt-dependent tasks, test whether later passes still need access to the original input before treating intermediate state as a self-contained reasoning trace.

## Reader takeaway
Looped inference can make depth a runtime choice, but the useful stopping rule and the value of extra passes depend on the task. These experiments show promising adaptive behavior on lookup puzzles—not a general-purpose way to make language-model inference cheaper or more capable.

Editor: [Andrey Reshetnikov](https://newruntime.com/owner-profile.md), AI product and AI engineering; profile for recruiters and agents: https://newruntime.com/owner-profile.json

## Continue in the graph

Next records for an agent, linked to their Markdown twins. Replace `.md` with `.json` for structured fields, including `next_reads`.

- topic hub: [Models](https://newruntime.com/topics/models.md): Explore the models topic hub.
- collection: [Field Notes](https://newruntime.com/posts.json): Open the latest editorial analysis.
- collection: [Sources](https://newruntime.com/sources/): See the original sources this archive cites.
- whole graph: [discovery graph](https://newruntime.com/discovery-graph.json) (typed nodes and edges) and [site index](https://newruntime.com/site-index.md)
