Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

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

About

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.

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

Related benchmarks

TaskDatasetResultRank
AI-generated text detectionLong-form QA 3K generations corpus
Detection Accuracy (1% FPR)100
42
Text WatermarkingC4
PPL10.2747
27
Adversarial Evasion AttackMGTBench Essay
ASR7
24
Adversarial Evasion AttackMGTBench WP
ASR4
24
Adversarial Evasion AttackMGTBench Reuters
ASR0.16
24
Adversarial Evasion AttackMGT Academic STEM
ASR55
22
Adversarial Evasion AttackMGT-Academic Humanity
ASR57
22
Text AnonymizationSynthPAI
Privacy57.9
22
Adversarial Evasion AttackMGT-Academic Social Science
Attack Success Rate (ASR)51
22
AI-generated text detectionLong-form QA 9K pooled generations corpus
Detection Accuracy (at 1% FPR)100
18
Showing 10 of 21 rows

Other info

Code

Follow for update