Whose Fluency Counts? Variety-Matched Observer Models for Detecting Machine Text in Regional Dialects

Most tools that flag AI-written text never learn what human writing looks like. They run a text through a reference language model, the "observer," and ask how unsurprising that model finds each word. Text the observer finds unusually predictable gets flagged as machine-made. The catch is that "predictable" is defined by the observer's training data, and that data is dominated by prestige varieties: US English, Modern Standard Arabic, Northern Vietnamese. A human writing in Egyptian Arabic or Central Vietnamese is therefore scored against someone else's norm. This already has a documented consequence in one narrow setting. Commercial detectors flagged over 61% of human TOEFL essays as AI-generated because learners' simpler vocabulary looks predictable (GPT detectors are biased against non-native English writers).

We propose to test whether the observer's home variety is itself a hidden variable in detection. The idea is to replace a general multilingual observer with one pre-trained on the target language, and further adapted to the target regional variety. We expect this to do something that no per-dialect threshold can do: separate human from machine text better within each dialect. We also expect it to expose a shortcut. Today's detectors may partly succeed on dialect data only because machine "dialect" text drifts back toward the standard variety.

Core Claim

A zero-shot detector's score on a text $x$ written in variety $v$ can be thought of as

$$s(x) = m(x) + d(v, \theta) + \epsilon(x, \theta),$$

where $m(x)$ is the genuine machine-authorship signal, $d(v,\theta)$ is a shift caused by the distance between variety $v$ and the observer $\theta$'s training distribution, and $\epsilon$ is per-text noise that grows when the observer models $v$ poorly.

Recalibrating thresholds per dialect can cancel the average shift $d$. It cannot reduce $\epsilon$. Our claim is that for under-represented varieties, $\epsilon$ is the dominant problem. It comes from fragmented tokenization and from dialect words the observer barely knows. A variety-matched observer shrinks $\epsilon$, which shows up as higher within-variety AUROC. AUROC measures ranking quality across all thresholds, so it cannot be changed by any threshold choice.

The second claim concerns the shortcut. General LLMs generate dialect badly and fall back to the standard variety. AraDiCE reports BLEU below 4.0 when translating English into Arabic dialects. the Vietnamese dialect-transfer study reports under 10% correctness for GPT-3.5 few-shot transfer. Detectors evaluated on such output may be detecting "standardness" rather than "machineness." If so, they should collapse when the machine text comes from a generator that actually writes the dialect well.

Relation to Prior Work

Three papers motivate the question by showing that detection interacts with non-standard human writing, and each leaves the observer fixed.

Liang et al. established the "perplexity trap" on L2 English using commercial detectors. It does not cover native regional varieties or observer choice.

Intrinsic Dimension Estimation measures how many dimensions the cloud of a text's word embeddings spans, a quantity called persistent homology dimension. Human text spans roughly 9 dimensions against about 7.5 for AI text in alphabetic scripts. The method halves GPTZero's false positive rate on TOEFL essays. However, it uses only RoBERTa and XLM-R and only standard varieties.

DivEye scores the rhythm of surprisal and reaches 82.1% on non-native essays against 68.3% for baselines. It uses a single English GPT-2 observer.

We keep their detection statistics and vary the observer's home variety instead.

M4GT-Bench and MGTBench constrain the design. The first shows that supervised detectors collapse on unseen generators such as BLOOMz and notes that English-centric tokenizers distort rank statistics. The second shows paraphrasing drops F1 from 0.99 to 0.04. Together they argue against relying on supervised detectors trained on prompted dialect data, and against any pipeline that rewrites text before detection.

Two lines of work supply the method. The first is language-specific pre-training: Jais-class Arabic models outperform far larger general models on ArabicMMLU, and SeaLLMs shows that expanding the vocabulary for under-served scripts helps. The second is dialect adaptation: iCompass found that pre-training on dialect tweets beats training on Modern Standard Arabic alone, and BARTpho beats mBART on Vietnamese dialect transfer.

Dialect-robust Evaluation of Generated Text is the closest methodological cousin. It makes a text-quality metric robust to dialect through region-tagged pre-training. It addresses quality scoring rather than authorship, and it uses country-code proxies, which we avoid by using dialect-labeled sources.

Dacon et al. found that BERT-Large shows a Standard American English versus African American English gap about four times wider than BERT-Base. That result cuts against the common assumption that a bigger observer is always better, so we test observer scale directly.

Research Program

We build a testbed in three languages. Arabic is the main case because both general and Arabic-centric models exist. We cover Modern Standard Arabic plus Egyptian, Levantine and Gulf dialects. Vietnamese provides a second script and a sharp standard-versus-regional split: Northern versus Central. English provides a check, comparing US text with Australian, New Zealand and South African text from the regional partitions of Lyu et al..

