arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2606.06502cs.CR
收藏

用于LLM训练数据真实推断的微妙注入

Subtle Injection for Ground-truth Inference of LLM Training Data

AI-WEINBERG, AI Experts(AI-WEINBERG,AI专家)

Abraham Itzhak Weinberg

AI总结:

提出SIGIL框架,通过向文本中嵌入不可感知的“金丝雀序列”,使训练了这些文档的LLM在特定查询下表现出可检测的行为特征,从而证明文档被用于训练。

摘要:

随着大型语言模型(LLM)越来越多地在未经授权的情况下从抓取的网络语料库中进行训练,内容所有者需要取证方法来证明其文档被包含在模型的训练集中。我们提出\textbf{SIGIL}(\textbf{S}ubtle \textbf{I}njection for \textbf{G}round-truth \textbf{I}nference of \textbf{L}LM training data),这是一个框架,它将不可感知的\emph{金丝雀序列}嵌入受保护的文本和代码中,使得任何在这些文档上训练的LLM在受到目标查询时表现出统计上可检测的行为特征。SIGIL定义了五种金丝雀策略——词汇罕见、词汇短语、句法、语义和代码模式——以及一种基于Neyman-Pearson假设检验框架的\emph{成员推断分数}(MIS),具有正式的假阳性率(FPR)控制。模拟器参数根据经验成员推断文献进行校准,在$36{,}000$次试验中产生现实的异质结果:总体AUC = $0.892$,从$0.1\%$注入时的$0.831$上升到$10\%$注入时的$0.947$。检测率在模型大小和注入率条件下从$33\%$到$78\%$不等。代码模式金丝雀达到最高的AUC($0.903$,Cohen's $d = 1.84$);句法结构最低($0.875$,$d = 1.63$)。所有四个实验因素——注入率、模型大小、金丝雀策略和混合比例——对MIS都有显著的独立影响($p < 0.001$)。即使在$100\%$释义下($\text{AUC} = 0.864$),SIGIL仍保持AUC $> 0.86$,通过语义泄漏证实了鲁棒性,这种泄漏在表面重写后仍然存在。

英文摘要:

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 $36{,}000$ trials: overall AUC $= 0.892$, rising from $0.831$ at $0.1\%$ injection to $0.947$ at $10\%$. Detection rates range from $33\%$ to $78\%$ across model-size and injection-rate conditions. Code Pattern canaries achieve the highest AUC ($0.903$, Cohen's $d = 1.84$); Syntactic Structure the lowest ($0.875$, $d = 1.63$). All four experimental factors -- injection rate, model size, canary strategy, and mixture ratio -- have significant independent effects on MIS ($p < 0.001$). SIGIL maintains AUC $> 0.86$ even under $100\%$ paraphrasing ($\text{AUC} = 0.864$), confirming robustness through semantic leakage that survives surface-level rewriting.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