← Latest papers
📊 statistics

A Training-free Method for LLM Text Attribution

This paper proposes a training-free, zero-shot statistical framework for identifying the provenance of LLM-generated text by modeling it as a sequential stochastic process, offering theoretically guaranteed low error rates that decrease exponentially with text length for both distinguishing between known models and detecting unknown ones under white-box and black-box settings.

Original authors: Tara Radvand, Mojtaba Abdolmaleki, Mohamed Mostagir, Ambuj Tewari

Published 2026-03-24
📖 5 min read🧠 Deep dive

Original authors: Tara Radvand, Mojtaba Abdolmaleki, Mohamed Mostagir, Ambuj Tewari

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are a detective trying to solve a mystery: Who wrote this specific piece of text?

In the past, if you found a handwritten note, you could look at the handwriting style to guess the author. But today, we have "AI robots" (Large Language Models, or LLMs) that can write text so perfectly that it looks exactly like a human wrote it. This creates a huge problem for schools, companies, and news outlets. How do they know if a student cheated, if an employee used an unauthorized AI, or if a news article is fake?

Most current "detectors" are like guessing games. They look for patterns and say, "I think this is AI," but they often make mistakes. They might accuse an innocent student of cheating (a "false positive"), which can ruin their life.

This paper introduces a new method that is training-free (it doesn't need to learn from thousands of examples) and mathematically guaranteed to be very accurate, especially for longer texts.

Here is how it works, using simple analogies:

1. The "Surprise Meter" (Log-Perplexity)

Imagine you are a master chef (Model A) who knows exactly how to cook a specific dish. You have a "Surprise Meter" that measures how shocked you are by a new recipe.

  • If someone hands you a recipe you wrote yourself, you aren't surprised at all. The ingredients and steps are exactly what you expected. Your "Surprise Meter" stays low.
  • If someone hands you a recipe written by a different chef (Model B), you might be a little surprised. "Why did they use cumin here? I would have used paprika." Your meter goes up.

The paper's method uses this "Surprise Meter." It asks: "If Model A wrote this, how surprised should Model A be?"

2. The "Average Expectation" (Cross-Entropy)

Here is the tricky part. Sometimes, a different chef (Model B) might write a recipe that looks very similar to yours, so your Surprise Meter stays low. This makes it hard to tell them apart.

The authors realized that while a single recipe might be confusing, if you look at a whole book of recipes written by Chef B, there is a mathematical "average surprise" that Chef A would feel.

  • The Key Insight: If Chef B writes a long story, and you (Chef A) read it, your "Surprise Meter" will eventually settle down to a specific, predictable average number. It won't be zero (because you didn't write it), but it will be a stable number that represents the "distance" between your style and Chef B's style.

3. The "Fingerprint" of Length

The paper proves a beautiful mathematical fact: The longer the text, the clearer the fingerprint.

  • Short Text (e.g., a tweet): It's like looking at a single fingerprint smudge. It's hard to be 100% sure who it belongs to.
  • Long Text (e.g., an essay): It's like looking at a full handprint with all the lines and ridges. The math shows that as the text gets longer, the "Surprise Meter" settles into its pattern so quickly that you can tell with near-perfect certainty who wrote it.

The authors proved that the chance of making a mistake drops exponentially as the text gets longer. This means if you double the length of the text, the error rate doesn't just go down a little; it crashes down to almost zero.

4. The "Black Box" Problem

Sometimes, you don't have access to the AI's internal "Surprise Meter" (the probability numbers). You only have the text it produced. This is called a "Black Box."

The authors showed that even in this case, you can play a game of "Guess the Probability." You ask the AI to generate the next word 100 times and see what it picks. By doing this, you can build a "fake" version of the Surprise Meter that is almost as good as the real one. They calculated exactly how many times you need to ask the AI to get a reliable answer.

Why This Matters

  • No Training Needed: Unlike other methods that need to be "taught" with thousands of examples (which can be biased or outdated), this method works instantly using math.
  • Fairness: It guarantees a very low rate of falsely accusing innocent people. In a classroom, this means fewer students get punished for things they didn't do.
  • Short Texts: It works surprisingly well even on short texts (like 50-100 words), which is where most other detectors fail.

The Bottom Line

Think of this method as a mathematical lie detector for AI. Instead of guessing based on vague patterns, it measures the "statistical heartbeat" of the text. If the heartbeat matches the AI's own rhythm, it's likely the AI. If it matches a different rhythm, it's likely someone else. And the longer the text, the louder and clearer that heartbeat becomes.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →