Top
Best
New

Posted by foohis 3 hours ago

GLM-5.4: Toward Generalized Coding with Our First Loop Transformer(z.ai)
298 points | 135 commentspage 2
eurekin 2 hours ago|
This has come up a few times on r/LocalLLaMa and it's been considered one obvious missing piece for the latent space looped thinking
saretup 2 hours ago||
Hard to say how good this is without benchmarks, I'm guessing they're not impressive or else they would have included the scores?
Systemerror7A69 1 hour ago||
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).

ImprobableTruth 1 hour ago|||
I suspect this is because the cyber safety hardening will later decrease benchmark scores and they don't want the drop to be quantified.
viraptor 1 hour ago|||
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.
lesspassiveobse 1 hour ago|||
They may have focused on inference cost considering they bumped up the subscription plan limits compared to 5.3
throwa356262 1 minute ago|||
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.
segmondy 16 minutes ago||
They can't publish benchmark because it's going to change for the worse when they nerf offensive cyber capabilities.
_factor 12 seconds ago||
“Secure code writing capability”
postalcoder 2 hours ago||
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.

What other reason would there be to leak it?

edit: To be clear, I'm not the one asserting that it's "dangerous", but whoever leaked it probably did

igorkraw 1 hour ago||
People's mental model is often that the bleeding edge of X is a couple of great insights that just make things go, that are secreted away in some government or corporate lab, and that can only be found via hard to replicate feats of genius.

The reality is that moats are generally built up via soft knowledge of how to dial in massive bags of tricks, some of which might be trade secrets, some of which might be publicly known, but rarely is it a thing that people "in the know" wouldn't come up with if given sufficient budget.

Looped transformers have been an ongoing research since the beginning (universal transformers) and I think it's unlikely that z.ai was not gonna independently discover it, it being leaked was just what made it a new thing to market their "catching up" model + maybe shifted some resources earlier rather than later.

The whole interpretability/AI safety narrative is bogus rebranding of capability research (Debugging tools and improving training for what the principals, i.e. the model providers care about) and the idea that a model becomes less interpretable via Looping is humbug - the raw trace was already only loosely connected to the final answer and any monitoring at scale was using statistical associations and pattern détection which you can also do on the looped latent states, it just requires you to shift your mental model from "listening to AIs thoughts" to "monitor an engineered system for abnormal/risky states" which is what it was before already, just with anthropomorphism sprinkled on top.

pizza234 1 hour ago||
> 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).

igorkraw 1 hour ago||
There are multiple papers finding that in a lot of instances, CoT are not causally driving answers , going back to the introduction of the idea where asking it to output dots was able to replicate most of the effect. Here is one I found with a quick Google from this year on open models (including DeepSeek cider)

https://openreview.net/forum?id=p04JgYKOpO#discussion

Showing that it's still a thing, depending on the task type (math is more faithful, common sense reasoning where you want it to be faithful, less so)

Note: it can both be "statistically associated" and "not causally driving" if they are both produced from the same latent space. It just means that CoT monitoring is on the same level as training a classifier on latent states, i.e. solving a classification problem with imperfect information revealed via some output features

zozbot234 1 hour ago|||
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).
joefourier 1 hour ago|||
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).
zozbot234 1 hour ago||
If a 100T model has "equivalent performance" to a 1T model, I'd describe the 100T model as quite lousy. I'm not sure that's a meaningful scenario. You may be right that CoT can be seen as a human-auditable approximation to what a looped transformer would compute with extremely deep looping, but current proposals are for much shorter loops (just 2-fold for OP) and high-level reasoning still very much relies on CoT.
joefourier 1 hour ago||
> If a 100T model has "equivalent performance" to a 1T model, I'd describe the 100T model as quite lousy.

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.

zozbot234 18 minutes ago||
> 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.

pizza234 1 hour ago|||
> Why would looping be overly dangerous?

Because looping allows more reasoning to happen in hidden states rather than in visible CoT, which is useful (with limits) for monitoring LLMs.

zozbot234 1 hour ago|||
Yes, a bigger and deeper model allows more computation to happen in hidden states. Why is this news?
incrediblylarge 23 minutes ago|||
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.
zozbot234 15 minutes ago||
> 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.

baq 23 minutes ago|||
Because it finally started to work in customer-facing models
imtringued 50 minutes ago|||
By this logic any model with more than one layer is dangerous.
pizza234 1 hour ago|||
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.

nialv7 1 hour ago|||
thinking looping is somehow "more dangerous" is IMO nonsensical. LLMs are already dangerous, with or without looping, there is little difference.
Gormo 43 minutes ago||
How are LLMs "dangerous"?
fwlr 1 hour ago||
Danger = power, power = money
moneybunny 12 minutes ago||
very sad to see another china nerf on cyber open weights incoming
gunalx 45 minutes ago||
This is why the 5.3 quota exhausted so fast
crossroadsguy 14 minutes ago||
I mean ffs just teach your models to “listen” and “talk” very “normally” – at least when those are asked to, instructed to, begged to, explained to (with bloody examples)! That would make your model some 4x better than it is without doing anything else.

And attach “thinking tokens” along with responses which are often 5 times the actual response. But I can live with this.

yewenjie 2 hours ago||
So no benchmark numbers? Seems like anti-distillation efforts have really thwarted the Chinese models.
ii41 59 minutes ago||
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.
omnimus 40 minutes ago|||
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.

9cb14c1ec0 40 minutes ago||||
> it doesn't explain why Europe/Japan have been lagging behind in AI: they could distill, too.

No they couldn't. They would immediately face legal action from OpenAI and Anthropic.

retinaros 43 minutes ago||||
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

baq 54 minutes ago||||
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.
dude250711 49 minutes ago|||
> I can't think of any other reason... "

https://en.wikipedia.org/wiki/Allegations_of_intellectual_pr...

jabron 20 minutes ago||
That would be racism with extra steps. All LLMs by all labs are inherently based on "intellectual property infringement".
paoliniluis 1 hour ago|||
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.
A_D_E_P_T 2 hours ago||
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.
egeres 2 hours ago||
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!
dtj1123 2 hours ago||
Neuralese, here we come
kypro 1 hour ago|
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.

rskeens 2 hours ago|
Glad they have explained the wait, was starting to wonder about the hold up with successor to glm 5.3.
More comments...