Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by HarHarVeryFunny on Monday November 23, 2026 @11:48AM
(#50614934)
> What does a Looped Transformer (LT) do for the loop during training? The output of a layer is typically garbage until it has done some iterations of training.
The same is true for any deep neural net - so you need to make sure that errors/gradients flow back to the lowest levels, which is what "residual connections" do.
> How is the output fed back into the input?
They show that on their architecture diagram (the "Damp Gates") - they appear to be blending (learning to?) the old and the new, similar to what an LSTM does.
> Do you loop back each layer? Or a block of layers??
In this case it's a block. Perhaps the idea is that it takes more than one layer to implement a useful group of transformations (e.g. it takes two layers to implement an "induction head", which is one of a Transformers emergent mechanisms).
We don't need to guess too much since they show us the architecture!
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by nagaiaida on Monday November 23, 2026 @01:43PM
(#50616850)
repeating a chunk of middle layers is relatively common in model merging; presumably it's pretrained unlooped first and then the section to loop is identified and trained further while looping
What does a Looped Transformer (LT) do for the loop during training? The output of a layer is typically garbage until it has done some iterations of training.
How is the output fed back into the input? Via a smoothing function ( e.g. gamma * Input + (1 - gamma)*Looped_Output as gamma goes from 1.0 to 0.5 ) ?
Do you loop back each layer? Or a block of layers??