Lune

NeurIPS2023Top-tier venue

Paraphrasing evades detectors of AI-generated text, but retrieval is an effective defense

Kalpesh Krishna, Yixiao Song, Marzena Karpinska, John Wieting, Mohit Iyyer

Abstract

The rise in malicious usage of large language models, such as fake content creation and academic plagiarism, has motivated the development of approaches that identify AI-generated text, including those based on watermarking or outlier detection. However, the robustness of these detection algorithms to paraphrases of AI-generated text remains unclear. To stress test these detectors, we build a 11B parameter paraphrase generation model (DIPPER) that can paraphrase paragraphs, condition on surrounding context, and control lexical diversity and content reordering. Using DIPPER to paraphrase text generated by three large language models (including GPT3.5-davinci-003) successfully evades several detectors, including watermarking, GPTZero, DetectGPT, and OpenAI's text classifier. For example, DIPPER drops detection accuracy of DetectGPT from 70.3% to 4.6% (at a constant false positive rate of 1%), without appreciably modifying the input semantics. To increase the robustness of AI-generated text detection to paraphrase attacks, we introduce a simple defense that relies on retrieving semantically-similar generations and must be maintained by a language model API provider. Given a candidate text, our algorithm searches a database of sequences previously generated by the API, looking for sequences that match the candidate text within a certain threshold. We empirically verify our defense using a database of 15M generations from a fine-tuned T5-XXL model and find that it can detect 80% to 97% of paraphrased generations across different settings while only classifying 1% of human-written sequences as AI-generated. We open-source our models, code and data. 1 as advisors. 1 https://github.com/martiansideofthemoon/ai-detection-paraphrases 2 We use the quasi-paraphrase definition of semantic equivalence [Bhagat and Hovy, 2013] in this paper.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

151 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • DNA-GPT: Divergent N-Gram Analysis for Training-Free Detection of GPT-Generated Text cites DetectGPT: Zero-Shot Machine-Generated Text Detection using Probability Curvature
  • DNA-GPT: Divergent N-Gram Analysis for Training-Free Detection of GPT-Generated Text cites Language Models are Few-Shot Learners
  • DNA-GPT: Divergent N-Gram Analysis for Training-Free Detection of GPT-Generated Text cites Training language models to follow instructions with human feedback
  • DNA-GPT: Divergent N-Gram Analysis for Training-Free Detection of GPT-Generated Text cites Extracting Training Data from Large Language Models
  • DNA-GPT: Divergent N-Gram Analysis for Training-Free Detection of GPT-Generated Text cites The Curious Case of Neural Text Degeneration
  • DetectGPT: Zero-Shot Machine-Generated Text Detection using Probability Curvature cites Language Models are Few-Shot Learners
  • Provable Robust Watermarking for AI-Generated Text cites DetectGPT: Zero-Shot Machine-Generated Text Detection using Probability Curvature
  • Provable Robust Watermarking for AI-Generated Text cites Language Models are Few-Shot Learners
  • Provable Robust Watermarking for AI-Generated Text cites Training language models to follow instructions with human feedback
  • Provable Robust Watermarking for AI-Generated Text cites The Curious Case of Neural Text Degeneration
  • Spotting LLMs With Binoculars: Zero-Shot Detection of Machine-Generated Text cites DNA-GPT: Divergent N-Gram Analysis for Training-Free Detection of GPT-Generated Text
  • Spotting LLMs With Binoculars: Zero-Shot Detection of Machine-Generated Text cites DetectGPT: Zero-Shot Machine-Generated Text Detection using Probability Curvature
  • Spotting LLMs With Binoculars: Zero-Shot Detection of Machine-Generated Text cites Language Models are Few-Shot Learners
  • Language Models are Few-Shot Learners cites The Curious Case of Neural Text Degeneration
  • Training language models to follow instructions with human feedback cites Language Models are Few-Shot Learners
  • Training language models to follow instructions with human feedback cites Extracting Training Data from Large Language Models
  • Extracting Training Data from Large Language Models cites Membership Inference Attacks Against Machine Learning Models
  • Extracting Training Data from Large Language Models cites Language Models are Few-Shot Learners
  • Extracting Training Data from Large Language Models cites The Curious Case of Neural Text Degeneration
  • On the Reliability of Watermarks for Large Language Models cites DetectGPT: Zero-Shot Machine-Generated Text Detection using Probability Curvature
  • On the Reliability of Watermarks for Large Language Models cites The Curious Case of Neural Text Degeneration
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers151

  1. DetectGPT: Zero-Shot Machine-Generated Text Detection using Probability CurvatureEric Mitchell, Yoonho Lee, Alexander Khazatsky, Christopher D. Manning et al.ICML 2023 · 988 citations
  2. Provable Robust Watermarking for AI-Generated TextXuandong Zhao, Prabhanjan Vijendra Ananth, Lei Li, Yu-Xiang WangICLR 2024 · 312 citations
  3. Spotting LLMs With Binoculars: Zero-Shot Detection of Machine-Generated TextAbhimanyu Hans, Avi Schwarzschild, Valeriia Cherepanova, Hamid Kazemi et al.ICML 2024 · 262 citations
  4. On the Reliability of Watermarks for Large Language ModelsJohn Kirchenbauer, Jonas Geiping, Yuxin Wen, Manli Shu et al.ICLR 2024 · 202 citations
  5. DNA-GPT: Divergent N-Gram Analysis for Training-Free Detection of GPT-Generated TextXianjun Yang, Wei Cheng, Yue Wu, Linda Ruth Petzold et al.ICLR 2024 · 173 citations

Builds on33

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
  2. Training language models to follow instructions with human feedbackLong Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida et al.NeurIPS 2022 · 24,707 citations
  3. Membership Inference Attacks Against Machine Learning ModelsReza Shokri, Marco Stronati, Congzheng Song, Vitaly ShmatikovS&P 2017 · 5,137 citations
  4. The Curious Case of Neural Text DegenerationAri Holtzman, Jan Buys, Li Du, Maxwell Forbes et al.ICLR 2020 · 4,112 citations
  5. Extracting Training Data from Large Language ModelsNicholas Carlini, Florian Tramèr, Eric Wallace, Matthew Jagielski et al.USENIX Security 2021 · 2,866 citations

Related papers

  1. Adversarial Paraphrasing: A Universal Attack for Humanizing AI-Generated TextYize Cheng, Vinu Sankar Sadasivan, Mehrdad Saberi, Shoumik Saha et al.NeurIPS 2025 · 28 citations
  2. How Large Language Models are Transforming Machine-Paraphrase PlagiarismJan Philip Wahle, Terry Ruas, Frederic Kirstein, Bela GippEMNLP 2022 · 26 citations
  3. TempParaphraser: "Heating Up" Text to Evade AI-Text Detection through ParaphrasingJunjie Huang, Ruiquan Zhang, Jinsong Su, Yidong ChenEMNLP 2025
  4. Your Language Model Can Secretly Write Like Humans: Contrastive Paraphrase Attacks on LLM-Generated Text DetectorsHao Fang, Jiawei Kong, Tianqu Zhuang, Yixiang Qiu et al.EMNLP 2025
  5. RADAR: Robust AI-Text Detection via Adversarial LearningXiaomeng Hu, Pin-Yu Chen, Tsung-Yi HoNeurIPS 2023 · 315 citations
Dusk over the sea between two cliffs drawn in fine vertical lines