Teacher Replay:蒸馏语言模型提示词使用的可验证审计方法
Teacher Replay: Effective and Verifiable Auditing of Prompt Use in Distilled Language Models
AI 导读
一篇 arXiv 论文提出 teacher replay 方法,用于审计开放权重聊天模型是否在训练中使用了数据所有者的提示词。该方法由公开 teacher 模型重新生成回复,并以同方式蒸馏的 shadow students 校准模型偏好,再用随机化测试判定提示词是否被使用,假阳性率有效。
正文 · 原文
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
From: Zhongliang Guo [view email]
[v1]
Tue, 1 Dec 2026 21:56:34 UTC (172 KB)
来源:arXiv cs.AI · arxiv.org