Introduction
The internet is increasingly saturated with Machine-Generated Text (MGT), posing a significant threat to the integrity of user-generated content platforms like Wikipedia. To combat this, researchers have developed automated MGT detectors. However, most AI text detectors are evaluated on simple, generic prompts (e.g., "Write an article about machine learning"). This unconstrained, free-form generation makes detectors appear highly accurate in benchmark testing.
In reality, Wikipedia editors and other professionals use Large Language Models (LLMs) for task-specific generation. They provide strict constraints, contextual grounding, and specific instructions, such as summarizing an article or rewriting a paragraph to maintain a neutral point of view. Because task-specific MGT is heavily conditioned on human-written context, it closely mimics human style and semantics. This paper introduces TSM-Bench, a new benchmark reflecting how people actually use LLMs in the real world, revealing that state-of-the-art detectors suffer a massive 10–40% accuracy drop when faced with these realistic, task-specific texts.
Constructing the TSM-Bench Framework
To demonstrate this vulnerability, the authors built a comprehensive evaluation framework designed around actual editor behavior.
The methodology involved four key steps:
- Task Definition: The researchers defined four real-world Wikipedia editing tasks: writing an introductory paragraph, continuing an existing paragraph, summarizing an article, and neutralizing biased text (Text Style Transfer).
- Prompt Optimization: Advanced prompting techniques, including Naive RAG (Retrieval-Augmented Generation) and few-shot prompting, were utilized to generate high-quality, factually grounded MGT.
- Generation: Text was generated using 8 different language models (including GPT-4o, Gemini 2.0, DeepSeek, Qwen 2.5, and Mistral) across 3 languages (English, Portuguese, and Vietnamese) to account for varying resource levels.
- Evaluation: The team benchmarked 12 different detectors, ranging from off-the-shelf commercial detectors (like RADAR and Binoculars) to zero-shot methods and supervised models fine-tuned specifically for these tasks (e.g., XLM-RoBERTa, mDeBERTa).
The resulting dataset, TSM-Bench, is a multilingual, multi-generator, multi-task benchmark containing 152,910 LLM-generated texts paired with human-written references sourced from WikiPS and the Wikipedia Neutrality Corpus (mWNC). To test generalization, models were also evaluated on out-of-domain generic MGT generated from news and social review datasets.
Key Insights and Performance Drops
The evaluation revealed critical flaws in how current detectors handle constrained generation.
Massive Accuracy Drops: Compared to generic benchmarks, zero-shot detectors dropped in accuracy by up to 32%, off-the-shelf detectors by 20%, and supervised detectors by 10%. Popular off-the-shelf detectors scored over 93% on generic text but plummeted to between 47% and 73% on TSM-Bench's task-specific text.
The Generalization Asymmetry: The paper uncovered a crucial "aha" moment regarding model training. If a detector is trained on complex, task-specific data, it easily catches simple, generic AI text—even in entirely different domains like news or social media reviews. However, if a detector is trained solely on generic data, it completely fails to catch task-specific text.
Superficial Artifacts vs. Semantic Understanding: Using SHAP (a feature attribution method), the authors analyzed models trained on generic text. They discovered these models were effectively "cheating" by latching onto superficial LLM formatting quirks (such as Markdown headers like == or #) rather than learning actual semantic or linguistic differences between human and AI writing.
Task-Dependent Signatures: Cross-task generalization proved surprisingly poor. A detector trained perfectly to spot an AI-generated Wikipedia summary struggles to identify an AI-generated paragraph continuation. Different tasks leave different statistical traces, meaning zero-shot models (which rely on log probabilities or perplexity) often fall to near random-chance when evaluating blended texts like paragraph continuations. Fine-tuned supervised models (like mDeBERTa) were the only ones to maintain decent performance, averaging 79.7% to 91.8% accuracy across most tasks.
Limitations and Future Directions
While TSM-Bench provides a much-needed reality check for MGT detection, the benchmark currently focuses on three primary editing tasks. Other common LLM uses, such as translation, are not yet included. Additionally, for the Text Style Transfer task, automated classifiers used to evaluate prompt quality struggled with accuracy, highlighting the computational difficulty of defining a "Neutral Point of View."
Ultimately, the authors strongly recommend that future MGT detectors be trained on a highly diverse combination of task-specific data, rather than generic text, to ensure they remain reliable for automated detection in real-world user-generated content platforms.
Summary updated