If you feed America's most important legal document—the US Constitution—into a tool designed to detect text written by AI models like ChatGPT, it will tell you that the document was almost certainly written by AI. But unless James Madison was a time traveler, that can't be the case. Why do AI writing detection tools give false positives? We spoke to several experts—and the creator of AI writing detector GPTZero—to find out.
[...] In machine learning, perplexity is a measurement of how much a piece of text deviates from what an AI model has learned during its training. As Dr. Margaret Mitchell of AI company Hugging Face told Ars, "Perplexity is a function of 'how surprising is this language based on what I've seen?'"
So the thinking behind measuring perplexity is that when they're writing text, AI models like ChatGPT will naturally reach for what they know best, which comes from their training data. The closer the output is to the training data, the lower the perplexity rating. Humans are much more chaotic writers—or at least that's the theory—but humans can write with low perplexity, too, especially when imitating a formal style used in law or certain types of academic writing. Also, many of the phrases we use are surprisingly common.
Let's say we're guessing the next word in the phrase "I'd like a cup of _____." Most people would fill in the blank with "water," "coffee," or "tea." A language model trained on a lot of English text would do the same because those phrases occur frequently in English writing. The perplexity of any of those three results would be quite low because the prediction is fairly certain.
(Score: 2) by istartedi on Wednesday July 19 2023, @09:23AM (3 children)
Since this "perplexity" appears to be a measure of unfamiliarity, it's most likely detecting archaic language.
If you fed it some slang used in only a few localities, I gather it would come to the same conclusion.
Appended to the end of comments you post. Max: 120 chars.
(Score: 4, Informative) by requerdanos on Wednesday July 19 2023, @01:59PM (1 child)
Yes, but perplexity (and burstiness) are signs of human, not AI, authorship, as I understood the article. The US constitution probably looks ordinary, normal, and boring -- low perplexity -- because it's in the training set.
(Score: 3, Funny) by istartedi on Wednesday July 19 2023, @07:06PM
What are you doing reading the article? Are you a bot? /sarcasm.
Appended to the end of comments you post. Max: 120 chars.
(Score: 4, Interesting) by aafcac on Wednesday July 19 2023, @04:52PM
Possibly, but I'd be curious if the same AI says the same if other documents created through group negotiation. There's a lot of ideas in the constitution from disparate sources like the writing of AI.