BiScope: AI-generated Text Detection by Checking Memorization of Preceding Tokens
Hanxi Guo, Siyuan Cheng, Xiaolong Jin, Zhuo Zhang, Kaiyuan Zhang, Guanhong Tao, Guangyu Shen, Xiangyu Zhang
摘要
Detecting text generated by Large Language Models (LLMs) is a pressing need in order to identify and prevent misuse of these powerful models in a wide range of applications, which have highly undesirable consequences such as misinformation and academic dishonesty. Given a piece of subject text, many existing detection methods work by measuring the difficulty of LLM predicting the next token in the text from their prefix. In this paper, we make a critical observation that how well the current token’s output logits memorizes the closely preceding input tokens also provides strong evidence. Therefore, we propose a novel bi-directional calculation method that measures the cross-entropy losses between an output logits and the ground-truth token (forward) and between the output logits and the immediately preceding input token (backward). A classifier is trained to make the final prediction based on the statistics of these losses. We evaluate our system, named B I S COPE , on texts generated by five latest commercial LLMs across five heterogeneous datasets, including both natural language and code. B I S COPE demonstrates superior detection accuracy and robustness compared to nine existing baseline methods, exceeding the state-of-the-art non-commercial methods’ detection accuracy by over 0 . 30 F1 score, achieving over 0 . 95 detection F1 score on average. It also outperforms the best commercial tool GPTZero that is based on a commercial LLM trained with an enormous volume of data. Code is available at https://github.com/MarkGHX/BiScope .
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 9 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- TSM-Bench: Detecting LLM-Generated Text in Real-World Wikipedia Editing Practices 引用了 RADAR: Robust AI-Text Detection via Adversarial Learning
- TSM-Bench: Detecting LLM-Generated Text in Real-World Wikipedia Editing Practices 引用了 DetectGPT: Zero-Shot Machine-Generated Text Detection using Probability Curvature
- TSM-Bench: Detecting LLM-Generated Text in Real-World Wikipedia Editing Practices 引用了 Fast-DetectGPT: Efficient Zero-Shot Detection of Machine-Generated Text via Conditional Probability Curvature
- Learn-to-Distance: Distance Learning for Detecting LLM-Generated Text 引用了 RADAR: Robust AI-Text Detection via Adversarial Learning
- Learn-to-Distance: Distance Learning for Detecting LLM-Generated Text 引用了 DetectGPT: Zero-Shot Machine-Generated Text Detection using Probability Curvature
- Learn-to-Distance: Distance Learning for Detecting LLM-Generated Text 引用了 Fast-DetectGPT: Efficient Zero-Shot Detection of Machine-Generated Text via Conditional Probability Curvature
- Human Texts Are Outliers: Detecting LLM-generated Texts via Out-of-distribution Detection 引用了 RADAR: Robust AI-Text Detection via Adversarial Learning
- Human Texts Are Outliers: Detecting LLM-generated Texts via Out-of-distribution Detection 引用了 Paraphrasing evades detectors of AI-generated text, but retrieval is an effective defense
- Human Texts Are Outliers: Detecting LLM-generated Texts via Out-of-distribution Detection 引用了 DetectGPT: Zero-Shot Machine-Generated Text Detection using Probability Curvature
- Human Texts Are Outliers: Detecting LLM-generated Texts via Out-of-distribution Detection 引用了 Fast-DetectGPT: Efficient Zero-Shot Detection of Machine-Generated Text via Conditional Probability Curvature
- Human Texts Are Outliers: Detecting LLM-generated Texts via Out-of-distribution Detection 引用了 A Watermark for Large Language Models
- Paraphrasing evades detectors of AI-generated text, but retrieval is an effective defense 引用了 DetectGPT: Zero-Shot Machine-Generated Text Detection using Probability Curvature
- DetectGPT: Zero-Shot Machine-Generated Text Detection using Probability Curvature 引用了 Paraphrasing evades detectors of AI-generated text, but retrieval is an effective defense
- Paraphrasing evades detectors of AI-generated text, but retrieval is an effective defense 引用了 A Watermark for Large Language Models
- DetectGPT: Zero-Shot Machine-Generated Text Detection using Probability Curvature 引用了 A Watermark for Large Language Models
- Advancing Machine-Generated Text Detection from an Easy to Hard Supervision Perspective 引用了 RADAR: Robust AI-Text Detection via Adversarial Learning
- Advancing Machine-Generated Text Detection from an Easy to Hard Supervision Perspective 引用了 Paraphrasing evades detectors of AI-generated text, but retrieval is an effective defense
- Advancing Machine-Generated Text Detection from an Easy to Hard Supervision Perspective 引用了 DetectGPT: Zero-Shot Machine-Generated Text Detection using Probability Curvature
- Advancing Machine-Generated Text Detection from an Easy to Hard Supervision Perspective 引用了 Fast-DetectGPT: Efficient Zero-Shot Detection of Machine-Generated Text via Conditional Probability Curvature
- Advancing Machine-Generated Text Detection from an Easy to Hard Supervision Perspective 引用了 A Watermark for Large Language Models
- Fast-DetectGPT: Efficient Zero-Shot Detection of Machine-Generated Text via Conditional Probability Curvature 引用了 DetectGPT: Zero-Shot Machine-Generated Text Detection using Probability Curvature
- Fast-DetectGPT: Efficient Zero-Shot Detection of Machine-Generated Text via Conditional Probability Curvature 引用了 A Watermark for Large Language Models
- DNA-DetectLLM: Unveiling AI-Generated Text via a DNA-Inspired Mutation-Repair Paradigm 引用了 RADAR: Robust AI-Text Detection via Adversarial Learning
- DNA-DetectLLM: Unveiling AI-Generated Text via a DNA-Inspired Mutation-Repair Paradigm 引用了 Paraphrasing evades detectors of AI-generated text, but retrieval is an effective defense
- DNA-DetectLLM: Unveiling AI-Generated Text via a DNA-Inspired Mutation-Repair Paradigm 引用了 DetectGPT: Zero-Shot Machine-Generated Text Detection using Probability Curvature
- DNA-DetectLLM: Unveiling AI-Generated Text via a DNA-Inspired Mutation-Repair Paradigm 引用了 Fast-DetectGPT: Efficient Zero-Shot Detection of Machine-Generated Text via Conditional Probability Curvature
- DNA-DetectLLM: Unveiling AI-Generated Text via a DNA-Inspired Mutation-Repair Paradigm 引用了 A Watermark for Large Language Models
引用它的顶会 Paper9
- Learn-to-Distance: Distance Learning for Detecting LLM-Generated TextHongyi Zhou, Jin Zhu, Kai Ye, Ying Yang 等ICLR 2026 · 10 次引用
- Human Texts Are Outliers: Detecting LLM-generated Texts via Out-of-distribution DetectionCong Zeng, Shengkun Tang, Yuanzhou Chen, Zhiqiang Shen 等NeurIPS 2025 · 10 次引用
- DNA-DetectLLM: Unveiling AI-Generated Text via a DNA-Inspired Mutation-Repair ParadigmXiaowei Zhu, Yubing Ren, Fang Fang, Qingfeng Tan 等NeurIPS 2025 · 10 次引用
- TSM-Bench: Detecting LLM-Generated Text in Real-World Wikipedia Editing PracticesGerrit Quaremba, Elizabeth Black, Denny Vrandecic, Elena SimperlICLR 2026 · 2 次引用
- Advancing Machine-Generated Text Detection from an Easy to Hard Supervision PerspectiveChenwang Wu, Yiu-ming Cheung, Bo Han, Defu LianNeurIPS 2025 · 2 次引用
它引用的 Paper15
- DetectGPT: Zero-Shot Machine-Generated Text Detection using Probability CurvatureEric Mitchell, Yoonho Lee, Alexander Khazatsky, Christopher D. Manning 等ICML 2023 · 988 次引用
- A Watermark for Large Language ModelsJohn Kirchenbauer, Jonas Geiping, Yuxin Wen, Jonathan Katz 等ICML 2023 · 854 次引用
- Paraphrasing evades detectors of AI-generated text, but retrieval is an effective defenseKalpesh Krishna, Yixiao Song, Marzena Karpinska, John Wieting 等NeurIPS 2023 · 657 次引用
- RADAR: Robust AI-Text Detection via Adversarial LearningXiaomeng Hu, Pin-Yu Chen, Tsung-Yi HoNeurIPS 2023 · 315 次引用
- Fast-DetectGPT: Efficient Zero-Shot Detection of Machine-Generated Text via Conditional Probability CurvatureGuangsheng Bao, Yanbin Zhao, Zhiyang Teng, Linyi Yang 等ICLR 2024 · 311 次引用
相关 Paper
- LLMDet: A Third Party Large Language Models Generated Text Detection ToolKangxi Wu, Liang Pang, Huawei Shen, Xueqi Cheng 等EMNLP Findings 2023 · 31 次引用
- Glimpse: Enabling White-Box Methods to Use Proprietary Models for Zero-Shot LLM-Generated Text DetectionGuangsheng Bao, Yanbin Zhao, Juncai He, Yue ZhangICLR 2025
- Spotting LLMs With Binoculars: Zero-Shot Detection of Machine-Generated TextAbhimanyu Hans, Avi Schwarzschild, Valeriia Cherepanova, Hamid Kazemi 等ICML 2024 · 262 次引用
- DEMASQ: Unmasking the ChatGPT WordsmithKavita Kumari, Alessandro Pegoraro, Hossein Fereidooni, Ahmad-Reza SadeghiNDSS 2024
- Enhancing LLM Text Detection with Retrieved Contexts and Logits Distribution ConsistencyZhaoheng Huang, Yutao Zhu, Ji-Rong Wen, Zhicheng DouEMNLP 2025
