mlsanityData to 7 Oct 2026

DNA-GPT: Divergent N-Gram Analysis for Training-Free Detection of GPT-Generated Text

arXiv 2305.17359 ↗First posted 27 May 2023cs.CL cs.AIcited by 127

Not on the map. Why?

Abstract (arXiv)

Large language models (LLMs) have notably enhanced the fluency and diversity of machine-generated text. However, this progress also presents a significant challenge in detecting the origin of a given text, and current research on detection methods lags behind the rapid evolution of LLMs. Conventional training-based methods have limitations in flexibility, particularly when adapting to new domains, and they often lack explanatory power. To address this gap, we propose a novel training-free detection strategy called Divergent N-Gram Analysis (DNA-GPT). Given a text, we first truncate it in the middle and then use only the preceding portion as input to the LLMs to regenerate the new remaining parts. By analyzing the differences between the original and new remaining parts through N-gram analysis in black-box or probability divergence in white-box, we unveil significant discrepancies between the distribution of machine-generated text and the distribution of human-written text. We conducted extensive experiments on the most advanced LLMs from OpenAI, including text-davinci-003, GPT-3.5-turbo, and GPT-4, as well as open-source models such as GPT-NeoX-20B and LLaMa-13B. Results show that our zero-shot approach exhibits state-of-the-art performance in distinguishing between human and GPT-generated text on four English and one German dataset, outperforming OpenAI's own classifier, which is trained on millions of text. Additionally, our methods provide reasonable explanations and evidence to support our claim, which is a unique feature of explainable detection. Our method is also robust under the revised text attack and can additionally solve model sourcing. Codes are available at https://github.com/Xianjun-Yang/DNA-GPT.

Key facts. Cited by 127 papers in the map (data through 7 Oct 2026). Builds on 38 of its 57 references that are in the map. First posted on arXiv 27 May 2023.

Builds on

38 of 57 references.

References · 38

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2020Language Models are Few-Shot Learnerscited by 32,199
  4. 2022Training language models to follow instructions with human feedbackcited by 15,712
  5. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  6. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  7. 2021On the Opportunities and Risks of Foundation Modelscited by 3,961
  8. 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
  9. 2016Pointer Sentinel Mixture Modelscited by 2,992
  10. 2019The Curious Case of Neural Text Degenerationcited by 2,881
  11. 2020Extracting Training Data from Large Language Modelscited by 2,144
  12. 2018Don't Give Me the Details, Just the Summary! Topic-Aware Convolutional Neural Networks for Extreme Summarizationcited by 1,308
26 more
  1. 2019PubMedQA: A Dataset for Biomedical Research Question Answeringcited by 1,271
  2. 2022LaMDA: Language Models for Dialog Applicationscited by 1,218
  3. 2018Hierarchical Neural Story Generationcited by 1,182
  4. 2022GPT-NeoX-20B: An Open-Source Autoregressive Language Modelcited by 711
  5. 2023DetectGPT: Zero-Shot Machine-Generated Text Detection using Probability Curvaturecited by 705
  6. 2023A Watermark for Large Language Modelscited by 667
  7. 2019ELI5: Long Form Question Answeringcited by 567
  8. 2019Defending Against Neural Fake Newscited by 553
  9. 2019Release Strategies and the Social Impacts of Language Modelscited by 505
  10. 2019GLTR: Statistical Detection and Visualization of Generated Textcited by 490
  11. 2020Reliable Fidelity and Diversity Metrics for Generative Modelscited by 425
  12. 2023Paraphrasing evades detectors of AI-generated text, but retrieval is an effective defensecited by 401
  13. 2023Can AI-Generated Text be Reliably Detected?cited by 372
  14. 2019Automatic Detection of Generated Text is Easiest when Humans are Fooledcited by 260
  15. 2023GPT detectors are biased against non-native English writerscited by 175
  16. 2023M4: Multi-generator, Multi-domain, and Multi-lingual Black-Box Machine-Generated Text Detectioncited by 118
  17. 2023Ghostbuster: Detecting Text Ghostwritten by Large Language Modelscited by 90
  18. 2023On the Possibilities of AI-Generated Text Detectioncited by 88
  19. 2023ChatGPT or Human? Detect and Explain. Explaining Decisions of Machine Learning Model for Detecting Short ChatGPT-generated Textcited by 84
  20. 2023Bag of Tricks for Training Data Extraction from Language Modelscited by 67
  21. 2023GPT-Sentinel: Distinguishing Human and ChatGPT Generated Contentcited by 40
  22. 2023Origin Tracing and Detecting of LLMscited by 39
  23. 2023Smaller Language Models are Better Black-box Machine-Generated Text Detectorscited by 35
  24. 2023Bot or Human? Detecting ChatGPT Imposters with A Single Questioncited by 25
  25. 2023DPIC: Decoupling Prompt and Intrinsic Characteristics for LLM Generated Text Detectioncited by 18
  26. 2023G3Detector: General GPT-Generated Text Detectorcited by 17

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 9; 2024: 39; 2025: 37; 2026: 42.

127 papers.

Sort:

