DNA-GPT: Divergent N-Gram Analysis for Training-Free Detection of GPT-Generated Text
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
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2021On the Opportunities and Risks of Foundation Modelscited by 3,961
- 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
- 2016Pointer Sentinel Mixture Modelscited by 2,992
- 2019The Curious Case of Neural Text Degenerationcited by 2,881
- 2020Extracting Training Data from Large Language Modelscited by 2,144
- 2018Don't Give Me the Details, Just the Summary! Topic-Aware Convolutional Neural Networks for Extreme Summarizationcited by 1,308
26 more
- 2019PubMedQA: A Dataset for Biomedical Research Question Answeringcited by 1,271
- 2022LaMDA: Language Models for Dialog Applicationscited by 1,218
- 2018Hierarchical Neural Story Generationcited by 1,182
- 2022GPT-NeoX-20B: An Open-Source Autoregressive Language Modelcited by 711
- 2023DetectGPT: Zero-Shot Machine-Generated Text Detection using Probability Curvaturecited by 705
- 2023A Watermark for Large Language Modelscited by 667
- 2019ELI5: Long Form Question Answeringcited by 567
- 2019Defending Against Neural Fake Newscited by 553
- 2019Release Strategies and the Social Impacts of Language Modelscited by 505
- 2019GLTR: Statistical Detection and Visualization of Generated Textcited by 490
- 2020Reliable Fidelity and Diversity Metrics for Generative Modelscited by 425
- 2023Paraphrasing evades detectors of AI-generated text, but retrieval is an effective defensecited by 401
- 2023Can AI-Generated Text be Reliably Detected?cited by 372
- 2019Automatic Detection of Generated Text is Easiest when Humans are Fooledcited by 260
- 2023GPT detectors are biased against non-native English writerscited by 175
- 2023M4: Multi-generator, Multi-domain, and Multi-lingual Black-Box Machine-Generated Text Detectioncited by 118
- 2023Ghostbuster: Detecting Text Ghostwritten by Large Language Modelscited by 90
- 2023On the Possibilities of AI-Generated Text Detectioncited by 88
- 2023ChatGPT or Human? Detect and Explain. Explaining Decisions of Machine Learning Model for Detecting Short ChatGPT-generated Textcited by 84
- 2023Bag of Tricks for Training Data Extraction from Language Modelscited by 67
- 2023GPT-Sentinel: Distinguishing Human and ChatGPT Generated Contentcited by 40
- 2023Origin Tracing and Detecting of LLMscited by 39
- 2023Smaller Language Models are Better Black-box Machine-Generated Text Detectorscited by 35
- 2023Bot or Human? Detecting ChatGPT Imposters with A Single Questioncited by 25
- 2023DPIC: Decoupling Prompt and Intrinsic Characteristics for LLM Generated Text Detectioncited by 18
- 2023G3Detector: General GPT-Generated Text Detectorcited by 17
Built on by
Citing papers per year: 2023: 9; 2024: 39; 2025: 37; 2026: 42.
127 papers.
Sort:
By area:
- 2023Fast-DetectGPT: Efficient Zero-Shot Detection of Machine-Generated Text via Conditional Probability Curvaturecited by 278
- 2024Spotting LLMs With Binoculars: Zero-Shot Detection of Machine-Generated Textcited by 255
- 2023Can LLM-Generated Misinformation Be Detected?cited by 173
- 2024Monitoring AI-Modified Content at Scale: A Case Study on the Impact of ChatGPT on AI Conference Peer Reviewscited by 160
- 2024Mapping the Increasing Use of LLMs in Scientific Paperscited by 112
- 2025Subliminal Learning: Language models transmit behavioral traits via hidden signals in datacited by 89
- 2024Detecting Multimedia Generated by Large AI Models: A Surveycited by 73
- 2023A Survey on Detection of LLMs-Generated Contentcited by 70
- 2024Do LLMs write like humans? Variation in grammatical and rhetorical stylescited by 62
- 2024DetectRL: Benchmarking LLM-Generated Text Detection in Real-World Scenarioscited by 37
- 2024Securing Large Language Models: Threats, Vulnerabilities and Responsible Practicescited by 36
- 2025Are You Getting What You Pay For? Auditing Model Substitution in LLM APIscited by 35
38 more
- 2024Training-free LLM-generated Text Detection by Mining Token Probability Sequencescited by 33
- 2024GumbelSoft: Diversified Language Model Watermarking via the GumbelMax-trickcited by 31
- 2023Towards Possibilities & Impossibilities of AI-generated Text Detection: A Surveycited by 28
- 2024Beemo: Benchmark of Expert-edited Machine-generated Outputscited by 26
- 2025EditLens: Quantifying the Extent of AI Editing in Textcited by 26
- 2023Zero-Shot Detection of Machine-Generated Codescited by 24
- 2024Detecting Subtle Differences between Human and Model Languages Using Spectrum of Relative Likelihoodcited by 24
- 2025RepreGuard: Detecting LLM-Generated Text by Revealing Hidden Representation Patternscited by 24
- 2024Detecting AI-Generated Text: Factors Influencing Detectability with Current Methodscited by 23
- 2024Imitate Before Detect: Aligning Machine Stylistic Preference for Machine-Revised Text Detectioncited by 23
- 2024Ten Words Only Still Help: Improving Black-Box AI-Generated Text Detection via Proxy-Guided Efficient Re-Samplingcited by 20
- 2025AdaDetectGPT: Adaptive Detection of LLM-Generated Text with Statistical Guaranteescited by 20
- 2024Authorship Obfuscation in Multilingual Machine-Generated Text Detectioncited by 19
- 2024Sampling-based Pseudo-Likelihood for Membership Inference Attackscited by 18
- 2024The Impact of Large Language Models in Academia: from Writing to Speakingcited by 18
- 2025Is Your Paper Being Reviewed by an LLM? Benchmarking AI Text Detection in Peer Reviewcited by 18
- 2024Permute-and-Flip: An optimally stable and watermarkable decoder for LLMscited by 17
- 2024Spotting AI's Touch: Identifying LLM-Paraphrased Spans in Textcited by 16
- 2024Decoding the AI Pen: Techniques and Challenges in Detecting AI-Generated Textcited by 14
- 2024Glimpse: Enabling White-Box Methods to Use Proprietary Models for Zero-Shot LLM-Generated Text Detectioncited by 14
- 2024EAGLE: A Domain Generalization Framework for AI-generated Text Detectioncited by 13
- 2024Zero-Shot Detection of LLM-Generated Text using Token Cohesivenesscited by 13
- 2023A Simple yet Efficient Ensemble Approach for AI-generated Text Detectioncited by 12
- 2024DALD: Improving Logits-based Detector without Logits from Black-box LLMscited by 12
- 2025Survey on AI-Generated Media Detection: From Non-MLLM to MLLMcited by 12
- 2024Does DetectGPT Fully Utilize Perturbation? Bridging Selective Perturbation to Fine-tuned Contrastive Learning Detector would be Bettercited by 11
- 2024Online Detection of LLM-Generated Texts via Sequential Hypothesis Testing by Bettingcited by 11
- 2024A Practical Examination of AI-Generated Text Detectors for Large Language Modelscited by 11
- 2024Incentivizing Quality Text Generation via Statistical Contractscited by 10
- 2025Reliably Bounding False Positives: A Zero-Shot Machine-Generated Text Detection Framework via Multiscaled Conformal Predictioncited by 10
- 2025Your Language Model Can Secretly Write Like Humans: Contrastive Paraphrase Attacks on LLM-Generated Text Detectorscited by 10
- 2025DNA-DetectLLM: Unveiling AI-Generated Text via a DNA-Inspired Mutation-Repair Paradigmcited by 10
- 2023On the Generalization of Training-based ChatGPT Detection Methodscited by 9
- 2024ID-Free Not Risk-Free: LLM-Powered Agents Unveil Risks in ID-Free Recommender Systemscited by 9
- 2025MoSEs: Uncertainty-Aware AI-Generated Text Detection via Mixture of Stylistics Experts with Conditional Thresholdscited by 9
- 2024A Survey on Responsible Generative AI: What to Generate and What Notcited by 8
- 2025DetectAnyLLM: Towards Generalizable and Robust Detection of Machine-Generated Text Across Domains and Modelscited by 8
- 2025Human Texts Are Outliers: Detecting LLM-generated Texts via Out-of-distribution Detectioncited by 8
50 most cited of 127 All 127 (JSON)
- 2026Policy-Conditioned AI-Use Detection: An Evidentiary Framework for Academic Publishing29 Sep 2026
- 2026How Much Were You Told? Measuring External Information in Peer Reviews23 Sep 2026
- 2026CrisisFake: Benchmark Validity of AI-Generated Text Detection for Disaster Social Sensing21 Sep 2026
- 2026MultiGhostBench: A Multilingual Benchmark for Long-Form LLM-Generated Text Attribution under Distribution Shifts2 Sep 2026
- 2026Beyond Global Scalars: Synergizing Token-Level Statistics and Deep Semantics for Adversarial AIGC Text Detection28 Aug 2026
- 2026Unveiling Spectral Mechanisms in Training-Free LLM Text Detection26 Aug 2026
- 2026Linear Probing Provides Robust and Efficient Detection of Machine-Generated Text25 Aug 2026
- 2026EVIL-Detect for NLPCC 2026 Shared Task 6: LLM-Generated Text Detection11 Aug 2026
- 2026DWT-Fusion: A Signal-Based Framework for Training-Free LLM-Generated Text Detection24 Jul 2026
- 2026Detecting LLM-Generated Tokens in Human--LLM Coauthored Text23 Jul 2026
- 2026Latent Trajectory Discrimination for AI-Generated Text Detection16 Jul 2026
- 2026Show Me How You Reason and I'll Tell You Who You Are: Reasoning Graphs for Robust LLM Authorship Attribution16 Jul 2026
38 more
- 2026Telescope: Improving Zero Shot Detection of LLM Generated Content By Measuring Token Repetition Probability5 Jul 2026
- 2026Triospect: A Three-Dimensional Framework for Robust Statistical AI-Generated Text Detection Against Diverse Attacks30 Jun 2026
- 2026SenFlow: Inter-Sentence Flow Modeling for AI-Generated Text Detection in Hybrid Documents17 Jun 2026
- 2026Unsupervised Style Representation Learning for AI-Text Detection via Paraphrase Inversion8 Jun 2026
- 2026SV-Detect: AI-generated Text Detection with Steering Vectors5 Jun 2026
- 2026DetectZoo: A Unified Toolkit for AI-Generated Content Detection Across Text, Audio, and Image Modalities2 Jun 2026
- 2026On the Salience of Low-Probability Tokens for AI-Generated Text Detection: A Multiscale Uncertainty Perspective1 Jun 2026
- 2026Detector-Evasive LLM Paraphrasing via Constrained Policy Optimization29 May 2026
- 2026Hidden Human-Like Nature of Machine-Generated Texts: Theory and Detection Enhancement22 May 2026
- 2026Findings of the Counter Turing Test: AI-Generated Text Detection20 May 2026
- 2026Multi-Level Contextual Token Relation Modeling for Machine-Generated Text Detection15 May 2026
- 2026Segmenting Human-LLM Co-authored Text via Change Point Detection5 May 2026
- 2026Beyond Perplexity: Character Distribution Signatures and the MDTA Benchmark for AI Text Detection3 May 2026
- 2026DSIPA: Detecting LLM-Generated Texts via Sentiment-Invariant Patterns Divergence Analysis29 Apr 2026
- 2026Zero-Shot Detection of LLM-Generated Text via Implicit Reward Model23 Apr 2026
- 2026Impact of large language models on peer review opinions from a fine-grained perspective: Evidence from top conference proceedings in AI21 Apr 2026
- 2026Spotlights and Blindspots: Evaluating Machine-Generated Text Detection17 Apr 2026
- 2026C-ReD: A Comprehensive Chinese Benchmark for AI-Generated Text Detection Derived from Real-World Prompts13 Apr 2026
- 2026Beyond the Final Actor: Modeling the Dual Roles of Creator and Editor for Fine-Grained LLM-Generated Text Detection6 Apr 2026
- 2026Who Wrote the Book? Detecting and Attributing LLM Ghostwriters30 Mar 2026
- 2026EnsemJudge: Enhancing Reliability in Chinese LLM-Generated Text Detection through Diverse Model Ensembles30 Mar 2026
- 2026Real Money, Fake Models: Deceptive Model Claims in Shadow APIs2 Mar 2026
- 2026Beyond Raw Detection Scores: Markov-Informed Calibration for Boosting Machine-Generated Text Detection8 Feb 2026
- 2026Learn-to-Distance: Distance Learning for Detecting LLM-Generated Text29 Jan 2026
- 2026Variation is the Key: A Variation-Based Framework for LLM-Generated Text Detection27 Jan 2026
- 2026SearchLLM: Detecting LLM Paraphrased Text by Measuring the Similarity with Regeneration of the Candidate Source via Search Engine23 Jan 2026
- 2026Detecting LLM-Generated Text with Performance Guarantees10 Jan 2026
- 2026When AI Settles Down: Late-Stage Stability as a Signature of AI-Generated Text Detection8 Jan 2026
- 2026DNACHUNKER: Learnable Tokenization for DNA Language Models6 Jan 2026
- 2026Refinement Provenance Inference: Detecting LLM-Refined Training Prompts from Model Behavior5 Jan 2026
- 2025The Erosion of LLM Signatures: Can We Still Distinguish Human and LLM-Generated Scientific Ideas After Iterative Paraphrasing?4 Dec 2025
- 2025A Theoretical Analysis of Detecting Large Model-Generated Time Series10 Nov 2025
- 2025HLPD: Aligning LLMs to Human Language Preference for Machine-Revised Text Detection10 Nov 2025
- 2025Advancing Machine-Generated Text Detection from an Easy to Hard Supervision Perspective2 Nov 2025
- 2025How Sampling Affects the Detectability of Machine-written texts: A Comprehensive Study15 Oct 2025
- 2025Large Language Models Meet Virtual Cell: A Survey9 Oct 2025
- 2025Black-Box Detection of LLM-Generated Text Using Generalized Jensen-Shannon Divergence8 Oct 2025
- 2025Human Texts Are Outliers: Detecting LLM-generated Texts via Out-of-distribution Detection7 Oct 2025
50 newest of 127 All 127 (JSON)
- 2024GumbelSoft: Diversified Language Model Watermarking via the GumbelMax-trickcited by 31
- 2024Sampling-based Pseudo-Likelihood for Membership Inference Attackscited by 18
- 2024Permute-and-Flip: An optimally stable and watermarkable decoder for LLMscited by 17
- 2025Improving Detection of Watermarked Language Modelscited by 0
- 2025Improving Detection of Watermarked Language Models18 Aug 2025
- 2024Sampling-based Pseudo-Likelihood for Membership Inference Attacks17 Apr 2024
- 2024GumbelSoft: Diversified Language Model Watermarking via the GumbelMax-trick20 Feb 2024
- 2024Permute-and-Flip: An optimally stable and watermarkable decoder for LLMs8 Feb 2024
- 2024Detecting Multimedia Generated by Large AI Models: A Surveycited by 73
- 2024Detecting Multimedia Generated by Large AI Models: A Survey22 Jan 2024
- 2023Fast-DetectGPT: Efficient Zero-Shot Detection of Machine-Generated Text via Conditional Probability Curvaturecited by 278
- 2024Spotting LLMs With Binoculars: Zero-Shot Detection of Machine-Generated Textcited by 255
- 2023Can LLM-Generated Misinformation Be Detected?cited by 173
- 2024Monitoring AI-Modified Content at Scale: A Case Study on the Impact of ChatGPT on AI Conference Peer Reviewscited by 160
- 2024Mapping the Increasing Use of LLMs in Scientific Paperscited by 112
- 2025Subliminal Learning: Language models transmit behavioral traits via hidden signals in datacited by 89
- 2023A Survey on Detection of LLMs-Generated Contentcited by 70
- 2024Do LLMs write like humans? Variation in grammatical and rhetorical stylescited by 62
- 2024DetectRL: Benchmarking LLM-Generated Text Detection in Real-World Scenarioscited by 37
- 2024Securing Large Language Models: Threats, Vulnerabilities and Responsible Practicescited by 36
- 2025Are You Getting What You Pay For? Auditing Model Substitution in LLM APIscited by 35
- 2024Training-free LLM-generated Text Detection by Mining Token Probability Sequencescited by 33
12 most cited of 116 All 116 (JSON)
- 2026Policy-Conditioned AI-Use Detection: An Evidentiary Framework for Academic Publishing29 Sep 2026
- 2026How Much Were You Told? Measuring External Information in Peer Reviews23 Sep 2026
- 2026CrisisFake: Benchmark Validity of AI-Generated Text Detection for Disaster Social Sensing21 Sep 2026
- 2026MultiGhostBench: A Multilingual Benchmark for Long-Form LLM-Generated Text Attribution under Distribution Shifts2 Sep 2026
- 2026Beyond Global Scalars: Synergizing Token-Level Statistics and Deep Semantics for Adversarial AIGC Text Detection28 Aug 2026
- 2026Unveiling Spectral Mechanisms in Training-Free LLM Text Detection26 Aug 2026
- 2026Linear Probing Provides Robust and Efficient Detection of Machine-Generated Text25 Aug 2026
- 2026EVIL-Detect for NLPCC 2026 Shared Task 6: LLM-Generated Text Detection11 Aug 2026
- 2026DWT-Fusion: A Signal-Based Framework for Training-Free LLM-Generated Text Detection24 Jul 2026
- 2026Detecting LLM-Generated Tokens in Human--LLM Coauthored Text23 Jul 2026
- 2026Latent Trajectory Discrimination for AI-Generated Text Detection16 Jul 2026
- 2026Telescope: Improving Zero Shot Detection of LLM Generated Content By Measuring Token Repetition Probability5 Jul 2026
12 newest of 116 All 116 (JSON)