Looped Transformers Explained: How SenseNova-Loop-9B Gets 56 Layers from 32

Cover image for Looped Transformers Explained: How SenseNova-Loop-9B Gets 56 Layers from 32: Screenshot: sensenova/SenseNova-Loop-9B-GGUF on Hugging Face

Key facts

Sources checked Nov 20, 2026

  • A looped transformer runs the same block of layers more than once per token, so it gets more compute out of the same stored weights.
  • SenseNova-Loop-9B (November 17, 2026) stores 32 decoder layers and runs layers 4–27 twice, for 56 layer passes per token. SenseNova calls this about 14.6B “inference-equivalent” parameters.
  • Looping saves memory and disk, not compute. Each pass costs time, and each looped layer still needs its own KV cache state.
  • The idea goes back to Universal Transformers (2018). Recent work includes a recurrent-depth model (February 2025) and ByteDance’s Ouro looped language models (October 2025).
  • SenseNova’s own loop-scaling experiments found the best results at three or four loops. The released model uses two by default for speed.

Most of this year’s model news is about adding parameters or experts. Looped models go the other way: they keep the parameter count fixed and spend more computation on each token by reusing layers. This explainer covers what that means, how SenseNova-Loop-9B does it, and what it changes if you run models locally.

The basic idea: reuse the layers

A normal transformer is a stack of distinct layers. A 32-layer model applies 32 different sets of weights to each token, once each, in order. Model quality generally tracks how many parameters you have and how much computation each token gets, and in a normal model those two numbers are tied together.

A looped model unties them. It takes a block of layers and applies it several times, feeding the output of one pass back in as the input to the next. SenseNova’s model card writes this as B(B(h)): the looped block B is applied to the hidden state h, then applied again to the result.

The weights stay the same size, but each token gets more layers of computation. In SenseNova-Loop-9B:

SenseNova-Loop-9B
Distinct (stored) decoder layers 32
Looped range Layers 4–27 (24 layers), 2 passes, shared weights
Layer executions per token 56 (4 + 24×2 + 4)
Parameters ~9B stored; ~14.6B “inference-equivalent” (vendor figure)
Attention 3 linear-attention layers + 1 full-attention layer, repeating
Context 512K tokens

The token passes through layers 0–3 once, through the shared block 4–27 twice, then through 28–31 and the output head. The loop boundaries line up with complete four-layer attention groups, so both passes keep the same linear/full attention pattern.

Figure from the official README for OpenSenseNova/SenseNova-Loop on GitHub
Figure from the official README: OpenSenseNova/SenseNova-Loop on GitHub.

Why loop at all?

The usual argument is that some of what a model gains from extra depth is iterative refinement: each layer adjusts the representation a little. If that’s true, running a well-trained block twice can capture some of the value of a deeper model without storing a deeper model.

Research has supported this in a few ways:

  • Universal Transformers (Dehghani et al., July 2018) applied one transformer block repeatedly, with a per-position “halting” mechanism. The authors found it generalized better than a standard transformer on tasks such as copying strings longer than those seen in training.
  • A recurrent-depth approach to test-time compute (Geiping et al., February 2025) iterated a recurrent block a variable number of times at inference. A 3.5B proof-of-concept model trained on 800B tokens improved on reasoning benchmarks as it looped more, up to compute equal to a 50B-parameter model, according to the authors.
  • Ouro (October 2025) built looping into pre-training at scale (7.7T tokens). The authors report that 1.4B and 2.6B looped models matched much larger standard models, and attribute the gain to better use of knowledge rather than storing more of it.

All of these are different from chain-of-thought “thinking”, which adds compute by generating more tokens. Looping adds compute inside each token, in the hidden state, and you never see it as text. The two can be combined, and SenseNova-Loop-9B also has a thinking mode.

What mHC adds

Looping alone can be unstable, because the same weights must work well both on the first pass and on their own output. SenseNova pairs the loop with two-stream mHC (manifold-constrained hyper-connections).

A normal transformer has one residual stream, a running hidden state that every layer reads from and adds to. Hyper-connections (2024) widen that into several parallel streams with learned mixing between them. mHC (December 2025) constrains the mixing so training stays stable at scale. SenseNova-Loop-9B uses two streams inside the looped block and keeps the mixing well-behaved with Sinkhorn normalization (20 iterations of row and column normalization). Those 20 iterations are separate from the two loop passes. SenseNova keeps the mHC routing weights in FP32 even in quantized files, as noted in the llama.cpp PR.

Put simply: the extra streams give each pass room to carry different information, and the constraint stops the passes from blowing up or collapsing.

How many loops is best?

SenseNova trained versions of its 9B model with one to four loops, keeping the data fixed. Their findings, all vendor-reported:

  • Performance improved across the four tasks they tested, with the best results at three or four loops.
  • Compared with a single pass, AIDABench-QA improved by 6.42% and Workbuddy-office by 16.93% (both peaking at three loops). LiveCodeBench V6 improved by 8.10% and AIDABench data visualization by 8.55% (both peaking at four).
  • Going from two loops to four added only 1.04 points on LiveCodeBench V6 and 1.35 on AIDABench visualization.

So the released model uses two loops by default. It’s a trade-off: each extra loop costs another full pass through the block, while the gains get smaller. The team says it is exploring “Dynamic Loop” models that pick the loop count per input, similar in spirit to the halting idea in Universal Transformers.

What looping means for running models locally

This is where looping matters for anyone with a consumer GPU.

  1. Weights are smaller. The file reflects the 32 stored layers, not 56. The Q4_K_M GGUF is 5.82 GB, which fits an 8 GB GPU in a way a 14.6B dense model at the same quant would not. See LLM quantization explained for why the bit width matters.
  2. Speed scales with passes, not with weights. A token costs about 56 layer executions, so expect it to run slower than a plain 9B model with 32 layers on the same hardware. Looping trades memory for time.
  3. The KV cache follows the logical layers. The llama.cpp PR notes that each logical layer keeps its own attention KV and recurrent state, even when weights are shared. The hybrid design (only one layer in four uses full attention) keeps this manageable, but long contexts still cost VRAM. Our context windows explainer covers the KV cache.
  4. Runtimes need explicit support. A runner has to know the loop range, the pass count and the mHC routing, and preserve the exact order of computation. That’s why SenseNova-Loop-9B needs a llama.cpp fork today.

Looping vs mixture-of-experts

Looping and mixture-of-experts are close to opposites:

Mixture-of-experts Looped
Stored parameters Many (all experts) Few (shared block)
Compute per token Low (only a few experts active) High (block runs repeatedly)
Main local constraint Memory to hold all experts Time per token
Good fit for Big RAM or VRAM, fast decoding Limited VRAM, willing to wait a little

The takeaway

Looped transformers are another way to scale. Instead of adding parameters, you spend more computation on each one. SenseNova-Loop-9B brings the idea to a practical, openly licensed 9B vision model with a long context. Its loop-scaling results suggest that three or four loops beat two, and that cost is likely to shape how future looped models ship. If you’re limited by VRAM rather than patience, looped models are worth watching. To try one, see our SenseNova-Loop-9B install guide.

Sources (checked November 20, 2026): SenseNova-Loop-9B model card, SenseNova-Loop GitHub, llama.cpp PR #32588, Universal Transformers, Recurrent Depth (Geiping et al.), Ouro: Looped Language Models, Hyper-Connections, mHC. SenseNova’s loop-scaling and benchmark figures are vendor-reported.

Cover image: screenshot of sensenova/SenseNova-Loop-9B-GGUF on Hugging Face