Skip to content

Can You Trust the Output? Four Papers on Detection, Data Budgets, and Calibration

#llm-evaluation #calibration #ai-text-detection #conformal-prediction #data-quality #benchmark-contamination

Every measurement you make about an LLM is a measurement of the pipeline that produced the output. Swap the system prompt, swap the annotation vendor, swap the benchmark's stylistic cues, and the number moves.

Four papers out this month each take one of those swaps apart. SPADE moves AI-text detection from the text to the prompt that generated it. A dollar-matched post-training study asks what human preference labels are actually worth. A perturbation study across GLUE and three rounds of ANLI shows benchmark scores riding on noun positions and function words. A calibration study on medical multiple-choice QA reports raw probabilities off by as much as 49 points, fixable with a single temperature constant.

Take them in that order.

AI text detection was reading the wrong half of the pipeline ​

Most detectors look at the output and nothing else. Supervised ones learn surface statistics from labeled human and machine texts. Zero-shot ones score the text's probability distribution under a reference model. Both approaches throw away the thing that shaped the text most: the prompt.

SPADE keeps it. The method introduces a pointwise mutual information term that measures how much a candidate prompt explains a given text, then trains one soft prompt per class (human, machine). At inference you run both soft prompts against the candidate text and predict the class whose prompt explains it better. The authors report the best out-of-distribution numbers among the detectors they compare against.

Detector familySignal it usesWhat breaks it
Supervised classifier on labeled textssurface statistics of the texta new generator, or the same generator with a new prompt template
Zero-shot probability methodstoken likelihood curvatureneeds white-box access; shifts with temperature and decoding settings
SPADEhow much a class-specific soft prompt explains the textcosts two conditioning passes; relies on a usable PMI estimate

The practical consequence matters more than the benchmark table. If you ship a detector, its in-distribution accuracy tells you close to nothing. What you need to know is whether it survives a generator swap or a prompt template change, and that is exactly the axis SPADE was built on. Two conditioning passes per document is a real cost, but it's cheap next to retraining a classifier every time your product team rewrites the system prompt.

What $200 to $400 in preference data buys ​

The second paper asks a question most post-training comparisons dodge: what happens when you hold the dollar budget fixed instead of the sample count? Human preference annotation and synthetic preference generation differ by orders of magnitude in cost per sample, so a sample-matched comparison answers the wrong question.

The authors train several base model families with SFT followed by DPO, on helpfulness and summarization, and sweep the budget.

TaskSynthetic at $200 to $400Human at the same budgetHuman at roughly 100x the budget
Helpfulnesshigh win ratefar behindroughly catches up
Summarizationhigh win ratefar behindstill behind

On helpfulness, human data only closes the gap somewhere around two orders of magnitude more money. On summarization it never closes it at any budget they tested. If you're a team with a few hundred dollars and a strong generator, that's the whole argument: generate, filter, and run DPO this week instead of waiting a quarter for an annotation contract.

Quick take: synthetic preference data dominates at every budget a startup can afford, and on summarization it dominates at every budget tested.

The reliability finding deserves more attention than the headline. Human preference data isn't a fungible commodity. The study reports that one of its two human sources underperforms the other by a wide margin, and the gap survives domain restriction and deduplication. Those sources are typically drawn from the standard pool, Anthropic's HH-RLHF for helpfulness and something like OpenAI's TL;DR comparisons or the Stanford Human Preferences set for summarization. Which pair the study used matters less than the transferable lesson: the specific corpus you pick can cost you more than the human-versus-synthetic choice.

Your benchmark score is a property of the benchmark ​

The third paper revisits a decade-old result. Fine-tuned encoders keep a surprising amount of accuracy on NLI after you delete every noun or shuffle the word order. The obvious explanation is memorization: the models saw these benchmarks during pre-training.

That explanation doesn't hold. Eight LLMs, spanning sizes and families, alongside fine-tuned encoders, were tested on GLUE and all three rounds of ANLI. Every system that answers directly retains 36% to 72% of its above-chance accuracy on MNLI with all nouns removed. On ANLI the same perturbation leaves only 14% to 29%. Same models, same task, wildly different retention, which points at the dataset rather than the weights.

Key numbers from the shortcut study

  • 368 newly written, human-validated items that none of the models could have seen
  • 36% to 72% of above-chance MNLI accuracy survives deleting every noun
  • 14% to 29% survives the same deletion on ANLI
  • 8 LLMs tested, plus fine-tuned encoders, with no size effect on the pattern
  • 0 link found between exact n-gram exposure in public pre-training data and perturbation robustness
BenchmarkAbove-chance accuracy retained with nouns removedWhy
MNLI36% to 72%noun position and lexical cues carry the label
ANLI (3 rounds)14% to 29%adversarial construction strips those cues out

The contamination checks are the cleanest part. Two of the models have public pre-training corpora, and exact n-gram counts against the benchmarks show no relationship with how well a model survives perturbation. Memorization is not what's happening.

The 368 new items settle it. All eight LLMs retain more of their performance without nouns on items written in MNLI's style than on items written without its cues. Delete the function words that carry those cues instead, and the advantage reverses. Only a model that reasons before answering breaks the pattern at all.

Overconfidence is the default, and one temperature constant removes most of it ​

The calibration paper is the one I'd hand to anyone putting a model near a clinical or financial decision. Two open-weight 7B models, Qwen2.5-7B-Instruct and Jais-adapted-7B-chat, both served in 4-bit, which means each fits comfortably on a single 8 GB consumer card. They were scored on 2,816 English questions from MedMCQA and 4,927 Arabic questions from MedAraBench.

