Hitting a Moving Target: Test-Time Adaptation for AI Text Detection under Continual Distribution Shift
Kevin Ren, Manish Raghavan, Nikhil Garg
NeurIPS page · Open on the map
Category: LLM Reasoning, Memory & RAG › AI Text Detection · Type: new method · Keywords: AI text detection, distribution shift, test-time adaptation, semi-supervised learning, inference-time homogeneity, continual learning
Areas: Safety & Security › Language Model Security › LLM text detection; Evaluation & Benchmarks › Language Model and Agent Safety › Hallucination and Text Detection; Continual Learning & Adaptation › Domain Shift Adaptation › Test-Time Adaptation
Summary
The paper proposes a test-time adaptation approach that leverages inference-time homogeneity to robustly detect AI-generated text under continual distribution shifts.
Explained to a 5-year-old
People make tools that can tell if a piece of writing was written by a person or by a computer. These tools sometimes get confused when the way people write changes or new computer writers appear. The researchers noticed that when the tool looks at many new writings at the same time, it can see a pattern that they all look similar. They let the tool learn from this pattern so it can keep guessing correctly without needing new training data. This helps the tool stay useful over time, even when the writers change.
Explained to a 5-year-old, longer
Imagine a robot that reads stories and decides if they were written by a person or by another robot. Sometimes the robot gets it wrong because people start writing differently or new robot writers appear. The researchers saw that when the robot looks at many new sentences together, those sentences often sound the same. They used this similarity to help the robot adjust its guessing without asking for new labels. This way the robot can learn from the new text it sees while it is working. The robot no longer needs a big list of examples that were used to train it long ago. It can keep up with changes in how people write and new robot styles. The method works like a chameleon that changes color to blend in with its surroundings. By watching many new writings at once, the robot finds a common pattern. It uses that pattern to improve its detection on the fly. This makes the robot more reliable in real situations where things are always changing. The idea could help keep online platforms safe from fake content over time.
For a technical reader
The paper addresses the problem that AI text detectors become inaccurate as writing styles evolve and new language models appear. It shows that existing supervised detectors fail under three continual shifts: adversarial humanization, new LLMs, and temporal drift in human writing. The proposed approach leverages inference-time homogeneity among unlabeled samples to adapt the detector without labeled data, using semi-supervised learning. Empirical results demonstrate that this adaptation significantly outperforms commercial detectors on adversarial text. The work highlights test-time adaptation as a promising framework for maintaining detector reliability in dynamic environments.
Problem
Deployed AI text detectors rely on training data that may become outdated, making them vulnerable to adversarial humanization, new LLMs, and temporal drift in human writing. This leaves a need for detectors that can adapt at test time without access to labeled data.
Method
The approach uses semi-supervised learning to adapt the detector at inference time by exploiting the homogeneity among unlabeled samples observed during testing. It adjusts the model parameters to align with the current data distribution without requiring labeled examples.
Results
State-of-the-art supervised detectors perform poorly under distribution shifts, while the approach achieves 90.5% detection on adversarial AI-generated text, compared to 24.1% for the commercial model Pangram.
Contributions
It identifies three continual distribution shifts that challenge AI text detection and shows that adapting the detector at inference time can provide robustness where supervised methods fail. The work also demonstrates that inference-time homogeneity can be leveraged for adaptation without requiring labeled data.
Practical relevance
The findings suggest that adapting detectors at inference time can improve the reliability of AI text detection in real-world deployments where data distributions shift over time.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction