Does this mean we're opening up a whole new space of efficiency and performance gains even while keeping model sizes (chinchilla-optimal models) constant?
This is mind-blowing, though. Reality (the universe) just keeps on giving to our newfound tech tree branch of artificial neural networks.
Speculative execution goes hand in hand with branch prediction, and refers to speculatively executing the instructions that you think (based on branch prediction) will follow a branch before you get there, with the goal of keeping the execution pipeline full. If the branch prediction proves to be incorrect then you need to throw away those speculatively executed results and instead execute the instructions on the path that the branch actually took.
With a looped transformer, there is no speculation. You are basically choosing to put some layers in a loop rather than have them duplicated. For example if you previously had 6 layers A B C A B C then you could put (A B C) in a loop and execute the loop twice instead. There is no speculation here - you are always going to execute A B C A B C in either case. The benefit of using a loop is that by avoiding the duplication of layers you are avoiding duplication of parameters and so keeping the model smaller.
I don't know how they train these looped transformers - whether they take the lopping into account or not. For training recurrent (i.e. looped) neural networks in general, the historic approach has been to unroll them over some fixed number of timesteps (BPTT = back-propagation through time).
I remember fixed points. An automorphism A on a set S has a fixed point s ∈ S if A(s) = s. If a noop corresponds to a fixed point, then are the elements of the set vectors and the output is a diff from the previous layers? Like, we're looping until we notice a cycle?
There has been concern that looping internally rather than emitting a token every N (transformer depth) layers reduces visibility and monitor-ability, so OpenAI have talked about severely limiting it to avoid this concern, and Zhipu are (at least initially) doing the same here - limiting it to a fixed two loops/iterations.
This is not true; in the article it is made abundantly clear that it runs 2x of 28 of its layers.
But also I’m excited for the performance gains anyways
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??
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!
Every business in China is owned by the state. Full stop. People confuse the loose leash that they afford some companies with the voluntary collaboration that American companies undertake with the US government.
But don't get it confused, one is fully under control of the state and the other has a business relationship with the state.
If you are unsure of this, you can look up the number of times Chinese companies have sued the state and won (spoiler: It's never happened and doesn't even make sense because they are the same thing)
Pretty much every company that becomes big enough becomes a defense contractor. And most of them are supplying infrastructure needs, but active combat support.
For example, The Ball Corporation, originally a mason jar manufacturer, has a whole subsidiary to "Aerospace"
The oligarchs directly influence politics through campaign finance, lobbying, regulatory capture, and revolving door policy of politicians getting cushy jobs at large corporations.
So the American state is effectively a management committee for the American oligarchs. Its raison d'etre is to resolve conflict between different factions of billionaires in a peaceful fashion, while preserving the broader system of capital ownership that all capitalist factions depend on. The state operates strictly within limits set by the class that holds power in society.
Ah, of course! I've got one of those in my backpack!
As for "association cortex", is that kind of like what Qwen and DeepSeek did in recent releases, mapping sequences of tokens into vector space as a memory aid?
A separate subsystem I believe, which must have been helpful for some reason.. maybe it was transplanted from a much bigger model?
The association cortex is that part of our cortex (brain) where activations originating from different sensory modalities come together, distinct from the sense-specific areas (visual cortex, auditory cortex, etc) where they are initially processed. This is what allows patterns/correlations across different senses to be recognized, such as lip-reading assisting with speech recognition.
I'm not aware of any transformer variants where different input modalities (text, audio, video) are processed separately, so it's all more like non-specific association cortex in that regard. There is not necessarily any advantage to initially processing different sensory inputs on their own before combining them - our brain probably just does this as a matter of plumbing - the bit of the cortex nearest to our eyes/optical nerve processes vision, etc.
A lot of innovation really seems to leak out of OpenAI because people love to brag lol. Interestingly, nothing seems to leak from the Anthropic cult.
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.
Edit: Found it: https://www.youtube.com/watch?v=fBU7e3-ulR4
If you haven’t seen it, Thinking Machines released an interesting looped model, open weights, last week with some interesting writeups:
https://thinkingmachines.ai/news/inkling-2-mini/
To be honest, I’m getting a little tired of the “eastern vs western” discourse seeping in to so much of the LLM discourse, especially when the east versus west distinction doesn’t exist as much as implied. In this case, looped model research came out of “the west” and a “western” lab was first to release an open looped model. Can we drop the whole east versus west thing and just appreciate the progress and research?
In any case, it's well known that all neural network architectures, present and future, were originated by Schmidhuber :) In this case there is some truth to it given that his LSTMs were the first to tame RNNs and make them practical.
So was I. This "west versus east" division you're drawing on this topic doesn't make sense if you've been reading the architecture discussions from around the world.
This was last week from a "western" lab also discussing their looped model's architecture: https://huggingface.co/blog/inkling2mini
I'm not trolling; I'm trying to come up with another western company as forthcoming, and having trouble. Is Poolside one?
- https://github.com/NVIDIA/Megatron-LM
- https://github.com/NVIDIA-NeMo/Megatron-Bridge/
Over the past few years they've been releasing papers that have been foundational for how TP and SP are being done today:
- Megatron-LM, https://arxiv.org/abs/1909.08053
- Reducing Activation Recomputation, https://arxiv.org/abs/2205.05198
and there's new ones, too, e.g., Scalable Training of Mixture-of-Experts Models with Megatron Core, https://arxiv.org/abs/2603.07685
Looped Transformers are an obvious direction even if there are still problems to be worked out. The original Transformer is a bit like an unrolled for loop, and rather unnaturally pairs given sets of weights, both for attention and feed forward (knowledge) with different "layers" (aka loop iterations). Far more natural is to strive for something more like our brain's thalamo-cortical loop and association cortex, where "thought" is iterative and there are no restrictions as to what patterns/knowledge get applied when.
A similar idea has been explored before ("Universal Transformer", 2019), seemingly going nowhere, but perhaps "necessity is the mother of invention" and compute-starved Chinese companies are finding a way to make it work.