Detectors that tell human writing from language-model output report near-perfect scores on standard benchmarks. Yet the same detectors flag over 60% of human texts as machine-written once the domain changes, and a single paraphrasing pass can take them from near-perfect to near-zero. One explanation is that they learn real statistical fingerprints of the generators, and these fingerprints are simply fragile. A second explanation, which nobody has tested, is that much of what they learn comes from how each benchmark was built. That includes the prompt template, the register (formal or casual tone) the model was asked to write in, the sampling temperature, and which human sources were paired against it. Benchmark papers rarely document these choices, so a reader cannot tell which explanation holds.
This note proposes to build that test and turn it into an audit tool. We first build a corpus where every generation choice is recorded and varied independently. We use it to measure which choices a trained detector actually depends on. We then check whether an explainability method can recover those same dependencies from benchmarks where the choices were never written down. That method finds directions inside the detector's internal representation that correspond to human-meaningful concepts. The output is a "shortcut datasheet" for existing detection corpora: a documented, checked account of which undocumented construction choices a detector exploits and how much accuracy rests on them.
Core Claim
We make two claims. First, part of the reported accuracy of supervised detectors on benchmarks like MGTBench, MAGE and MGT-Academic is carried by construction choices rather than generator identity. This effect should be measurable as a performance collapse when those choices are decorrelated from the label, or inverted. Second, concept directions in the detector's representation, validated against a ground-truth factorial corpus, can recover these dependencies in corpora whose construction is undocumented. This would be the first data-transparency tool for synthetic text corpora that does not need the original generation logs.
The first claim is motivated by Navigating the Shortcut Maze. That paper built "anti-test sets" in which a spurious cue's correlation with the label is reversed. It showed that fine-tuned BERT loses up to 70% Macro-F1 on sentiment and emotion tasks. It also showed that more capable models are more, not less, sensitive to author-style cues. That paper never studied detectors. Detection is the task where style cues are most tangled with the label, because machine text is known to be neutral, formal and templated. The second claim reuses the method of Ensuring Medical AI Safety. In medical images, that work used concept activation vectors to retrieve training samples containing spurious artifacts such as rulers, at above 0.95 AUROC. It then used the same vectors to unlearn them. That work is image-only, and its artifacts are visible objects. Our concepts are distributional properties of text, and we validate them against recorded ground truth rather than human inspection.
Research Program
The factorial corpus. Human text comes from sources that naturally differ in register and are matched on topic where possible. Casual text comes from Reddit ChangeMyView and Yelp. Formal text comes from arXiv, SciGen and Wikipedia, which are the human sources already used by MAGE and MGT-Academic. Machine text comes from several open models. We cross four recorded factors:
- Prompt template: continuation, topical, or specified, mirroring MAGE's three configurations.
- Register instruction: formal or casual.
- Sampling temperature: low or high.
- Surface post-processing: kept or stripped, covering whitespace, list formatting and opening phrases.
Human texts are never rewritten by a model, since that would make them machine text. Register variation on the human side therefore comes only from source choice, and topic is a recorded covariate.
Three splits. From this pool we draw three splits. The skewed split reproduces the factor–label correlations typical of benchmarks, with machine text mostly formal and templated. The orthogonal split makes every factor independent of the label. The inverted split reverses the correlations, pairing formal human text against casually prompted machine text.
Detectors audited. We train RoBERTa and Longformer detectors on the skewed split, since these are the architectures behind the MGT-Academic and MAGE results. We also audit Ghostbuster-style feature models (Ghostbuster).
The audit. For each factor, we learn a concept direction in the detector's final-layer representation from labeled examples of that factor. Human and machine examples are balanced, so the direction cannot simply be the detector's own decision axis. We then score the factor's causal role by projecting the direction out of the representation and measuring the change in predicted machine probability:
$$\Delta_c = \mathbb{E}_x\left[\, p(\text{machine} \mid h(x)) - p(\text{machine} \mid h(x) - (h(x)^\top v_c)\, v_c) \,\right]$$
Here $h(x)$ is the detector's representation of text $x$, and $v_c$ is the unit concept direction for factor $c$.
A factor with a large $\Delta_c$ and a large anti-test collapse is a confirmed shortcut. The recorded corpus gives us ground truth on which factors the detector could have exploited. That lets us check whether the concept audit ranks factors in the same order as the direct behavioral test.
Transfer to benchmarks. We then apply the audit to MGTBench, MGT-Academic and MAGE. MAGE is the key validation case. Its prompt-type labels exist, so we can hide them, run the audit using concept directions learned only on our corpus, and check whether retrieval of MAGE's prompt types works. MGT-Academic's STEM-versus-Humanities failure gives a second check. That paper attributes the failure to technical human prose looking "AI-like." Our audit predicts that the formal-register concept, not a generator concept, drives those false positives.
Baselines
Naive reference. The do-nothing reference is the detector trained on the skewed split, evaluated on the skewed test distribution. This is the kind of number benchmarks report. For calibration against the literature, supervised RoBERTa reaches F1 above 0.98 in-domain on MGT-Academic (MGT-Academic). MAGE's Longformer reaches 96.6% accuracy in-distribution but misclassifies over 60% of human texts out of domain (MAGE). Our shortcut claim is supported only if the orthogonal and inverted splits produce a large gap relative to this reference, at a fixed operating threshold.
Strongest existing repair: Boundary Adjustment. MAGE's Boundary Adjustment recalibrates the decision threshold with a handful of in-domain examples. MAGE reports GPT-4 recall above 80% using as few as 4 examples. It is the strongest competitor because it claims that out-of-domain failure is only a threshold problem. We give it the same labeled examples from the target split as any other method receives. Our position beats it if errors on the inverted split persist after recalibration. Specifically, AUROC must still fall, since AUROC is threshold-free and cannot be repaired by moving a threshold.
Strongest existing audit method: SHAP. The strongest existing way to explain a text classifier's cues is token-level SHAP, as used in Navigating the Shortcut Maze. We run SHAP on the same detectors and convert its top attributed tokens into a per-factor score. This gives it the same factor labels and the same compute budget as the concept audit. A second competitor is an interpretable probe on explicit linguistic features: word length, lexical diversity and sentence-length variability, the feature set of the ensemble in Paraphrasing Attack Resilience. Both are scored on the same held-out retrieval task. The concept audit beats them if it retrieves hidden factor labels at clearly higher AUROC, and if its $\Delta_c$ ranking matches the anti-test ranking better. We found no reported result on Lacuna for concept-based or SHAP-based retrieval of construction factors in synthetic text corpora, so both will be measured fresh.
Mitigation. The key-ingredient ablation compares three approaches. The first retrains on the orthogonal split, which is data augmentation. The second projects out the flagged concept directions during fine-tuning, which is the class-artifact-compensation idea from the medical work. The third combines both. The vision result gives the scale to aim for: biased-test accuracy restored from 28% to 76%, with clean accuracy at 86% versus 87% unmitigated.
Why not just…?
Why not just build the anti-test set and skip the explainability? On our own corpus, the factorial evaluation alone does answer whether a shortcut exists, and we treat it as the primary behavioral evidence. The explainability audit earns its place only in the benchmarks, where no factor labels exist and an anti-test set cannot be built. If the concept audit fails to recover MAGE's hidden prompt types better than chance and better than SHAP, the transfer claim is false. The contribution then shrinks to the factorial corpus and its measurements, and we would report it that way.
Why not just augment the training data with diverse prompts and registers? This is a real threat to any mitigation claim. It may fix the shortcuts as well as concept-based unlearning does. The ablation above settles this directly. If augmentation matches projection, we recommend augmentation and drop unlearning as a contribution. The audit is still needed to know which factors to diversify in a corpus whose construction is unknown. It is also needed to verify that augmentation removed the dependency rather than moving it to another cue.
Why not just use a zero-shot perplexity detector, which has no training data to overfit? Zero-shot scores avoid dataset shortcuts but inherit a generator-side one. MAGE documents that they flag clear, low-perplexity human writing, and Binoculars lost 0.196 F1 under paraphrasing (Paraphrasing Attack Resilience). We include Binoculars-style cross-perplexity in the inverted-split evaluation. The prediction is that it degrades on formal human text through the register factor, which our corpus isolates directly.
Why not just recalibrate the threshold? Recalibration shifts one number and cannot change ranking quality. Under paraphrasing, MAGE's AUROC still fell from 0.94 to 0.75. The inverted-split AUROC measurement described under Baselines tests the same point for construction shortcuts.
Proposed Experiments
The first decisive check is the collapse test. Train on the skewed split, then report F1 and AUROC on skewed, orthogonal and inverted test sets for each architecture. A drop of under a few F1 points on the inverted set would mean supervised detectors really do learn generator signals robust to register and prompt. That would be a clean negative result supporting the detection literature's fingerprint view.
The second check is ranking agreement. Across factors, compute the Spearman correlation between the concept effect $\Delta_c$ and the factor's anti-test F1 drop, and compare it with the same correlation for SHAP and for the linguistic-feature probe.
The third check is blind transfer. Retrieve MAGE's prompt configuration from concept scores learned only on our corpus, reported as AUROC. Separately, test whether the formal-register concept accounts for MGT-Academic's Humanities false positives. We measure this as the fraction of false positives that flip when the concept direction is projected out, relative to a random-direction control.
The fourth check is the mitigation ablation described in Baselines. It is evaluated on inverted-split accuracy, skewed-split accuracy, and the false-positive rate on formal human text such as arXiv and SciGen.
The deliverable is a shortcut datasheet for each audited benchmark. It reports which construction factors the reference detectors depend on, how strongly, and with what verification. It is released with the factorial corpus and its full generation logs.
References
- MGTBench: Benchmarking Machine-Generated Text Detection
- MAGE: Machine-generated Text Detection in the Wild
- On the Generalization and Adaptation Ability of Machine-Generated Text Detectors in Academic Writing
- Navigating the Shortcut Maze: A Comprehensive Analysis of Shortcut Learning in Text Classification by Language Models
- Ensuring medical AI safety: interpretability-driven detection and mitigation of spurious model behavior and associated data
- Ghostbuster: Detecting Text Ghostwritten by Large Language Models
- Paraphrasing Attack Resilience of Various Machine-Generated Text Detection Methods