Subtle Injection for Ground-truth Inference of LLM Training Data
arXiv:2606.06502
Abstract
As large language models (LLMs) are increasingly trained on scraped web corpora without authorisation, content owners require forensic methods to prove that their documents were included in a model's training set. We propose \textbf{SIGIL} (\textbf{S}ubtle \textbf{I}njection for \textbf{G}round-truth \textbf{I}nference of \textbf{L}LM training data), a framework that embeds imperceptible \emph{canary sequences} into protected text and code such that any LLM trained on those documents exhibits statistically detectable behavioural signatures when probed with targeted queries. SIGIL defines five canary strategies -- lexical-rare, lexical-phrase, syntactic, semantic, and code-pattern -- and a \emph{Membership Inference Score} (MIS) grounded in the Neyman-Pearson hypothesis testing framework with formal false-positive rate (FPR) control. Simulator parameters are calibrated against the empirical membership inference literature, yielding realistic heterogeneous results across trials: overall AUC , rising from at injection to at . Detection rates range from to across model-size and injection-rate conditions. Code Pattern canaries achieve the highest AUC (, Cohen's ); Syntactic Structure the lowest (, ). All four experimental factors -- injection rate, model size, canary strategy, and mixture ratio -- have significant independent effects on MIS (). SIGIL maintains AUC even under paraphrasing (), confirming robustness through semantic leakage that survives surface-level rewriting.