Using LLMs to Detect LLM-Generated Texts: A Cross-Generation Analysis

Haiyue Yuan, Jie Guo, Weidong Qiu, Zheng Huang, Ruizhe Li +1 more
9/28/2026
cs.CLcs.AI

Official code: hyyuan/detect-llm-generated-texts (2 stars, Python, last commit 2026-09-29).

Abstract

Automated detection of LLM-generated texts (LGTs) is critical, yet dedicated detectors often struggle to generalize across domains and models. While general-purpose LLMs offer flexible zero-shot authorship classification with explanatory rationale, their detection behavior, especially regarding self-detection versus cross-detection across model generations, remains poorly understood.

Show full abstract

We systematically evaluate 15 LLMs spanning three model generations as both generators and detectors. Using a benchmark of 1,000 human-written texts and 15,000 LGTs (1,000 per model), we collected over 233,000 binary classifications alongside natural-language explanations. Our results reveal that detection efficacy is primarily driven by detector capability rather than generator provenance, although outputs from newer generators remain notably harder to detect. Crucially, statistical comparisons show no systematic advantage or disadvantage for self-detection across models. Error analysis further exposes generational bias shifts: first-generation detectors under-detect LGTs (high false-negative rates), second-generation detectors over-flag human texts (high false-positive rates), and the latest models achieve balanced trade-offs. Finally, we highlight significant inconsistencies in how different LLMs apply textual cues to justify their decisions. Code: https://github.com/hyyuan/detect-llm-generated-texts.

View on arXivView PDF

Code Implementations(1)

20PythonSep 27, 20262 months ago

Similar Papers

Cite this paper

@article{yuan2026using,
  title  = {Using LLMs to Detect LLM-Generated Texts: A Cross-Generation Analysis},
  author = {Haiyue Yuan and Jie Guo and Weidong Qiu and Zheng Huang and Ruizhe Li and Shujun Li},
  year   = {2026},
  eprint = {2609.34691},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2609.34691v1}
}

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/2609.34691.svg)](https://codeofpaper.com/paper/2609.34691)

Discussion