betaFeedback

WorksComputer Science

Ontological Instability and Statistical Amplification: The Paradox of "Humanizing" LLM-Generated Text

Abstract

Supervised AI-text detectors report high benchmark accuracy, but it is not clear what their decisions are based on. We analyze a RoBERTa-based detector under semantic, structural, and tokenizer-level perturbations, using the M4 dataset (N = 10,000) and controlled generations (N = 300). When Mistral-7B-Instruct was asked to make machine text sound more human, Verb Diversity rose from 0.77 to 0.92 and the outputs became easier to detect. Detection scores appear to track statistical complexity, which also leads to a 76.3% false-positive rate on formal human writing. As a control, we evaluate event-based Latent Space detection. Paraphrasing changed 87% of its event sequences (Jaccard = 0.067), and homoglyphs altered 70% of the extracted verbs even though extraction still ran (Jaccard = 0.30). Its best domain AUC was 0.577. RoBERTa's robustness seems specific to the features it uses, and structural abstraction did not make detection more robust.

Introduction

Large Language Models have made machine-text detection a practical need. Most leading systems are supervised transformer classifiers (Solaiman et al. [10]; Mitchell et al. [8]), and they report more than 99% accuracy on standard benchmarks (Gritsai et al. [3]). What these classifiers actually pick up is less clear: it may be something artificial about the content, or simply statistical artifacts of particular generators.

We look at this question with RoBERTa (Liu et al. [7]) and, as a structural point of comparison, a Latent Space detector (Tian et al. [11]). Both are tested with three kinds of perturbation: paraphrasing with Mistral-7B-Instruct (Jiang et al. [5]), changes to event sequences, and homoglyph substitution at the character level.

Our main finding is what we call Statistical Amplification. When Mistral rewrote machine text to sound more human, lexical diversity went up, and RoBERTa’s scores usually stayed high. The detector is also poorly calibrated: at the default threshold it flagged 76.3% of formal human texts. Homoglyph substitution evaded it in 41% of cases, and mapping confusable characters to Latin before tokenization cut this to 2%. In a control experiment, the Latent Space detector (Tian et al. [11]) was affected by both paraphrasing and character-level attacks. We are not aware of earlier character-level attacks on event-based latent detectors. Taken together, the results suggest that robustness depends on the kind of features a detector uses, not on supervision as such.

Related Work

Zero-shot methods exploit probability differences between human and machine text [10]. DetectGPT, for example, looks at the curvature of the log-probability around a text [8], although changes in prompting or decoding can shift the token distributions such methods depend on [4].

Supervised classifiers trained on large human–machine corpora are still the most common approach [12], but they often degrade out of distribution. Part of our aim is to see whether their robustness comes from statistical complexity more than from any grasp of meaning.

Paraphrasing and synonym substitution change token distributions, and earlier work has pushed detector accuracy close to chance with them [6, 9]. Our Mistral experiments point the other way: rewriting often made the signal stronger, because it raised lexical diversity.

Latent-space methods model events or discourse transitions, which are assumed to be harder for a generator to imitate [11]. In our experiments this approach depended heavily on the domain and was of little use outside narrative text.

Methodology

Models Under Evaluation

We evaluate a RoBERTa classifier trained on M4 [12] and use the Latent Space approach [11] as a structural control, approximating event triggers with verbs extracted by spaCy. If event features work as intended, they should tolerate homoglyph noise but be sensitive to paraphrasing. We also include an ensemble baseline that weights RoBERTa at 40%, Sample Space perplexity at 10%, and Latent Space at 50%.

Datasets

We use 10,000 English samples from M4 [12], 5,000 for validation and 5,000 for testing, balanced across WikiHow, Wikipedia, Reddit, ArXiv, and PeerRead. Most machine text comes from Bloomz; a smaller set of template-generated samples was used for baseline tests.

For the Persona Stress Test, we generated 300 additional samples using Mistral-7B-Instruct across 100 topics and three personas: Child, Neutral, and PhD.

Metrics

