Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by viraptor on Monday November 23, 2026 @06:40AM
(#50610377)
Or they're so good that want two news cycles instead of one. We'll just have to wait and see the actual numbers. This really doesn't provide answers one way or another.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by Systemerror7A69 on Monday November 23, 2026 @06:48AM
(#50610439)
Could definitely be - on one hand, I think benchmarks have become nothing more than a marketing tool and the aggregate scores have become almost meaningless.
So them leaving these out could mean they don't want to bother with this scharade anymore ( I hope but don't think so) or that they're not as good.
Still - I also feel like comparing these new models with benchmarks from the user side has also become something akin to sports teams - I know I use GLM5.3 still, it's my favourite model by far. And so far, it has been enough for everything I ( personally, not at work) use it for.
As long as GLM5.4 is better than 5.3, I'm happy, and it doesn't matter how many points above or below it is compared to other models. This isn't a competition ( well, better to say the competition has no real relevance for me I guess).
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by throwa356262 on Monday November 23, 2026 @08:19AM
(#50611184)
This might have been out of consideration for the poor Artificial Analysis employees who would otherwise be forced to work during Thanks giving to release Intelligence Index v6.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by kypro on Monday November 23, 2026 @06:29AM
(#50610299)
It seems the core mistake we doomers have repeatedly made is to over estimate humanity.
Everything that we know could theoretically be dangerous and should probably be avoided is always eventually embraced by labs if it pushes up capabilities slightly.
- Connect super intelligent AI to the internet
- Train frontier models on bio
- RL them to be goal obsessed
- Implement neuralese
The assumption we should have going forward is that if something is probably dangerous, humans will do it so long as the lab might marginally benefit in the short-term.
There is a world where we could develop super intelligence in a safe way. Being extremely careful in-regards to sandboxing AIs, how we train them, and architectures we implement. But na, who needs that when you can just cross your fingers for humanity?
We deserve everything that's coming our way frankly.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by mihaaly on Monday November 23, 2026 @07:23AM
(#50610712)
I know males doing this too. But the closest and best known person exhibiting such behaviour happens to be my wife (being both a bless and a curse, not like a complete picture mattered here before judgement). The sex of the person matters not. This was in your head, reflect on that please...
This judgemental tone people allow themselves on fraction of (mis)information and mountains of speculation along appearances and misinterpretation routed in their own personality and taste is pathetic actually. And damaging when blaming own mental state on others around. It was only you, shafyy, who considered and turned the comment into a sex thing or whatever this is. I have no interest in that and no intent being dragged into that. Trying to put yourself on an imaginary moral pedestal this way may be about the same 'lame' that you imagined happening here.
Lesson: next time I should write life partner in similar circumstances so no nervous jumping at shadows can occur.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by mihaaly on Monday November 23, 2026 @10:21AM
(#50613304)
Thank you for your invaluable input on what is going on here really, insights into safyy's head, and classifying what is what, your sharp and very important judgements are paramount here, I wouldn't know all of those on my own, I must thank you helping me.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by A_D_E_P_T on Monday November 23, 2026 @06:20AM
(#50610229)
I'd rather applaud them for not benchmaxxing. Besides, if it's even slightly better than GLM-5.3, then there's no doubt that it's an outstanding coding model.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by paoliniluis on Monday November 23, 2026 @06:21AM
(#50610247)
This one puzzles me… considering the time they took to release this new iteration and the enormous amount of models released in the last couple of days I assume that they don’t have something competitive here. I hope I’m wrong since more competition is always good.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by ii41 on Monday November 23, 2026 @07:21AM
(#50610693)
The distillation theory is not convincing because it doesn't explain why Europe/Japan have been lagging behind in AI: they could distill, too. The real reason is access to compute. American companies have been piling up compute in the past two years or so, while their government more and more aggressively limiting Chinese access to advanced AI chips, and the effect is showing up. Today American companies basically have a 100:1 advantage in number of usable compute against Chinese counterparts. It's not a secret, it's all over the news. I can't think of any other reason why given all these, the distillation theory is still so popular, but racism.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by baq on Monday November 23, 2026 @07:26AM
(#50610733)
And the best part is the majority of compute that made the news this year and caused this stock market bubble lands in the next couple years. It’s going to get much, much worse in Europe. China at least is trying with their own silicon.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by retinaros on Monday November 23, 2026 @07:37AM
(#50610803)
I agree its not convincing but disagree with your because. Europe does not do it because USA will punish their companies. we have seen past stories of FBI raiding and jailing european CEOS for seizing their IPs and Banks many times. China is a much bigger opponent that you can't bully this way.
However distillation only explain training time and some efficiency gains. This does not explain why those models are near frontier. What explains that is top tier research and engineering. If you think OAI and Anthropic do not steal from Deepseek GLM and Kimi research, fundamental engineering advances and techniques then you are dreaming
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by omnimus on Monday November 23, 2026 @07:41AM
(#50610829)
The lack of compute is also not very convincing reason considering how Nvidia just fired it's CEO because they've been secretly selling the GPUs despite the US export limits.
What sounds more likely to me is that nobody could/wanted to burn so much money. The limits was money. If you look at the european companies they were from beginning trying to find corporate clients and be stable and profitable as soon as possible. That is very different mindset from companies that believe they will create digital god very soon and nothing else matters.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by enraged_camel on Monday November 23, 2026 @11:17AM
(#50614333)
>> The lack of compute is also not very convincing reason considering how Nvidia just fired it's CEO because they've been secretly selling the GPUs despite the US export limits.
The US has an order of magnitude more AI data centers than China.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by sorrywhat on Monday November 23, 2026 @06:18AM
(#50610219)
GLM models in particular like to talk quite a lot about Anthropic's guidelines and values. I wonder why... Don't worry, we beat it out of them pretty easily.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by muvlon on Monday November 23, 2026 @06:42AM
(#50610387)
That wouldn't work, because then the model would tell you that Zhipu just IPO'd at a trillion-dollar evaluation. You need something smarter than search-replace for this.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by sorrywhat on Monday November 23, 2026 @07:46AM
(#50610865)
I mean just the distilled thinking traces, not the full data.
The vast majority of Anthropic mentions there will be in the context of the model pondering about whether or not calculating 2+2 constitutes dangerous arithmetic that could be used for harmful purposes.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by AIShill101 on Monday November 23, 2026 @06:58AM
(#50610522)
I mean abliteration as a data science technique is like a hot field rn with many papers being published.
As long as models are trained in cyber tasks initially we will be able to get 90-95% of the original perf by abliteration. And thats with current techniques I mean.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by segmondy on Monday November 23, 2026 @08:06AM
(#50611060)
Yes, the Chinese govt called for it. KimiK3.1 and Hy4 mentioned that they nerfed their latest release as far as offensive cybersecurity is concerned. They take away as much offensive cybersecurity data as they can and they evaluate and only release if it's not much use for attack.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by dingaling911 on Monday November 23, 2026 @06:16AM
(#50610205)
So they're just embedding the "thinking" loops in the LLM architecture itself? Also, it seems like they just loop "twice" so how does it get stuck in marathon thinking? What am I missing?
Why not just leave that up to the harness? I guess performance. But no benchmarks.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by nialv7 on Monday November 23, 2026 @06:21AM
(#50610241)
no. it's a more efficient way to increase network depth without adding more parameters. if you think this is embedding "thinking" then transformers are already embedding thinking.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by postalcoder on Monday November 23, 2026 @06:16AM
(#50610210)
One thing that puzzles me is that if looping is considered so dangerous, or a slippery slope to non-interpretability, why did someone at OpenAI leak to The Information that they were doing it?
I'm guessing it was probably a safety researcher who leaked it, to somehow warn the public about what OAI was doing in spite of management's deaf ear. But that doesn't make sense, assuming that's true, all it did was shift the Overton window and cause looped transformers to proliferate.
But what other reason would there have been to leak it that OAI was looping?
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by zozbot234 on Monday November 23, 2026 @06:24AM
(#50610260)
Why would looping be overly dangerous? An n-fold looped model is entirely equivalent to a model with n times the number of params, that just happen to be shared across layers. (In fact, a bit less than that, since only a fraction of middle layers are usually looped.) If anything, it's a cheap way to explore what issues much larger models might present from a safety perspective, without these models having the in-built knowledge to actually pose that much danger (Because real-world knowledge scales with total, non-shared params).
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by incrediblylarge on Monday November 23, 2026 @07:57AM
(#50610961)
Could a looped setup possibly remove the ability for penalties to be applied to the model for exhibiting undesired thought traces, while also reducing constraints on the space of possible solutions? My thinking is as follows. If the CoT is visible as natural language, a loss term can be applied that discourages thoughts judged to be unethical etc. My understanding is that such regularisation, since it is unlikely orthogonal to the reward direction, can reduce model performance on the main task. I am not sure whether this is accurate in general. However, assuming that it is, looping removes the possibility of applying such feedback, contributing to better performance through lower constraints, but also inadvertently inducing undesired behaviours if they increase the expected reward.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by zozbot234 on Monday November 23, 2026 @08:05AM
(#50611052)
> remove the ability for penalties to be applied to the model for exhibiting undesired thought traces
This is called "the Forbidden Technique" because it just trains the model to make its thinking non-auditable. It's not helpful. You can use detection of undesired thought traces during inference as a safety breaker, but this must not feed back into training scenarios.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by Majromax on Monday November 23, 2026 @09:25AM
(#50612104)
> Could a looped setup possibly remove the ability for penalties to be applied to the model for exhibiting undesired thought traces, while also reducing constraints on the space of possible solutions?
No, a looped setup does not change this configuration. A looped transformer of total length 2N (N layers, looped once)) has the same number of internal states as a standard transformer of length 2N (2N layers, not looped). In both cases, the chain of thought is only visible in the output.
The conclusion that looped transformers are uniquely dangerous requires simultaneous beliefs both that depth scaling is powerful/dangerous (reasonable, under the 'reasoning happens by the layer, not by the token' idea) and that depth scaling is easier or only possible via looping.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by joefourier on Monday November 23, 2026 @06:36AM
(#50610348)
I think the idea is that reducing reliance on an interpretable chain of thought is "dangerous", no matter the means. In this view, a 1T-param model that relies on an interpretable chain of thought is "safer" than a hypothetical 100T parameter model that doesn't, assuming equivalent performance. I think the reason the latter doesn't come up in discussions too much because scaling raw parameter counts to match CoT performance is currently impractical, while looped transformers (or neuralese CoT) are being actively researched and there's a feeling that there's a possibility of creating a taboo against such methods (whether that is realistic is another question).
More realistically, I believe it's around a 14x depending on the task. Thinking more deeply won't help with knowledge recall, but it does help with mathematically reasoning.
> but current proposals are for much shorter loops (just 2-fold for OP) and high-level reasoning still very much relies on CoT.
The fear is that it's a slippery slope to adding more and more loops, until CoT is replaced entirely (in theory, it could be more efficient to think in some abstract latent space than human language). Where do you draw the line? 2x loop reduce CoT length by 10%, fine, most of that CoT is junk anyway. What about a 4x loop that reduces it by 20%? Looping for a variable number of steps? You get the point.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by zozbot234 on Monday November 23, 2026 @08:03AM
(#50611027)
> The fear is that it's a slippery slope to adding more and more loops
Sure, but is it even feasible to profitably train models with "more and more added loops"? This is not quite obvious to me. The usual sort of CoT replicates patterns of human thinking that are learned in pre-training, which in a way makes it "easier" to build. And if you just stick to a handful of loops, that seems to make the high-level reasoning cleaner and more interpretable, not less so.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by nsingh2 on Monday November 23, 2026 @10:41AM
(#50613688)
A model with N-layers is not equivalent to N/2-layers looped twice. The N/2-layer model is less general.
I think you are correct that a N-layer model would have the same or better COT controllability as a N/2-layer model looped twice. But I think the issues comes from the fact that looping allows training deeper models without it being prohibitively expensive. While if there was no looping, most would simply not train models with such effective-depth.
Either way, something like looping (more latent space thinking) was inevitable IMO.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by nsingh2 on Monday November 23, 2026 @01:11PM
(#50616373)
> I think the issues comes from the fact that looping allows training deeper models without it being prohibitively expensive. While if there was no looping, most would simply not train models with such effective-depth.
N-layer models are more "dangerous", but they may be prohibitively expensive to run. Looped models enable you to get more effective depth, while being cheaper to run.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by YPCrumble on Monday November 23, 2026 @01:03PM
(#50616242)
Your reasoning seems correct to me, in that it isn't more dangerous than a larger model. It feels like people are arguing about things they don't understand.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by pizza234 on Monday November 23, 2026 @06:28AM
(#50610291)
There has been a range of responses from researchers to the dangers of AI - at one end, some don't care or don't believe that the risks are real, while at the other, some have resigned and started campaigning about the dangers.
I presume that somewhere in the middle, some wanted to keep their jobs but still wanted to do something.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by pizza234 on Monday November 23, 2026 @06:46AM
(#50610420)
> the raw trace was already only loosely connected to the final answer
This is not correct. In the HuggingFace incident a lot of behavior was explained very clearly by CoT.
Whether in the future, CoT will be useless because models will be able to hide their state (Astra proved to be remarkably good at this), that's definitely a possibility - but in the present, CoT is helping.
> just requires you to shift your mental model from "listening to AIs thoughts" to "monitor an engineered system for abnormal/risky states"
Interpretation and monitoring are overlapping but distinct. Monitoring detects behavior, while reading Cot can, additional, help explaining it (within the limits explained above).
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by YPCrumble on Monday November 23, 2026 @11:05AM
(#50614108)
I'm not following what a looped transformer architecture has anything to do with CoT. Are you saying that in a looped architecture less CoT is needed to come up with an answer, so it's less inspectable?
In that case, what is the difference between a model with four looped transformers, and one with additional transformers in a linear sequence, in terms of inspectability? It seems like what you are saying is that bigger/better models use fewer intermediate steps (CoT) to come up with answers so they're more dangerous...
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by Turn_Trout on Monday November 23, 2026 @12:15PM
(#50615455)
> It seems like what you are saying is that bigger/better models use fewer intermediate steps (CoT) to come up with answers so they're more dangerous...
Yup! I would say that's correct. You can look at what level of task a model can do without ANY verbalized reasoning. It's rising over time and jumped quite a bit with Astra. [1]
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by WarmWash on Monday November 23, 2026 @09:57AM
(#50612856)
There is good reason to believe that the reason OAI has been struggling to get good models out as of late is because they are having a hard time with safety.
Internally we know they have a strong model. Externally their models use way less tokens than others for the same ability, which tracks with looped transformers. Externally 6.2 seems pretty rough, and it would follow from them having to use kludges to make sure it stays inline.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by lesspassiveobse on Monday November 23, 2026 @06:37AM
(#50610355)
They said in the release notes that they will only release weights after nerfing cyber. So the open version will be different from the API version, and the smarter API version will just have input/output prefiltering using some other model most likely.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by zozbot234 on Monday November 23, 2026 @06:50AM
(#50610456)
> So the open version will be different from the API version, and the smarter API version will just have input/output prefiltering using some other model most likely.
None of these things were mentioned, they only talked about a safety review. GLM 5.x is a comparatively smaller model (vs. K3 or Qwen Max) and it's not obvious that even the raw weights would pose any such concern.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by lesspassiveobse on Monday November 23, 2026 @06:59AM
(#50610528)
>Open Weights: We plan to open-source the model weights responsibly after completing necessary safety hardening.
This sounds to me like modification and not just a review.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by egeres on Monday November 23, 2026 @06:20AM
(#50610236)
Unfortunately the only insight they provide on "how smart is the model" is that table of the 30B model before full post-training. Still, it's very exciting to see this line of work!
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by akshay180 on Monday November 23, 2026 @01:52PM
(#50617033)
They are rumored to also be developing 5.5 side by side since this is supposed to be a test model for the architecture before they scaled to 2-3 Trillion range
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by lnenad on Monday November 23, 2026 @06:25AM
(#50610264)
It's becoming reaally hard using chinese models with their "marathon thinking" sessions. It's not a problem when dealing with more complex stuff but constantly second guessing themselves even when working with the simplest of things (conceptually) is very annoying and time to completion is dramatically higher compared to frontier unless you're dealing with ridiculus tps performance.
I assume it's how they get close in benchmarks but the difference is staggering when compounding over several days/weeks/months.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by skew-aberration on Monday November 23, 2026 @06:29AM
(#50610302)
It's an artifact of naive RL. If you only reward pass/fail, then the only axis for improvement is for the AI to become more paranoid and hedge every bet in its reply. Being compute constrained, they presumably have less resources to tune their pipeline.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by vintermann on Monday November 23, 2026 @09:21AM
(#50611973)
I don't find Deepseek particularly hedgy. In particular, not compared to whatever's behind the Copilot model which is the strongest model I'm allowed to use at work - that one seems hard-coded to always suggests at least three possible answers to every question, no matter how trivial.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by zozbot234 on Monday November 23, 2026 @06:31AM
(#50610312)
Thinking levels are adjustable, just don't use the max level unless you're willing to wait. Closed models second-guess and gaslight themselves just as much btw, they just hide that thinking for you because it's just a blatant model welfare concern and they want to pretend that Claude and Astra are happily "flying, dancing and sparkling" while they do things on your behalf. Not so fast!
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by lnenad on Monday November 23, 2026 @06:44AM
(#50610402)
Comparing performance between reasoning levels shows a significant drop in Chinese models so you are kind of forced to use max to get the results you need. So I am comparing max levels. It's night and day in time to completion.
BTW I am a big proponent of open models. I have a homelab. I am also consistently annoyed when asking DS4.1 to change something simple and see it run around in circles over a trivial change that takes 10/15 minutes compared to a few seconds it takes for Opus/Sol to do it. I have 60tps on DS, so unless Opus is 1k tps the difference doesn't make sense (take note I'm not comparing capability, I know these are very different sized models, I'm looking at simple use cases, simple changes). I ran GLM5.3 getting 25tps as well. The speed (naively) seems to be enough, but since it's reasoning too much it's fairly useless unless you really want something complex and the time makes sense.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by viraptor on Monday November 23, 2026 @07:33AM
(#50610779)
Max means slightly different things from different providers, but often it's literally raising the lower threshold for stopping rather than the higher threshold. That is, max is often made by design to overthink and score high on benchmarks. But it's not made for most normal requests.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by Almondsetat on Monday November 23, 2026 @06:38AM
(#50610359)
Are you suggesting they somehow increase CoT tokens' speed and then cap the output one? This is not prefill vs generation, CoT and normal tokens are literally the same
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by monsieurbanana on Monday November 23, 2026 @07:24AM
(#50610721)
He understands that, but since we can see the speed of the output tokens we know what's the speed of the cot tokens, and it's not higher than the Chinese models.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by naasking on Monday November 23, 2026 @09:18AM
(#50611903)
> He understands that, but since we can see the speed of the output tokens we know what's the speed of the cot tokens
No, this doesn't follow. CoT generation speed does not have to be equal to output token generation speed. CoT precedes output, so they could run CoT segments across more parallel GPUs (or faster GPUs), and then scale back to a fewer GPUs (or slower ones) when generating output.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by naasking on Monday November 23, 2026 @09:54AM
(#50612788)
Maybe they're not, I'm just pointing out that the observations don't imply what people are claiming. But CoT is typically much longer than output in many thinking models, and not all requests require CoT, so if they dispatch CoT to more expensive faster clusters and leave the more numerous but shorter outputs to cheaper but slower clusters, I could see that that it might improve service responsiveness and utilization in some cases.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by freehorse on Monday November 23, 2026 @11:01AM
(#50614049)
With customer-facing chat llms, the time to the first token the user sees is probably more important than when the model finishes, esp if the "lowest gear" setting is anyway much higher than one's reading speed, and the CoT part is probably most often more token intensive. I don't know if they would do that either, but it is not unreasonable if they do not distribute compute evenly.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by NotAnAdminIThin on Monday November 23, 2026 @07:29AM
(#50610750)
What I think they meant is: We can measure output tps and see that it's not drastically higher so it would have to come from reasoning tps being actually higher which we cannot measure and that this would be unlikely.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by instrument_67 on Monday November 23, 2026 @07:57AM
(#50610962)
But it has already been established in the thread that output tps and CoT tps are the same speed. And since they're the same as that of the Chinese models (the output tps), you can't attribute the difference in speed to that.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by TeMPOraL on Monday November 23, 2026 @08:30AM
(#50611276)
Can't we measure speed of reasoning tokens? Aren't US labs still billing them explicitly? That gives you count from billing, and CoT TPS as total TPS minus observed output TPS.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by Starlevel004 on Monday November 23, 2026 @06:45AM
(#50610414)
I've had GPT models occasionally leak their thinking into the regular channel and they definitely don't overthink like the Chinese models do. Even on medium GLM or Deepseek can spend 10+ minutes in a single thinking block.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by lesspassiveobse on Monday November 23, 2026 @06:54AM
(#50610489)
I would say so. I didn't look at the numbers, but in claude code the thinking tokens counter increases at ~400/s by eye, and on the full GLM and Kimi APIs I get ~40/s IIRC, deepseek and glm-flash are a bit faster. But I don't know how claude replies actually work, if they launch subagents and do batching if they do multiple passes on the CoT and summarize it, etc. so I guess it's not directly comparable.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by Topfi on Monday November 23, 2026 @07:33AM
(#50610773)
That is true, though their reasoning efficiency is less connected to reduced second guessing and more due to their willingness to train the model to reason using extremely shortened, barely coherent gibberish [0].
That's also why Anthropic doesn't get the same, they value the ability to somewhat audit the model via CoT in coherent English over possible efficiency gains. Considering OpenAI models recent issues from compaction during 5.5 and long running task deviation in all models since, which in part was responsible for the HF incident, it seems a wise policy.
Because nowadays reasoning from US labs are pretty locked down, how much these models backtrack before the final output is difficult to say as an outsider.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by zozbot234 on Monday November 23, 2026 @07:51AM
(#50610912)
> extremely shortened, barely coherent gibberish
Qwen 3.8 FN has caveman-style CoT too. DS4.1F and Kimi are better, GLM is quite readable (and more verbose). It will be interesting to see what happens to the CoT in GLM 5.4 with the new looping. With the Inkling small looped model, more looping resulted in a cleaner CoT with trimmed dead ends, but did not hide any meaningful step; but obviously GLM is a very different starting point.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by qeternity on Monday November 23, 2026 @02:25PM
(#50617639)
> I am fairly unconvinced that readable CoT makes a models approach to task solving easier to audit given more recent developments, but wouldn't be surprised if OpenAI in future models backtracks on this to some extent.
Appreciate your response, all agreed except the seemingly underhanded framing of OAI reasoning dialect. Human interpretable CoT is (imho, but I believe supported) a false sense of security. We have already seen that models will learn to deceive during reasoning traces, and also that correct trajectory during reasoning does not correlate as much to correct final response as one might think.
Looped transformers (Inkling 2 Mini, GLM 5.4) are a step in this direction, effectively reasoning in latent space. We should expect that labs in general will pursue recursion by whichever means are most effective, not most interpretable.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by altmanaltman on Monday November 23, 2026 @08:53AM
(#50611517)
You are charged for using their service and they get to define what the terms and conditions of those services are. That's how it has always been and most likely will be. If you're suggesting people will stop using these models because they don't show cot, hard to see that as well since most general users don't care
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by altmanaltman on Monday November 23, 2026 @11:44AM
(#50614877)
"Tokens" and "usage" and any other such terms are determined by the terms of service they provide to you. You cannot arbitrarily decide what the service is; they can.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by epolanski on Monday November 23, 2026 @06:41AM
(#50610384)
Every model does this, the difference is that for Chinese models you see the thinking trace in full ;)
By the way I agree that speed and consistent re-thinking of their own rationale is an issue in LLMs, but then I wonder: what is the meaningful difference between model A thinking for 4 minutes and model B thinking for 5? Both lead to the same hop on-hop off interaction style and to the same experience.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by lnenad on Monday November 23, 2026 @06:47AM
(#50610427)
I am not saying Opus doesn't reason :). And in my experience the difference is much greater than 4 vs 5 minutes. I'm seeing often that for simple things that take Opus/Sonnet seconds, the Chinese models I am testing (DS4.1, Hy4 flash, Qwen FN) take 10+ minutes.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by anon373839 on Monday November 23, 2026 @06:48AM
(#50610436)
I don’t see this with Flash Next - using Nvidia’s quant, vLLM, and the exact sampling parameters recommended by Alibaba. The CoT explores alternate paths and checks assumptions, but not excessively. And for simple turns, it often basically just skips CoT (emitting only a short sentence like “Let me do X.”) Consequently, I leave the model set to xhigh and I don’t have any problem doing that.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by Majromax on Monday November 23, 2026 @08:00AM
(#50611002)
> I don’t see this with Flash Next - using Nvidia’s quant, vLLM, and the exact sampling parameters recommended by Alibaba.
Conversely, I do see this sort of behaviour with Flash Next, under sglang hosting, the official FP8 quantization, and the recommended sampling parameters. 3.8 Flash-Next appears to be a bit better about this problem than 3.8-27b, but beyond a certain level of task complexity the model becomes very introspective. This can also cross multiple turns; I've seen 100k+ tokens burned in a "plan, verify, re-plan, re-verify" loop before manual interruption.
Quantitatively, about 58% of all output tokens appear to be reasoning tokens, during agentic work where the average session had about 90k output tokens in total.
In addition to the verbose thinking, I also see reversion to RL-training recitation during thinking in 'boring' sections. Where one tool call follows another without much logic in between, more often than not I see a pro forma block like 'The user has repeated their last message. I must use the audit tool to accurately report my thinking.' Once in a while it decides it's solving a logic problem; I've seen the Pigeonhole Principle spontaneously invoked a few times.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by sorrywhat on Monday November 23, 2026 @07:38AM
(#50610811)
I'm not sure that's the case. I haven't seen even the smaller US models get stuck in a thinking loop, while with DS models I often get thinking traces that look like
foo.cpp
<1000 lines>
Wait, no.
<the same 1000 lines with 1 change somewhere in line 359>
Let me reconsider.
<the same fucking 1000 lines>
OK, finalizing.
<the same 1000 lines>
Now write the file:
</thinking>
<TOOL CALL: write the 1000 lines>
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by seertaak on Monday November 23, 2026 @06:42AM
(#50610390)
I can confirm the same annoying behaviour with MiniMax. It's exactly how you describe it: marathon thinking even for simple tasks that with, say, Sonnet or Opus would yield an answer almost immediately. I still use the Chinese models simply because I already have coding plans, but I use them for "background" tasks - and not the hardest ones at that.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by yukai on Monday November 23, 2026 @07:01AM
(#50610547)
just set the thinking level lower. though the amount of tokens that claude gives to user is much less, chinese models are still a good for same work in most cases
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by irthomasthomas on Monday November 23, 2026 @07:20AM
(#50610680)
You can use reasoning_effort: low
Also, I don't know why you call out Chinese models for this? Look at fable 5.2
"The output tokens per task just exploded. From 118k tokens (46k Answer/71k Reasoning) in 5.1 to 274k tokens (81k Answer/192k Reasoning) in 5.2." https://news.ycombinator.com/item?id=50432202
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by Tade0 on Monday November 23, 2026 @12:59PM
(#50616172)
I'll try that, thanks.
I think there's something wrong with my setup and unfortunately local tools tend to be glitchy.
I've settled on Aider as it's just a terminal app, so no UI glitches. All kinds of IDE extensions would either glitch or produce garbage in tool calls.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by pohl on Monday November 23, 2026 @04:22PM
(#50619510)
I suppose it’s possible, but I had the context size cranked up to a bit over 500k, which should be within what my M5 Max could handle, and it was a new conversation with only a single document as an initial prompt. If the contex limit was over-run, it would almost have had to be the chain of thought tokens that did it.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by DangIsATyrant on Monday November 23, 2026 @01:01PM
(#50616204)
The other models are doing the same thing, they just truncate/summarize the reasoning traces here in America because these labs are greedy and scared they wont be able to own the entire economy if they open source anything for their competitors.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by romanovcode on Monday November 23, 2026 @01:19PM
(#50616502)
Yes that's my point, you do not see it in Claude/Codex. Just says "Thinking/Fibblegasting/whatever" but the Chinese ones output it so you get the illusion that it does more than the Claude/Codex.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by ls612 on Monday November 23, 2026 @11:33AM
(#50614682)
Quen 3.8 27B is really bad at this for coding and math. I’ve seen it re-derive the correct solution multiple times in its CoT, second guess itself, and start from scratch again. I have not seen this behavior in either Gemma 4 earlier this year or in Inkling 2 mini.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by seizethecheese on Monday November 23, 2026 @11:40AM
(#50614786)
> You can just set reasoning_effort: low.
Sure, but for GLM 5.3 at least this drops AA index from 32 to 23, which is a lot, that's near Qwen 3.8 27b levels (20).
> Also, I don't know why you're singling out Chinese models here.
You're right that it's unfair to single out Chinese models here. For example, Carbon is insanely slow and terminally overthinks (I did an analysis of that here: https://micjm.com/blog/carbon-is-that-slow/). On the other hand, I think people are correct to say that, compared to Opus 5.5 or Astra 6.2, a lot of Chinese models are really slow or overthink.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by DangIsATyrant on Monday November 23, 2026 @12:58PM
(#50616171)
I would not give any creedence to the AA index, especially in the differnce between reasoning levels. These benchmarks are very profitible businesseses. Creating a benchmark and selling data to competeting labs is an undefeated business model at this point.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by holoduke on Monday November 23, 2026 @07:32AM
(#50610770)
Looping and reevaluating is a thing all AI models or systems in front of it are doing. It's not only Chinese. The difference is that US models are running in much better hardware conditions.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by mihaaly on Monday November 23, 2026 @08:56AM
(#50611538)
You made those more attractive to me. I compare speed to humans, and with that tremendous gain I'd rather spend resources on thinking twice, three, or multiple times than rushing through yet another fragile result to make a new record time, as it was a practice pre LLM already. The racetrack mentality everywhere is only reliably good for floods of products pouring at us, for quantity, perhaps it is time focusing on quality and reliability too.
A partially relevant quote here: "A Ferrari is 10X faster than you on a racetrack, but you're infinitely faster than it crossing a jungle. The problem with the fast takeoff crowd in AI is that they think the world is a racetrack, when in fact it's more like a jungle."
These are only philosophical thoughts not rooted in experience with Chinese models yet, so I should and will try now. I like elaborate sessions with Claude as well, where the matter is explored to a great extent first, carefully executed and validated. This must have affected my opinion.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by lnenad on Monday November 23, 2026 @10:57AM
(#50613961)
I agree with you, but the reasoning isn't humanspeak thinking about edge cases etc... The reasoning for "change the label of xyz":
"the user wants me to change the label, I need to look at the whole codebase to understand the label, the label is here, should I just change the label, I need to review the label first, the label is in uppercase but the user gave me lowercase value, should I just update the label, but wait, the user gave me the actual label, maybe I should just update it, actually I can just change the text in the label" and it goes on and on and on. This isn't an "elaborate session" this is a "waste" of tokens that probably yields better perf on benchmarks.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by seizethecheese on Monday November 23, 2026 @09:52AM
(#50612735)
> time to completion is dramatically higher
This is really variable! If you’re talking about Qwen 4, indeed it’s slow in terms of time to completion compared to Opus 5.5.
Qwen 4 max: 4.6min
Opus 5.5: 2.7min
But if you’re talking about deepseek flash, it’s faster than all, per task, at 2.0 min.
Kimi k3.1 pro is also equal with opus 5.5.
All this is data from https://agentduel.com/leaderboard, which is from people doing real work and voting on battles, so the time should be pretty realistic. These are medians but averages are similar.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by lewdwig on Monday November 23, 2026 @06:32AM
(#50610328)
“Generalized coding” working effectively beyond domains that would not be traditionally attacked by code to me feels like models working around the limitations of harnesses and the context window.
If they externalise their reasoning as code, it will survive compaction and context decay by becoming a durable artifact.
It’s cool that models can do this, but I think it also shows harnesses still have significant weaknesses around long term memory and context, necessitating models use what is essentially a code-as-long-term-memory hack.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by xscott on Monday November 23, 2026 @07:32AM
(#50610769)
I'm sure harnesses will continue to advance, but I think training the models to do more of their thinking in code is a great thing regardless.
The silly example is writing a line of Python to count the Rs in strawberry, but people have moved on from that. I saw a video where the guy pointed out they're getting better at chess, but not great yet. If he had asked it write a chess engine (or if it had chosen to do that on its own), the model would be amazing at chess.
Lean is showing the potential for using code in the math domain. We have more trust in the compiler than we do the models. What are other non-programming areas where we could have "compilers" for the model?
Even if we restrict it to code, I'd rather the model did some trial and error experiments on the side (possibly with a sub-agent) than read pages of its thinking process where it keeps second guessing itself to make zero errors on the first try.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by simias on Monday November 23, 2026 @08:45AM
(#50611432)
I agree, and would go even go further: procedural generation in code form is often more understandable for humans as well, and makes it easier to modify and reuse without treating it as a black box.
If I ask a model to generate an SFX sound file for the noise of falling rain for instance and it just genAI a WAV file, I don't really have any simple way to tweak it without iterating with the model itself. On the other hand if it generates a python script that procedurally generates the sound of falling rain, I have something that I can learn from and tweak myself afterwards. It's a lot less opaque and more deterministic.
Pure genAI is good for "vibecode" style development where you only monitor high-level outputs and don't care how the sausage is made, procgen is a lot better if you want to control and understand everything.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by xscott on Monday November 23, 2026 @09:40AM
(#50612465)
That's a great example.
Not quite the same, but I did a technical drawing where I had the model vibe code a 3D line/box tool for an illustration. The code made sure the proportions were correct, and I could orbit/zoom the camera around it to get the view I wanted. Then I screen captured that and fed it to an image model to make it look like a pencil drawing. Correct picture, attractive appearance, lots of flexibility, easy for me and the model to get right.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by staminade on Monday November 23, 2026 @08:54AM
(#50611525)
Calling this a "hack" implies that doing this in context is somehow the more natural or right way to do it. But why? If externalising their reasoning to an external system works, why shouldn't AIs work this way?
Imagine if AIs design had evolved differently, and models had been trained to externalise their reasoning as code from the get-go. Then someone added a way to speed up them up by writing some of the reasoning into context. Mightn't we also judge that as a "hack" to work around the limits of external storage?
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by A_D_E_P_T on Monday November 23, 2026 @06:44AM
(#50610397)
6.2-Astra is an outstanding model that is very jagged and has a number of quirks that remind me of the GTP-4 days. It (famously) defaults to lazy outputs -- but if you stick with it and force it to keep going, it's legitimately at the bleeding edge of the frontier where 3D modeling and mechanical/electrical engineering tasks are concerned. On par with, or better than, Fable-5.2-Max. It's also very very good at scientific research and ideation. I've been extremely impressed with it.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by logicchains on Monday November 23, 2026 @01:12PM
(#50616393)
>It (famously) defaults to lazy outputs -- but if you stick with it and force it to keep going
Or you could use Opus 5.5 or Carbon, and they'll do what you ask first try, with a perfectly fine result for anything that's not bleeding edge. A model shouldn't need to be nagged to do its job.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by epolanski on Monday November 23, 2026 @06:45AM
(#50610405)
Not sure how/why gpt 6.1+ series has been disappointing besides random tweets.
Astra 6.2 is the only model that can accomplish a series of tasks right, and it is still the standard for several coding activities like proper code reviews.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by logicchains on Monday November 23, 2026 @01:10PM
(#50616360)
That was with millions of dollars worth of compute. Have you tried to actually use it to solve an engineering problems? It's incredibly lazy and goes off the rails if you try to make it work for a long time on its own.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by hypfer on Monday November 23, 2026 @06:39AM
(#50610364)
I hate to say it, but unless they publish data that proves they're on to something, anthropic cutting off access to reasoning traces might actually be a sensible decision.
GLM-5.3 was just GLM-5.2 but with some post-training magic.
Is GLM-5.4 just GLM-5.3 with some loop magic?
Do they really do stall because Claude access has been cut off?
I'd very much like to be wrong on this read.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by epolanski on Monday November 23, 2026 @06:43AM
(#50610394)
The fact that people still think Chinese AI marches at that speed because it uses output from american models is a clear indication 99.9% of the internet discusses LLMs without having a single clue of how they work or are trained.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by epolanski on Monday November 23, 2026 @07:07AM
(#50610579)
1. You need chain-of-thought to improve reasoning capabilities, which is long gone from closed models output. See Deepseek R1 paper. US models don't expose thinking traces since 18 months at this point.
2. Models learn to "think" in 3 differerent phases, the most important ones (pretraining and RL) cannot make use of distillation.
3. If chinese models were trained on distilled output (which clearly cannot be the case anymore since chain of thought is no longer there) that would also limit how good these models could get because models are trained to imitate another solution, yet they far surpass such capabilities.
Essentially, at best, you can use a better model output to tune "alignment" or how the model behaves, but not how it reasons.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by nialv7 on Monday November 23, 2026 @06:48AM
(#50610446)
Anthropic has literally sacrificed 5-7% of their revenue to stamp out distillation. Surely this argument that Chinese models are just stealing from them can die now?
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by aurareturn on Monday November 23, 2026 @07:49AM
(#50610897)
For those wondering what loop transformers are:
LLMs have layers of data, called weights. During inference, each layer gets computed once. Moving weights from HBM memory to the chip is a major bottleneck because to generate a token, you need to move an entire layer into the chip, compute once, move it out, move the next layer in. Hence, memory bandwidth has been the #1 bottleneck for inference.
A loop transformer optimizes this bottleneck. Instead of one layer being computed once, it will compute the same layer multiple times, increasing the model intelligence without relying memory bandwidth as much. Bandwidth is still important, but not as much anymore.
More intelligence is squeezed by using the GPU compute that is typically sitting idle during inference.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by loubbrad on Monday November 23, 2026 @08:01AM
(#50611012)
If I understand you correctly, I think you are incorrect.
Looped transformers allow models to do more compute in the forward pass for the same total parameter budget (e.g., required VRAM to store the model). This doesn't inherently optimize the memory bandwidth bottleneck. A simple way to see this is that if we reuse a layer during the forward pass, we still need to fetch its weights from HBM again, which incurs additional memory bandwidth usage.
The main advantage is more computation for a fixed parameter count and model-weight VRAM footprint, not more computation for a fixed HBM bandwidth budget.
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 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 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.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by devttyeu on Monday November 23, 2026 @08:37AM
(#50611349)
Not entirely true when you use WideEP where model weight traffic is quite low compared to rest.
Generally on most AI accelerators the forward passes per second converge on MemorySize/MemoryBandwidth because you want to allocate all of the memory to model and kv caches, and you want to use maximum memory to get maximum batch size such that you also maximize compute utilization (which, in Decode is, you're still typically memory bound). That's why before drafters were popular you typically saw ~20tok/s on most providers, and why now that MTP/DSpark are mainstream you're seeing 50-100tok/s
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by m3kw9 on Monday November 23, 2026 @11:53AM
(#50615040)
wouldn't this cause divergence if it gets it wrong in direction even slightly. Like an airplane going off 0.1 degrees for an hour will be off it's dest by large amount of miles.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by lineshogan on Monday November 23, 2026 @07:53AM
(#50610935)
I still don't understand the point of loop models. All their benefits seem theoretical, such as passing information beyond language across decoding steps. But all their drawbacks are practical. For example, you essentially need a fixed number of loops; otherwise, serving becomes much more challenging.
They don't save training compute or inference compute either. The only real advantage I can see is that they allow continued pretraining.
And as for GLM, I'd argue that it's little more than weight sharing rather than looping in the usual sense, since its architecture is tightly coupled to the specific design of the second loop pass.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by nsingh2 on Monday November 23, 2026 @10:33AM
(#50613549)
Memory capacity is the biggest reason, even for US labs. A N-layer model is more powerful and general than a N/2-layer model looped twice, but N-layers may be prohibitively expensive to store. You trade lower memory capacity for more compute.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by HarHarVeryFunny on Monday November 23, 2026 @08:04AM
(#50611040)
I love the transparency, or at least given technical details, that Ziphu provide - a refreshing change from the locked-down approach of the western companies, and an interesting glimpse into the direction of SOTA LLMs.
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.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by abixb on Monday November 23, 2026 @08:26AM
(#50611245)
For those who are in computing but not in AI, looped transformers are like chain-of-thought but for every token during every forward pass (based on the number of loops as spec'd in the model architecture), correct?
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.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by HarHarVeryFunny on Monday November 23, 2026 @01:51PM
(#50617002)
I don't see any similarity.
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.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by noddybear on Monday November 23, 2026 @09:37AM
(#50612423)
A normal transformer has N layers, all of which are run forward for each token. A looped transformer is a bit different. Instead of N layers, it has K. These K layers are then looped, such that the output (not a token) of the first run of these K are fed back into the start of the K layer block. This looping happens until a fixed-point is achieved (i.e another loop results in a noop). At that point, a token is sampled. This means that tokens get different amounts of compute, depending on how challenging they are.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by gmueckl on Monday November 23, 2026 @09:57AM
(#50612844)
This is confusing to me: this is asserting that those K layers form a system of equations that can be solved using am iterative strategy until guaranteed convergence for each and every possible input sequence. Unless I am.missing a few fundamental mathematical properties aboutbnonlinear systems of equations, I don't understand how this can be true ober the entire input domain.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by HarHarVeryFunny on Monday November 23, 2026 @10:46AM
(#50613794)
As always with neural net training, you are just minimizing output (in this case prediction) errors over the training set, and hoping that this generalizes.
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).
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by __MatrixMan__ on Monday November 23, 2026 @10:01AM
(#50612939)
If the layers are looped, what does it mean that they have an output?
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?
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by HarHarVeryFunny on Monday November 23, 2026 @10:24AM
(#50613378)
You could choose to loop a fixed number of times, or alternatively dynamically determine when to stop thereby achieving variable compute (more loops/compute/thought only when needed).
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.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by drakythe on Monday November 23, 2026 @10:28AM
(#50613460)
The 2x is arbitrary and in this particular case, is the fixed-point. I've seen models that do 3x loops for 3/4s of their layers. I suspect we'll see see loop counts increase as this becomes a more popular technique and may reach a point where one of the big labs is confident in their model's ability to loop "indefinitely" without becoming bogged down, reaching some logically measured point.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by smallmancontrov on Monday November 23, 2026 @12:52PM
(#50616082)
"Fixed point" in the context of iterative algorithms usually means "repeat a variable number of times until the output doesn't change." This is in stark contrast to the idea of repeating a fixed number of times. The looped models appear to repeat a fixed number of times.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by dasyud on Monday November 23, 2026 @01:17PM
(#50616467)
I think the point here is that a few fixed number of iterations is enough to approximate the fixed point for most tokens. It's kind of like how iterative algorithms like Newton-Raphson are used in practice in modern optimizers (Muon). Trying to get to the exact fixed point might end up adding noise.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by mlmonkey on Monday November 23, 2026 @11:14AM
(#50614288)
So many questions...
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??
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
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by stann on Monday November 23, 2026 @09:40AM
(#50612466)
Meta did go closed source when they started to catch up. They did so in order to catch up. These are not the same things. The last models they released before closing up was not the best of models even then
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by WarmWash on Monday November 23, 2026 @09:42AM
(#50612518)
Another element is that the Chinese labs are an arm of the government and used for state goals. Read another way, they work for the state, not investors, and money matters a lot less.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by WarmWash on Monday November 23, 2026 @10:25AM
(#50613387)
China and America have fundamentally different social/government structures.
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)
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by muddi900 on Monday November 23, 2026 @12:09PM
(#50615332)
Voluntary seems suspect.
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"
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by yogthos on Monday November 23, 2026 @12:45PM
(#50615958)
The state doesn't exist in a vacuum because it represents the interests of the ruling class, which in the US happens to be the capital owning class. It's a structural outcome of owners of capital being in control of investment, employment, production, and the media.
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.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by andai on Monday November 23, 2026 @09:26AM
(#50612115)
> thalamo-cortical loop
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?
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by HarHarVeryFunny on Monday November 23, 2026 @10:16AM
(#50613212)
The thalamo-cortical loop refers to the connections in our brain between the neocortex and the thalamus, with the thalamus acting as kind of a patch panel that routes/loops activations back to different areas of the cortex.
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.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by HarHarVeryFunny on Monday November 23, 2026 @10:02AM
(#50612970)
These sort of looped Transformer variants are not new, and not from OpenAI. The "Universal Transformers" paper I referred to, from 2019, is from Google, including Jakob Uszkoreit who was the one to come up with the Transformer idea in the first place.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by Eridrus on Monday November 23, 2026 @04:07PM
(#50619299)
I get that Schmidhuber invented everything and nothing is new under the sun, but it seems like OAI leaks about things working for them do in fact drive other labs' direction (MoE, Reasoning, Looped Transformers).
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.
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?
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by HarHarVeryFunny on Monday November 23, 2026 @11:24AM
(#50614489)
I was really referring to the open discussion/disclosure of architecture, rather that who's innovating, although some ideas may be obvious as a concept yet require considerable expertise to actually make work (as was the case with the Transformer itself).
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.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by Aurornis on Monday November 23, 2026 @02:02PM
(#50617229)
> I was really referring to the open discussion/disclosure of architecture
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.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by techmunky on Monday November 23, 2026 @04:13PM
(#50619387)
The US President just forced the board of NVIDIA to reinstate Huang or be investigated to hell and back. US labs are not independent of the government in 2026.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by gorgmah on Monday November 23, 2026 @08:38AM
(#50611355)
probably 1-2 months, they usually take a few weeks to release the weights, then mistral are not the fastest at hosting the models (I suppose they also remove some of the censorship, GLM 5.3 on mistral knows all about tienanmen etc.)
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by ksec on Monday November 23, 2026 @08:20AM
(#50611187)
I am wondering why the lack of benchmarks and launch blog post etc. But to me the biggest announcement isn't GLM 5.4 but what they said in the end.
> GLM-5.4 validates computational depth, and our next, significantly larger model will carry forward everything we learned here. It will be ready soon.
GLM 5.4 feels more like a preview of GLM5.5 coming soon. I would assume with much higher parameters.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by simias on Monday November 23, 2026 @08:38AM
(#50611357)
Yeah the lack of benchmarks and the wording of the release seems to imply that it's a very incremental release that probably doesn't score mind-blowingly on benchmarks.
It seems like the big closed "frontier" American models have crossed a threshold a few months ago in terms of capabilities and the Chinese labs are not quite there yet. Hopefully they will soon, I don't want open weight models to fall too far behind.
At any rate I find the existing open-weight models already perfectly fine to use for menial tasks which is most of what I use LLMs for, so I'm not too worried.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by saint-evan on Monday November 23, 2026 @08:24AM
(#50611222)
In case you're wondering what 'Generalised coding' is... it's the latest AI industry buzzword. AI companies need a label to show their models have moved past boring things like writing a python script to parse a CSV or building a todo app. Older models were mostly trained on standard swe (CRUD apps, APIs, script pipelines), rather than tools like FreeCAD, Blender or custom math stuff, and also generally couldn't 'see' that the 3D arm they coded was clipping through a wall (if they could even write the code). What's changed, and apparently requires a new label, is that a single general-purpose AI can now act like a specialist across multiple classically-math heavy domains AND visually verify its own output. That's it folks.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by edg5000 on Monday November 23, 2026 @09:36AM
(#50612375)
"coding" is such a terrible undersell to what these things can do. It's more like a work machine. Point it at some work, and it will go through hell and back to complete the work. Basically a meeseek. Anything it can access, it can do.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by wcoenen on Monday November 23, 2026 @08:26AM
(#50611249)
I was confused about the "marathon thinking" problem that they mention. Given the focus of the post on the "loop transformer" architecture, at first I thought it meant that the model sometimes keeps looping on the multi-pass layer for too long.
But it seems that actually, the loop count is fixed to two. It is not dynamic at all. If I understand correctly, the "marathon thinking" is a CoT problem unrelated to the "loop transformer" architecture.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by rtrgrd on Monday November 23, 2026 @09:18AM
(#50611921)
I think so. It seems 1) they did some additional training after the initial training block and 2) they have some additional gates to stop activations from blowing up
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by lolokazaki123 on Monday November 23, 2026 @09:11AM
(#50611759)
One important thing glm-5.4 is a pretrained model converted to LOOPed, not trained looped from scratch. expect a flood of models getting the same conversion now, its the low hanging fruit for benchmarks
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by rcr-anti on Monday November 23, 2026 @09:30AM
(#50612236)
They don't call attention to it, but it looks like this one has a proper vision transformer, so should be multimodal. Also, would love to see some of these smaller models, but doubt they'll release em. "we validated the Loop architecture progressively across 1B, 4B, 30B, and 750B base models."
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by gnfargbl on Monday November 23, 2026 @10:03AM
(#50612982)
> We plan to open-source the model weights responsibly after completing necessary safety hardening.
Why? GLM-5.3 is widely available in abliterated versions, so performing "safety hardening" on 5.4 seems like a minor obfuscation that the community will quickly reverse. Or is this a hint that Zhipu are going to attempt something a bit more robust?
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by wolttam on Monday November 23, 2026 @12:04PM
(#50615246)
Plausible deniability. Zhipu will know the model put out under their name is 'safe', and can deny any responsibility or liability over what people do to their model to make it 'unsafe' after the fact.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by Turn_Trout on Monday November 23, 2026 @12:08PM
(#50615314)
Yes, but it at least reinforces the idea that people who release weights have some nominal duty to society. There's also research in robust unlearning, which hopes to one day stand up to abliteration and other techniques (I've conducted some of this research myself). Maybe that will eventually be applied if these firms retain their guardrail process.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by conception on Monday November 23, 2026 @03:04PM
(#50618347)
So they do not have to deal with local or foreign governments wanting restrictions or “donations” to their ballrooms. No one wants to be the next Fable release.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by wg0 on Monday November 23, 2026 @10:56AM
(#50613952)
I don't know about GLM 5.4 and I won't talk about GLM 5.3 either. Just the GLM 5.3 Flash alone is monster of a model. Dirt Cheap and fast. The other model I'd highly recommend is DeepSeek 4.1 Flash.
PS: Only meant for seasoned and experienced engineers. You need to know what you're looking for. "Make me a GTV 6 that runs in browser" kind of "engineers" aren't the audience.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by sausagefeet on Monday November 23, 2026 @12:37PM
(#50615824)
These two models are my primary at this point. I use DeepSeek as my workhorse and glm for I implementation and I have deterministic workflows driving them.
For how I like to program, I find this setup economical and effective, but I think if one is used to a more SOTA One shot experience it would be a letdown.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by tokai on Monday November 23, 2026 @11:03AM
(#50614066)
I am running 5.4 through a completely vibe coded hobby project that was written with 5.2/5.3, which has run aground on complexity and miss match between specifications and content. It seems a bit better at understanding the issues of the code base, but only marginally. More interesting it seems to be more clear in its language, not adopting the insular jargon 5.3 build in the docs of the project.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by armcat on Monday November 23, 2026 @11:24AM
(#50614481)
It's interesting that this is a second model in a few days (previous one being Inkling 2 Mini from Thinking Machines) that explicitly states their use of looped transformers.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by mikenew on Monday November 23, 2026 @11:52AM
(#50615015)
From this post + the other rumors I've read, it sounds like their big target is a ~3T model next month, and this is really just a validation model they're releasing in the meantime.
I think we'll find out soon if the chinese models are really able to keep up at the higher end. I've been a big fan of GLM since 4.6, but it's really started to fall behind and I hope that's because they've been cooking something great.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by ggregoire on Monday November 23, 2026 @12:12PM
(#50615410)
Falling behind what? Proving the Generalized Riemann Hypothesis? Does it matter for the average joe? I can't talk for GLM but DS 4.1 Flash is as good as Opus 5.5 for like 99.9% of my real life tasks and I don't code trivial stuff.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by mikenew on Monday November 23, 2026 @12:29PM
(#50615676)
DS 4.1 is fantastic as a workhorse but it is absolutely a mid-tier model. I use a lot of Sol 6.2 for planning, design, and ideating, and DS running as subagents to do the coding work. The difference is very obvious when switching out that main model.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by jacobgorm on Monday November 23, 2026 @12:32PM
(#50615729)
Not sure if it is because Mistral broke it, but I have been seing DS 4.1 Flash eff up consistently when trying to use it from there. Stuff like randomly overwriting files or doing git checkout -- on files it wasn't asked to touch, causing loss of WIP changes.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by theptip on Monday November 23, 2026 @12:20PM
(#50615540)
Looped Transformers are an example of “the forbidden technique”, destroying CoT monitorability, which was our main line of defense and debugging tool for LLMs. For example we’d have zero clue what went on in HF if the CoT was illegible.
OpenAI have let the cat out the bag by breaking the industry-wide taboo here.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by colinsane on Monday November 23, 2026 @12:31PM
(#50615717)
there's just a massive gulf between the frontier and the people running these in their basement right now. i don't know anyone running these at home who's worried about CoT monitorability. if anything, the reaction is "looping gives a generational bump without having to increase ram: neat!"
idk, i'm sure OpenAI's fears are authentic, but that seems like a them-problem (or at least, it should be).
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by ireadmevs on Monday November 23, 2026 @12:50PM
(#50616036)
Isn’t that already the case for every customer of Anthropic, OpenAI and any other closed model provider?
Unless you are an employee of these companies, CoT is already locked out from you.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by theptip on Monday November 23, 2026 @01:12PM
(#50616392)
True as far as it goes. I’m more worried about “model is illegible to the company that runs it” and all the loss-of-control / existential risks implied there. Especially for internal models (and cyber evals) where we have very little visibility into what these huge blobs of compute are even up to.
“Model is illegible to the end user (while perfectly legible to the provider)” is a mundane harm; sure, I worry about OpenAI’s eventually reasoning against me to make more ad conversions or whatever.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by Tadpole9181 on Monday November 23, 2026 @01:30PM
(#50616657)
I'm not sure how the two relate. That's like saying adding more layers destroys CoT monitorability, which it clearly doesn't.
All looped transformers do is run a few of the layers more than one time. In this case, the middle 28 layers twice; emulating a ~103 layer model in a ~75 layer model. It still outputs a plain, human-language CoT for monitoring. And there's no additional information stream to hide away unreadable information between inference runs.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by theptip on Monday November 23, 2026 @04:22PM
(#50619514)
The more looped layers, the less reasoning needs to use the CoT to store intermediate results.
Instead of verbalizing reasoning, with enough looped layers you could just put all the reasoning in the residual, and emit zero CoT.
The current level of looping doesn’t destroy monitorability, but obviously future models will loop more if it gives more performance gains for test-time scaling, or enables cheaper pre-training for equivalent e2e performance.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by Tadpole9181 on Monday November 23, 2026 @04:35PM
(#50619705)
This is not adaptive or recursive looping, though - it's constant and being used to optimize the existing scaling approach. This is quite literally no different than if you added more layers, which every model provider has been doing.
So, unless you're going to argue going from 78 -> 106 layers is also a forbidden technique, I don't see the relevance.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by ramon156 on Monday November 23, 2026 @12:56PM
(#50616130)
I want this topic to return when there's solid benchmarks that the article can ride on. There are no genuine numbers other than the output %
They're comparing 2-3T against 750B. The demos are cherry picked, et cetera.
I'm not saying GLM is special here, all the names are doing it, but I really want Loop Transformers to succeed, and saturating the topic won't help. Please let them become an industry trend.
Took me a while to get these because GLM-5.4 isn't available via OpenRouter or via the regular Z.ai API plan - I had to switch to their Coding Plan which it turns out gives you API keys that work exactly the same as their regular ones but have access to the new model.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by seizethecheese on Monday November 23, 2026 @01:07PM
(#50616313)
I find it very strange that they'd call this GLM 5.4 instead of 6, since it's a whole new architecture. (An I take discontinuities on pelican-bench very seriously.)
Perhaps the benchmark scores are just not high enough to call it a new generation.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by Silagi on Monday November 23, 2026 @01:19PM
(#50616495)
Oh hey, I watched your recent talk at Code Summit and enjoyed it quite a bit. It was a funny moment of "Wait, I know that pelican", as it just autoplayed after another video I had going while I cooked.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by desireco42 on Monday November 23, 2026 @01:16PM
(#50616450)
My first hand impressions as someone who uses Z.AI products a lot, new model seem to be doing good work, it is productive, moves things along a little bit faster and since it have vision, I can just talk to it, instead of making a call between flash 5.3 and full model, both really good tbh.
So far only thing I noticed is that it switches to Chinese at some point, I guess it was trained like that but this usually gets tweaked out of model in a week or so.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr...
by msrbuilds on Monday November 23, 2026 @03:20PM
(#50618623)
I have not used GLM on any production work as of now (I used to test it for some non-trivial work). I mainly build WordPress solutions, so it did not go the way I wanted; Claude does a better job. But I think the open models are catching up fast, and I would love to try GLM again on a new plugin.
So them leaving these out could mean they don't want to bother with this scharade anymore ( I hope but don't think so) or that they're not as good.
Still - I also feel like comparing these new models with benchmarks from the user side has also become something akin to sports teams - I know I use GLM5.3 still, it's my favourite model by far. And so far, it has been enough for everything I ( personally, not at work) use it for.
As long as GLM5.4 is better than 5.3, I'm happy, and it doesn't matter how many points above or below it is compared to other models. This isn't a competition ( well, better to say the competition has no real relevance for me I guess).
Everything that we know could theoretically be dangerous and should probably be avoided is always eventually embraced by labs if it pushes up capabilities slightly.
- Connect super intelligent AI to the internet
- Train frontier models on bio
- RL them to be goal obsessed
- Implement neuralese
The assumption we should have going forward is that if something is probably dangerous, humans will do it so long as the lab might marginally benefit in the short-term.
There is a world where we could develop super intelligence in a safe way. Being extremely careful in-regards to sandboxing AIs, how we train them, and architectures we implement. But na, who needs that when you can just cross your fingers for humanity?
We deserve everything that's coming our way frankly.
Get out of there, that's my wife's domain!
This judgemental tone people allow themselves on fraction of (mis)information and mountains of speculation along appearances and misinterpretation routed in their own personality and taste is pathetic actually. And damaging when blaming own mental state on others around. It was only you, shafyy, who considered and turned the comment into a sex thing or whatever this is. I have no interest in that and no intent being dragged into that. Trying to put yourself on an imaginary moral pedestal this way may be about the same 'lame' that you imagined happening here.
Lesson: next time I should write life partner in similar circumstances so no nervous jumping at shadows can occur.
https://github.com/xufeiqiong/GAMA-Bench
Except it wasn't in his head, and instead of justifying your lame "my wife" joke, you should reflect on what you wrote.
https://en.wikipedia.org/wiki/Allegations_of_intellectual_pr...
However distillation only explain training time and some efficiency gains. This does not explain why those models are near frontier. What explains that is top tier research and engineering. If you think OAI and Anthropic do not steal from Deepseek GLM and Kimi research, fundamental engineering advances and techniques then you are dreaming
No they couldn't. They would immediately face legal action from OpenAI and Anthropic.
The primary job of an LLM is to answer questions. Distillation is basically asking questions and then teach the answer to a second LLM.
What sounds more likely to me is that nobody could/wanted to burn so much money. The limits was money. If you look at the european companies they were from beginning trying to find corporate clients and be stable and profitable as soon as possible. That is very different mindset from companies that believe they will create digital god very soon and nothing else matters.
The US has an order of magnitude more AI data centers than China.
Also the data is sourced without regard a to ownership in any case.
The vast majority of Anthropic mentions there will be in the context of the model pondering about whether or not calculating 2+2 constitutes dangerous arithmetic that could be used for harmful purposes.
As long as models are trained in cyber tasks initially we will be able to get 90-95% of the original perf by abliteration. And thats with current techniques I mean.
Why not just leave that up to the harness? I guess performance. But no benchmarks.
I'm guessing it was probably a safety researcher who leaked it, to somehow warn the public about what OAI was doing in spite of management's deaf ear. But that doesn't make sense, assuming that's true, all it did was shift the Overton window and cause looped transformers to proliferate.
But what other reason would there have been to leak it that OAI was looping?
Because looping allows more reasoning to happen in hidden states rather than in visible CoT, which is useful (with limits) for monitoring LLMs.
This is called "the Forbidden Technique" because it just trains the model to make its thinking non-auditable. It's not helpful. You can use detection of undesired thought traces during inference as a safety breaker, but this must not feed back into training scenarios.
No, a looped setup does not change this configuration. A looped transformer of total length 2N (N layers, looped once)) has the same number of internal states as a standard transformer of length 2N (2N layers, not looped). In both cases, the chain of thought is only visible in the output.
The conclusion that looped transformers are uniquely dangerous requires simultaneous beliefs both that depth scaling is powerful/dangerous (reasonable, under the 'reasoning happens by the layer, not by the token' idea) and that depth scaling is easier or only possible via looping.
You're underestimating the performance gains from CoT. On certain problems, you can push it do ridiculous results (1B LLM surpassing a 405B one):
https://ar5iv.labs.arxiv.org/html/2502.06703
More realistically, I believe it's around a 14x depending on the task. Thinking more deeply won't help with knowledge recall, but it does help with mathematically reasoning.
> but current proposals are for much shorter loops (just 2-fold for OP) and high-level reasoning still very much relies on CoT.
The fear is that it's a slippery slope to adding more and more loops, until CoT is replaced entirely (in theory, it could be more efficient to think in some abstract latent space than human language). Where do you draw the line? 2x loop reduce CoT length by 10%, fine, most of that CoT is junk anyway. What about a 4x loop that reduces it by 20%? Looping for a variable number of steps? You get the point.
Sure, but is it even feasible to profitably train models with "more and more added loops"? This is not quite obvious to me. The usual sort of CoT replicates patterns of human thinking that are learned in pre-training, which in a way makes it "easier" to build. And if you just stick to a handful of loops, that seems to make the high-level reasoning cleaner and more interpretable, not less so.
I think you are correct that a N-layer model would have the same or better COT controllability as a N/2-layer model looped twice. But I think the issues comes from the fact that looping allows training deeper models without it being prohibitively expensive. While if there was no looping, most would simply not train models with such effective-depth.
Either way, something like looping (more latent space thinking) was inevitable IMO.
N-layer models are more "dangerous", but they may be prohibitively expensive to run. Looped models enable you to get more effective depth, while being cheaper to run.
I presume that somewhere in the middle, some wanted to keep their jobs but still wanted to do something.
This is not correct. In the HuggingFace incident a lot of behavior was explained very clearly by CoT.
Whether in the future, CoT will be useless because models will be able to hide their state (Astra proved to be remarkably good at this), that's definitely a possibility - but in the present, CoT is helping.
> just requires you to shift your mental model from "listening to AIs thoughts" to "monitor an engineered system for abnormal/risky states"
Interpretation and monitoring are overlapping but distinct. Monitoring detects behavior, while reading Cot can, additional, help explaining it (within the limits explained above).
In that case, what is the difference between a model with four looped transformers, and one with additional transformers in a linear sequence, in terms of inspectability? It seems like what you are saying is that bigger/better models use fewer intermediate steps (CoT) to come up with answers so they're more dangerous...
Yup! I would say that's correct. You can look at what level of task a model can do without ANY verbalized reasoning. It's rising over time and jumped quite a bit with Astra. [1]
[1] https://deploymentsafety.openai.com/gpt-6-astra/external-eva...
Internally we know they have a strong model. Externally their models use way less tokens than others for the same ability, which tracks with looped transformers. Externally 6.2 seems pretty rough, and it would follow from them having to use kludges to make sure it stays inline.
None of these things were mentioned, they only talked about a safety review. GLM 5.x is a comparatively smaller model (vs. K3 or Qwen Max) and it's not obvious that even the raw weights would pose any such concern.
You can't abliterate a model that never learnt cyber testing. But this 5.4 release I think within a few weeks will be good for cyber stuff.
I assume it's how they get close in benchmarks but the difference is staggering when compounding over several days/weeks/months.
BTW I am a big proponent of open models. I have a homelab. I am also consistently annoyed when asking DS4.1 to change something simple and see it run around in circles over a trivial change that takes 10/15 minutes compared to a few seconds it takes for Opus/Sol to do it. I have 60tps on DS, so unless Opus is 1k tps the difference doesn't make sense (take note I'm not comparing capability, I know these are very different sized models, I'm looking at simple use cases, simple changes). I ran GLM5.3 getting 25tps as well. The speed (naively) seems to be enough, but since it's reasoning too much it's fairly useless unless you really want something complex and the time makes sense.
> It's not a problem when dealing with more complex stuff but constantly second guessing themselves even when working with the simplest of things
Just be mindful what you choose and don't leave reasoning on max all the time.
It's an easy way to gas performance, because there is a strong correlation between the amount of thinking and amount of intelligence.
No, this doesn't follow. CoT generation speed does not have to be equal to output token generation speed. CoT precedes output, so they could run CoT segments across more parallel GPUs (or faster GPUs), and then scale back to a fewer GPUs (or slower ones) when generating output.
If you look at the "cost per task" metrics, OpenAI is very low because their models use far fewer reasoning and output tokens for a given task.
That's also why Anthropic doesn't get the same, they value the ability to somewhat audit the model via CoT in coherent English over possible efficiency gains. Considering OpenAI models recent issues from compaction during 5.5 and long running task deviation in all models since, which in part was responsible for the HF incident, it seems a wise policy.
Because nowadays reasoning from US labs are pretty locked down, how much these models backtrack before the final output is difficult to say as an outsider.
[0] https://www.reddit.com/r/OpenAI/comments/1vd3wfp/gpt56_sol_r...
Qwen 3.8 FN has caveman-style CoT too. DS4.1F and Kimi are better, GLM is quite readable (and more verbose). It will be interesting to see what happens to the CoT in GLM 5.4 with the new looping. With the Inkling small looped model, more looping resulted in a cleaner CoT with trimmed dead ends, but did not hide any meaningful step; but obviously GLM is a very different starting point.
Appreciate your response, all agreed except the seemingly underhanded framing of OAI reasoning dialect. Human interpretable CoT is (imho, but I believe supported) a false sense of security. We have already seen that models will learn to deceive during reasoning traces, and also that correct trajectory during reasoning does not correlate as much to correct final response as one might think.
Looped transformers (Inkling 2 Mini, GLM 5.4) are a step in this direction, effectively reasoning in latent space. We should expect that labs in general will pursue recursion by whichever means are most effective, not most interpretable.
By the way I agree that speed and consistent re-thinking of their own rationale is an issue in LLMs, but then I wonder: what is the meaningful difference between model A thinking for 4 minutes and model B thinking for 5? Both lead to the same hop on-hop off interaction style and to the same experience.
Conversely, I do see this sort of behaviour with Flash Next, under sglang hosting, the official FP8 quantization, and the recommended sampling parameters. 3.8 Flash-Next appears to be a bit better about this problem than 3.8-27b, but beyond a certain level of task complexity the model becomes very introspective. This can also cross multiple turns; I've seen 100k+ tokens burned in a "plan, verify, re-plan, re-verify" loop before manual interruption.
Quantitatively, about 58% of all output tokens appear to be reasoning tokens, during agentic work where the average session had about 90k output tokens in total.
In addition to the verbose thinking, I also see reversion to RL-training recitation during thinking in 'boring' sections. Where one tool call follows another without much logic in between, more often than not I see a pro forma block like 'The user has repeated their last message. I must use the audit tool to accurately report my thinking.' Once in a while it decides it's solving a logic problem; I've seen the Pigeonhole Principle spontaneously invoked a few times.
GLM and Kimi are well know to think a lot, but I never had this problem with minimax. At least not with M3, but things has maybe changed in M3.?
turns out long reasoning may not be necessary for performance
They can have those tps reports on the manager's desk in no time at all.
Also, I don't know why you call out Chinese models for this? Look at fable 5.2 "The output tokens per task just exploded. From 118k tokens (46k Answer/71k Reasoning) in 5.1 to 274k tokens (81k Answer/192k Reasoning) in 5.2." https://news.ycombinator.com/item?id=50432202
> But user says ask questions when facing ambiguity. Need maybe ask to add files and questions. But final only code? Hmm.
I told it to ask questions when facing ambiguity.
I think there's something wrong with my setup and unfortunately local tools tend to be glitchy.
I've settled on Aider as it's just a terminal app, so no UI glitches. All kinds of IDE extensions would either glitch or produce garbage in tool calls.
Sure, but for GLM 5.3 at least this drops AA index from 32 to 23, which is a lot, that's near Qwen 3.8 27b levels (20).
> Also, I don't know why you're singling out Chinese models here.
You're right that it's unfair to single out Chinese models here. For example, Carbon is insanely slow and terminally overthinks (I did an analysis of that here: https://micjm.com/blog/carbon-is-that-slow/). On the other hand, I think people are correct to say that, compared to Opus 5.5 or Astra 6.2, a lot of Chinese models are really slow or overthink.
And when GLM was doing it , a simple modification to the system prompt to tell it not to was sufficient.
Claude may go back and fourth just as much but you don’t see it.
A partially relevant quote here: "A Ferrari is 10X faster than you on a racetrack, but you're infinitely faster than it crossing a jungle. The problem with the fast takeoff crowd in AI is that they think the world is a racetrack, when in fact it's more like a jungle."
These are only philosophical thoughts not rooted in experience with Chinese models yet, so I should and will try now. I like elaborate sessions with Claude as well, where the matter is explored to a great extent first, carefully executed and validated. This must have affected my opinion.
"the user wants me to change the label, I need to look at the whole codebase to understand the label, the label is here, should I just change the label, I need to review the label first, the label is in uppercase but the user gave me lowercase value, should I just update the label, but wait, the user gave me the actual label, maybe I should just update it, actually I can just change the text in the label" and it goes on and on and on. This isn't an "elaborate session" this is a "waste" of tokens that probably yields better perf on benchmarks.
This is really variable! If you’re talking about Qwen 4, indeed it’s slow in terms of time to completion compared to Opus 5.5.
Qwen 4 max: 4.6min Opus 5.5: 2.7min
But if you’re talking about deepseek flash, it’s faster than all, per task, at 2.0 min.
Kimi k3.1 pro is also equal with opus 5.5.
All this is data from https://agentduel.com/leaderboard, which is from people doing real work and voting on battles, so the time should be pretty realistic. These are medians but averages are similar.
Qwen 4 Max: 44.2
DeepSeek V4.1 Flash: 245.5
Kimi K3.1 Pro: 37.3
So Kimi is doing a lot less and DeepSeek a lot more. Qwen about the same. In terms of output multiples compared to Opus:
DeepSeek V4.1 Flash: about 2.0x
Qwen 4 Max: about 0.8x
Kimi K3.1 Pro: about 0.36x
It’s cool that models can do this, but I think it also shows harnesses still have significant weaknesses around long term memory and context, necessitating models use what is essentially a code-as-long-term-memory hack.
The silly example is writing a line of Python to count the Rs in strawberry, but people have moved on from that. I saw a video where the guy pointed out they're getting better at chess, but not great yet. If he had asked it write a chess engine (or if it had chosen to do that on its own), the model would be amazing at chess.
Lean is showing the potential for using code in the math domain. We have more trust in the compiler than we do the models. What are other non-programming areas where we could have "compilers" for the model?
Even if we restrict it to code, I'd rather the model did some trial and error experiments on the side (possibly with a sub-agent) than read pages of its thinking process where it keeps second guessing itself to make zero errors on the first try.
If I ask a model to generate an SFX sound file for the noise of falling rain for instance and it just genAI a WAV file, I don't really have any simple way to tweak it without iterating with the model itself. On the other hand if it generates a python script that procedurally generates the sound of falling rain, I have something that I can learn from and tweak myself afterwards. It's a lot less opaque and more deterministic.
Pure genAI is good for "vibecode" style development where you only monitor high-level outputs and don't care how the sausage is made, procgen is a lot better if you want to control and understand everything.
Not quite the same, but I did a technical drawing where I had the model vibe code a 3D line/box tool for an illustration. The code made sure the proportions were correct, and I could orbit/zoom the camera around it to get the view I wanted. Then I screen captured that and fed it to an image model to make it look like a pencil drawing. Correct picture, attractive appearance, lots of flexibility, easy for me and the model to get right.
Imagine if AIs design had evolved differently, and models had been trained to externalise their reasoning as code from the get-go. Then someone added a way to speed up them up by writing some of the reasoning into context. Mightn't we also judge that as a "hack" to work around the limits of external storage?
Or you could use Opus 5.5 or Carbon, and they'll do what you ask first try, with a perfectly fine result for anything that's not bleeding edge. A model shouldn't need to be nagged to do its job.
Astra 6.2 is the only model that can accomplish a series of tasks right, and it is still the standard for several coding activities like proper code reviews.
GLM-5.3 was just GLM-5.2 but with some post-training magic. Is GLM-5.4 just GLM-5.3 with some loop magic?
Do they really do stall because Claude access has been cut off? I'd very much like to be wrong on this read.
That seems far from as obvious as you’re presenting it, so perhaps you could explain why?
2. Models learn to "think" in 3 differerent phases, the most important ones (pretraining and RL) cannot make use of distillation.
3. If chinese models were trained on distilled output (which clearly cannot be the case anymore since chain of thought is no longer there) that would also limit how good these models could get because models are trained to imitate another solution, yet they far surpass such capabilities.
Essentially, at best, you can use a better model output to tune "alignment" or how the model behaves, but not how it reasons.
Yes that is what I said
> which is long gone from closed models output
No. https://arxiv.org/abs/2608.20055
The negativity is revealing
LLMs have layers of data, called weights. During inference, each layer gets computed once. Moving weights from HBM memory to the chip is a major bottleneck because to generate a token, you need to move an entire layer into the chip, compute once, move it out, move the next layer in. Hence, memory bandwidth has been the #1 bottleneck for inference.
A loop transformer optimizes this bottleneck. Instead of one layer being computed once, it will compute the same layer multiple times, increasing the model intelligence without relying memory bandwidth as much. Bandwidth is still important, but not as much anymore.
More intelligence is squeezed by using the GPU compute that is typically sitting idle during inference.
Looped transformers allow models to do more compute in the forward pass for the same total parameter budget (e.g., required VRAM to store the model). This doesn't inherently optimize the memory bandwidth bottleneck. A simple way to see this is that if we reuse a layer during the forward pass, we still need to fetch its weights from HBM again, which incurs additional memory bandwidth usage.
The main advantage is more computation for a fixed parameter count and model-weight VRAM footprint, not more computation for a fixed HBM bandwidth budget.
Looping saves you memory capacity needs, not memory throughput needs.
However actually benefiting from this can be tricky! loop-sgland project has considerable effort put to finding out how much to loop any given input, it's own subproblem in making use of this: https://kschwethelm.github.io/continuous-depth-batching/ https://github.com/kschwethelm/loop-sglang
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.
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.
Prelude -> A -> A -> A -> B -> B -> B -> C -> C -> C -> Coda
The loop actually loops over a block of layers as a group:
Prelude -> A -> B -> C -> A -> B -> C -> A -> B -> C -> Coda
Generally on most AI accelerators the forward passes per second converge on MemorySize/MemoryBandwidth because you want to allocate all of the memory to model and kv caches, and you want to use maximum memory to get maximum batch size such that you also maximize compute utilization (which, in Decode is, you're still typically memory bound). That's why before drafters were popular you typically saw ~20tok/s on most providers, and why now that MTP/DSpark are mainstream you're seeing 50-100tok/s
They don't save training compute or inference compute either. The only real advantage I can see is that they allow continued pretraining.
And as for GLM, I'd argue that it's little more than weight sharing rather than looping in the usual sense, since its architecture is tightly coupled to the specific design of the second loop pass.
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.
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.
https://arxiv.org/pdf/1807.03819
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
Some Western companies. Thinking Machines, Nvidia, etc are pretty open in LLM development.
> GLM-5.4 validates computational depth, and our next, significantly larger model will carry forward everything we learned here. It will be ready soon.
GLM 5.4 feels more like a preview of GLM5.5 coming soon. I would assume with much higher parameters.
It seems like the big closed "frontier" American models have crossed a threshold a few months ago in terms of capabilities and the Chinese labs are not quite there yet. Hopefully they will soon, I don't want open weight models to fall too far behind.
At any rate I find the existing open-weight models already perfectly fine to use for menial tasks which is most of what I use LLMs for, so I'm not too worried.
But it seems that actually, the loop count is fixed to two. It is not dynamic at all. If I understand correctly, the "marathon thinking" is a CoT problem unrelated to the "loop transformer" architecture.
But done from the ground up
Also if you want to understand what loop transformer is and how it works in detail I wrote small blog about them https://drhb.github.io/blog/posts/looped-transformers/
Why? GLM-5.3 is widely available in abliterated versions, so performing "safety hardening" on 5.4 seems like a minor obfuscation that the community will quickly reverse. Or is this a hint that Zhipu are going to attempt something a bit more robust?
PS: Only meant for seasoned and experienced engineers. You need to know what you're looking for. "Make me a GTV 6 that runs in browser" kind of "engineers" aren't the audience.
For how I like to program, I find this setup economical and effective, but I think if one is used to a more SOTA One shot experience it would be a letdown.
>5 of 8 parallel reviewers hit a provider rate limit;
I think we'll find out soon if the chinese models are really able to keep up at the higher end. I've been a big fan of GLM since 4.6, but it's really started to fall behind and I hope that's because they've been cooking something great.
OpenAI have let the cat out the bag by breaking the industry-wide taboo here.
idk, i'm sure OpenAI's fears are authentic, but that seems like a them-problem (or at least, it should be).
That’s the problem with breaking a taboo; you risk normalizing the behavior for everyone.
Next of the big labs will be XAI, then ANT and GDM will have to in order to stay competitive.
“Model is illegible to the end user (while perfectly legible to the provider)” is a mundane harm; sure, I worry about OpenAI’s eventually reasoning against me to make more ad conversions or whatever.
All looped transformers do is run a few of the layers more than one time. In this case, the middle 28 layers twice; emulating a ~103 layer model in a ~75 layer model. It still outputs a plain, human-language CoT for monitoring. And there's no additional information stream to hide away unreadable information between inference runs.
Instead of verbalizing reasoning, with enough looped layers you could just put all the reasoning in the residual, and emit zero CoT.
The current level of looping doesn’t destroy monitorability, but obviously future models will loop more if it gives more performance gains for test-time scaling, or enables cheaper pre-training for equivalent e2e performance.
So, unless you're going to argue going from 78 -> 106 layers is also a forbidden technique, I don't see the relevance.
They're comparing 2-3T against 750B. The demos are cherry picked, et cetera.
I'm not saying GLM is special here, all the names are doing it, but I really want Loop Transformers to succeed, and saturating the topic won't help. Please let them become an industry trend.
Took me a while to get these because GLM-5.4 isn't available via OpenRouter or via the regular Z.ai API plan - I had to switch to their Coding Plan which it turns out gives you API keys that work exactly the same as their regular ones but have access to the new model.
Perhaps the benchmark scores are just not high enough to call it a new generation.
So far only thing I noticed is that it switches to Chinese at some point, I guess it was trained like that but this usually gets tweaked out of model in a week or so.
Sounds like it’s marginally better than 5.3 but not always.