Hacker News new | ask | show | jobs
by A_D_E_P_T 3 days ago
False positive? I'm afraid I don't think so. This is the first time I've ever used Pangram to evaluate a published story, and I used it because the story was throwing up too many of the tells and cues of AI use.

I've also done a lot of Pangram testing. (A personal sub gets you 3000 tokens, which is enough for a lot of experimentation.) It always flags text written by a frontier LLM. It looks for token probability distributions, which are opaque; Pangram is never easily defeated.

As far as I'm aware, the only good way to reliably beat it is with Qwen 27B fine-tuned on >50000 words of non-LLM text with a LoRA adapter. I've tried that, too. The results are usually stylistically rough, though. Nothing that would win a literary award.

The other way to beat it -- which is not good, because it's very expensive -- is to connect your LLM to Pangram's API and run it in a loop. Have the LLM keep rewriting until the Pangram API scores it human. This is a good way to burn hundreds of dollars writing a single article, though! (The Pangram API ain't cheap.) And there's nothing to be learned by doing this; there's no cheap trick that can be generalized.

1 comments

When you say beating pangram is exceedingly difficult, aren’t you talking about tricking it into thinking LLM output was human? That’s a false negative. OP was talking about a false positive (pangram mistaking human output for LLM), not false negative.

I bet you’re right that false negatives are super rare. I honestly don’t know though - how likely are false positives?

Yeah. There's really no way to beat it into false negatives without heroic efforts (training your own non-frontier 9B/27B model) or $$$ (Pangram API in the loop). Used to be that you could translate LLM output into German and then translate it "faithfully" back into English, but that no longer works with Pangram v4/4.1.

False positives... I've heard of them, but I've never actually seen one. The way Pangram works -- via statistical measures of word distribution and temperature -- ensures that they should be very uncommon.