TRANSMISSION // 2612.02822v1
A replay-based test for whether chat prompts trained a model
Source published
A proposed audit replays a public teacher’s answers to user prompts, then checks whether an open-weight model appears unusually tuned to prompts submitted for training.

When a chat model is trained on user prompts but learns from answers generated by another model, the prompts themselves may leave a faint trace. A new preprint proposes replaying those answers to look for that trace—and using a random split of prompts to make the test statistically verifiable.
The accountability problem
Suppose people contribute chat prompts to a dataset, and a developer uses them to train an open-weight model. In one common setup, a larger “teacher” model generates answers to those prompts, and the smaller “student” is trained to imitate the answers. The prompts provide context, but their tokens are masked out of the training loss: the student is not directly trained to reproduce the prompts.
That creates a challenge for people who want to check whether their prompts were used. Standard membership tests often look for signs that a model has learned the text itself. But here, the hidden training target was the teacher’s response, not the prompt. And the data owner may not know which response the teacher produced during training.
In Teacher Replay, Zhongliang Guo and colleagues propose an audit for this setting. The work is an arXiv preprint, not a peer-reviewed paper according to the material available here.
Replay the teacher, then compare
The method starts with a step the owner must take before sharing the prompts: randomly divide them into a submitted group and a withheld group. The withheld prompts act as a control. The paper says a public commitment to the split can help show that it was not chosen after seeing the results.
For both groups, the auditor asks the public teacher to generate fresh answers using the same sampling procedure used in training. The auditor then measures how likely the suspect student considers those answers. If the student was trained on a prompt, the authors reason, its training should have nudged it toward the teacher’s answers for that particular prompt.
But a student can become more teacher-like on all prompts, whether or not a particular prompt was included. To account for this general shift—and for differences in how easy prompts are—the method compares the suspect student’s scores with scores from “shadow” students. These reference models are trained using the same teacher and training recipe, but on other prompts. The calibrated scores for submitted and withheld prompts are then compared.
Finally, the method uses a randomization test: it repeatedly reassigns which prompts count as submitted and compares those results with the observed split. Under the paper’s assumptions, this test controls the false-positive rate without requiring the scores to follow a particular statistical distribution. Its guarantee depends on the owner having randomly selected the submitted prompts and on the scores being computed without using that selection.
What the experiments found
The team compared teacher replay with audits that examined prompt likelihood, the student’s own generated answers, or calibrated versions of those signals. In the main controlled experiment, a 7-billion-parameter Qwen student was trained on prompts from WildChat, with answers regenerated by a larger Qwen teacher. The submitted and withheld prompts were randomly assigned.
The paper reports that prompt-likelihood and self-generation methods generally performed near chance in its tests. In one comparison, their area under the receiver operating characteristic curve (AUC)—a measure of how well scores rank used prompts above controls—was roughly 0.47 to 0.51. A stronger combined prompt-only baseline reached 0.650, while teacher replay reached 0.742. The test with access to the actual training answers, which an ordinary data owner would not have, reached 0.894.
A length-aware version of teacher replay also needed fewer prompts than the strongest prompt-only baseline in the authors’ simulated owner-level tests on a diluted training mix. Under their setup, it reached their chosen detection power with 30 submitted prompts, versus 118 for that baseline. Those figures describe simulated tests under specific conditions, not a universal minimum for auditing real models.
The authors report further tests across student sizes, model families, and training mixes. Results depended on matching the replay teacher and recipe to the ones used in training; replays from a different teacher could perform poorly or even score below chance. Shadow students also matter: if they do not reflect the training mix and recipe well, calibration may be less effective.
What remains uncertain
Teacher replay is not a general-purpose test for whether any text influenced any AI model. The paper studies a particular pipeline: prompts masked from the loss, responses regenerated by a public teacher, and an open-weight suspect model that can be scored directly. The auditor needs access to the relevant teacher or a suitable candidate, knowledge of the training recipe, and enough computing resources to train shadow students. If the developer used a private teacher, altered responses, changed prompts, or used a different pipeline, the method’s assumptions may not hold.
The experiments are largely controlled studies using English WildChat prompts and particular model and training configurations. Although the paper reports tests on other targets, that does not establish performance across all datasets, languages, or real-world training practices. And an exact false-positive guarantee does not guarantee that the test will detect use: the ability to do so depends on the size and distinctiveness of the signal, the number of prompts, and how closely the audit reproduces training.
The preprint’s results therefore make a case for a promising, carefully defined audit—not proof that the method can settle data-use disputes in every setting. Independent replication and evaluation on broader, less controlled training pipelines would help show how far the approach travels.
- language models
- data auditing
- knowledge distillation
- membership inference
- privacy
Related reading
Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.
Can AI Tell Which Data Trained a Language Model?
Source published
Shared keywords: data auditing, membership inference
A proposal to audit what language models unlearn
Source published
Shared keywords: membership inference
Can an AI model’s familiarity with code reveal how students wrote it?
Source published
Shared keywords: membership inference
What proxy data reveals about federated distillation
Source published
Shared keywords: knowledge distillation
IDSISA proposes a more selective approach to AI forgetting
Source published
Shared keywords: knowledge distillation