Manuscript Offprint

arXiv:2611.03280

Specificity Bias and the Wikipedia Paradox: An xAI Analysis of AI Text Detectors under Domain Shift

Nico Morloher, Johannes Reschke, Mohamed Mady

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Nico Morloher 1^{1}

Johannes Reschke 1^{1}

Mohamed Mady 1,2^{1,2}

1^{1}Faculty of Electrical Engineering and Information Technology, OTH Regensburg, Germany

2^{2}Technical University of Munich, Munich, Germany

nico.morloher@st.oth-regensburg.de johannes.reschke@oth-regensburg.de mohamed.mady@tum.de

Abstract—The widespread adoption of Large Language Models (LLMs) demands reliable detection of human-authored versus synthetic text. However, current Transformer-based detectors often experience severe performance degradation during domain shifts and operate as opaque classifiers. This paper investigates the robustness and interpretability of fine-tuned Transformer models (DistilBERT, RoBERTa) by evaluating them against a custom out-of-distribution (OOD) dataset of hyper-local news synthesized via open-source LLMs (Llama 3, Mistral, Gemma). To analyze model decision boundaries, we apply a tripartite Explainable AI (xAI) framework using SHAP. Our analysis reveals three key phenomena: First, detectors often rely on a "Call-to-Action" syndrome inherent to instruction-tuned LLMs rather than generic machine text. Second, we observe a "Specificity Bias," where LLMs successfully bypass detection by hallucinating specific named entities and mimicking conversational imperfection. Finally, we illustrate the "Wikipedia Paradox," wherein formal, objective human writing is frequently misclassified as AI due to its low statistical burstiness. These findings demonstrate that purely statistical detection paradigms face systematic limitations in highly structured human domains, emphasizing the critical need for semantically-aware, interpretable detection architectures.

Index Terms—AI Text Detection, Explainable AI, SHAP

I. INTRODUCTION

The rapid proliferation of Large Language Models (LLMs), such as Llama 3, Mistral, and GPT-4, has democratized the generation of coherent, contextually nuanced text. As these models become increasingly integrated into daily applications—ranging from automated journalism to social media content creation—the ability to distinguish between human-authored and AI-generated text has emerged as a critical challenge for maintaining digital trust and academic integrity.

As discussed by Bender et al. [1], the risks of large-scale synthetic text generation include the displacement of authentic discourse. This has led to an arms race between generative capabilities and detection methods [2], rooted in long-standing stylometric research [3].

While current detection systems, predominantly based on fine-tuned Transformer architectures like BERT and RoBERTa, achieve high accuracies on their respective training distributions, they frequently exhibit severe performance degradation when confronted with OOD data. This vulnerability is particularly pronounced in hyper-local and short-form contexts, where the statistical variance of the text is inherently constrained. Furthermore, these deep learning models operate as opaque "black boxes". Binary Human vs. AI scores provide no insight into the linguistic features or generative artifacts driving predictions, obscuring whether models detect genuine synthetic patterns or merely overfit superficial domain idiosyncrasies.

To address this critical gap, this paper shifts the focus from purely macroscopic performance metrics toward true interpretability using xAI. We systematically evaluate the robustness of fine-tuned Transformer models against domain shifts and utilize SHapley Additive exPlanations (SHAP) to illuminate their decision boundaries. This study is guided by two research questions:

  • RQ1: How robust are fine-tuned Transformer detectors against extreme out-of-distribution domain shifts, particularly in hyper-local, short-form text environments?

  • RQ2: What specific lexical, structural, and semantic patterns drive model misclassifications in both false positive (human flagged as AI) and false negative (AI flagged as human) scenarios?

While recent studies have begun to explore SHAP for the explainability of AI text detectors [4], this study uniquely extends this approach by combining global SHAP signatures with systematically selected false negative and false positive case studies in a hyper-local OOD setting. The main contributions of this paper are threefold:

  • We curate a hyper-local OOD dataset comprising synthetic news articles generated by Llama 3, Mistral, and Gemma alongside authentic human journalism, incorporating randomized temperature parameters to simulate generative variance.

  • We evaluate the performance drop of baseline models and highlight the utility of diverse training corpora (artem9k) in maintaining low False Positive Rates (FPRs).

  • We deploy a tripartite xAI framework to analyze the models' vulnerabilities, identifying the "Call-to-Action" syndrome of instruction-tuned LLMs, the "Specificity Bias" that enables AI to bypass detection, and the "Wikipedia Paradox", illustrating how formal human writing triggers AI detection mechanisms.

To support reproducibility and facilitate future research, the complete source code, the custom hyper-local OOD dataset, and the high-resolution SHAP visualizations are publicly available on GitHub at: https://github.com/morloher779/xai-analysis.