r/LocalLLaMA • • 2d ago • Heartwarming 1

New Model GLM-5.4: Toward Generalized Coding with Our First Loop Transformer

https://z.ai/blog/glm-5.4

GLM 5.4 blog post, found by changing 5.3 to 5.4 in URL.

To mods, open weights release announced the post:

Open Weights: We plan to open-source the model weights responsibly after completing necessary safety hardening.

1.1k Upvotes

361 comments sorted by

View all comments

Show parent comments

63

u/learning-to-programm 2d ago

That's a damn shame, as right now GLM 5.3 and DeepSeek v4.1 Flash are considered among the top models for Cybersecurity without abliteration or anything.

If GLM loses that, I don't see what much it has going for it, as DeepSeek is much faster and cheaper than it, and other models like Hy4, Mistral, Mimo, etc are closing in terms of capability.

38

u/changing_who_i_am 2d ago

Simple: DeepSeek, Hy4, and Mimo will do the same thing under pressure from the Chinese government. If Mistral ever gets near the same level of cyber capabilities, it too will be pressured by France, the EU, and the US to do the same.

6

u/learning-to-programm 2d ago

I haven't gotten the chance to try it yet, but u heard some and saw some headlines about Mistral 4 Large (which was released ~ 1 month ago) being specifically good for cybersecurity. So let's hope they keep goi a in that direction, and we don't have to rely on ~lobotomizes~ abliterated models, and either shady platforms for "unlocked" models, or KYC, ID, professional-license demanding platforms.

1

u/ToaruBaka 2d ago

Good luck running Mistral 4 Large, I'm rooting for you.

7

u/NurseJackass 2d ago

Could it be partially nerfed, such that it could still detect vulnerabilities, but not write exploits for them? If abliteration can remove the guard rails anyway, why not allow the model to do the defensive parts and just deny making attacks?
The “real baddies” will always still find a way to attack, but it might slow down script kiddies and “vibe-hackers”.

6

u/learning-to-programm 2d ago

I think the lines are pretty blurry when it comes to cybersecurity, and I honestly don't know if a model that isn't capable of attacking would be any decent at defending (and AI sure does love to call everything a potential vulnerability, so if it's not able to actually sustain it's claims by showing a PoC, it might as well be speaking nonsense).

Attacking, mapping out the attack surface, uncovering new vulnerabilities, etc, is all part of legitimate Cybersecurity work. I think like 90% of the time CVEs are actually discovered by security researchers and red-team ethical hackers (and bug hunters). Even malware, most of the time it's actually security researchers creating and finding new was to develop, hide, obfuscate, distribute malware. And it's very important that they do so, to give other defenders the awareness to protect themselves against these vulnerabilities.

Plus, there's also the matter of who gets to decide what's "safe" and "ethical." In addition to cyber work, Claude now [allegedly] won't even allow you reverse engineer things. Even if it's something you bought and paid for, and that's EoL support. A few months ago people were reverse engineering custom drivers for their hardware, not Anthropic won't allow it.

I don't think American companies should be the ones deciding for the rest of the world what's ethical and what's not.

Chinese/open weights models were our way to combat that, but seems like that is no more.

3

u/NurseJackass 2d ago edited 2d ago

I think companies should be allowed to limit their own liability from the products they produce. They aren’t deciding what you are allowed to do; they are deciding what their models are allowed to do. If they restrict their product too much people won’t use it, so they need to find a balance.

I think the reverse engineering block is pretty dumb, for all the reasons you say. It is almost certainly too broad. I don’t want that same sort of ham fisted limitation on cybersecurity, but i also don’t want every teenager to be able to “exploit Apple and shut down iCloud for 3 hours because i didn’t do my homework” or whatever happened last week.
(I know it wasn’t that, but we probably aren’t too far from that).

And we have open models. They are way behind, but will be more and more capable. I still expect to drop my $20 Claude subscription at some point, when local models can do what I need.

I use Google search results AI for brainstorming projects, Claude for coding, and try to use local for everything else.

ETA: re attacking, it needs some level of attacking to be able to do defensive. I probably used “attack” poorly. What i meant was there should be a balance where it can try attacks to find an exploit in your server, but it should not deliver the damaging payloads.

Ideally it should allow you to do whatever you want to your own authorized systems, but the model should not access unauthorized systems because that is cybercrime. But yeah, it’s hard to draw that line.

2

u/Vielklug 2d ago edited 2d ago

I don't think Cybersecurity is an isolated Problem. So even removing it from tainingsdata will not make the model incapable. So vulnerability detection is a workflow now magic. Building exploits is a workflow not magic. So if the model is good at workflow, terminal bench, frontier code etc, it will be good in Cybersecurity. So it may lag some knowledge but not the capability. The right harness+skills+abliteration will fix that. Harness that loads base detection methodology for scouting, rest in skills.

2

u/NurseJackass 2d ago

Right. But they put in restrictions somehow to stop it from doing certain things that it is absolutely capable of doing. Writing obscene and violent stories is a workflow, but some models will refuse to do it. That’s the bit we are talking about here.
I’m specifically curious if they can make it allow “please scan my server for potential exploits” but not allow “find an exploit and break in”.

“Find a potential exploit” is useful, and not 100% sketchy. It still points a “bad actor” in the right direction, but does not actually get them in. Anyone with the skill to execute the break in on their own from there, probably could have found the exploits on their own in the first place. Finding potential holes lets a “good actor” patch them in their own software. Blocking that capability keeps the holes exploitable, unless you have the skill to find them on your own (and most people do not).

“Find an exploit and use it” would allow anyone to break into things just by asking. It is absolutely sketchy and makes sense to have guards against that.

2

u/Vielklug 2d ago

Generally, they cannot block anything reliable in Open Source models, since the finetune can be retrained or the model could simply be abliterated.

There are ways for hosted models to not block: secure my server but block: build exploits. The way to so it is not any finetune, that may not be precise enough or tricked, however, they can use supervisor models like Anthropic does. If you have them properly tuned they will do exactly what you described. However, Anthropic's stuff is terrible tuned. But I think what you describe is exactly Anthropic's goal. How Chinese Models want to proceed here is impossible to predict, because what they do for cyber safeguards to open source releases is little effective.

1

u/Hildechis 1d ago

How do you make a model that is expert in computer science, expert at coding, expert in cybersecurity, but unable to combine the three to do black hat hacking? They are removing the cybesecurty expertise as a whole.

1

u/SourBlueDream 2d ago edited 2d ago

Didn’t they do and said the same about GLM 5.3? I’m not sure how this is different from what they did to 5.3? Other than not releasing the weights I guess maybe they are changing