Learn-to-Distance: Distance Learning for Detecting LLM-Generated Text

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Zhou, Hongyi, Zhu, Jin, Ye, Kai, Yang, Ying, Xu, Erhan, Shi, Chengchun
Natura: Preprint
Pubblicazione: 2026
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866911477952151552
author Zhou, Hongyi
Zhu, Jin
Ye, Kai
Yang, Ying
Xu, Erhan
Shi, Chengchun
author_facet Zhou, Hongyi
Zhu, Jin
Ye, Kai
Yang, Ying
Xu, Erhan
Shi, Chengchun
contents Modern large language models (LLMs) such as GPT, Claude, and Gemini have transformed the way we learn, work, and communicate. Yet, their ability to produce highly human-like text raises serious concerns about misinformation and academic integrity, making it an urgent need for reliable algorithms to detect LLM-generated content. In this paper, we start by presenting a geometric approach to demystify rewrite-based detection algorithms, revealing their underlying rationale and demonstrating their generalization ability. Building on this insight, we introduce a novel rewrite-based detection algorithm that adaptively learns the distance between the original and rewritten text. Theoretically, we demonstrate that employing an adaptively learned distance function is more effective for detection than using a fixed distance. Empirically, we conduct extensive experiments with over 100 settings, and find that our approach demonstrates superior performance over baseline algorithms in the majority of scenarios. In particular, it achieves relative improvements from 54.3% to 75.4% over the strongest baseline across different target LLMs (e.g., GPT, Claude, and Gemini). A python implementation of our proposal is publicly available at https://github.com/Mamba413/L2D.
format Preprint
id arxiv_https___arxiv_org_abs_2601_21895
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Learn-to-Distance: Distance Learning for Detecting LLM-Generated Text
Zhou, Hongyi
Zhu, Jin
Ye, Kai
Yang, Ying
Xu, Erhan
Shi, Chengchun
Computation and Language
Artificial Intelligence
Machine Learning
Modern large language models (LLMs) such as GPT, Claude, and Gemini have transformed the way we learn, work, and communicate. Yet, their ability to produce highly human-like text raises serious concerns about misinformation and academic integrity, making it an urgent need for reliable algorithms to detect LLM-generated content. In this paper, we start by presenting a geometric approach to demystify rewrite-based detection algorithms, revealing their underlying rationale and demonstrating their generalization ability. Building on this insight, we introduce a novel rewrite-based detection algorithm that adaptively learns the distance between the original and rewritten text. Theoretically, we demonstrate that employing an adaptively learned distance function is more effective for detection than using a fixed distance. Empirically, we conduct extensive experiments with over 100 settings, and find that our approach demonstrates superior performance over baseline algorithms in the majority of scenarios. In particular, it achieves relative improvements from 54.3% to 75.4% over the strongest baseline across different target LLMs (e.g., GPT, Claude, and Gemini). A python implementation of our proposal is publicly available at https://github.com/Mamba413/L2D.
title Learn-to-Distance: Distance Learning for Detecting LLM-Generated Text
topic Computation and Language
Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2601.21895