Learning to Rewrite: Generalized LLM-Generated Text Detection

Detecting text generated by Large Language Models (LLMs) is crucial, yet current detectors often struggle to generalize in open-world settings.We introduce Learning2Rewrite, a novel framework to detect LLM-generated text with exceptional generalization to unseen domains.Capitalized on the finding that LLMs inherently modify LLM-generated content less than human-written text when rewriting, we train an LLM to 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 AU-ROC for in-distribution tests, 35.10% for outof-distribution tests, and 48.66% under adversarial attacks.Our unique training objective ensures better generalizability compared to directly training for classification, even when leveraging the same amount of tunable parameters.Our findings suggest that reinforcing LLMs' inherent rewriting tendencies offers a robust and scalable solution for detecting LLMgenerated text.

Authors

Publication Details

Published
2025-01-01
DOI
https://doi.org/10.18653/v1/2025.acl-long.322
Citations
2
Primary Topic
Natural Language Processing Techniques
Type
article
Field-Weighted Citation Impact
4.96
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Learning to Rewrite: Generalized LLM-Generated Text Detection

Weiliang Zhao, Junfeng Yang, Chengzhi Mao, Ran Li et al.
2 citations
Natural Language Processing Techniques
4.96
article

Learning to Rewrite: Generalized LLM-Generated Text Detection

Weiliang Zhao, Junfeng Yang, Chengzhi Mao, Ran Li, Wei Hao
article en
2 citations

Abstract

Detecting text generated by Large Language Models (LLMs) is crucial, yet current detectors often struggle to generalize in open-world settings.We introduce Learning2Rewrite, a novel framework to detect LLM-generated text with exceptional generalization to unseen domains.Capitalized on the finding that LLMs inherently modify LLM-generated content less than human-written text when rewriting, we train an LLM to 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 AU-ROC for in-distribution tests, 35.10% for outof-distribution tests, and 48.66% under adversarial attacks.Our unique training objective ensures better generalizability compared to directly training for classification, even when leveraging the same amount of tunable parameters.Our findings suggest that reinforcing LLMs' inherent rewriting tendencies offers a robust and scalable solution for detecting LLMgenerated text.

Quality Education
Openalex Percentile: Top 5%
Natural Language Processing Techniques
4.96
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.