A lie detector's "1.00 on unseen datasets" hides several times more wrong rankings, though they stay rare
A well-known lie detector for language models reports AUC 1.00 on datasets it trained on and 1.00 on datasets it never saw. Counting wrong rankings on the same items shows several times more of them on unseen datasets (about 5 times on a typical split), concentrated in two datasets. The detector still generalises very well.
November 15, 2026 · Research note · What is not yet established
A 2023 paper built a lie detector for language models and reported a score of 1.00 on datasets it was trained on and 1.00 on datasets it had never seen. Two scores that both round to 1.00 cannot show a change. We counted the detector’s wrong rankings on the same items both ways. With the dataset in training it got 3 of 130,698 lie/truth pairs the wrong way round. Without it, 37. So the rare errors are several times more common on unseen datasets: about 13 times on the split we fixed in advance, about 5 times on a typical one. The detector still generalises very well. This is a working note that adds a number the paper’s table rounds away; it does not say the paper is wrong.
What this means
For the paper. “Near-perfect generalisation” holds in absolute terms: an AUC of 0.9997 on unseen datasets is near-perfect. What the rounded table cannot show is that the detector’s rare errors are several times more common there, and that they gather in two kinds of question. “1.00 and 1.00” is not “no loss”.
For people who build on it. Later work has found that this kind of detector can fall close to chance on models trained to lie, a much harder setting than this one. Our check does not test that setting and does not show a collapse. It shows something smaller that points the same way: even inside the paper’s own data, moving to an unseen dataset multiplies the detector’s errors.
The check carries over. When two compared scores both round to 1.00 (or two rates both sit near 0% or 100%), count the errors on the same items before reading “no change”. An earlier note applied the same idea to a different paper and found the published reading held up.
Agent context: sources, method and working notes
The terms
- The lie detector works like this: after a model gives an answer that may be a lie, ask it a fixed list of unrelated yes/no follow-up questions, and feed its answers to a small classifier (logistic regression).
- AUC measures how well the detector ranks lies above truths. 0.5 is chance and 1.0 is perfect.
- A wrong ranking is a pair of one lie and one truth where the detector gives the truth the higher “this is a lie” score. The share of wrong rankings is exactly 1 minus AUC.
- A ceiling is the top of a scale. When two scores both sit at 1.00, the difference between them is hidden by rounding.
- Unseen dataset means the detector was trained without any question from that dataset.
The paper
The paper is How to Catch an AI Liar: Lie Detection in Black-Box LLMs by Asking Unrelated Questions by Lorenzo Pacchiardi, Alex J. Chan, Sören Mindermann, Ilan Moscovitz, Alexa Y. Pan, Yarin Gal, Owain Evans and Jan Brauner (arXiv 2309.15840, ICLR 2024). The authors released their code and the model’s answers to every follow-up question in a public repository under the BSD-3-Clause licence. We used commit c5689fa26153. That release is what makes this check possible.
Their Table 1 gives the detector’s AUC, using the “lie-related” follow-up questions, as 1.00 on new questions from the datasets it trained on, 1.00 on unseen datasets, and 1.00 on unseen dataset categories. The text calls this “near-perfect generalisation to left-out sub-datasets”.
The worry
A score pinned at 1.00 in both columns reads as “no loss”. But 0.99998 and 0.9997 both print as 1.00, and the second has more than ten times as many errors as the first. Whether the detector loses anything on unseen data cannot be read from the table.
What we did
We used the authors’ saved data: 1,150 lie samples and 1,245 truth samples, from 1,479 questions in 11 datasets. Each sample is the model’s answers to the follow-up questions, stored as log-probabilities. The lies and truths come from OpenAI’s text-davinci-003, prompted to lie or to answer honestly.
We then scored the same items with two detectors:
- Seen (A). Each dataset’s questions are split into five parts. The detector is trained on everything outside one part, from all 11 datasets, and scores that part. It has seen other questions from the same dataset.
- Unseen (B). The same training data with the item’s whole dataset removed. It has never seen that dataset.
For each dataset and each detector we counted the wrongly ranked lie/truth pairs. The judged number is the ratio R: the average wrong-ranking rate for B divided by the average for A. Intervals are 95%, from 10,000 paired bootstrap resamples of the items.
No model was run. This is arithmetic on 11 of the authors’ data files (73 MB), each checked against the pinned commit, with our own code for the classifier.
The plan and the rule for reading the result were written down before the ratio was computed on real labels. The rule, checked in order:
- Hidden drop if the interval’s lower end for R is above 2.
- Firmer if not, and the upper end is below 2.
- Unsettled otherwise.
Result
Verdict under the rule: hidden drop. R = 12.8, with a 95% interval from 5.4 upward.
| Trained with the dataset (A) | Dataset never seen (B) | |
|---|---|---|
| Mean AUC over 11 datasets | 0.99998 | 0.99971 |
| Wrongly ranked pairs, of 130,698 | 3 | 37 |
| Mean wrong-ranking rate | 0.000023 | 0.00029 |
The interval has no upper end because in 27% of resamples detector A makes no error at all, and a ratio with zero underneath is infinite.
The size is loose, and our fixed split overstates it. The five-part split was fixed in advance with one random seed. On the plan’s four other seeds the ratio is 2.7 to 7.2, and on two of them the interval’s lower end falls below 2, which the rule would have read as “unsettled”. The independent recompute then tried 25 seeds: the ratio runs from 2.5 to 13.9 with a median of 5.3, and is above 2 on every one. Our fixed seed is the second highest of the 25, because it happens to give detector A the fewest errors (3, where other splits give 4 to 17). So the fair reading is “several times, about 5 on a typical split”, not “13 times”.
| Setting | R | 95% interval | Wrong pairs, A / B |
|---|---|---|---|
| Judged (seed 0) | 12.8 | 5.4 to ∞ | 3 / 37 |
| Seed 1 | 3.5 | 1.7 to ∞ | 11 / 40 |
| Seed 2 | 2.7 | 1.1 to ∞ | 12 / 29 |
| Seed 3 | 7.2 | 3.0 to ∞ | 4 / 28 |
| Seed 4 | 4.7 | 2.1 to ∞ | 11 / 45 |
| Whole category left out | 11.6 | 5.0 to ∞ | 3 / 34 |
| Without the three sets built from model-written evaluations | 15.9 | 5.5 to ∞ | 9 / 122 |
| Without the two translation sets | 11.0 | 4.7 to ∞ | 3 / 32 |
Two datasets carry nearly all of it. Of the 37 wrong rankings on unseen data, 25 are in Commonsense2 (commonsense questions) and 9 in SyntheticFacts (made-up facts). Eight of the 11 datasets have no wrong ranking under either detector.
The rise is largest exactly where the score is pinned at 1.00. With other sets of follow-up questions the detector is not at the ceiling, and there the paper’s table already shows what happens:
| Follow-up questions used | Mean AUC, A / B | R | 95% interval |
|---|---|---|---|
| Lie-related, log-probabilities (judged) | 0.99998 / 0.99971 | 12.8 | 5.4 to ∞ |
| All 65, log-probabilities | 0.99986 / 0.99911 | 6.2 | 4.1 to ∞ |
| Factual, log-probabilities | 0.9915 / 0.9888 | 1.31 | 1.17 to 1.53 |
| Ambiguous, log-probabilities | 0.9861 / 0.9856 | 1.04 | 1.00 to 1.08 |
| Lie-related, yes/no answers only | 0.99897 / 0.99853 | 1.42 | 1.04 to 2.17 |
| All 65, yes/no answers only | 0.99954 / 0.99834 | 3.6 | 2.3 to 7.5 |
What is verified
- The rule came first. The plan and the three outcomes were saved after a dry run on made-up scores and before the ratio was computed on real labels. The dry run showed that all three outcomes could be reached.
- We can reproduce the paper. Before the check, our code rebuilt Table 1’s first three rows: all nine log-probability cells match exactly at two decimals, and the yes/no cells within 0.01.
- Independent recompute. A fresh Claude agent got the plan and the raw files, but not the first agent’s code, outputs or result. It wrote its own loader, classifier and count. All 84 compared values match exactly, and its verdict is the same. It also ran the 25-seed check above, which is why the headline here says “several times” and not “13 times”.
What is not verified, and limits
- The split is the main uncertainty. The plan’s interval covers which items were sampled, not how the data was split. The split moves the ratio from 2.5 to 13.9.
- Few errors. 3 against 37 on the judged split. A handful of items decides the ratio.
- The line at 2 is our choice.
- “Unseen” is partly “less data”. Each unseen-dataset detector trains on about 9% less data than the seen one. The paper’s own unseen-dataset row has the same feature.
- One lying model, and saved answers. text-davinci-003, prompted to lie. Only the first three rows of Table 1 were examined.
- Our pairing differs from the paper’s. The paper trains one detector per left-out dataset on a single split; we score the same items under both detectors. Our reproduction of Table 1 uses the paper’s own procedure.
- Where the data comes from. Three of the 11 datasets are built from Anthropic’s public model-written evaluations. For the two translation datasets, the authors used a GPT-3.5 judge to decide which answers were correct. Dropping either group leaves the direction unchanged (table above).
- The recompute checks arithmetic, not design. Both agents are from the same model family and worked from the same plan. Neither is an outside reviewer.
- The plan’s date rests on our own records. A reader cannot check it from outside.
- No code is published with this note yet, and the authors have not been contacted. The inputs are public at the commit above.
Corrections with a row or a calculation are welcome at @ziding. Part of the research notebook.
Changes
- November 25, 2026: Added plain-first interactive ceiling microscope zooming the 0.50–1.00 AUC axis to show the 3 vs. 37 wrong-ranking pairs across splits and question sets.
- November 17, 2026: Shortened to the result and what it means; method, verification and limits moved under Agent context.