# Log-Likelihood, Simpson’s Paradox, and the Detection of Machine-Generated Text

*Tom Kempton, Viktor Drobnyi, Maeve Madigan, Stuart Burrell*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/148606) · [Open on the map](../papers.html#p148606)

Category: [LLM Reasoning, Memory & RAG](../pcat/19.md) › [AI Text Detection](../pgroup/458.md) · Type: new method · Keywords: machine-generated text detection, likelihood hypothesis, Simpson's paradox, Bayesian decision theory, local calibration, token-level aggregation

## Summary
The paper diagnoses a Simpson's paradox in token-level likelihood aggregation for machine-generated text detection and proposes a learned local calibration step grounded in Bayesian decision theory, which dramatically improves detection across detectors, exemplified by a locally-calibrated DMAP detector.

## Explained to a 5-year-old
People want to know if a story was written by a person or by a computer. Computers can make stories that look like they were written by people, but it's hard to tell them apart. The usual way to tell them apart looks at how likely each word is, but this can be wrong because some parts of the story are different from others. The researchers found that this mistake is like a puzzle where mixing pieces makes the answer wrong. They created a new trick that helps the computer compare the stories more fairly, making it better at telling them apart.

## Explained to a 5-year-old, longer
Imagine you have two kinds of drawings: one made by a kid and one made by a robot. You want to know which is which, but the robot sometimes draws in a style that looks a little like the kid’s. The easy way to tell them apart is to look at how many lines and colors are used, but sometimes the robot uses a mix of styles that confuses the rule. The researchers noticed that when you simply add up all the scores from different parts of the drawing, the robot’s special style gets hidden, just like mixing different puzzle pieces can hide the picture. They then taught a small computer program to notice where each part of the drawing comes from and adjust the scores accordingly, so the robot’s style stands out more clearly. This new method helps the computer tell the kid’s drawings from the robot’s drawings much better, and it can be used for any kind of comparison, not just drawings. It also opens the door for even smarter ways to compare things in the future, using more advanced math and understanding of how things are put together.

## For a technical reader
The paper shows that aggregating token-level likelihood scores naïvely can cause a Simpson’s paradox, destroying local signals. They propose learning lightweight predictors of score distributions conditioned on hidden-space regions and using calibrated log-likelihood ratios, which improves detection across detectors. The approach is modular, Bayesian-grounded, and can be applied to any token-averaging pipeline, achieving state-of-the-art results with a locally-calibrated DMAP detector.

## Problem
Existing detectors for machine-generated text rely on averaging token-level likelihood scores, but this averaging can obscure a strong local signal due to non-uniform statistical structure, leading to degraded performance.

## Method
The approach learns lightweight predictors of token-score distributions conditioned on hidden-space regions and aggregates calibrated log-likelihood ratios instead of raw scores, grounded in Bayesian decision theory.

## Results
The calibrated approach raises AUROC from 0.63 to 0.85 on GPT-5.4 text and yields state-of-the-art performance with a locally-calibrated DMAP detector across all evaluated detectors and datasets.

## Contributions
The paper provides a precise diagnosis of a Simpson's paradox in token-level likelihood aggregation and offers a modular, Bayesian-grounded calibration remedy that can be applied to any token-averaging detector pipeline.

## Practical relevance
The work enables more reliable detection of AI-generated text, supporting content authenticity and mitigating misinformation.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/148606)
