← Latest papers
💬 NLP

Who Wrote the Book? Detecting and Attributing LLM Ghostwriters

This paper introduces GhostWriteBench, a dataset of long-form texts generated by frontier LLMs for testing authorship attribution, and proposes TRACE, an interpretable and lightweight fingerprinting method that achieves state-of-the-art performance in detecting and attributing LLM ghostwriters across diverse and out-of-distribution scenarios.

Original authors: Anudeex Shetty, Qiongkai Xu, Olga Ohrimenko, Jey Han Lau

Published 2026-03-31
📖 4 min read☕ Coffee break read

Original authors: Anudeex Shetty, Qiongkai Xu, Olga Ohrimenko, Jey Han Lau

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 walk into a massive library where someone has secretly replaced thousands of books with perfect forgeries. These aren't just any forgeries; they were written by "ghostwriters" who are actually super-smart AI robots. The problem? These AI robots are getting so good that the books look, feel, and read exactly like they were written by humans.

This paper is like a team of digital detectives stepping in to solve the mystery: "Who actually wrote this book?"

Here is the story of their investigation, broken down into simple parts:

1. The Problem: The "Fake Book" Epidemic

In the past, if you wanted to catch a fake, you might look for typos or weird grammar. But modern AI (Large Language Models, or LLMs) writes so smoothly that those tricks don't work anymore.

Worse, most previous detective tools were like flashlights that only work in the dark. They could tell you "This is AI" vs. "This is Human," but they couldn't tell you which specific AI wrote it. If an AI wrote a book about space, and then you showed it a book about cooking, the old tools would get confused and fail. They also mostly looked at short sentences, not full-length novels.

2. The New Evidence Locker: GHOSTWRITEBENCH

To catch these digital forgers, the researchers built a massive new evidence locker called GHOSTWRITEBENCH.

  • The Size: Instead of looking at short tweets or paragraphs, they gathered over 300 full-length books (each about 50,000 words long). That's like reading a whole library of novels!
  • The Variety: They used 10 different "top-tier" AI models (the current champions of AI writing) to write these books.
  • The Trap: They set up a tricky test. They asked the detectives to identify the author even when the AI was writing about a topic it had never seen before (like an AI trained on sci-fi suddenly writing a history book) or when the AI was one they had never met before.

3. The Detective Tool: TRACE

The researchers didn't just build a database; they invented a new super-tool called TRACE.

Think of every author (human or AI) as having a unique digital fingerprint.

  • Old Detectors tried to guess the author by looking at what words were used (like counting how many times the word "the" appeared).
  • TRACE looks at how the author thinks.

The Analogy: Imagine two people walking through a forest.

  • Person A always steps on the left foot, then the right, then pauses.
  • Person B skips, then hops, then steps twice.
  • Even if they both wear the same shoes and walk the same path, their rhythm is different.

TRACE listens to the "rhythm" of the text. It doesn't care about the words themselves; it cares about the transition between them. It asks: "When this AI chose the word 'cat', what was the probability it was thinking of 'dog' next? And how did that probability change for the next word?"

It creates a heat map (a colorful 2D picture) of these transitions. Just like a human fingerprint has ridges and loops, every AI model creates a unique, messy, colorful pattern that is nearly impossible to fake.

4. Why TRACE is a Game-Changer

The researchers tested TRACE against all the other "flashlights" and found it was the only one that could handle the tricky situations:

  • The "Unseen Author" Test: They showed TRACE a book written by an AI it had never met before. While other tools got lost, TRACE said, "I don't know exactly who this is, but I know it's not the ones I've seen before." It's great at spotting the unknown.
  • The "Low Data" Test: Usually, detectives need a huge library of samples to learn a suspect's style. TRACE only needed a few pages (3 to 5 books) to learn the "rhythm" of an AI and then spot it in a whole novel.
  • The "Black Box" Test: TRACE doesn't need to see the AI's internal code (which is often secret). It just reads the finished book, like a detective reading a letter to find the writer's style.

5. The Verdict

The paper concludes that TRACE is the new gold standard. It's lightweight (doesn't need a supercomputer to run), interpretable (we can actually see the patterns it found), and robust (it works even when the AI tries to hide by changing topics or genres).

In short: If AI ghostwriters are trying to sneak into the library and steal the author's credit, TRACE is the security camera that doesn't just look at the face, but listens to the unique heartbeat of the writing to catch them red-handed.

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 →