28 Comments
User's avatar
thepast's avatar

This is extremely funny.

Randall Randall's avatar

I lost some confidence in Pangram based on the Hacker News comments on this (otherwise unrelated) story: https://news.ycombinator.com/item?id=49857899

It seemed to be AI-written to me, so when I saw some say Pangram told them "100% human" I used the free plan to check myself, and it said 29% AI. Others claimed Pangram told them "100% AI" and various other numbers, akin to rolling a D100. It could be that all those other people were just making it up, or not pasting in the whole article for some reason, but even if a lot of people are honestly holding it wrong, it at least means that you can't trust Pangram numbers that get reported without checking each discussed passage yourself.

Cremieux's avatar

That could be the case. Luckily, I've preempted this concern by linking all of the Pangram reports.

Sol Hando's avatar

I don’t see any disagreement about pangram scores in that thread.

Randall Randall's avatar

On Hacker News, popular comment sections have a lot of hidden/collapsed content due to people flagging those they disagree with. For example: https://news.ycombinator.com/item?id=49858576 So, you have to create an account, turn on the "showdead" setting, and then laboriously click into otherwise hidden subthreads. On the day of, though, they hadn't yet been flagged into oblivion.

ArbitraryUsername's avatar

To be fair to his thesis, there are well-documented cases of African English linguistic quirks being picked up by LLMs and becoming quintessential ‘LLMisms’, the most famous probably being ‘delve’:

https://www.theguardian.com/technology/2024/apr/16/techscape-ai-gadgest-humane-ai-pin-chatgpt

Now obviously this phenomenon surely isn’t so great as to explain a 100% AI result, but there isn’t *nothing* to this. It is plausible enough that African writing sounds like AI at least a little, especially to the human ear.

Cremieux's avatar

That is what the arguments are, but none of this pre-LLM writing actually gets flagged as AI-generated despite them.

Avi's avatar
Oct 12Edited

My understanding is that pangram is a neural network classifier, and it could possibly have learnt a heuristic like “if this text was clearly written before LLMs, output ‘human’”. Which would also explain pre-LLM texts not getting flagged.

Cremieux's avatar

The texts do not require date information to be classified. In fact, it doesn't change any judgments when it's included.

Henry Rodger Beck's avatar

People are desperate to get out of admitting just how pervasive the practice has gotten, and worse still the demographic spread of said phony writers.

The whole thing is shameful. Particularly the demonisation of Pangram.

Stefano's avatar

Great write-up. My only admonition is to be careful, as this essay tangentially is a touchy subject (race) and the liberal progressive thought police mob might get angsty. On the plus side, to me it's further evidence of how everyone who uses AI to write, even if only proof reading and suggesting corrections, will gradually forget how to write, because most humans are lazy. And this is actually great news for all the real writers even if in the short-term life will be difficult. The ability to write compliments the ability to think and structure thoughts and ideas. 2-3 years from now there'll be a sharp drop off from people who can't function without AI.

Guy Katriel's avatar

"If you read about Pangram, you’ll quickly see a bunch of people claiming that it doesn’t work. Worse, they’ll sometimes claim that it’s biased"

Mostly, they are lying about their usage in LLMs for writing and trying to avoid the negative signal that comes with it.

Also - extremely meat-interface coded to lie for this reason.

"Consider an international student in the United States. She has spent years being told that her English must be grammatically correct. She avoids slang, checks every verb and structures each paragraph carefully. Then a detector labels her work artificial because it is controlled and predictable."

I don't think this actually plays a significant role in Pangram's algo, but that's just my sense of it.

Jon Simon's avatar

This temporal analysis is less of a spam dunk than you think because LLMs are extremely good at determining when a piece of text was written. And of course any AI detector worth its salt wouldn't flag text that it knows was written pre-2023 as having been AI generated.

Cremieux's avatar

That is obviously not how Pangram works. You can rest assured of this because it demonstrably doesn't just flag everything by year.

If it worked that way, it would actually devalue the product. It would *not* be worth its salt, since it would not be doing AI detection per se.

Jon Simon's avatar

I'm not saying they do this by design, or that it only uses this signal. I'm saying that when training an LLM end to end to do _anything_ it will make use of every signal at its disposal, and will often place heavier weight on these sorts of load-bearing-but-superficial correlations moreso than the "deeper" ones that devopers intended.

So unless Pangram specifically trained their model _not_ to do this, it will.

Jonathan Palmer's avatar

I wrote an article with ChatGPT. I took the process through several iterations with editing by me and submitted the final result to Pangram. It got a reasonably high AI-supported result.

I suspected that ChatGPT had a writing style and would often follow a large paragraph with a short paragraph saying something like "and that is the crux of the matter". I got better scores the moment I sorted out ChatGPT's style by precising the content and then dictating it in my own style

Cremieux works hard enough for all of us, but I do hope that the Jason Arday inquiry will submit his PhD to an LLM, which I consider will do more than identify plagiarism.

Fojos's avatar

One interesting thing though, it flags many Robert Frost poems as AI

Fojos's avatar

I mean, it obviously works but it is also incredibly easy to beat without using extra tools.

Thomas's avatar

In the bar graph, what is the difference between "AI generated", "ai assisted", and the one that's confusing me, "ai detected"? Doesn't the detector detect assistance and generation?

Cremieux's avatar

AI-generated = just AI.

AI-assisted = AI detected, but a human proabbyl did some editing.

AI detected = it wrote part of the piece, but not all of it.

Leslie Rutkowski's avatar

I emailed you directly, but I'll say it here too, in the more public domain: Fine. But this is a baloney analysis. You say Pangram isn't biased. But a better analysis would be to compare African writing to non-African writing. And after following you for a while, I'm pretty sure you know this.

thepast's avatar

On the contrary, comparing African writing pre-LLM to African writing post-LLM is a perfect test case to demonstrate hypocrisy.

(Assuming the already-mentioned caveat that Pangram can intuit when writing is from pre-LLM years doesn’t break the analysis.)

Comparing writing by various races post-LLM would also be interesting, but a different endeavor.

Leslie Rutkowski's avatar

I can find nothing to back up this assumption. If a text is read in as, say, a PDF reprint from the journal and the text is extracted and tokenized into embeddings, why wouldn't the publication year be part of that? Again, I can't find anything *from Pangram* where this possibility is addressed and acknowledged or eliminated.

So, your suggestion is a good one (sort of): pre-LLM to post-LLM writing where African vs. non-African is compared directly. How else do you eliminate the confound?

Cremieux's avatar

Text is read in by copy-pasting the articles and the results don't change with or without date information. You can just ask Pangram's employees how the model works. They've explained it and it doesn't just predict the date, which is obvious given that it won't classify virtually anything you write as AI if you actually write it.

thepast's avatar

Yep, anyone with extra Pangram tokens ought to run a few tests. Could start with Tabarrok and Cowen, who cheerfully admit to using an LLM on some of their longer blogposts.