News for hackers. Stuff that matters.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr... by bluepoint on Monday November 23, 2026 @10:31AM (#50613508)
What is the catch of loop transformers? Os training harder? Or what was the reason that this wan not tried first? I mean first you consider a for loop and if you find a reason you unroll it. For transformers it went backwards?
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr... by HarHarVeryFunny on Monday November 23, 2026 @11:06AM (#50614141)
The motivation for the Transformer stacked layers approach (as described by Jakob Uszkoreit whose idea it was) was linguist's sentence parse trees, where each layer of the transformer corresponds to a layer/level of the parse tree.

The overall goal for what would become the Transformer was to create a new language modelling architecture that could take better advantage of the available parallel (GPU, etc) hardware, as opposed to RNNs which required sequential training of each time step. Uszkoreit's insight was that language is as much parallel as it is sequential, as can be seen from these parse trees where different branches (parts of the sentence) can be analyzed independently and in parallel until they join together at a higher level.

So, this is why the Transformer consists of explicitly stacked layers, because it is mimicking the layers/levels of a parse tree.

The evolution (assuming this direction sticks) of the architecture to a looped vs pass-thru design could perhaps be thought as moving away from this original linguistic inspiration to more of a brain-like architecture, although in reality the motivation is probably more practical to reduce parameter count.

Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr... by Ohentis on Monday November 23, 2026 @11:23AM (#50614461)
The catch is partially that it wasn't obvious that there was a reason to do it and now it seems there is.