By area:

  1. 2023Fast-DetectGPT: Efficient Zero-Shot Detection of Machine-Generated Text via Conditional Probability Curvaturecited by 278
  2. 2024Spotting LLMs With Binoculars: Zero-Shot Detection of Machine-Generated Textcited by 255
  3. 2023Can LLM-Generated Misinformation Be Detected?cited by 173
  4. 2024Monitoring AI-Modified Content at Scale: A Case Study on the Impact of ChatGPT on AI Conference Peer Reviewscited by 160
  5. 2024Mapping the Increasing Use of LLMs in Scientific Paperscited by 112
  6. 2025Subliminal Learning: Language models transmit behavioral traits via hidden signals in datacited by 89
  7. 2024Detecting Multimedia Generated by Large AI Models: A Surveycited by 73
  8. 2023A Survey on Detection of LLMs-Generated Contentcited by 70
  9. 2024Do LLMs write like humans? Variation in grammatical and rhetorical stylescited by 62
  10. 2024DetectRL: Benchmarking LLM-Generated Text Detection in Real-World Scenarioscited by 37
  11. 2024Securing Large Language Models: Threats, Vulnerabilities and Responsible Practicescited by 36
  12. 2025Are You Getting What You Pay For? Auditing Model Substitution in LLM APIscited by 35
38 more
  1. 2024Training-free LLM-generated Text Detection by Mining Token Probability Sequencescited by 33
  2. 2024GumbelSoft: Diversified Language Model Watermarking via the GumbelMax-trickcited by 31
  3. 2023Towards Possibilities & Impossibilities of AI-generated Text Detection: A Surveycited by 28
  4. 2024Beemo: Benchmark of Expert-edited Machine-generated Outputscited by 26
  5. 2025EditLens: Quantifying the Extent of AI Editing in Textcited by 26
  6. 2023Zero-Shot Detection of Machine-Generated Codescited by 24
  7. 2024Detecting Subtle Differences between Human and Model Languages Using Spectrum of Relative Likelihoodcited by 24
  8. 2025RepreGuard: Detecting LLM-Generated Text by Revealing Hidden Representation Patternscited by 24
  9. 2024Detecting AI-Generated Text: Factors Influencing Detectability with Current Methodscited by 23
  10. 2024Imitate Before Detect: Aligning Machine Stylistic Preference for Machine-Revised Text Detectioncited by 23
  11. 2024Ten Words Only Still Help: Improving Black-Box AI-Generated Text Detection via Proxy-Guided Efficient Re-Samplingcited by 20
  12. 2025AdaDetectGPT: Adaptive Detection of LLM-Generated Text with Statistical Guaranteescited by 20
  13. 2024Authorship Obfuscation in Multilingual Machine-Generated Text Detectioncited by 19
  14. 2024Sampling-based Pseudo-Likelihood for Membership Inference Attackscited by 18
  15. 2024The Impact of Large Language Models in Academia: from Writing to Speakingcited by 18
  16. 2025Is Your Paper Being Reviewed by an LLM? Benchmarking AI Text Detection in Peer Reviewcited by 18
  17. 2024Permute-and-Flip: An optimally stable and watermarkable decoder for LLMscited by 17
  18. 2024Spotting AI's Touch: Identifying LLM-Paraphrased Spans in Textcited by 16
  19. 2024Decoding the AI Pen: Techniques and Challenges in Detecting AI-Generated Textcited by 14
  20. 2024Glimpse: Enabling White-Box Methods to Use Proprietary Models for Zero-Shot LLM-Generated Text Detectioncited by 14
  21. 2024EAGLE: A Domain Generalization Framework for AI-generated Text Detectioncited by 13
  22. 2024Zero-Shot Detection of LLM-Generated Text using Token Cohesivenesscited by 13
  23. 2023A Simple yet Efficient Ensemble Approach for AI-generated Text Detectioncited by 12
  24. 2024DALD: Improving Logits-based Detector without Logits from Black-box LLMscited by 12
  25. 2025Survey on AI-Generated Media Detection: From Non-MLLM to MLLMcited by 12
  26. 2024Does DetectGPT Fully Utilize Perturbation? Bridging Selective Perturbation to Fine-tuned Contrastive Learning Detector would be Bettercited by 11
  27. 2024Online Detection of LLM-Generated Texts via Sequential Hypothesis Testing by Bettingcited by 11
  28. 2024A Practical Examination of AI-Generated Text Detectors for Large Language Modelscited by 11
  29. 2024Incentivizing Quality Text Generation via Statistical Contractscited by 10
  30. 2025Reliably Bounding False Positives: A Zero-Shot Machine-Generated Text Detection Framework via Multiscaled Conformal Predictioncited by 10
  31. 2025Your Language Model Can Secretly Write Like Humans: Contrastive Paraphrase Attacks on LLM-Generated Text Detectorscited by 10
  32. 2025DNA-DetectLLM: Unveiling AI-Generated Text via a DNA-Inspired Mutation-Repair Paradigmcited by 10
  33. 2023On the Generalization of Training-based ChatGPT Detection Methodscited by 9
  34. 2024ID-Free Not Risk-Free: LLM-Powered Agents Unveil Risks in ID-Free Recommender Systemscited by 9
  35. 2025MoSEs: Uncertainty-Aware AI-Generated Text Detection via Mixture of Stylistics Experts with Conditional Thresholdscited by 9
  36. 2024A Survey on Responsible Generative AI: What to Generate and What Notcited by 8
  37. 2025DetectAnyLLM: Towards Generalizable and Robust Detection of Machine-Generated Text Across Domains and Modelscited by 8
  38. 2025Human Texts Are Outliers: Detecting LLM-generated Texts via Out-of-distribution Detectioncited by 8

50 most cited of 127 All 127 (JSON)