Manuscript Offprint
arXiv:2610.13583Measuring Artifact Reliance in Machine-Generated Text Detectors
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
Detectors of machine-generated text score almost perfectly on scientific-literature benchmarks, implying we can reliably distinguish with these detectors human and machine-generated documents. We looked at ten scientific-document subsets from six popular resources, and on several of them that apparent ease is a side effect of how the documents were put together. A logistic regression using 27 superficial features reached 0.833-0.997 macro- , and on the three arXiv subsets it outperformed every detector we evaluate with -scores 0.951–0.997. The strongest cue to the detector is the PDF extraction artifact: human texts retain their original line breaks, whereas generated texts are extracted as a single block of prose. This cue, together with three other formatting features, tell the classes apart at 0.996 AUC. To distinguish benchmarks that contain such a signal from detectors that rely on one, we introduce format counterfactuals: just re-wrapping a machine-written abstract without changing a single word reverses 20-27% of a public detector's correct decisions. Normalizing formatting before training reduces the generalization gap from 0.32 to 0.22. On format-clean benchmarks, it also raises out-of-domain macro- from 0.33 to 0.65 for detectors trained on artifact-containing subsets. We release our tools and scripts to reconstruct the corrected subsets .
1 Introduction
Establishing whether a document was written by a person or a language model is a provenance problem, and in the scientific literature it has become a practical one: an analysis of 15 million PubMed abstracts estimates that 13.5% of the papers written in 2024 were LLM-assisted (Kobak et al., 2025). Publishers, reviewers, and archives consequently need detectors they can trust, and trust in a detector usually depends on the benchmark that measured its performance.
The benchmarks for machine-generated text detection report that the problem is close to be solved. During shared tasks on machine-generated text detection, participants build systems above 0.97 accuracy (Appendix B), and the authors of GPABench2 report over 99.9% accuracy on fully GPT-written abstracts (Liu et al., 2024). This is difficult to reconcile with the fact that generators have improved continuously over the same period: if the underlying task were being measured, it should have become harder, not easier.
We argue that for several of these benchmarks, a large part of the reported performance is dependent on how the benchmarks were assembled, which often originates in document processing. Human documents in these collections are usually scraped or converted from source formats and retain the formatting of those sources; meanwhile machine documents are emitted directly by an API as clean text blocks. The difference in formatting is often not immediately visible, while being trivially learnable and exploitable. In the arXiv subsets we examine, a classifier over four content-free formatting features separates the classes at 0.996 AUC.
Our contributions are as follows:
-
We conduct a surface-attribution analysis of ten scientific-document subsets from six resources, showing that content-independent stylistic features can match or exceed the corresponding shared-task winners. We also identify the surface dimensions that carry these shortcuts.
-
We introduce format counterfactuals and the Artifact Reliance Score: a content-preserving intervention and a model-agnostic measure of a detector's reliance on formatting when making machine-class decisions. It requires
Code to the paper neither retraining nor access to model internals.
-
We show that artifact exploitability is tokenizer-dependent: SentencePiece-based models discard the whitespace cue, so detector performance scores on these benchmarks are not comparable across tokenizer families.
-
We show that normalizing formatting before training improves cross-benchmark generalization by reducing reliance on document-construction artifacts, including when detectors trained on artifact-containing datasets are evaluated on format-clean benchmarks.
Artifacts and benchmark difficulty. Several surveys catalogue MGT detection benchmarks (Fraser et al., 2025; Wu et al., 2025), but only few examine the quality of the data itself, despite its direct effect on detector reliability (Gritsai et al., 2025). That detection benchmarks may be separable for the wrong reasons is not a new suspicion. Dugan et al. (2024) report formatting confounds in RAID, naming numbered lists in generated recipes and periodic newlines as such artifacts and estimate their effect on detection as small; on the scientific subsets we examine, the same class of cue is instead dominant, reaching 0.996 AUC and exceeding a fine-tuned transformer. Ayoobi et al. (2025) argue then more broadly that existing benchmarks over-represent easy examples and propose hardness-aware construction. Our framing follows the broader dataset-artifact literature in NLU, where annotation artifacts allow hypothesis-only models to succeed (Gururangan et al., 2018) and motivate bias-only debiasing methods (Clark et al., 2019; Karimi Mahabadi et al., 2020).
Shared tasks. MGT shared tasks have driven progress by releasing curated data and evaluation protocols across multilingual, cross-domain, and cross-generator settings (Kashnitsky et al., 2022; Ayele et al., 2024; Wang et al., 2024a). Some participants of the shared tasks apart from detectors also contribute secondary analyzes of given datasets focused on identifying construction biases, false-positive rates on human texts, and repetitive patterns in synthetic outputs (Voznyuk and Konovalov, 2024), which motivate the dataset-quality focus of this work.
3 Benchmarks Analyzed
We analyze ten subsets of datasets with scientific documents drawn from six published resources. Datasets were selected on four criteria: the documents are scientific artifacts (paper abstracts, paper introductions, or peer reviews); the task is binary human-vs-machine classification; both classes are present in the release; and the machine class is written from scratch from a title or prompt. The last criterion matters because rewriting a human text conditions the generation on human writing and yields a distribution closer to human and AI co-writing than to independent generation (Zhang et al., 2024). Where a resource offers several generation regimes we therefore keep only the from-scratch one: for example, for GPABench2 we use the GPT-WRITE task, and for CHEAT we use the generation split. All selected subsets are in English. See Appendix D for more details on each chosen dataset.
The M4 family. Six of the ten subsets descend from a single family of shared-task resources. First, from M4 (Wang et al., 2024b) we take texts on two scientific domains, arXiv abstracts and peer reviews adapted from PeerRead, Kang et al., 2018. SemEval-2024 Task 8 (Wang et al., 2024a) built its detection-related subtasks on M4, and COLING-2025 GenAI Task 1 (Wang et al., 2025) in turn extended that data with more recent generators, including GPT-4o, LLaMA-3, Gemma-2, and Mixtral.. Each generation therefore inherits its human counterpart from the previous release.
Full scientific papers. Another analyzed dataset, IDMGSP Mosca et al. (2023), collects full machine-generated papers and not just abstracts, pairing human articles from arXiv with generations from SCIgen, GPT-2, GPT-3, ChatGPT, and Galactic, and splitting each record into title, abstract, introduction, and conclusion fields. We use the introduction, as it is usually the longest yet representative of a document.
Large-scale abstract collections. GPABench2 (Liu et al., 2024) contains human, GPT-written, GPT-completed, and GPT-polished abstracts across computer science, physics, and the humanities and social sciences, generated with four prompt templates per task. We kept only computer science and physics subsets. CHEAT (Yu et al., 2025) provides title–abstract pairs for computer-science papers with human abstracts collected from IEEE Xplore, and ChatGPT abstracts written from the title and keywords.
4 Diagnosis
We first establish that the benchmarks contain exploitable patterns, and identify what they are. We used balanced samples of up to 10,000 documents per class per subset, with 5-fold cross-validation and 1000-sample bootstrap intervals.
4.1 Surface Probe
We fit a logistic regression with 27 content-free surface features: document, sentence and word lengths, type-token ratio, and per-character rates of punctuation, digits, uppercase, whitespace runs, newlines, and non-ASCII characters. All features are described in Appendix A. No feature uses actual word content, so the classifier cannot exploit topic or vocabulary. We report its macro- as an estimate of how far a detector can get on a benchmark without reading the text, and the univariate AUC of each feature as an attribution. The joint score can be used to determine whether a shortcut exists, while the univariate scores points out which surface dimension carries it.
Table 1 reports the probe. It reaches macro- between 0.833 and 0.997 without access to a single word identity. For comparison, the winning system of SemEval-2024 Task 8 (monolingual) reached 0.975 accuracy and of COLING-2025 Task 1 (monolingual) 0.831 macro- (Appendix B).
The FMT-ONLY column isolates the four formatting features, namely newline rate, whitespace-run rate, curly-quote rate and em-dash rate. On the three arXiv subsets these four alone reach AUC 0.943-0.997, and normalizing the text, which sets these features to chance by construction, costs the full probe 0.199-0.268 macro- . Lexical TF-IDF score after this transformation stays unchanged. On the remaining seven subsets, the same normalization changes almost nothing ( ).
Therefore, we can observe two distinct artifact families. The arXiv subsets carry a pipeline artifact, precisely a formatting difference introduced by how the documents were collected. The abstract collections, GPABench2 and CHEAT, are format-clean (FMT-ONLY AUC 0.52-0.55) yet almost perfectly separable lexically (TF-IDF 0.99), driven by a mean-word-length gap that no preprocessing can remove. This is an actual stylistic difference between human and machine scientific prose. The distinction defines what detector may learn: pipeline artifacts are spurious by construction, while stylistic differences give legitimate signal, although even genuine stylometric features can invert across settings and mislead detectors (Gao et al., 2026). We also note that document length, often the first suspected confound, is not found anywhere except IDMGSP and M4 peer reviews.
4.2 Nature of this Artifact
The formatting artifact has a mechanical explanation. Human arXiv abstracts were collected with the line wrapping of their source intact, because the median line length in these texts is 76 characters implying the classic 80-column limits. At the same time, generations were returned by an API as a single unwrapped block, with median line length 479-481. Measured over the full subsets, every human abstract in M4 and SemEval24 contains a double space, against 2.2% and 2.0% of machine abstracts; newlines appear in 100% of human documents against 53.1% and 66.3% of machine ones. The predicate of double space " " in text is thus a 99%-accurate classifier for SemEval-2024's arXiv subtask.
The artifact was partly fixed: in COLING-2025 there is no gap with double-space (4.3% human against 6.8% machine), but the newline gap remained (90.6% against 26.3%). Then, another example is IDMGSP, where machine introductions carry newlines (24%) and human ones do not (0%). That reversal will be used as a control in Section 7.
5 Method
Section 4 determines exploitable patterns on these benchmarks. It does not establish that any detector
Table 1: Surface probe. Raw and Norm. are macro- before and after format normalization. FMT-ONLY and LEN-ONLY are AUCs of the four formatting features, and of document length alone. TF-IDF is a lexical reference on the same folds. The three arXiv subsets lose 0.20-0.27 to normalization; the other lose nothing.
| Subset | n | Raw | Norm. | Δ | FMT-ONLY | LEN-ONLY | TF-IDF |
|---|---|---|---|---|---|---|---|
| SemEval24 arXiv | 20,000 | 0.997 | 0.729 | 0.268 | 0.997 | 0.503 | 0.880 |
| M4 arXiv | 20,000 | 0.995 | 0.746 | 0.249 | 0.996 | 0.635 | 0.917 |
| COLING25 arXiv | 20,000 | 0.951 | 0.752 | 0.199 | 0.943 | 0.613 | 0.916 |
| M4 PeerRead | 5,860 | 0.959 | 0.954 | 0.005 | 0.822 | 0.780 | 0.998 |
| SemEval24 PeerRead | 4,714 | 0.941 | 0.914 | 0.027 | 0.709 | 0.541 | 0.947 |
| COLING25 PeerRead | 6,600 | 0.854 | 0.839 | 0.015 | 0.708 | 0.488 | 0.967 |
| IDMGSP | 16,000 | 0.907 | 0.888 | 0.019 | 0.785 | 0.777 | 0.961 |
| GPABench2 CS | 20,000 | 0.940 | 0.938 | 0.002 | 0.547 | 0.596 | 0.999 |
| GPABench2 Physics | 20,000 | 0.935 | 0.934 | 0.001 | 0.524 | 0.560 | 0.999 |
| CHEAT | 20,000 | 0.833 | 0.831 | 0.002 | 0.519 | 0.669 | 0.992 |
uses them: the probe of Section 4.1 gives evidence about the data and not about detectors. Answering the second question requires intervening on the input, which is what this section develops.
5.1 Format Counterfactuals
Admissible operators. We call a text transformation admissible if alters the formatting / punctuation of the text and never the words themselves. Admissibility is machine-checkable: source and transformed document must be character-identical once all non-alphanumeric characters are removed, and we verify this on every transformed document we produce. For a formatting dimension we require an admissible pair: a strip that removes , and an impose that re-applies it according to a profile measured from data rather than chosen by us. In this work, we chose to be the following: let function strip collapse whitespace runs and newlines to single spaces and folds curly quotes and en/em dashes to ASCII; then impose() rewraps lines at line lengths drawn from 's empirical distribution, inserts double spaces after sentence boundaries, and restores curly quotes and dashes, each at 's measured rate. We fit and separately on the human and machine documents of each subset, so the counterfactual is calibrated to the benchmarks.
Artifact Reliance Score. Let and be the gold label of document , a detector's decision, and its machine-class score, so that iff . Let be the machine documents of a subset and those the detector originally classifies correctly. We then measure how often a formatting-only edit reverses a correct decision, and subtract a placebo edit that imposes the machine profile instead:
The placebo is an edit of the same kind that does not move the document towards the human class; it allows us to separate artifact reliance from generic instability under formatting edits. Both terms are evaluated on the same documents, so we test the difference with a paired bootstrap over .
is the fraction of correct decisions that a formatting edit reverses beyond the placebo, however is not a random sample: for a detector with low machine-class recall it plausibly overrepresents documents whose formatting already resembles the machine profile. Injected human profile moves these documents furthest, so conditioning can inflate the effect it measures. We introduce our primary statistic, the mean drop in the machine score under the counterfactual minus the same drop under the placebo:
This metric requires no decision threshold, so it is comparable across the detector families. Also, since it is computed over all of , it is not inflated by selection. Nevertheless, a detector with low machine-class recall has little probability mass to move, so we report machine-class recall alongside both statistics.
Scope of the operator family. The construction is not specific to whitespace. Any formatting dimension admits the same treatment, provided the three conditions above hold: a machine-checkable invariant, a profile estimable per class, and both transformation directions. Another example of such operator is paragraph and list segmentation, and it is well motivated, since Dugan et al. (2024) report numbered lists as a comparable structural artifact in generated text. We instantiate whitespace because that is the dimension the probe selects on these subsets; on the abstract collections it instead selects mean word length, however, it is a lexical dimension, for which no admissible operator exists.
6 Experimental Setup
We take one representative of each family described in Section 2. For fine-tuned language models we train DeBERTa-v3-base (He et al., 2023) on each subset. For zero-shot likelihood methods we use Binoculars (Hans et al., 2024), which compares the perplexity and cross-perplexity of two models, and Fast-DetectGPT (Bao et al., 2024), a more efficient variant of DetectGPT (Mitchell et al., 2023) based on conditional probability curvature. Neither zero-shot method requires fine-tuning, which matters in practice because training a detector for every domain and generator is infeasible.
Per subset we hold out 1000 balanced test documents and train on up to 20,000 balanced documents, subject to availability. Hyperparameters and the full grid are given in Appendix A. For the surface probe and the counterfactual experiments we use the samples and operators described in Sections 4.1 and 5.1.
7 Results
7.1 Baseline Detectors
Table 2 reports the three baseline detectors on the ten subsets. Best results are marked per column, but no single column should be read as a verdict on a dataset; the columns jointly characterise surface separability, behaviour under perturbation, and difficulty for current detectors. The salient comparison is with the surface probe of Section 4.1: on the arXiv subsets, against a probe macro- of 0.951-0.997, the best detector reaches 0.868.
Table 2: Baseline detectors on the ten scientific subsets, as macro- under a random split: a fine-tuned DeBERTa-v3-base, Binoculars (Perpl.) and Fast-DetectGPT (Perturb).
| Dataset | DeBERTa | Perpl. | Perturb. |
|---|---|---|---|
| CHEAT | 0.892 | 0.901 | 0.908 |
| COLING25 (arXiv) | 0.824 | 0.733 | 0.868 |
| COLING25 (PeerRead) | 0.680 | 0.804 | 0.946 |
| GPABench2 (CS) | 0.781 | 0.834 | 0.984 |
| GPABench2 (Physics) | 0.767 | 0.795 | 0.998 |
| IDMGSP | 0.759 | 0.745 | 0.965 |
| M4 (arXiv) | 0.795 | 0.738 | 0.824 |
| M4 (PeerRead) | 0.794 | 0.924 | 0.987 |
| SemEval24 (arXiv) | 0.769 | 0.702 | 0.786 |
| SemEval24 (PeerRead) | 0.808 | 0.922 | 0.965 |
7.2 Artifact Reliance
We apply the counterfactual of Section 5.1 to three publicly available and commonly used detectors, none trained on these benchmarks: chatgpt-detector-roberta, the detector released with HC3 dataset (Su et al., 2024); roberta-base-openai-detector, OpenAI's GPT-2 output detector ; and RADAR (Hu et al., 2023), which is adversarially trained against a paraphraser. Each is scored on all 40,000 counterfactual documents, whose admissibility is asserted at construction.
Table 3 reports (FLIP) alongside over all 500 machine documents (UNC), together with machine-class recall (REC). The conditioned is consistently larger than , as the selection argument of Section 5.1 predicts. For chatgpt-detector-roberta, re-wrapping the lines of a machine-written arXiv abstract reverses of its correct decisions relative to the placebo; the unconditioned margin is to . The three detectors rank as following: the HC3 detector relies most on formatting, OpenAI's GPT-2 detector less, and the adversarially trained RADAR does not rely at all (-0.004 on the arXiv subsets).
Is this a selection artifact? IDMGSP provides a control that no confound can imitate. It is the one subset where the artifact is reversed: machine introductions carry newlines and human ones do not (Section 4.2). If the measurement reflected selection, it could only bias towards positive values, be-
openai-community/roberta-base-openai-detector
Table 3: Artifact reliance of three public detectors under format counterfactuals. FLIP is ; UNC is , the placebo-corrected margin shift over all of ; REC is machine-class recall on the original documents (). fmt is formatting separability (Table 1), by which subsets are ordered.
| Subset | fmt | HC3 | GPT-2 | RADAR | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| REC | FLIP | UNC | REC | FLIP | UNC | REC | FLIP | UNC | ||
| SemEval24 arXiv | 0.997 | 0.318 | 0.453 | +0.200 | 0.420 | 0.343 | +0.137 | 0.226 | 0.177 | -0.006 |
| M4 arXiv | 0.996 | 0.366 | 0.579 | +0.267 | 0.512 | 0.230 | +0.121 | 0.334 | 0.054 | -0.019 |
| COLING25 arXiv | 0.943 | 0.444 | 0.423 | +0.207 | 0.380 | 0.347 | +0.138 | 0.262 | 0.115 | +0.013 |
| M4 PeerRead | 0.822 | 0.224 | 0.312 | +0.097 | 0.752 | 0.003 | +0.002 | 0.978 | 0.000 | -0.002 |
| IDMGSP (rev.) | 0.785 | 0.478 | -0.339 | -0.171 | 0.862 | -0.005 | -0.005 | 0.634 | 0.035 | +0.046 |
| SemEval24 PeerRead | 0.709 | 0.456 | 0.171 | +0.109 | 0.628 | 0.051 | +0.023 | 0.794 | 0.013 | +0.022 |
| COLING25 PeerRead | 0.708 | 0.416 | 0.062 | +0.034 | 0.534 | 0.045 | +0.025 | 0.856 | 0.023 | +0.026 |
| GPABench2 CS | 0.547 | 0.284 | 0.127 | +0.042 | 0.198 | 0.000 | +0.003 | 0.626 | 0.000 | -0.015 |
| GPABench2 Physics | 0.524 | 0.380 | 0.079 | +0.031 | 0.254 | 0.016 | +0.002 | 0.644 | 0.000 | -0.008 |
| CHEAT | 0.519 | 0.632 | -0.016 | -0.010 | 0.542 | 0.004 | +0.000 | 0.914 | 0.000 | +0.001 |
| arXiv mean | 0.376 | 0.485 | +0.225 | 0.437 | 0.307 | +0.132 | 0.274 | 0.115 | -0.004 | |
| ρ with fmt | +0.770 | +0.745 | +0.552 | +0.600 | +0.813 | -0.103 | ||||
cause the documents a weak detector classifies correctly are the ones already most machine-like. Instead, chatgpt-detector-roberta reverses sign on IDMGSP, significantly and without conditioning (-0.171, CI [-0.206, -0.138]). Since IDMGSP's newlines appear mostly in machine texts, it is the machine profile that carries the human-looking cue, and imposing it flips 41.8% of correct decisions against 7.9% for the human profile. RADAR, which does not rely on formatting, shows no comparable reversal. Together with the null on CHEAT, whose classes do not differ in formatting at all (-0.010, CI spanning zero), this is the signature of directional sensitivity to the formatting profile.
The residual dependence on the size of the conditioning set is not significant for chatgpt-detector-roberta ( , p = 0.21 between and the unconditioned margin). Though the effect is one-directional: imposing the machine profile on correctly classified human documents flips at most 2% of decisions for any detector. All three treat wrapped text as evidence of human authorship, but none treats unwrapped text as evidence of machine authorship. The same one-sidedness shows in detectors' recall, which is above 0.95 on human documents and between 0.20 and 0.98 on machine ones.
7.3 Meaning of Diagnostic
The probe predicts artifact reliance. Across the ten subsets, each diagnostic's per-subset value correlates (Spearman, ) with chatgpt-detector-roberta's : the full probe's macro- gives (); the formatting-only AUC gives (); and the normalization drop gives (). The lexical TF-IDF reference does not (, ), so the relationship is specific to surface form rather than to separability in general. A cheap, content-free probe run at release time therefore flags the subsets on which a deployed detector will later prove format-dependent, which is a useful check on its own.
It does not predict cross-benchmark degradation. Against the decontaminated generalization gap of Section 7.4, every diagnostic we tested is uninformative and, if anything, pointed the wrong way: probe macro- (), formatting-only AUC (), (). We report this as a negative result. However, surface separability and transfer failure are distinct properties of a benchmark, and the fact that a benchmark is easy to game does not by itself predict that detectors trained on it will generalize poorly.
With these correlations support a qualitative conclusion rather than a precise estimate; extending the unit of analysis to (subset generator) cells would give more power and is left to future work.
7.4 Transfer and Normalization
Both the probe and the public detectors were assessed within a single benchmark. This section asks whether relying on it can help to perform out-of-domain. We fine-tuned RoBERTa and DeBERTa on each subset and tested on the other nine. After that we asked three questions of the same runs: does the artifact survive in transfer to another benchmark; does intra-benchmark duplication inflate the scores we report; and does removing the artifact from training data, via normalization or reweighting, close the exploit?
Before running the experiments, we excluded test documents that share a near-duplicate with the training subset. We ran two backbones, because the artifact turned out to be visible to one and invisible to the other.
Exploitability depends on the tokenizer. DeBERTa-v3-base uses SentencePiece, which collapses whitespace runs and discards newlines: raw and normalized documents yield identical token sequences, so the model cannot represent the cue that dominates these benchmarks. roberta-base uses a byte-pair encoding that preserves both. In-domain macro- under the cluster-aware split is showed in Table 4.
Table 4: In-domain macro- on the arXiv subsets under the cluster-aware split: the content-free surface probe, RoBERTa (byte-pair encoding, sees the whitespace cue) and DeBERTa-v3 (SentencePiece, discards it).
| Subset | surface probe | RoBERTa | DeBERTa |
|---|---|---|---|
| M4 arXiv | 0.995 | 0.996 | 0.687 |
| SemEval24 arXiv | 0.997 | 0.997 | 0.711 |
| COLING25 arXiv | 0.951 | 0.995 | 0.773 |
The byte-pair model behaves similarly with the content-free probe; the SentencePiece model performs instead at the level of a probe with its formatting features removed (0.729-0.752, Table 1, column Norm.). A benchmark artifact is therefore not equally available to all detecting systems, and scores on these resources are not comparable across tokenizer families: a benchmark can be trivial for one architecture and appear sophisticated to another.
On the raw text, the byte-pair model reaches 0.995-0.997 in-domain on the arXiv subsets and 0.333 on every one of the four format-clean benchmarks. 0.333 is the macro- of predicting a single class on a balanced test set, i.e. it is a complete collapse of the model, that indicates that detector has simple learned to count line breaks and cannot be generalized to the texts without this exploit.
Normalization trades in-domain score for generalization. If we normalize the text before training, macro- in-domain in aggregate drops by 0.074 (0.225 on the arXiv subsets), meanwhile decontaminated out-of-domain macro- increases by 0.030, reducing the generalization gap by a third, from 0.320 to 0.216 (Table 5). When we restrict to the transfers that are out-of-domain such as arXiv-trained models evaluated on the four disjoint benchmarks, the effect is much larger: mean macro- rises from 0.333 to 0.652, a gain of +0.319, with per-subset gains of +0.411 (COLING25 arXiv), +0.347 (SemEval24 arXiv) and +0.197 (M4 arXiv). Subsets without a formatting artifact barely change (CHEAT from 0.958 to 0.964, GPABench2 CS from 0.995 to 0.995, IDMGSP from 0.965 to 0.958), so the intervention is not a general regulariser.
Replacing the random split with a cluster-aware one costs 0.005 macro- for RoBERTa and 0.006 for DeBERTa. We noticed significant duplication within some of the subsets, however, as it did not measurably inflate reported scores on either backbone, we simply note it, see more details in Appendix C.
Artifact-debiased training. We tried to run artifact-debiased training by reweighting examples by the surface bias model and report the results in Table 5. It degraded both in-domain (0.981 to 0.836) and out-of-domain (0.662 to 0.657), and is worse than normalization alone on both axes. On the arXiv subsets the bias model reaches using whitespace, so almost every example receives near-zero weight, collapsing to majority-class prediction for both backbones) as on SemEval24 arXiv. Where the bias model is informative but not saturated, reweighting does improve out-of-domain performance: GPABench2 CS , Physics , IDMGSP . We conclude that bias-model reweighting requires a bias model that is neither saturated nor operating on features outside the detector's representational reach, because for example DeBERTa tokenizer discards part of the features, so their effect here is near-null.
8 Discussion
On the three arXiv subsets, a logistic regression over content-free surface features outperforms a fine-tuned transformer by 0.18-0.31 macro- : whatever these benchmarks measure, it is not the property they were built to measure, since they can be played with a solution that requires no access to the lexical content. And since this cue is visible only to some tokenizer families (Section 7.4), some systems will have an advantage unrelated to how
Table 5: Performance of fine-tuned detectors. is in-domain minus out-of-domain. CLUSTER keeps near-duplicate groups on one side of the split; NORM. additionally normalizes surface form; DEBIAS adds bias-model reweighting.
| Backbone | Cond. | in-domain | OOD | |
|---|---|---|---|---|
| RoBERTa | RAND, raw | 0.986±0.004 | 0.666±0.004 | 0.320 |
| CLUST, raw | 0.981±0.003 | 0.662±0.014 | 0.320 | |
| +NORM. | 0.907±0.009 | 0.692±0.010 | 0.216 | |
| +DEBIAS | 0.836±0.010 | 0.657±0.018 | 0.179 | |
| DeBERTa | RAND, raw | 0.884±0.030 | 0.653±0.024 | 0.231 |
| CLUST, raw | 0.878±0.021 | 0.649±0.012 | 0.229 | |
| +NORM. | 0.878±0.026 | 0.651±0.022 | 0.227 | |
| +DEBIAS | 0.773±0.035 | 0.597±0.019 | 0.175 |
good the system actually is, but rather to whether or not it inadvertently erases exploitable artifacts. We are, however, not aware of any benchmark in this area that documents which family it advantages.
The defect comes from document processing, which makes it cheap to prevent. Human documents should be normalized to the same surface form as generations before release. We recommend shipping the surface-probe score and per-feature AUCs with any such resource.
9 Conclusion
We audited ten scientific-document subsets of six machine-generated-text detection benchmarks and found that much of their reported difficulty is an artifact of document assembly: a logistic regression over content-free surface features matches or exceeds the corresponding shared-task winners, and on the arXiv subsets the dominant cue is whitespace inherited from how human documents were collected. Format counterfactuals and the placebo-corrected Artifact Reliance Score separate benchmarks that contain such a cue from detectors that rely on one, and whether the cue is exploitable at all depends on the detector's tokenizer. We recommend normalizing surface form before release and publishing a surface-probe score alongside every resource.
Limitations
We analyzed only ten subsets of six resources, all English and all of scientific domain. We do not claim the measured effects will transfer to other domains or languages, and the formatting artifact in particular is a property of specific collection pipelines rather than of machine-generated text, although the reason it appears comes from a widely used processing pipeline, so we believe it should be quite common.
is reported for three publicly available detectors. Because it conditions on correct decisions, its denominator shrinks with a detector's recall, and the detectors we measured have machine-class recall between 0.20 and 0.978 on this data; the score should therefore not be used to rank detectors of very unequal accuracy. Our correlation analyzes use subsets, which supports qualitative conclusions but not precise estimates.
The fine-tuned baseline is a single architecture at one size, trained for three epochs with best-epoch selection over three seeds. Its in-domain scores on the arXiv subsets (0.769-0.824) are well below the corresponding shared-task winners, and although we attribute this to the tokenizer's inability to represent the dominant cue, we cannot exclude that a larger or better-tuned model would score higher. Finally, our counterfactual operators cover whitespace and punctuation style only, and other structural operators are considered as future work.
References
Abinew Ali Ayele, Nikolay Babakov, Janek Bevendorff, Xavier Bonet Casals, Berta Chulvi, Daryna Dementieva, Ashaf Elnagar, Dayne Freitag, Maik Fröbe, Damir Korenčić, Maximilian Mayerl, Daniil Moskovskiy, Animesh Mukherjee, Alexander Panchenko, Martin Potthast, Francisco Rangel, Naquee Rizwan, Paolo Rosso, Florian Schneider, and 10 others. 2024. Overview of PAN 2024: Multi-Author Writing Style Analysis, Multilingual Text Detoxification, Oppositional Thinking Analysis, and Generative AI Authorship Verification. In Experimental IR Meets Multilinguality, Multimodality, and Interaction. 15th International Conference of the CLEF Association (CLEF 2024), Lecture Notes in Computer Science, page 3–10, Berlin Heidelberg New York. Springer.
Navid Ayoobi, Sadat Shahriar, and Arjun Mukherjee. 2025. Beyond easy wins: A text hardness-aware benchmark for llm-generated text detection. Preprint, arXiv:2507.15286.
Guangsheng Bao, Yanbin Zhao, Zhiyang Teng, Linyi Yang, and Yue Zhang. 2024. Fast-detectgpt: Efficient zero-shot detection of machine-generated text via conditional probability curvature. In The Twelfth International Conference on Learning Representations, Vienna, Austria.
Christopher Clark, Mark Yatskar, and Luke Zettlemoyer. 2019. Don't take the easy way out: Ensemble based methods for avoiding known dataset biases. In Proceedings of the 2019 Conference on Empirical Meth-ods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), pages 4069–4082, Hong Kong, China. Association for Computational Linguistics.
Liam Dugan, Alyssa Hwang, Filip Trhlík, Andrew Zhu, Josh Magnus Ludan, Hainiu Xu, Daphne Ippolito, and Chris Callison-Burch. 2024. RAID: A shared benchmark for robust evaluation of machine-generated text detectors. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 12463–12492, Bangkok, Thailand. Association for Computational Linguistics.
Kathleen C. Fraser, Hillary Dawkins, and Svetlana Kiritchenko. 2025. Detecting ai-generated text: Factors influencing detectability with current methods. Journal of Artificial Intelligence Research, 82:2233–2278.
Lang Gao, Xuhui Li, Chenxi Wang, Mingzhe Li, Wei Liu, Zirui Song, Jinghui Zhang, Rui Yan, Preslav Nakov, and Xiuying Chen. 2026. When personalization tricks detectors: The feature-inversion trap in machine-generated text detection. In Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 43143–43171, San Diego, California, United States. Association for Computational Linguistics.
Sebastian Gehrmann, Hendrik Strobelt, and Alexander Rush. 2019. GLTR: Statistical detection and visualization of generated text. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics: System Demonstrations, pages 111–116, Florence, Italy. Association for Computational Linguistics.
German Gritsai, Anastasia Voznyuk, Andrey Grabovoy, and Yury Chekhovich. 2025. Are ai detectors good enough? a survey on quality of datasets with machine-generated texts. Preprint, arXiv:2410.14677.
Suchin Gururangan, Swabha Swayamdipta, Omer Levy, Roy Schwartz, Samuel R. Bowman, and Noah A. Smith. 2018. Annotation artifacts in natural language inference data. In Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 2 (Short Papers), pages 107–112, New Orleans, Louisiana. Association for Computational Linguistics.
Abhimanyu Hans, Avi Schwarzschild, Valeriia Cherepanova, Hamid Kazemi, Aniruddha Saha, Micah Goldblum, Jonas Geiping, and Tom Goldstein. 2024. Spotting LLMs with binoculars: Zero-shot detection of machine-generated text. In Proceedings of the 41st International Conference on Machine Learning, volume 235 of Proceedings of Machine Learning Research, pages 17519–17537, Vienna, Austria. PMLR.
Pengcheng He, Jianfeng Gao, and Weizhu Chen. 2023. DeBERTav3: Improving deBERTa using ELECTRA-style pre-training with gradient-disentangled embedding sharing. In The Eleventh International Conference on Learning Representations.
Xiaomengc Hu, Pin-Yu Chen, and Tsung-Yi Ho. 2023. Radar: robust ai-text detection via adversarial learning. In Proceedings of the 37th International Conference on Neural Information Processing Systems, NIPS '23, Red Hook, NY, USA. Curran Associates Inc.
Ganesh Jawahar, Muhammad Abdul-Mageed, and Laks Lakshmanan, V.S. 2020. Automatic detection of machine generated text: A critical survey. In Proceedings of the 28th International Conference on Computational Linguistics, pages 2296–2309, Barcelona, Spain (Online). International Committee on Computational Linguistics.
Dongyeop Kang, Waleed Ammar, Bhavana Dalvi, Madeleine van Zuylen, Sebastian Kohlmeier, Eduard Hovy, and Roy Schwartz. 2018. A dataset of peer reviews (PeerRead): Collection, insights and NLP applications. In Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 1647–1661.
Rabeeh Karimi Mahabadi, Yonatan Belinkov, and James Henderson. 2020. End-to-end bias mitigation by modelling biases in corpora. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 8706–8716, Online. Association for Computational Linguistics.
Yury Kashnitsky, Drahomira Herrmannova, Anita de Waard, George Tsatsaronis, Catriona Catriona Fennell, and Cyril Labbe. 2022. Overview of the DAGPap22 shared task on detecting automatically generated scientific papers. In Proceedings of the Third Workshop on Scholarly Document Processing, pages 210–213, Gyeongju, Republic of Korea. Association for Computational Linguistics.
Dmitry Kobak, Rita González-Márquez, Emóke Ágnes Horvát, and Jan Lause. 2025. Delving into llm-assisted writing in biomedical publications through excess vocabulary. Science Advances, 11(27):eadt3813.
Zeyan Liu, Zijun Yao, Fengjun Li, and Bo Luo. 2024. On the detectability of chatgpt content: benchmarking, methodology, and evaluation through the lens of academic writing. In Proceedings of the 2024 on ACM SIGSAC Conference on Computer and Communications Security, pages 2236–2250.
Dominik Macko, Robert Moro, Adaku Uchendu, Jason Lucas, Michiharu Yamashita, Matúš Pikuliak, Ivan Srba, Thai Le, Dongwon Lee, Jakub Simko, and Maria Bielikova. 2023. MULTITuDE: Large-scale multilingual machine-generated text detection benchmark. In Proceedings of the 2023 Conference on
Empirical Methods in Natural Language Processing, pages 9960–9987, Singapore. Association for Computational Linguistics.
Eric Mitchell, Yoonho Lee, Alexander Khazatsky, Christopher D. Manning, and Chelsea Finn. 2023. Detectgpt: zero-shot machine-generated text detection using probability curvature. In Proceedings of the 40th International Conference on Machine Learning, ICML'23, Honolulu, Hawaii, USA,. PMLR.
Edoardo Mosca, Mohamed Hesham Ibrahim Abdalla, Paolo Basso, Margherita Musumeci, and Georg Groh. 2023. Distinguishing fact from fiction: A benchmark dataset for identifying machine-generated scientific papers in the LLM era. In Proceedings of the 3rd Workshop on Trustworthy Natural Language Processing (TrustNLP 2023), pages 190–207, Toronto, Canada. Association for Computational Linguistics.
Jinyan Su, Terry Zhuo, Di Wang, and Preslav Nakov. 2023. DetectLLM: Leveraging log rank information for zero-shot detection of machine-generated text. In Findings of the Association for Computational Linguistics: EMNLP 2023, pages 12395–12412, Singapore. Association for Computational Linguistics.
Zhenpeng Su, Xing Wu, Wei Zhou, Guangyuan Ma, and Songlin Hu. 2024. Hc3 plus: A semantic-invariant human chatgpt comparison corpus. Preprint, arXiv:2309.02731.
Anastasia Voznyuk and Vasily Konovalov. 2024. DeepPavlov at SemEval-2024 task 8: Leveraging transfer learning for detecting boundaries of machine-generated texts. In Proceedings of the 18th International Workshop on Semantic Evaluation (SemEval-2024), pages 1821–1829, Mexico City, Mexico. Association for Computational Linguistics.
Yuxia Wang, Jonibek Mansurov, Petar Ivanov, Jinyan Su, Artem Shelmanov, Akim Tsvigun, Osama Mohammed Afzal, Tarek Mahmoud, Giovanni Puccetti, and Thomas Arnold. 2024a. SemEval-2024 task 8: Multidomain, multimodel and multilingual machine-generated text detection. In Proceedings of the 18th International Workshop on Semantic Evaluation (SemEval-2024), pages 2057–2079, Mexico City, Mexico. Association for Computational Linguistics.
Yuxia Wang, Jonibek Mansurov, Petar Ivanov, Jinyan Su, Artem Shelmanov, Akim Tsvigun, Chenxi Whitehouse, Osama Mohammed Afzal, Tarek Mahmoud, Toru Sasaki, Thomas Arnold, Alham Fikri Aji, Nizar Habash, Iryna Gurevych, and Preslav Nakov. 2024b. M4: Multi-generator, multi-domain, and multi-lingual black-box machine-generated text detection. In Proceedings of the 18th Conference of the European Chapter of the Association for Computational Linguistics (Volume 1: Long Papers), pages 1369–1407, St. Julian's, Malta. Association for Computational Linguistics.
Yuxia Wang, Artem Shelmanov, Jonibek Mansurov, Akim Tsvigun, Vladislav Mikhailov, Rui Xing, Zhuo-
han Xie, Jiahui Geng, Giovanni Puccetti, Ekaterina Artemova, Jinyan Su, Minh Ngoc Ta, Mervat Abassy, Kareem Elozeiri, Saad El Dine Ahmed, Maiya Goloburda, Tarek Mahmoud, Raj Vardhan Tomar, Alexander Aziz, and 8 others. 2025. Genai content detection task 1: English and multilingual machine-generated text detection: Ai vs. human. In Proceedings of the 31st International Conference on Computational Linguistics (COLING), Abu Dhabi, UAE. Association for Computational Linguistics.
Junchao Wu, Shu Yang, Runzhe Zhan, Yulin Yuan, Lidia Sam Chao, and Derek Fai Wong. 2025. A survey on LLM-generated text detection: Necessity, methods, and future directions. Computational Linguistics, 51(1):275–338.
Peipeng Yu, Jiahan Chen, Xuan Feng, and Zhihua Xia. 2025. Cheat: A large-scale dataset for detecting chatgpt-written abstracts. IEEE Transactions on Big Data.
Qihui Zhang, Chujie Gao, Dongping Chen, Yue Huang, Yixin Huang, Zhenyang Sun, Shilin Zhang, Weiye Li, Zhengyan Fu, Yao Wan, and Lichao Sun. 2024. LLM-as-a-coauthor: Can mixed human-written and machine-generated text be detected? In Findings of the Association for Computational Linguistics: NAACL 2024, pages 409–436, Mexico City, Mexico. Association for Computational Linguistics.
A Implementation and Hyperparameters
All randomness is seeded. A single split seed (0) is shared by every condition and model so that runs differ only in the factor under study; training seeds are . Splits are formed in two ways: randomly, as is standard, and cluster-aware, so that no near-duplicate group spans the train/test boundary. Transfer evaluations exclude test documents having a near-duplicate in the training subset.
Surface probe (Section 4.1). 27 features per document: four size features (characters, words, sentences, mean sentence length), four word-shape features (mean and standard deviation of word length, type-token ratio, hapax rate), ten per-character punctuation rates, four formatting features (r_newline, r_ws_run, r_curly_quote, r_fancy_dash), and five further surface markers (non-ASCII, digit and uppercase rates, numeric-token and LaTeX-command rates). For classifier, we put these standardized features into logistic regression (max_iter = 5000, L2, default C), evaluated by 5-fold stratified cross-validation on balanced samples of up to 10,000 documents per class per subset. Confidence intervals are 1000-sample bootstrap percentiles over the out-of-fold predictions. The lexical reference is TF-IDF over word
1-2 grams, 50,000 maximum features, min_df = 2, sublinear term frequency, into the same classifier and folds. TF-IDF is computed on raw text only: its default token pattern discards whitespace and standalone punctuation, so normalization cannot alter any feature value, and we verified the two runs are numerically identical.
Format counterfactuals and ARS (Section 5.1). 500 documents per class per subset, each in four variants (original, normalized, human-profile injection, machine-profile placebo), giving 40,000 scored documents per detector. The admissibility invariant is asserted on every transformed document. Formatting profiles are estimated per class per subset from line-length distributions, double-space rate at sentence boundaries, and curly-quote and dash rates. Detectors are scored with max_length = 512 and batch size 16.
Fine-tuned detector (Section 7.4). DeBERTa-v3-base, 3 epochs, AdamW at learning rate , linear decay with warmup, gradient-norm clipping at 1.0, bfloat16 autocast on CUDA. Maximum sequence length is 512 for M4 peer reviews and IDMGSP introductions and 256 for the remaining subsets, whose medians are below 210 tokens. Test sets are 1000 balanced documents per subset, held fixed across every condition and seed. Clustering for the cluster-aware split considers up to 25,000 documents per subset. The debiasing condition weights each training example by with , mean-normalized and then clipped at ten times the mean. The bias model is the surface probe of Section 4.1, fitted on the training split only. RoBERTa-base uses identical hyperparameters
B Evaluation results of competitions
Table 6 lists the best reported score in each shared task whose data appears in Table 8. These are the figures we use to compare with surface probe (Section 4.1).
Table 6: Best reported score in each shared task represented in our analysis.
| Competition | Metric | Best result |
|---|---|---|
| SemEval24 Mono | Accuracy | 0.975 |
| SemEval24 Multi | Accuracy | 0.959 |
| COLING25 Mono | Macro- | 0.8307 |
| COLING25 Multi | Macro- | 0.7916 |
C Intra-Benchmark Duplication
Table 7 reports duplication within each subset. We observe that M4 arXiv contains 2,999 duplicate groups of about five members each, summing up to 15,002 rows, which is precisely its 15,000 human documents, and each human abstract is stored once per generator.
The natural expectation is that this inflates reported scores, since a random split places copies of the same document on both sides of it. We tested this directly and find no measurable effect. Replacing the random split with a cluster-aware split that keeps every near-duplicate group completely within one side changes in-domain macro- by 0.005/ 0.006. the sign is inconsistent across subsets, and a subset's duplicate rate does not predict its change ( ). Even M4 arXiv, at 35% duplication, moves only from 0.740 to 0.687, within seed variance. We therefore describe duplication as a defect in effective dataset size and in the interpretation of a nominally balanced split, and not as a source of score inflation.
Table 7: Duplication within each subset. Near-duplicates use MinHash with Jaccard ; exact matching is on whitespace-normalized text.
| Subset | exact | near |
|---|---|---|
| M4 PeerRead | 40.0% | 50.0% |
| M4 arXiv | 35.2% | 49.5% |
| COLING25 PeerRead | 28.0% | 55.1% |
| COLING25 arXiv | 7.7% | 15.7% |
| SemEval24 PeerRead | 1.3% | 2.7% |
| SemEval24 arXiv | 0.00% | 0.01% |
| IDMGSP | 0.03% | 0.24% |
| CHEAT, GPABench2 | ≤0.01% | ≤0.03% |
D Subset Construction Details
Table 8 reports abbreviated generator lists. For the M4 family, scientific subsets were isolated by matching the release's domain field against arXiv and PeerRead. Documents shorter than five whitespace tokens were dropped as degenerate. No class rebalancing was applied at isolation time; the balanced samples used in each experiment are drawn afterwards with a fixed seed.
Table 8: The ten scientific-document subsets analyzed in this work. and are counts of human and machine documents in the isolated subset; median length is in whitespace tokens. All subsets are English and all machine documents are written from scratch. Generator counts are as recorded in each release.
| Subset | Document type | |H| | |M| | Median tokens H / M | #Gen. | Generators |
|---|---|---|---|---|---|---|
| M4-based datasets | ||||||
| M4 arXiv | abstracts | 15,000 | 15,000 | 198 / 180 | 5 | gpt-3.5-turbo, text-davinci-003, cohere, dolly-v2-12b, flan-t5 |
| M4 PeerRead | peer reviews | 2,930 | 2,930 | 2173 / 1026 | 5 | chatgpt, davinci, cohere, dolly-v2, flan-t5 |
| SemEval24 arXiv | abstracts | 15,498 | 11,999 | 194 / 194 | 4 | chatGPT, davinci, cohere, dolly |
| SemEval24 PeerRead | peer reviews | 2,357 | 9,374 | 197 / 238 | 4 | chatGPT, davinci, cohere, dolly |
| COLING25 arXiv | abstracts | 22,484 | 30,684 | 192 / 178 | 12 | + gpt4o, gpt4, llama3-70b/8b, gemma2-9b, gemma-7b, mixtral-8x7b, bloomz |
| COLING25 PeerRead | peer reviews | 3,300 | 16,169 | 203 / 207 | 7 | + gpt4o, gpt4, bloomz |
| Research-paper resources | ||||||
| IDMGSP | paper introductions | 8,000 | 8,000 | 423 / 237 | 5 | SCIgen, GPT-2, GPT-3, ChatGPT, Galactica |
| GPABench2 CS | abstracts | 50,000 | 200,000 | 153 / 164 | 1 | ChatGPT (4 prompt templates) |
| GPABench2 Physics | abstracts | 50,000 | 200,000 | 148 / 155 | 1 | ChatGPT (4 prompt templates) |
| CHEAT | abstracts (IEEE) | 15,395 | 15,395 | 156 / 131 | 1 | ChatGPT |