Raw option probabilities were overconfident in all four settings, with expected calibration error between 0.242 and 0.486. An ECE of 0.486 means the stated confidence is off by roughly 49 percentage points on average: the model says 90%, it's right about 41% of the time. A single temperature parameter fit on held-out data removed 82% to 93% of that error. That's one scalar, one calibration split, and a division. There is no excuse for shipping uncalibrated option scores.

SettingQuestionsAccuracyMean conformal set size at 90% coverageTop-two margin AUROC
Qwen, English (MedMCQA)2,8160.56163% of options0.734
Qwen, Arabic (MedAraBench)4,9270.43078% of optionsbetween the two
Jais, English2,8160.36986% of optionsbetween the two
Jais, Arabic4,9270.30889% of options0.579

Split conformal prediction hit its nominal coverage in all 24 settings tested, within 0.006. That sounds like a win until you read the set sizes. On a four-option question at 90% coverage, a set containing 89% of the options is a guarantee that tells you nothing. Coverage is easy when the sets are allowed to be enormous.

The useful signal is the gap between the top two option probabilities. It separated correct from incorrect answers best for Qwen on English (AUROC 0.734, well above a coin flip but far from clean) and worst for Jais on Arabic (0.579, barely better than guessing). With that signal you can abstain. Answering only the 20% most confident questions dropped Qwen's English error rate from 0.439 to 0.098. One in five answers, roughly 90% correct. For triage, that's a deployable system.

Two smaller findings will bite anyone scoring Arabic MCQs. Jais showed a strong prior for option C, picked for 49% of English and 60% of Arabic predictions. Restricting the scoring to Latin letters cut the Arabic share to 29%, yet accuracy, raw ECE and AUROC barely moved. Reformatting your prompts changes the answer distribution without changing the model's competence, which means an evaluation that only tracks accuracy will miss the shift entirely.

The same failure, three times ​

Each paper finds the same structure. The thing being measured is a joint property of the model and the setup around it, and the setup is usually doing more of the work than anyone assumed. A detector's accuracy depends on the prompt. A fine-tune's win rate depends on the annotation source and the exchange rate between dollars and samples. A benchmark score depends on whether the items carry the cues the training data carried. A confidence score depends on a temperature constant nobody fit.

What I keep running into on real deployments ​

When my team moved a summarization feature from a hosted frontier model to a smaller self-hosted one, the detector filtering user submissions went from reliable to roughly a coin flip. Same task, similar text, different generator and a rewritten system prompt. Reading the SPADE paper felt like finding a name for something we'd already paid for in production incidents.

The budget finding matched a support-ticket project too. A few hundred synthetic preference pairs, generated and filtered in an afternoon, moved the DPO win rate further than a few thousand vendor-labeled pairs that took two weeks to arrive. We assumed we were comparing data quality. We were comparing dollars per usable preference, and we'd never written that number down.

Conformal prediction was the one that stung. We ran split conformal on a four-option medical set, got 90% coverage exactly as promised, and then looked at the sets. Three or four options out of four, most of the time. The math was correct and the output was worthless. Fixing the calibration first, then measuring the top-two margin, gave us something we could actually route on: low-margin questions go to a human reviewer, high-margin ones auto-answer.

What trips people up ​

  • Reporting accuracy alone. A model at 0.561 accuracy that answers its 20% most confident questions at 0.098 error is usable for triage; the same model answering everything is not. Publish the selective-prediction curve next to the accuracy.
  • Fitting the temperature on your test split. The 82% to 93% ECE reduction holds only when the temperature sees a held-out calibration set. Fit it on eval data and you've reported a number that won't reproduce on Monday.
  • Comparing data budgets by sample count. Dollar-match or you're comparing invoice totals, not methods. Synthetic pairs and human pairs are not the same unit.
  • Building a DPO run on a single human preference source. Check agreement across two sources first. The paper's gap between two well-known corpora survives deduplication and domain restriction, so it isn't noise.
  • Evaluating a detector on an in-distribution split, then deploying it against a different generator. Test on a model and prompt template the detector has never seen, or you're measuring the training set.
  • Reading MNLI-style robustness as generalization. If your eval items carry the same stylistic cues as your training items, a high score tells you the cue survived, nothing more.

Re-measure after every change, or the number is fiction ​

Every metric in these four papers is conditional on a pipeline, and pipelines change constantly: a new model version, a rewritten system prompt, a different annotation vendor, a re-tokenized MCQ format. The half-life of an unqualified benchmark number is measured in weeks. Keep the calibration split, keep the OOD detector set, keep the perturbation check, and re-run them whenever anything upstream moves. The cost is a few GPU-hours. The alternative is quoting a number that stopped being true two releases ago.

What this means for your eval stack ​

If you're deploying a model on high-stakes multiple choice or any task with enumerated answers, fit a temperature on a held-out split before you do anything else. It takes an afternoon, removes most of the calibration error, and unlocks abstention. Then report accuracy, ECE, and the error rate at your supported coverage level together.

If you're post-training on a budget under a few thousand dollars, generate synthetic preference pairs and skip the annotation contract. The dollar-matched evidence is unambiguous on summarization and near-unambiguous on helpfulness at that scale. Spend the savings on a second human-labeled dev set so you can detect when your synthetic distribution drifts.

If your reliability argument rests on a benchmark score, run the noun-deletion and function-word-deletion checks before you quote it. A model retaining 70% of its accuracy with every noun removed hasn't learned entailment. And one thing to watch: prompt-aware detectors like SPADE are cheap to add now, but expect the detection problem to move again as soon as generators start optimizing against prompt-level signals.