News for hackers. Stuff that matters.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr... by aenis on Monday November 23, 2026 @08:24AM (#50611223)
Is there any easy way to explain why does intelligence increase with the same layer being replicated and computed multiple times? I know there is research that shows it as somewhat effective, but ...why?
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr... by hgoel on Monday November 23, 2026 @08:30AM (#50611279)
My mental model of it is that the network can fit a function, e.g. (x+y)^2 as looping an (x+y) layer twice rather than two redundant (x+y) layers.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr... by throw310822 on Monday November 23, 2026 @08:36AM (#50611336)
Because understanding and reasoning are based on rules that can be applied again and again to the input data and their own results. For the most obvious example think about how the algorithm for addition applies the same rule again and again from right to left.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr... by pennomi on Monday November 23, 2026 @08:39AM (#50611368)
From my layman’s understanding, the first layers of a model “decode” the input words into some kind of internal state. The middle layers “reason” about that state. The end layers “translate” the result back into words.

By taking those internal reasoning “circuits” and running them multiple times, it loops over the thinking part of the model without popping back in and out of words, in essence giving it more efficient chain of thought.

This technique (as far as I’m aware) was first done years before the big labs tried it. Someone on huggingface essentially made a frankenmerge of a model with itself and found that repeating 3 or 4 layers increased the model’s intelligence sharply.

But someone with actual industry knowledge should correct me if I’m wrong.

Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr... by halJordan on Monday November 23, 2026 @01:07PM (#50616306)
[delayed]
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr... by charm137 on Monday November 23, 2026 @10:39AM (#50613658)
I don't think it increases when compared to a truly deep nicely pre-trained model. But I think what these results show that there is a lot of redundancy / "empty space" left in the models (in retrospect, those giant models from just 1-2 years ago seem like a mistake alongside Chinchilla scaling and all the GWs of power and trillions of dollars the industry collectively decided to throw at compute).

For a model with the same layer depth, I believe the gradients during training have to travel back to a lower depth but still are able to squeeze enough out of the weights to be useful where, compared to deep models, rank collapse is a real issue for deep models unless one is careful about their architecture (someone can correct me here - if the loss function does not have a built-in "loop index", then the backprop has no way of knowing whether it's going through 32 layers or 4 layers 8 times). And with looping, you obviously get the lower VRAM footprint advantage.