On Nov 23, Z.ai published a blog post titled "GLM-5.4: Toward Generalized Coding with Our First Loop Transformer," unveiling GLM-5.4, its first looped transformer model. The post drew 74 points of discussion on Hacker News. On the same day, X user Hesamation said looped transformers are becoming an industry trend, naming GPT-6 Astra, Inkling 2 Mini and GLM-5.4 as models that use the architecture.

How it works: shared weights, repeated passes

According to an architecture diagram cited by Hesamation, the looped transformer shares the weights of some layers and runs them through two loop passes. A damp gate fuses the states from the two passes, while top-k indices and per-layer KV caches are reused to keep inference costs in check. The design raises the model's effective depth through repeated computation without a large increase in parameter count.

Benchmarks: gains across the board in a 30B parameter-matched test

Test data cited by Hesamation shows that in a parameter-matched experiment on a 30B model built on the same architecture as a 750B base, adding a loop structure with only about 10% more training compute lifted every benchmark.

BenchmarkGain
AIME2519.17 to 30.42, up 11.3 points
GPQA-Diamond+8.7
AA-LCR+7.3
MMLU-Pro+3.4
IFBench+3.3

Beyond higher scores, the experiment also showed average output length falling 2%–15%, meaning the model cut redundant output while improving accuracy.

What to watch next

Hesamation said the next thing to verify is whether scaling the model further, beyond loop depth, can stack with the loop structure. The original GLM-5.4 blog post and the Hacker News discussion (item 50609685) are still being updated, and training details and full evaluation results have yet to be disclosed.