In addition to AUROC and accuracy, we use two metrics of our own. Verb Diversity (VD) is the type-token ratio of verbs:

VD=∣Unique Verbs∣∣Total Verbs∣(1)\mathrm{VD} = \frac{\lvert\mathrm{Unique\ Verbs}\rvert}{\lvert\mathrm{Total\ Verbs}\rvert} \tag*{(1)}

We use it as a rough proxy for statistical complexity; low values mean that the same actions are described repeatedly. Event Sequence Preservation (ESP) is the Jaccard similarity between the verb sequences of a text before and after perturbation:

ESP=∣Voriginal∩Vperturbed∣∣Voriginal∪Vperturbed∣(2)\mathrm{ESP} = \frac{\lvert V_{\mathrm{original}} \cap V_{\mathrm{perturbed}}\rvert}{\lvert V_{\mathrm{original}} \cup V_{\mathrm{perturbed}}\rvert} \tag*{(2)}

Paraphrasing and Statistical Amplification

Paraphrasing is generally expected to weaken detection, since it should remove generator-specific artifacts [6]. With Mistral as the paraphraser, we observed the opposite.

Iterative Paraphrasing with Mistral-7B

We rewrote machine-generated samples iteratively with Mistral-7B-Instruct, prompting it to “humanize” the text, for example: “Rewrite the following text to sound more human, less robotic, and more varied in sentence structure.”

After three rounds of rewriting, RoBERTa still detected 95% of the samples. Verb Diversity rose from 0.766 to 0.924, an increase of 20.6% (Table 1), which moved the texts further from the human baseline of 0.572. By this measure, the rewritten texts were less like human writing than the originals.

MetricBeforeAfter
Detection Score (mean)0.99990.9491
Success Rate (<0.5)0%5%
Verb Diversity0.7660.924
Event Preservation—13.1%

Table 1. Detection before and after three rounds of Mistral-7B paraphrasing.

Verb Diversity by Text Type

Table 2 compares these values across text types.

Text TypeVerb DiversityVerb CountDetection Score
Human (M4)0.572±0.150.572 \pm0.1561.60.762 (FPR: 76.3%)
Machine (Bloomz)0.762±0.120.762 \pm0.1250.20.999
Mistral Rewrite0.924±0.080.924 \pm0.0818.10.949

Table 2. Verb Diversity, verb count, and detection score by text type.

Instruction-tuned models seem to have difficulty reproducing the repetition that is normal in human writing. Even when asked to “sound more human”, Mistral produced text that was more diverse than the original machine output (Figure 1).

Two-panel bar chart showing verb diversity before and after rewriting and feature robustness to mistral attack

Figure 1. Left: Verb Diversity before (0.766) and after (0.924) Mistral-7B rewriting, with the human baseline (0.572). Right: stability of statistical features (79.4%) and of event sequences (13.1%) under rewriting.

Persona Stress Test

To look at this more directly, we generated 300 texts with Mistral-7B under three personas that ask for different levels of complexity: Child (“Explain to a 5-year-old”), Neutral, and PhD.

As Figure 2 and Table 3 show, all three personas were detected at high rates. Child-persona texts had a mean Verb Diversity of 0.764 and were detected 98.8% of the time, while PhD texts reached 0.948 with a mean score of 1.000. The difference between human and Child-persona diversity was large (t=−11.81t = -11.81, p<10−24p < 10^{-24}, Cohen’s d=1.99d = 1.99). The only samples that evaded detection had a diversity below 0.50.

PersonaScoreVerb Div.TokensEvasion Rate
Child (Simple)0.989±0.100.989 \pm0.100.764±0.140.764 \pm0.141121.2%
Neutral (Base)1.000±0.001.000 \pm0.000.818±0.100.818 \pm0.101970%
PhD (Complex)1.000±0.001.000 \pm0.000.948±0.060.948 \pm0.061840%
Human Baseline—0.572——

Table 3. Persona Stress Test Results (N=300N = 300, 100 topics ×\times 3 personas).

Two-panel bar chart comparing score and diversity and showing verb diversity by persona