Human text must predate widespread LLM use. For Arabic we draw on the dialect-tweet shared-task data behind iCompass. The AraDiCE human-post-edited items are hybrid human–machine text, so we use them only as a labeled stress set. For Vietnamese we use the Central sentences of the parallel corpus, grouped by its 112 conversational scenarios into multi-sentence passages. This grouping avoids the length problem noted for DivEye, whose statistics lack support on texts under about 10 tokens.

Machine text comes from two generator tiers. The low-fidelity tier consists of general LLMs prompted to write in the dialect. The high-fidelity tier consists of dialect-specialized generators, for example BARTpho-style transfer models, which reach ROUGE-1 of 94.38 on Central–Northern transfer. We also include dialect-adapted Arabic models. Native speakers rate a sample of each tier for dialect fidelity.

Each detection statistic is computed under a ladder of observers. The ladder runs from a general multilingual model, to a language-specific model (Jais for Arabic, a Vietnamese monolingual model), to that same model after continued pre-training on dialect text. The statistics are the log-likelihood/log-rank ratio from DetectLLM, DivEye features, and persistent homology dimension from each model's embeddings. We also include two sizes per rung to probe the scale question.

The key ablation separates "matched variety" from "more training." We compare continued pre-training on dialect text against compute-matched continued pre-training on additional standard-variety text. We also compare adding dialect vocabulary against leaving the tokenizer unchanged.

Baselines

The naive reference point is a general multilingual observer with one global threshold. This is what a practitioner deploys today. We run it with the same statistics and report its false positive rate on each variety when the threshold is set to 1% FPR on standard-variety human text.

The strongest existing zero-shot methods are DivEye and persistent homology dimension, run exactly as published with their original observers and then with ours. The file gives their headline numbers only on English and standard languages. DivEye reports 82.1% accuracy on non-native essays. Persistent homology dimension reports ROC-AUC 0.83 on Spanish and Italian in WikiM and 40% accuracy at 1% FPR on GPT-3.5. We found no reported result on Lacuna for any detector on Arabic or Vietnamese dialect text.

The strongest supervised competitor is an XLM-R classifier fine-tuned on prompted dialect data, following M4GT-Bench. We found no reported result on Lacuna for its per-language Arabic score beyond the qualitative "strong performance." It gets the same human data and the same hyperparameter search budget as our adapted observers.

The per-variety calibrated detector is the general observer plus a dialect identifier that selects a threshold tuned on held-out human text from that variety. This is the baseline most likely to close the fairness gap cheaply.

Beating the baselines means two things. First, the adapted observer must raise within-variety AUROC and true positive rate at 1% per-variety FPR on the high-fidelity tier over both calibrated DivEye and calibrated persistent homology dimension. The margin must be significant under a bootstrap over texts. Second, the compute-matched standard-variety ablation must fail to produce the same gain.

Why not just…?

Why not just translate dialect text into the standard variety and run an existing detector? A rewriting pass replaces the author's token choices with the rewriter's, which is exactly the signal detectors read. Liang et al. show that one ChatGPT edit moves TOEFL false positive rates from 61.22% to 11.77%. MGTBench shows that paraphrasing drops F1 from 0.99 to 0.04. We still run this pipeline, using BARTpho-style Central-to-Northern transfer, as a baseline. We expect within-variety AUROC to fall toward chance, because transferred human and transferred machine text become statistically alike.

Why not just recalibrate thresholds per dialect? This is the real threat. It may fully fix false positive rate gaps between groups at a chosen operating point. Our experiments are designed around it: AUROC and precision–recall within a variety are unchanged by any threshold. If the adapted observer does not raise them, the honest conclusion is that calibration suffices and observer adaptation is unnecessary. We will report that outcome as such. Calibration also requires a reliable dialect identifier, and we measure how its errors on code-mixed text propagate.

Why not just use the largest frontier multilingual observer, or a supervised detector trained on prompted dialect text? The larger model is a direct test in our scale arm. ArabicMMLU and Dacon et al. give reason to doubt that scale alone closes variety gaps. The supervised route inherits the generation bottleneck: its machine examples are standard-fallback text, so it may learn "standard means machine." The two-tier test measures exactly this.

Decisive Checks

Three results would settle the proposal.

The first is the shortcut test. We compare within-dialect AUROC on the low-fidelity tier with AUROC on the high-fidelity tier. A large drop for general observers and supervised XLM-R, with a smaller drop for variety-matched observers, would confirm that current dialect detection partly rides on dialect fallback.

The second is the $\epsilon$ test. Once per-variety calibration equalizes mean scores, the variance of scores on human dialect text should shrink as the observer moves up the ladder. It should not shrink under the compute-matched standard-variety control.

The third is the direction-of-error test. We ask whether a general observer makes human dialect text look too predictable, repeating the TOEFL pattern and producing false accusations, or too surprising, letting dialect-prompted machine text pass as human. The answer determines whether the harm falls on dialect writers or on the people trying to catch machine text written in dialect. We expect the answer to differ between Arabic, whose dialects are under-represented in written text, and English regional varieties, which are lexically close to US English.