DetectAnyLLM: Towards Generalizable and Robust Detection of Machine-Generated Text Across Domains and Models
Not on the map. Why?
Abstract (arXiv)
The rapid advancement of large language models (LLMs) has drawn urgent attention to the task of machine-generated text detection (MGTD). However, existing approaches struggle in complex real-world scenarios: zero-shot detectors rely heavily on scoring model's output distribution while training-based detectors are often constrained by overfitting to the training data, limiting generalization. We found that the performance bottleneck of training-based detectors stems from the misalignment between training objective and task needs. To address this, we propose Direct Discrepancy Learning (DDL), a novel optimization strategy that directly optimizes the detector with task-oriented knowledge. DDL enables the detector to better capture the core semantics of the detection task, thereby enhancing both robustness and generalization. Built upon this, we introduce DetectAnyLLM, a unified detection framework that achieves state-of-the-art MGTD performance across diverse LLMs. To ensure a reliable evaluation, we construct MIRAGE, the most diverse multi-task MGTD benchmark. MIRAGE samples human-written texts from 10 corpora across 5 text-domains, which are then re-generated or revised using 17 cutting-edge LLMs, covering a wide spectrum of proprietary models and textual styles. Extensive experiments on MIRAGE reveal the limitations of existing methods in complex environment. In contrast, DetectAnyLLM consistently outperforms them, achieving over a 70% performance improvement under the same training data and base scoring model, underscoring the effectiveness of our DDL. Project page: {https://fjc2005.github.io/detectanyllm}.
Key facts. Cited by 9 papers in the map (data through 14 Oct 2026). Builds on 43 of its 59 references that are in the map. First posted on arXiv 15 Sep 2025.
Builds on
43 of 59 references.
References · 43
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2017Proximal Policy Optimization Algorithmscited by 15,215
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,065
- 2024Qwen2.5 Technical Reportcited by 4,942
- 2024GPT-4o System Cardcited by 4,588
- 2018Don't Give Me the Details, Just the Summary! Topic-Aware Convolutional Neural Networks for Extreme Summarizationcited by 1,317
- 2019PubMedQA: A Dataset for Biomedical Research Question Answeringcited by 1,288
- 2018Hierarchical Neural Story Generationcited by 1,193
- 2023DetectGPT: Zero-Shot Machine-Generated Text Detection using Probability Curvaturecited by 726
- 2024ORPO: Monolithic Preference Optimization without Reference Modelcited by 562
31 more
- 2019Release Strategies and the Social Impacts of Language Modelscited by 513
- 2019GLTR: Statistical Detection and Visualization of Generated Textcited by 496
- 2023How Close is ChatGPT to Human Experts? Comparison Corpus, Evaluation, and Detectioncited by 481
- 2017"Liar, Liar Pants on Fire": A New Benchmark Dataset for Fake News Detectioncited by 363
- 2021XL-Sum: Large-Scale Multilingual Abstractive Summarization for 44 Languagescited by 347
- 2023Fast-DetectGPT: Efficient Zero-Shot Detection of Machine-Generated Text via Conditional Probability Curvaturecited by 287
- 2024Spotting LLMs With Binoculars: Zero-Shot Detection of Machine-Generated Textcited by 263
- 2019Automatic Detection of Generated Text is Easiest when Humans are Fooledcited by 261
- 2023DetectLLM: Leveraging Log Rank Information for Zero-Shot Detection of Machine-Generated Textcited by 210
- 2023RADAR: Robust AI-Text Detection via Adversarial Learningcited by 190
- 2020Automatic Detection of Machine Generated Text: A Critical Surveycited by 166
- 2024RAID: A Shared Benchmark for Robust Evaluation of Machine-Generated Text Detectorscited by 163
- 2019BIGPATENT: A Large-Scale Dataset for Abstractive and Coherent Summarizationcited by 156
- 2023MAGE: Machine-generated Text Detection in the Wildcited by 132
- 2023DNA-GPT: Divergent N-Gram Analysis for Training-Free Detection of GPT-Generated Textcited by 129
- 2023The Science of Detecting LLM-Generated Textscited by 128
- 2023M4: Multi-generator, Multi-domain, and Multi-lingual Black-Box Machine-Generated Text Detectioncited by 121
- 2021TURINGBENCH: A Benchmark Environment for Turing Test in the Age of Neural Text Generationcited by 120
- 2023A Survey on LLM-Generated Text Detection: Necessity, Methods, and Future Directionscited by 105
- 2019Real or Fake? Learning to Discriminate Machine from Human Generated Textcited by 99
- 2023MGTBench: Benchmarking Machine-Generated Text Detectioncited by 93
- 2021Is GPT-3 Text Indistinguishable from Human Text? Scarecrow: A Framework for Scrutinizing Machine Textcited by 89
- 2022Real or Fake Text?: Investigating Human Ability to Detect Boundaries Between Human-Written and Machine-Generated Textcited by 63
- 2024DetectRL: Benchmarking LLM-Generated Text Detection in Real-World Scenarioscited by 38
- 2022Deepfake Text Detection: Limitations and Opportunitiescited by 37
- 2024LLM-DetectAIve: a Tool for Fine-Grained Machine-Generated Text Detectioncited by 25
- 2024Imitate Before Detect: Aligning Machine Stylistic Preference for Machine-Revised Text Detectioncited by 23
- 2024Robust AI-Generated Text Detection by Restricted Embeddingscited by 18
- 2023Comparing Abstractive Summaries Generated by ChatGPT to Real Summaries Through Blinded Reviewers and Text Classification Algorithmscited by 15
- 2024Glimpse: Enabling White-Box Methods to Use Proprietary Models for Zero-Shot LLM-Generated Text Detectioncited by 14
- 2025Decoupling Content and Expression: Two-Dimensional Detection of AI-Generated Textcited by 6
Built on by
Citing papers per year: 2026: 9.
9 papers.
- 2026When AI Settles Down: Late-Stage Stability as a Signature of AI-Generated Text Detectioncited by 4
- 2026Minimizing Mismatch Risk: A Prototype-Based Routing Framework for Zero-shot LLM-generated Text Detectioncited by 3
- 2026MELD: Multi-Task Equilibrated Learning Detector for AI-Generated Textcited by 1
- 2026SV-Detect: AI-generated Text Detection with Steering Vectorscited by 0
- 2026Rethinking AI-Generated Text Detection: A Strong Baseline and the Distribution-Shift Problem That Remainscited by 0
- 2026Relational Over-Regularization: Graph-Based AI-Generated Text Detection via Sentence Transition Deviationcited by 0
- 2026Beyond Global Scalars: Synergizing Token-Level Statistics and Deep Semantics for Adversarial AIGC Text Detectioncited by 0
- 2026IVT-Guard: All-in-One Reasoning Model for AI-Generated Content Detectioncited by 0
- 2026Who's Behind the Text? Robust Model Authorship Attributioncited by 0
- 2026Who's Behind the Text? Robust Model Authorship Attribution14 Oct 2026
- 2026IVT-Guard: All-in-One Reasoning Model for AI-Generated Content Detection27 Sep 2026
- 2026Beyond Global Scalars: Synergizing Token-Level Statistics and Deep Semantics for Adversarial AIGC Text Detection28 Aug 2026
- 2026Relational Over-Regularization: Graph-Based AI-Generated Text Detection via Sentence Transition Deviation27 Aug 2026
- 2026Rethinking AI-Generated Text Detection: A Strong Baseline and the Distribution-Shift Problem That Remains4 Jul 2026
- 2026SV-Detect: AI-generated Text Detection with Steering Vectors5 Jun 2026
- 2026MELD: Multi-Task Equilibrated Learning Detector for AI-Generated Text7 May 2026
- 2026Minimizing Mismatch Risk: A Prototype-Based Routing Framework for Zero-shot LLM-generated Text Detection1 Feb 2026
- 2026When AI Settles Down: Late-Stage Stability as a Signature of AI-Generated Text Detection8 Jan 2026