DetectRL: Benchmarking LLM-Generated Text Detection in Real-World Scenarios

Junchao Wu, Runzhe Zhan, Derek F. Wong, Shu Yang, Xinyi Yang +2 more
2/3/2026

No official code found. Best implementation: NLP2CT/DetectRL (52 stars, last commit 2024-12-10). 1 more below.

Abstract

Detecting text generated by large language models (LLMs) is of great recent interest. With zero-shot methods like DetectGPT, detection capabilities have reached impressive levels. However, the reliability of existing detectors in real-world applications remains underexplored. In this study, we present a new benchmark, DetectRL, highlighting that even state-of-the-art (SOTA) detection techniques still underperformed in this task. We collected human-written datasets from domains where LLMs are particularly prone to misuse. Using popular LLMs, we generated data that better aligns with real-world applications. Unlike previous studies, we employed heuristic rules to create adversarial LLM-generated text, simulating various prompts usages, human revisions like word substitutions, and writing noises like spelling mistakes. Our development of DetectRL reveals the strengths and limitations of current SOTA detectors. More importantly, we analyzed the potential impact of writing styles, model types, attack methods, the text lengths, and real-world human writing factors on different types of detectors. We believe DetectRL could serve as an effective benchmark for assessing detectors in real-world scenarios, evolving with advanced attack methods, thus providing more stressful evaluation to drive the development of more efficient detectors. Data and code are publicly available at: https://github.com/NLP2CT/DetectRL.

View on arXivView PDF

Code Implementations(2)

NLP2CT/DetectRLCommunity100%

[NeurIPS 2024 D&B] DetectRL: Benchmarking LLM-Generated Text Detection in Real-World Scenarios

523Shell, PythonNov 16, 20241 years ago
junchaoIU/DetectRLCommunity66%

[NeurIPS 2024 D&B] DetectRL: Benchmarking LLM-Generated Text Detection in Real-World Scenarios

165Shell, PythonJun 5, 20241 years ago

Similar Papers

Cite this paper

@article{wu2026detectrl,
  title  = {DetectRL: Benchmarking LLM-Generated Text Detection in Real-World Scenarios},
  author = {Junchao Wu and Runzhe Zhan and Derek F. Wong and Shu Yang and Xinyi Yang and Yulin Yuan and Lidia S. Chao},
  year   = {2026},
  eprint = {2410.23746},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2410.23746},
  url    = {https://arxiv.org/abs/2410.23746},
  journal = {NEURIPS 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/2410.23746.svg)](https://codeofpaper.com/paper/2410.23746)

Discussion