Recurrent Transformer
An architecture design distinct from the standard Transformer stacking paradigm, in which the same set of weights is invoked multiple times, shifting depth from the spatial dimension (number of layers) to the temporal dimension (number of loops); parameter count does not grow linearly with effective depth, memory usage is lower, and each loop makes incremental corrections to existing representations.
Timeline (last 90 days)
GLM 5.4 uses a Loop Transformer architecture, with a core block of 28 layers that runs twice during inference.
The Loop Transformer is an architecture design that has the same set of weights invoked multiple times, differing from the standard Transformer stacking paradigm in which each layer has independent weights.
The core advantage of the Loop Transformer is that parameter count does not grow linearly with effective depth and memory usage is lower, at the cost of increased serial computation.
Too many loop iterations may lead to diminishing marginal returns or even overfitting to certain reasoning patterns, so GLM 5.4 chose 28 layers × 2 iterations as the balance point between efficiency and depth.
The loop mechanism faces the risk of train-inference inconsistency: if training uses only a single forward pass while inference loops twice, the representation distribution will shift.
All Facts (5)
GLM 5.4 uses a Loop Transformer architecture, with a core block of 28 layers that runs twice during inference.
60%UnverifiedThe core advantage of the Loop Transformer is that parameter count does not grow linearly with effective depth and memory usage is lower, at the cost of increased serial computation.
60%UnverifiedThe Loop Transformer is an architecture design that has the same set of weights invoked multiple times, differing from the standard Transformer stacking paradigm in which each layer has independent weights.
50%UnverifiedToo many loop iterations may lead to diminishing marginal returns or even overfitting to certain reasoning patterns, so GLM 5.4 chose 28 layers × 2 iterations as the balance point between efficiency and depth.
50%UnverifiedThe loop mechanism faces the risk of train-inference inconsistency: if training uses only a single forward pass while inference loops twice, the representation distribution will shift.
50%