Raidar: geneRative AI Detection viA Rewriting

Chengzhi Mao, Carl Vondrick, Hao Wang, Junfeng Yang
2/12/2026

No official code found. Best implementation: cvlab-columbia/RaidarLLMDetect (34 stars, last commit 2024-07-12).

Abstract

We find that large language models (LLMs) are more likely to modify human-written text than AI-generated text when tasked with rewriting. This tendency arises because LLMs often perceive AI-generated text as high-quality, leading to fewer modifications. We introduce a method to detect AI-generated content by prompting LLMs to rewrite text and calculating the editing distance of the output. We dubbed our geneRative AI Detection viA Rewriting method Raidar. Raidar significantly improves the F1 detection scores of existing AI content detection models -- both academic and commercial -- across various domains, including News, creative writing, student essays, code, Yelp reviews, and arXiv papers, with gains of up to 29 points. Operating solely on word symbols without high-dimensional features, our method is compatible with black box LLMs, and is inherently robust on new content. Our results illustrate the unique imprint of machine-generated text through the lens of the machines themselves.

View on arXivView PDF

Code Implementations(1)

345PythonJan 19, 20242 years ago

Similar Papers

Cite this paper

@article{mao2026raidar,
  title  = {Raidar: geneRative AI Detection viA Rewriting},
  author = {Chengzhi Mao and Carl Vondrick and Hao Wang and Junfeng Yang},
  year   = {2026},
  eprint = {2401.12970},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2401.12970},
  journal = {ICLR 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2401.12970.svg)](https://codeofpaper.com/paper/2401.12970)

Discussion