Loop Transformer vs Universal Transformer: What Actually Differs
Zhipu says plainly in its GLM-5.4 write-up that the idea is not new. The 2018 Universal Transformer already proposed a weight-shared depth structure, and recent work on recurrent depth and looped language models has shown gains at small scale.
That raises an obvious question for anyone searching the topic: is today's Loop Transformer the same thing as the Universal Transformer from eight years ago? Answering it means setting the original paper next to Zhipu's current official implementation, rather than relying on media summaries.
What the Universal Transformer paper says
The paper is by Dehghani, Gouws, Vinyals, Uszkoreit, Kaiser and colleagues. The preprint is arXiv:1807.03819, and it appeared at ICLR 2019. It combines the Transformer's parallel self-attention with the recurrent inductive bias of repeatedly refining a representation.
In the paper's own terms, the key points are:
- It recurs in depth, not by scanning along the sequence. The representation at each position can be revised over several steps.
- Each step uses self-attention followed by a transition function shared across positions and time steps. That is weight sharing.
- Depth is not fixed in advance. The paper adds a per-position dynamic halting mechanism in the spirit of Adaptive Computation Time, so different symbols can receive different numbers of revision steps. The authors report that it improved accuracy on several smaller algorithmic and language-reasoning tasks, and gave a slight drop on machine translation.
- In their experimental setting, they report results that beat the standard Transformer of the time on some algorithmic tasks, language-understanding tasks and WMT14 English–German translation.
So the Universal Transformer was never just a concept sketch that "didn't work". It is a formal paper with numbers. If a media article calls it something that "stayed in the lab" or "always loses quality", that is not the paper's conclusion, and it should not be taken as a verdict on 2026-scale pretraining.
How Zhipu frames that history
Zhipu acknowledges the lineage, but its judgment is narrower and more specific:
Weight sharing improves parameter efficiency, but at the same pretraining compute it still underperforms models without weight sharing.
Two boundaries matter here.
First, the comparison is at equal pretraining compute, between a looped model trained from scratch and a standard model with unshared weights. It is not a summary of every experiment the Universal Transformer ran on small and medium tasks in 2018.
Second, the sentence explains Zhipu's own path. Because of it, the team did not pretrain from scratch. It took an already pretrained base and converted it into a Loop Transformer through further training, which it believes raises the intelligence ceiling at a modest compute cost.
Machine Heart's write-up also mentions Google's 2018 Universal Transformer and the choice to convert a trained 750B standard base rather than train from zero. The general direction matches the official post. For any claim about how well each approach performs, follow the official phrasing, "at equal pretraining compute", and do not make the media summary stronger.
Where the two overlap and where they split
The overlap is clear. Both reuse Transformer computation along the depth axis, trading shared weights for more reasoning steps instead of building a new set of parameters for every added layer.
There are at least four differences.
Training path. The Universal Transformer was proposed and trained as a sequence-model family, with experiments on machine translation, algorithmic tasks and language modeling of its era. GLM-5.4's Loop Transformer introduces looping in post-training, converting the already trained GLM-5 base. That choice is discussed in Why Convert a Pretrained 750B Base.
Scope and count of loops. The Universal Transformer can apply a shared block repeatedly to revise representations, and depth may vary with the computation. GLM-5.4's published design loops 28 layers of the GLM-5 base for two rounds. It is a fixed setting in a shipped flagship, not a general description of looping an entire network any number of times.
Adaptive computation. Allocating a different number of steps per position is exactly what the Universal Transformer experimented with. The GLM-5.4 blog lists it as an open question: how to achieve adaptive computation so tokens of different difficulty get different amounts of compute. Zhipu has not announced that GLM-5.4 has the per-position halting and variable depth described in the paper.
Engineering scale. The original Universal Transformer experiments were not a 750B generative flagship in production. To run looping at that scale, GLM-5.4 added gated progressive updates, KV cache sharing across rounds with a sliding-window supplement, and reuse of sparse-attention indices. These are deployment and stability problems, not core claims of the 2018 paper. Details are in the three engineering changes.
Same idea is not the same model
On release day, community threads easily folded the Loop Transformer, the Universal Transformer and other looped or recurrent experiments from 2026's open-source scene under one keyword. As a search term that is fine. As a technical judgment it needs layers.
The official post names only the Universal Transformer, plus a general reference to recent recurrent-depth and looped language-model work. It does not present the layer counts, loop counts or training recipe of any particular open-source small model as the source of GLM-5.4's implementation. This article therefore uses the Universal Transformer only as a checked historical reference and does not transplant numbers from other projects.
The reverse claim is also wrong: that the Loop Transformer proves the Universal Transformer failed. Zhipu accepts that the idea is not new, and accepts that a looped model trained from scratch still trails an unshared model at equal pretraining compute. It then takes a different route: keep the knowledge in an existing base, and add looping afterwards.
For the basic structural difference between a standard Transformer and a Loop Transformer, see What Is a Loop Transformer. For the 750B and 2–3T figures, see Depth or Parameters.
Sources and verification notes
- First party: Zhipu, GLM-5.4: Toward Generalized Coding, the Surprise of the First Loop Transformer (Chinese), and the Z.ai English technical blog, both dated 2026-11-23.
- Paper: Dehghani et al., Universal Transformers (arXiv:1807.03819, ICLR 2019). Statements on dynamic halting, weight sharing and experiments follow the paper itself, not media retellings.
- Machine Heart, GLM-5.4 just launched (Chinese), is a media retelling. Use it as an index, and fall back to the official posts and the paper where they differ.
Sources were checked on November 23, 2026 (Singapore time, UTC+8).