Figure 2. Left: Verb Diversity against detection score for the persona samples. Right: mean Verb Diversity per persona; Child-persona texts (0.764) stay well above the human baseline (0.572), and 98.8% of them are detected.

Compression Ratio

We also checked whether the higher diversity shows up beyond verbs, using the Gzip compression ratio (R=Sizecompressed/SizeoriginalR = Size_{\mathrm{compressed}}/Size_{\mathrm{original}}). Higher values mean the text compresses less, i.e. it has higher character-level entropy. Human text had a ratio of 0.541 ± 0.03 and machine text 0.587 ± 0.04 (Table 8).

Text TypeGzip RatioPerplexity (GPT-2)
Human0.541 ± 0.0340.0 ± 19.3
Machine0.587 ± 0.0430.2 ± 12.2

Table 8. Gzip compression ratio and GPT-2 perplexity (N = 200).

Machine text was thus 8.5% less compressible, which agrees with the Verb Diversity results. This seems to conflict with the usual view that machine text has low perplexity; we return to this in § 5.4.

One Child-persona sample, “The Food Chain,” evaded detection completely. It repeats the same pattern throughout: “The grass gets eaten by the bunny. The bunny gets eaten by the fox.” Its Verb Diversity was 0.462 and its score 0.000. In our data, evasion required this kind of plain repetition.

Tokenizer-Level Attacks

RoBERTa handled paraphrasing well, but, as Wolff and Wolff [13] showed earlier, it remains sensitive to character-level noise.

Homoglyph Substitution

Following the methodology of Wolff and Wolff [13], we replaced characters with visually identical Unicode homoglyphs (e.g., Cyrillic ’a’ [U+0430] vs. Latin ’a’ [U+0061]) at varying substitution rates.

At 20% substitution, the detection rate fell from 100% to 59%, so 41% of samples evaded detection (Table 4). Beyond 20%, the effect levels off. Even at 5% (about 14 characters per text), 13% of samples evaded (Figure 4). This is consistent with a detector that works on subword token IDs: homoglyphs turn common tokens into rare or unknown ones ([UNK]), which its learned statistics do not cover.

RateSuccess RateMean ScoreScore DropAvg Swaps
0% (baseline)0%0.981—0
5%13%0.8680.11314.6
10%32%0.6820.29929.7
15%40%0.6000.38045.1
20%41%0.5900.39060.2
30%41%0.5840.39689.3

Table 4. Homoglyph Attack Results (RoBERTa).

Four-panel comparison of homoglyph attack, cross-model generalization, rewrite stability, and method robustness

Figure 4. Homoglyph evasion rate by substitution rate. Evasion reaches 13% at 5% substitution and levels off at about 41% from 20% onward.

Control Experiment: Latent Space Detection

As a control, we tested whether event-based Latent Space detection behaves the other way round, resisting homoglyph noise but not paraphrasing. Tian et al. [11] studied semantic perturbations; we did not find prior work applying character-level attacks to this approach.

Table 5 shows that the detector was vulnerable to both attacks. At 30% homoglyph substitution, verb extraction usually still ran, but 70% of the extracted events changed (Jaccard 0.30), and nothing in the pipeline signals the error. Mistral rewriting did even more damage (Jaccard 0.067); in one example, [analyze, discover] became [examine, reveal].

Attack TypeJaccard SimilarityExtraction Failure
Homoglyph (5%)0.7721.4%
Homoglyph (10%)0.6302.3%
Homoglyph (30%)0.2995.2%
Semantic (Mistral)0.067—

Table 5. Latent Space Vulnerability to Attacks.

The detector needs both stable events and correct extraction. Paraphrasing breaks the first, and homoglyphs break the second.

Together with the RoBERTa results, this supports the view that robustness comes from the features a detector uses. A more abstract representation did not, by itself, make detection more robust.

Performance by Domain

We evaluated detection performance across five domains (Table 6).

DomainRoBERTaSample SpaceLatent Space
WikiHow1.0000.5590.577
Wikipedia1.0000.4970.413
Reddit1.0000.6060.459
ArXiv1.0000.7550.385
PeerRead1.0000.7300.393

