A Statistical Approach for Controlled Training Data Detection
Abstract
Detecting training data for large language models (LLMs) is receiving growing attention, especially in applications requiring high reliability. While numerous efforts have been made to address this issue, they typically focus on accuracy without ensuring controllable results. To fill this gap, we propose **K**nockoff Inference-based **T**raining data **D**etector (KTD), a novel method that achieves rigorous false discovery rate (FDR) control in training data detection. Specifically, KTD generates synthetic knockoff samples that seamlessly replace original data points without compromising contextual integrity. A novel knockoff statistic, which incorporates multiple knockoff draws, is then calculated to ensure FDR control while maintaining high power. Our theoretical analysis demonstrates KTD's asymptotic optimality in terms of FDR control and power. Empirical experiments on real-world datasets such as WikiMIA, XSum and Real Time BBC News further validate KTD's superior performance compared to existing methods.
Cite
Text
Hu et al. "A Statistical Approach for Controlled Training Data Detection." International Conference on Learning Representations, 2025.Markdown
[Hu et al. "A Statistical Approach for Controlled Training Data Detection." International Conference on Learning Representations, 2025.](https://mlanthology.org/iclr/2025/hu2025iclr-statistical-a/)BibTeX
@inproceedings{hu2025iclr-statistical-a,
title = {{A Statistical Approach for Controlled Training Data Detection}},
author = {Hu, Zirui and Wang, Yingjie and Zhang, Zheng and Chen, Hong and Tao, Dacheng},
booktitle = {International Conference on Learning Representations},
year = {2025},
url = {https://mlanthology.org/iclr/2025/hu2025iclr-statistical-a/}
}