Computer Science > Artificial Intelligence
Title:Teacher Replay: Effective and Verifiable Auditing of Prompt Use in Distilled Language Models
Abstract:Open-weight chat models are increasingly post-trained on prompts collected from real users, with responses regenerated by a public teacher model and the prompt tokens masked out of the training loss. Those who contributed the prompts may want to verify whether a released model was trained on them, a question of accountability that the developer need not answer. This is hard: the prompt was not a training target, and the owner never sees the trained response. The published prompt-only audits we evaluate, which test the likelihood of the prompt or inspect the model's own generations, stay at or near chance in this regime or recover only part of the training signal, which is a shift of the model toward the teacher's responses for that prompt. We propose teacher replay, which lets the data owner reproduce the hidden step of the pipeline: the public teacher regenerates fresh responses for the owner's prompts, and the model's preference for them is calibrated against shadow students distilled the same way. An exact randomization test against prompts that the owner withheld at random then decides whether the submitted prompts were used, with a false-positive rate valid for any score distribution. We also analyze when replays carry the signal and how many prompts an owner needs. On distilled students of various sizes, teacher replay detects prompt use better than every prompt-only audit we evaluate, and its length-aware variant needs fewer than half as many prompts as the strongest of them on a diluted training mix. Our code is available at this https URL
| Subjects: | Artificial Intelligence (cs.AI) |
|---|---|
| Cite as: | arXiv:2612.02822 [cs.AI] |
| (or arXiv:2612.02822v1 [cs.AI] for this version) | |
| https://doi.org/10.48550/arXiv.2612.02822 arXiv-issued DOI via DataCite (pending registration) |
Submission history
Access Paper:
- HTML (experimental)
Additional Features
- Audio Summary
Current browse context:
References & Citations
- Google Scholar
- Semantic Scholar
BibTeX formatted citation
Bookmark
Bibliographic and Citation Tools
Code, Data and Media Associated with this Article
Demos
Recommenders and Search Tools
arXivLabs: experimental projects with community collaborators
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.