Table 6. Domain-Specific Performance (AUC).

The Latent Space detector was above chance only on WikiHow (AUC 0.577), and it scored below chance on ArXiv (0.385) and PeerRead (0.393).

We see three reasons for this:

  • Technical writing relies on nominalizations (“analysis” instead of “analyze”), so the extracted events are unreliable.

  • Human and machine academic abstracts both contain about 50–60 verbs, with similar distributions, so there is little signal to separate them.

  • Paraphrasing changed 87% of event sequences, so events behave more like wording choices than like stable properties of the content.

Even on narrative text the gain is small, and on technical text the detector does worse than chance. Table 7 compares the two detectors.

MethodSemantic AttackTokenizer AttackBest Domain AUC
RoBERTaRobust (95%)Vulnerable (59%)1.000 (all)
Latent SpacePoor (13%)Vulnerable (30%)0.577 (WikiHow)

Table 7. Attack results and best-domain AUC for the two detectors.

RoBERTa resists paraphrasing but not homoglyphs, whereas the Latent Space detector is affected by both.

Lexical Entropy and Perplexity

Machine text is often described as low-entropy ([8]). On 200 M4 samples, we measured two different things: lexical entropy, through the Gzip ratio, and predictability to a language model, through GPT-2 perplexity.

Machine text was more predictable (PPLmachine=30.2PPL_{machine} = 30.2 vs. PPLhuman=40.0PPL_{human} = 40.0) but less compressible (Ratiomachine=0.587Ratio_{machine} = 0.587 vs. Ratiohuman=0.541Ratio_{human} = 0.541). A plausible reading is that LLMs choose safe, high-probability continuations while drawing on a wider vocabulary than human writers do. RoBERTa may be picking up this lexical density (Figure 3).

Gzip compression ratio, GPT-2 perplexity, and per-sample scatter

Figure 3. Left and center: Gzip ratio (machine 0.587, human 0.541) and GPT-2 perplexity (machine 30.2, human 40.0). Right: per-sample scatter of the two measures.

Alternative Detection Methods

We also tried two other detection methods. The Binoculars score, a perplexity ratio, reached only 50.3% accuracy (AUC=0.217AUC = 0.217). Rewrite stability (RAIDAR), which measures edit distance after T5 rewriting, did not separate the classes (AUC=0.492AUC = 0.492), so in our setting machine text was not more “stable” under rewriting.

Calibration and Defense

Threshold Calibration

At the default threshold of 0.5, the detector labelled 76.3% of human ArXiv abstracts as machine-generated. Raising the threshold to τ=0.9999\tau= 0.9999 removed these false positives, but machine recall dropped to 1.2% and homoglyph attack success rose to 97% (Table 9). We could not find a single threshold that worked well.

MetricDefault (0.5)Strict (0.9999)
False Positive Rate (Human)76.3%0%
True Positive Rate (Machine)98.5%1.2%
Homoglyph Attack Success30%97%

Table 9. Detector behavior at the default and strict thresholds.

In the T-SNE projection (Figure 5), formal human text falls inside the machine cluster, while casual Reddit posts stay apart. The detector seems to respond to formality more than to anything specific to machine text.

T-SNE projection of RoBERTa embeddings

Figure 5. T-SNE projection of RoBERTa embeddings. Formal human text (blue triangles) falls inside the machine cluster (red circles).

Confusable-Character Sanitization

NFKC normalization does not map look-alike characters from other scripts to Latin, so it had no effect on the attack. We therefore added a lookup table of common confusables, such as Cyrillic ‘c’ (U+0441) and ‘e’ (U+0435), and replaced them with their Latin counterparts before tokenization.

With this mapping, attack success fell from 41% to 2% (Table 10; Figure 6). For a deployed detector, this kind of preprocessing seems necessary.

ConditionAttack Success Rate
Original (no attack)0%
Homoglyph Attack (20%)41%
After NFKC Normalization41% (no change)
After confusable mapping2%

