A Training-free Method for LLM Text Attribution
stat.ML, cs.AI, cs.CL, cs.IT, cs.LG, math.IT
Submitted: 2025-01-04
Updated: 2026-09-10
Code: https://github.com/yangluo7/CAME
License: http://creativecommons.org/licenses/by/4.0/
The gist: Verifying the provenance of text is increasingly important for firms, educational institutions, and online platforms as Large Language Models (LLMs) produce output that is nearly indistinguishable
Terminology
Abstract
Verifying the provenance of text is increasingly important for firms, educational institutions, and online platforms as Large Language Models (LLMs) produce output that is nearly indistinguishable from human-generated content. We study the problem of determining whether a given text was generated by a particular LLM while controlling the false positive rate. We model LLM-generated text as a sequential stochastic process and develop training-free statistical tests to (i) distinguish between text produced by two known sets of LLMs and (ii) determine whether text was generated by a known LLM or by a distinguishable unknown source, such as a human or another model. We prove that both Type I and Type II errors decay exponentially with text length, establish analogous guarantees for black-box access via sampling, and provide an information-theoretic lower bound showing that there exist model pairs for which no statistical test can make both errors decay faster than exponentially with text length. Numerical experiments empirically evaluate the tests in practical settings and demonstrate strong overall performance, including under many adversarial edits. Our framework provides rigorous guarantees for LLM provenance detection, with applications to content verification, institutional compliance, and misinformation mitigation.
Sources
- Real or Fake? Learning to Discriminate Machine from Human Generated Text
- Fast-DetectGPT: Efficient Zero-Shot Detection of Machine-Generated Text via Conditional Probability Curvature
- Evade ChatGPT Detectors via A Single Space
- Can LLM-Generated Misinformation Be Detected?
- RAID: A Shared Benchmark for Robust Evaluation of Machine-Generated Text Detectors
- Hierarchical Neural Story Generation
- GLTR: Statistical Detection and Visualization of Generated Text
- A Mutation-based Text Generation for Adversarial Machine Learning Applications
- How Close is ChatGPT to Human Experts? Comparison Corpus, Evaluation, and Detection
- Spotting LLMs With Binoculars: Zero-Shot Detection of Machine-Generated Text
- Distilling the Knowledge in a Neural Network
- Automatic Detection of Generated Text is Easiest when Humans are Fooled
- Automatic Detection of Machine Generated Text: A Critical Survey
- CTRL: A Conditional Transformer Language Model for Controllable Generation
- J-Guard: Journalism Guided Adversarially Robust Detection of AI-generated News
- Mutation-Based Adversarial Attacks on Neural Text Detectors
- Large Language Model (LLM) AI text generation detection based on transformer deep learning algorithm
- SQuAD: 100,000+ Questions for Machine Comprehension of Text
- Can AI-Generated Text be Reliably Detected?
- Classification of Human- and AI-Generated Texts for English, French, German, and Spanish
Related papers
- Behavior of prediction performance metrics with rare events
- Optimal Estimation of Generic Dynamics by Path-Dependent Neural Jump ODEs
- A Posterior-Dynamics Framework for Imaging Inverse Problems with Pretrained Diffusion Priors
- One Permutation Is All You Need: Fast, Deterministic Feature Importance and Model Stress-Testing
- Online Conformal Prediction for Non-Exchangeable Panel Data
- Deep Time-Series Forecasting in 10 Years: A Survey