Are AI coding models snitches? An empirical study of pretraining data detection for code large language modelsAre AI Coders Snitches? An Empirical Study of Pretraining Data Detection on Code Large Language Models
To address the problem that code large language models may output proprietary or sensitive code snippets, bringing privacy and intellectual property compliance risks, the researchers conducted a systematic empirical study of the effectiveness of seven state-of-the-art training data detection (TDD) methods on source code data, covering eight CodeLLMs. The team released a function-level benchmark dataset, CodeSnitch, containing 9000 code samples in three programming languages, each sample explicitly annotated as to whether it is included in the CodeLLM training data. They also designed mutation strategies based on the Type-1 to Type-4 code clone classification system, testing the robustness of these detection methods under three settings. The authors state that this study provides a systematic evaluation of training data detection techniques in the code domain and can serve as a reference for developing more effective and more robust detection methods.