Table 10. Homoglyph attack success before and after sanitization.

Homoglyph Attack & Defense Comparison and Defense Comparison: NFKC vs Confusable Mapping

Figure 6. Homoglyph attack success before (41%) and after (2%) confusable mapping.

Other Attacks

Syntax Simplification

Simplification with Flan-T5-Large [1] led to evasion in 6% of samples, with a mean score drop of 0.031. One sample, however, dropped by 0.997. As with “The Food Chain”, the few successful cases were texts that had become much simpler.

Recursive Back-Translation

Round-trip translation (EN→FR→DE→EN\mathrm{EN} \to\mathrm{FR} \to\mathrm{DE} \to\mathrm{EN}) led to evasion in 2% of samples, with a mean score drop of 0.018, so the detection signal largely survived translation (Figure 7).

Attack Comparison: Breaking RoBERTa

Figure 7. Evasion rates for simplification (6%), back-translation (2%), and homoglyph substitution (41%). The dashed line marks 50%.

Greedy Word-Swap Attack

We also ran a black-box greedy word-swap attack, using BERT-base [2] to propose substitutions and keeping, at each step, the one that lowered RoBERTa’s score the most.

On 49 of the 50 samples, no substitution lowered the score enough to be worth making. If the detector relied on a few giveaway words, the search should have found them; the result suggests that the signal is spread across the whole text.

Discussion

Lexical Diversity as the Main Signal

RoBERTa’s scores are closely associated with lexical diversity, although correlated syntactic or token-level features may also play a role. This association accounts for the three main observations: paraphrasing does not help an attacker, homoglyphs do, and formal human prose is often misclassified.

Feature Choice and Robustness

The Latent Space control suggests that robustness depends on which features a detector uses. Statistical and structural features failed under different perturbations.

Working at the level of events did not make the detector more robust. It added new ways to fail, such as extraction errors, while the sensitivity to paraphrasing remained.

For an attacker, paraphrasing appears counterproductive. In our experiments, evasion required lowering complexity through repetition, attacking the tokenizer with homoglyphs, or bringing Verb Diversity below 0.50.

In practice, a deployed detector should at least sanitize confusable characters, calibrate thresholds per domain, and combine statistical with structural signals.

Conclusion and Future Work

This paper examined why a supervised AI-text detector is robust to some attacks and not to others. The main findings are:

  1. Paraphrasing with Mistral increased lexical diversity and made texts more detectable (Statistical Amplification).

  2. Homoglyph substitution evaded the detector in 41% of cases, in line with earlier work.

  3. The detector confused formality with machine generation, with a 76% false-positive rate on academic text.

  4. Mapping confusable characters to Latin reduced homoglyph attack success to 2%.

Overall, the detector behaves more like a filter for statistical complexity than like a system that recognizes what makes a text machine-written.

Future work should check whether Statistical Amplification holds for newer generators, other languages, and other architectures, and should look for calibration methods that can tell academic formality apart from machine generation.

Limitations

Our main experiments use a single RoBERTa detector and English text only, so we cannot say how the results transfer to other architectures or languages. The Latent Space detector uses spaCy verbs as a stand-in for events, and a full event extractor might behave differently. Homoglyphs are also easy to detect with Unicode analysis; our claim is only that detectors without sanitization miss them.

Ethics Statement

This study reports detector vulnerabilities to support more reliable systems. It uses the public M4 dataset and open-weight models, collects no private data, and involves no human participants.

Generative AI Declaration. The authors used AI tools for writing code, language polishing, and reference management. All outputs were reviewed and edited by the authors, who take full responsibility for the content of this article.

