Loop Transformer Architecture: Deeper Compute with Shared Weights and Fewer Parameters
Weight-tied looped transformers trade extra forward-pass depth for parameter growth. This article explains how a flagship model applies Loop Transformer—shared blocks run for extra rounds—covers reported gains on AIME and GPQA, multimodal and long-context specs, third-party agent metrics, pricing and latency, and the overthinking trade-off.
Beyond parameter scale: another axis of expansion
Recent gains in large language models have come mainly from more parameters and more data and compute. Once base models reach hundreds of billions of parameters, further scale gets expensive, and inference cost rises with it. A more surgical path is to increase effective computational depth without adding parameters.
A Chinese LLM team recently released a flagship model that, according to public materials, is the first among Chinese large models to use a Loop Transformer architecture. This article uses that public information to summarize the architecture, capability claims, evaluations, and engineering trade-offs.
Architecture: weight sharing and looped execution
Structural change, not a from-scratch train
The idea is simple: take a contiguous block of layers in an existing base model, share one set of weights, and run that block for multiple rounds at inference. In the reported design, 28 layers of an approximately 750B-parameter base are weight-shared and executed for two rounds. Parameter count is unchanged, but each forward pass applies twice as many transformations—equivalent to a deeper network.
Illustrative pseudocode:
# Conventional deep stack: independent weights per layerfor layer in layers: # N independent layersx = layer(x)# Loop Transformer: shared block, repeated executionshared_block = load_shared_block() # 28 layers, one weight setfor i in range(loop_rounds): # two roundsx = shared_block(x)
Why looping can help
Weight sharing is not new; Universal Transformers and related work explored similar ideas. Two mechanisms are often cited:
- Iterative computation. The same transform is applied repeatedly; each round can refine the intermediate representation, analogous to reworking a solution.
- Decoupling depth from parameters. Expressiveness from depth is separated from capacity stored in weights, so a fixed parameter budget can use a tunable amount of compute.
The team claims the converted model reaches intelligence comparable to the 2T–3T parameter range. That claim still needs independent verification, but it aligns with academic interest in trading compute for parameters.
Reported quantitative gains
Official ablations on a 30B same-parameter setup, with looping enabled, reported:
- AIME25: 19.17% → 30.42%
- GPQA-Diamond: 47.58% → 56.26%
- Average output length on the same benchmarks down 10%–14%
The last point is notable: some reasoning may move from explicit chain-of-thought tokens into extra forward computation. Outputs can look shorter while internal compute increases, which can reduce billed output tokens for developers.
Capabilities: multimodal input and a “pan-coding” positioning
Multimodal and long context
The new model adds vision: images, video, text, and files. Context is reported at 1M tokens, with a maximum output of 128K tokens. Long context plus multimodal input is aimed at tasks such as reading a large engineering codebase or watching a video before generating.
From writing code to pan-coding
The product positioning is “pan-coding”: strong code as a core, then transfer to adjacent structured tasks—video generation, 3D modeling, mechanical design. Examples cited in the team’s technical blog include:
- Pure front-end code for visuals, plus a third-party music model for an MV
- Math, geometry, and shaders for interactive 3D scenes
- Open-source CAD and 3D tools for robot-arm modeling and motion simulation
The logic is that code is a tight, well-specified medium with clear feedback, so strong coding models may transfer to tasks that need precise control and structured output.
Evaluations: third-party snapshots
The team did not publish scores on a particular 200-scenario real-world coding benchmark. Public comparisons cited from third parties include:
- A private overseas eval: 33.2, roughly in line with leading closed flagship models, within about 5% of the top score
- An independent test: first among open models in that batch; tool-call failure rate 1.56%; retry recovery 66%, higher than other mainstream models in the same set
Tool-call failure rate and retry recovery matter for agents: the first measures legal, well-formed tool use; the second measures self-correction after failure. Both are useful for teams building automated workflows.
Access, cost, and speed
On launch day the model was opened to subscribers and integrated with several coding-tool platforms. API access was described as following a safety review. Weights are planned to be open-sourced in a responsible way; as of the day after launch there was no concrete timetable.
A third-party listing quoted API prices of $0.09 per million input tokens and $0.33 per million output tokens. Speed was reported as up to 200 tokens/s off-peak and 70–80 tokens/s at peak. For production use, three points stand out:
- Peak slowdown. Peak vs. off-peak is nearly 3×; latency-sensitive services need traffic shaping and fallbacks.
- Shorter outputs. If looping really cuts average output length, effective cost may be lower than the sticker token price.
- Open-source timing. When weights land will determine whether private deployment is realistic.
Known limitation: the cost of overthinking
The team also noted a weakness: the model often enters long thinking modes and turns on reasoning for almost every step on hard tasks, so wall-clock time grows even when token generation is not slow. They flag this as a concern, while arguing that long reflection and self-repair can help on long-horizon work.
That is a general Loop Transformer trade-off: extra loop depth deepens reasoning but can inflate latency in an uncontrolled way. Engineering responses discussed include:
- Dynamic loop count by task difficulty (shallow path for easy tasks)
- A hard cap on reasoning depth for latency-sensitive online serving
- Uncapped depth in offline batch jobs where quality matters more than time
Closing
Loop Transformer is one “compute for parameters” path that does not require exploding parameter counts. For developers, the intended benefit is stronger reasoning and long-horizon performance at similar cost, with shorter explicit outputs. Remaining work includes latency from looping and matching loop rounds to task difficulty. Teams evaluating the line should test against their own latency budgets and task-complexity mix rather than relying only on published numbers.
