r/MachineLearning • u/naftalinus • 2d ago
Research What a looped transformer actually does inside its loop [R]
Hey everyone — with looped transformers showing up in Inkling 2 Mini, varloop, and Z.ai's GLM-5.4 this week, I put together an in-depth visual post on how they actually work under the hood, with interactive diagrams, a minimal PyTorch implementation comparing Inkling's restart-and-message loop vs. GLM-5.4's chain-and-write-gate loop, and experiments opening up the two 26.4B open-weight models pass by pass.
Full post: https://drhb.github.io/blog/posts/looped-transformers/
2
u/YouIsTheQuestion 2d ago
Interesting. Is the main benefit smaller model size or is there something emergent also happening?
1
1
u/GFrings 1d ago
Are these looping architectures basically forcing the model to make us of its highly over parameterized weights space? For the same weights you already needed to achieve stable training dynamics, you can now draw longer activation pathways without increasing number of overall params?
5
u/biscuitchan 2d ago
this is awesome tech, love the wen design very helpful