References

  1. [1]Chung, H. W., L. Hou, S. Longpre, B. Zoph, Y. Tay, W. Fedus, Y. Li, et al. 2022. “Scaling Instruction-Finetuned Language Models.” arXiv preprint arXiv:2210.11416. https://arxiv.org/abs/2210.11416
  2. [2]Devlin, J., M.-W. Chang, K. Lee, and K. Toutanova. 2019. “BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding.” In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1, 4171–4186. Association for Computational Linguistics. https://aclanthology.org/N19-1423/arxiv.org/abs/1810.04805
  3. [3]Gritsai, G., A. Voznyuk, A. Grabovoy, and Y. Chekhovich. 2024. “Are AI Detectors Good Enough? A Survey on Quality of Datasets with Machine-Generated Texts.” arXiv preprint arXiv:2410.14677. https://arxiv.org/abs/2410.14677
  4. [4]Hans, A., A. Schwarzschild, V. Cherepanova, H. Kazemi, A. Saha, M. Goldblum, J. Geiping, and T. Goldstein. 2024. “Spotting LLMs with Binoculars: Zero-Shot Detection of Machine-Generated Text.” In Proceedings of the 41st International Conference on Machine Learning, 17519–17537. PMLR 235. https://proceedings.mlr.press/v235/hans24a.htmlarxiv.org/abs/2401.12070
  5. [5]Jiang, A. Q., A. Sablayrolles, A. Mensch, C. Bamford, D. S. Chaplot, D. de las Casas, et al. 2023. “Mistral 7B.” arXiv preprint arXiv:2310.06825. https://arxiv.org/abs/2310.06825
  6. [6]Krishna, K., Y. Song, M. Karpinska, J. Wieting, and M. Iyyer. 2023. “Paraphrasing Evades Detectors of AI-Generated Text, but Retrieval Is an Effective Defense.” In Advances in Neural Information Processing Systems 36: 27469–27500. https://proceedings.neurips.cc/paper_files/paper/2023/hash/575c450013d0e99e4b0ecf82bd1afaa4-Abstract-Conference.htmlarxiv.org/abs/2303.13408
  7. [7]Liu, Y., M. Ott, N. Goyal, J. Du, M. Joshi, D. Chen, O. Levy, M. Lewis, L. Zettlemoyer, and V. Stoyanov. 2019. “RoBERTa: A Robustly Optimized BERT Pretraining Approach.” arXiv preprint arXiv:1907.11692. https://arxiv.org/abs/1907.11692
  8. [8]Mitchell, E., Y. Lee, A. Khazatsky, C. D. Manning, and C. Finn. 2023. “DetectGPT: Zero-Shot Machine-Generated Text Detection Using Probability Curvature.” In Proceedings of the 40th International Conference on Machine Learning, 24950–24962. PMLR. https://proceedings.mlr.press/v202/mitchell23a.htmlarxiv.org/abs/2301.11305
  9. [9]Sadasivan, V. S., A. Kumar, S. Balasubramanian, W. Wang, and S. Feizi. 2023. “Can AI-Generated Text Be Reliably Detected?” arXiv preprint arXiv:2303.11156. https://arxiv.org/abs/2303.11156
  10. [10]Solaiman, I., M. Brundage, J. Clark, A. Askell, A. Herbert-Voss, J. Wu, A. Radford, D. Krueger, J. W. Kim, S. Kreps, et al. 2019. “Release Strategies and the Social Impacts of Language Models.” arXiv preprint arXiv:1908.09203. https://arxiv.org/abs/1908.09203
  11. [11]Tian, Y., Z. Pan, and N. Peng. 2024. “Detecting Machine-Generated Long-Form Content with Latent-Space Variables.” In Findings of the Association for Computational Linguistics: EMNLP 2024, 10394–10408. Association for Computational Linguistics. https://aclanthology.org/2024.findings-emnlp.608/arxiv.org/abs/2410.03856
  12. [12]Wang, Y., J. Mansurov, P. Ivanov, J. Su, A. Shelmanov, A. Tsvigun, C. Whitehouse, et al. 2024. “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), 1369–1407. Association for Computational Linguistics. https://aclanthology.org/2024.eacl-long.83/arxiv.org/abs/2305.14902
  13. [13]Wolff, M., and S. Wolff. 2020. “Attacking Neural Text Detectors.” arXiv preprint arXiv:2002.11768. https://arxiv.org/abs/2002.11768

Paper details

vlnc:W_3wcc929h
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents