Learning to Rewrite: Generalized LLM-Generated Text Detection
Not on the map. Why?
Abstract (arXiv)
Large language models (LLMs) present significant risks when used to generate non-factual content and spread disinformation at scale. Detecting such LLM-generated content is crucial, yet current detectors often struggle to generalize in open-world contexts. We introduce Learning2Rewrite, a novel framework for detecting AI-generated text with exceptional generalization to unseen domains. Our method leverages the insight that LLMs inherently modify AI-generated content less than human-written text when tasked with rewriting. By training LLMs to minimize alterations on AI-generated inputs, we amplify this disparity, yielding a more distinguishable and generalizable edit distance across diverse text distributions. Extensive experiments on data from 21 independent domains and four major LLMs (GPT-3.5, GPT-4, Gemini, and Llama-3) demonstrate that our detector outperforms state-of-the-art detection methods by up to 23.04% in AUROC for in-distribution tests, 37.26% for out-of-distribution tests, and 48.66% under adversarial attacks. Our unique training objective ensures better generalizability compared to directly training for classification, when leveraging the same amount of parameters. Our findings suggest that reinforcing LLMs' inherent rewriting tendencies offers a robust and scalable solution for detecting AI-generated text.
Key facts. Cited by 13 papers in the map (data through 13 Oct 2026). Builds on 22 of its 40 references that are in the map. First posted on arXiv 8 Aug 2024.
Builds on
22 of 40 references.
References · 22
- 2020Language Models are Few-Shot Learnerscited by 32,320
- 2023GPT-4 Technical Reportcited by 18,278
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,072
- 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,133
- 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,388
- 2024Gemini 1.5: Unlocking multimodal understanding across millions of tokens of contextcited by 3,197
- 2018Don't Give Me the Details, Just the Summary! Topic-Aware Convolutional Neural Networks for Extreme Summarizationcited by 1,312
- 2019PubMedQA: A Dataset for Biomedical Research Question Answeringcited by 1,281
- 2021BEIR: A Heterogenous Benchmark for Zero-shot Evaluation of Information Retrieval Modelscited by 1,237
- 2018Hierarchical Neural Story Generationcited by 1,186
- 2023DetectGPT: Zero-Shot Machine-Generated Text Detection using Probability Curvaturecited by 717
- 2017DailyDialog: A Manually Labelled Multi-turn Dialogue Datasetcited by 649
10 more
- 2019Defending Against Neural Fake Newscited by 559
- 2019Release Strategies and the Social Impacts of Language Modelscited by 511
- 2023The Curse of Recursion: Training on Generated Data Makes Models Forgetcited by 349
- 2023Fast-DetectGPT: Efficient Zero-Shot Detection of Machine-Generated Text via Conditional Probability Curvaturecited by 282
- 2023DetectLLM: Leveraging Log Rank Information for Zero-Shot Detection of Machine-Generated Textcited by 207
- 2020TweepFake: about Detecting Deepfake Tweetscited by 117
- 2013From Amateurs to Connoisseurs: Modeling the Evolution of User Expertise through Online Reviewscited by 107
- 2023ChatGPT or Human? Detect and Explain. Explaining Decisions of Machine Learning Model for Detecting Short ChatGPT-generated Textcited by 85
- 2024Raidar: geneRative AI Detection viA Rewritingcited by 51
- 2023Towards Answering Climate Questionnaires from Unstructured Climate Reportscited by 10
Built on by
Citing papers per year: 2025: 4; 2026: 9.
13 papers.
Sort:
By area:
- 2025Practical Poisoning Attacks against Retrieval-Augmented Generationcited by 36
- 2026Learn-to-Distance: Distance Learning for Detecting LLM-Generated Textcited by 8
- 2025Not all tokens are created equal: Perplexity Attention Weighted Networks for AI generated text detectioncited by 3
- 2025ConspEmoLLM-v2: A robust and stable model to detect sentiment-transformed conspiracy theoriescited by 1
- 2025Learning to Rewrite Prompts for Bootstrapping LLMs on Downstream Taskscited by 1
- 2026MELD: Multi-Task Equilibrated Learning Detector for AI-Generated Textcited by 1
- 2026DetectZoo: A Unified Toolkit for AI-Generated Content Detection Across Text, Audio, and Image Modalitiescited by 1
- 2026ARB: A Matched Authorship-Rewriting Benchmark Dataset for AI-Text Detector Evaluationcited by 1
- 2026On the Salience of Low-Probability Tokens for AI-Generated Text Detection: A Multiscale Uncertainty Perspectivecited by 0
- 2026When New Generators Arrive: Lifelong Machine-Generated Text Attribution via Ridge Feature Transfercited by 0
- 2026Detecting undisclosed LLM-generated content in parliamentary textscited by 0
- 2026DWT-Fusion: A Signal-Based Framework for Training-Free LLM-Generated Text Detectioncited by 0
1 more
- 2026C-HAT-Bench: Benchmarking Chinese AI-Text Detection Beyond Fully Generated Text26 Sep 2026
- 2026ARB: A Matched Authorship-Rewriting Benchmark Dataset for AI-Text Detector Evaluation31 Jul 2026
- 2026DWT-Fusion: A Signal-Based Framework for Training-Free LLM-Generated Text Detection24 Jul 2026
- 2026Detecting undisclosed LLM-generated content in parliamentary texts12 Jun 2026
- 2026When New Generators Arrive: Lifelong Machine-Generated Text Attribution via Ridge Feature Transfer4 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
- 2026MELD: Multi-Task Equilibrated Learning Detector for AI-Generated Text7 May 2026
- 2026Learn-to-Distance: Distance Learning for Detecting LLM-Generated Text29 Jan 2026
- 2025Learning to Rewrite Prompts for Bootstrapping LLMs on Downstream Tasks8 Oct 2025
- 2025ConspEmoLLM-v2: A robust and stable model to detect sentiment-transformed conspiracy theories20 May 2025
- 2025Practical Poisoning Attacks against Retrieval-Augmented Generation4 Apr 2025
- 2026Learn-to-Distance: Distance Learning for Detecting LLM-Generated Textcited by 8
- 2025Not all tokens are created equal: Perplexity Attention Weighted Networks for AI generated text detectioncited by 3
- 2025ConspEmoLLM-v2: A robust and stable model to detect sentiment-transformed conspiracy theoriescited by 1
- 2026MELD: Multi-Task Equilibrated Learning Detector for AI-Generated Textcited by 1
- 2026DetectZoo: A Unified Toolkit for AI-Generated Content Detection Across Text, Audio, and Image Modalitiescited by 1
- 2026ARB: A Matched Authorship-Rewriting Benchmark Dataset for AI-Text Detector Evaluationcited by 1
- 2026On the Salience of Low-Probability Tokens for AI-Generated Text Detection: A Multiscale Uncertainty Perspectivecited by 0
- 2026When New Generators Arrive: Lifelong Machine-Generated Text Attribution via Ridge Feature Transfercited by 0
- 2026Detecting undisclosed LLM-generated content in parliamentary textscited by 0
- 2026DWT-Fusion: A Signal-Based Framework for Training-Free LLM-Generated Text Detectioncited by 0
- 2026C-HAT-Bench: Benchmarking Chinese AI-Text Detection Beyond Fully Generated Textcited by 0
- 2026C-HAT-Bench: Benchmarking Chinese AI-Text Detection Beyond Fully Generated Text26 Sep 2026
- 2026ARB: A Matched Authorship-Rewriting Benchmark Dataset for AI-Text Detector Evaluation31 Jul 2026
- 2026DWT-Fusion: A Signal-Based Framework for Training-Free LLM-Generated Text Detection24 Jul 2026
- 2026Detecting undisclosed LLM-generated content in parliamentary texts12 Jun 2026
- 2026When New Generators Arrive: Lifelong Machine-Generated Text Attribution via Ridge Feature Transfer4 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
- 2026MELD: Multi-Task Equilibrated Learning Detector for AI-Generated Text7 May 2026
- 2026Learn-to-Distance: Distance Learning for Detecting LLM-Generated Text29 Jan 2026
- 2025ConspEmoLLM-v2: A robust and stable model to detect sentiment-transformed conspiracy theories20 May 2025
- 2025Not all tokens are created equal: Perplexity Attention Weighted Networks for AI generated text detection7 Jan 2025