通过期望最大化检测大型语言模型的训练数据
Detecting Training Data of Large Language Models via Expectation Maximization
AI总结:
本文提出EM-MIA方法,通过期望最大化策略检测大型语言模型的训练数据,实验表明其在分布重叠明显时表现优异,揭示了当前方法的局限性。
摘要:
成员推断攻击(MIAs)旨在确定特定示例是否被用于训练给定的语言模型。尽管先前的工作探讨了基于提示的攻击,如ReCALL,但这些方法依赖于假设使用已知的非成员作为提示能可靠地抑制模型对非成员查询的响应。我们提出EM-MIA,一种新的成员推断方法,通过期望最大化策略迭代优化前缀有效性及成员得分,而无需使用标记的非成员示例。为支持受控评估,我们引入OLMoMIA基准,使能够在系统性变化的分布重叠和难度下分析MIAs的鲁棒性。在WikiMIA和OLMoMIA上的实验表明,EM-MIA优于现有基线,特别是在分布重叠明显的情况下。我们强调在部分分布重叠的实践中,EM-MIA在某些场景中成功,而失败案例揭示了当前MIAs方法在近似相同条件下固有的局限性。我们发布代码和评估流程以鼓励可重复和稳健的MIAs研究。
英文摘要:
Membership inference attacks (MIAs) aim to determine whether a specific example was used to train a given language model. While prior work has explored prompt-based attacks such as ReCALL, these methods rely heavily on the assumption that using known non-members as prompts reliably suppresses the model's responses to non-member queries. We propose EM-MIA, a new membership inference approach that iteratively refines prefix effectiveness and membership scores using an expectation-maximization strategy without requiring labeled non-member examples. To support controlled evaluation, we introduce OLMoMIA, a benchmark that enables analysis of MIA robustness under systematically varied distributional overlap and difficulty. Experiments on WikiMIA and OLMoMIA show that EM-MIA outperforms existing baselines, particularly in settings with clear distributional separability. We highlight scenarios where EM-MIA succeeds in practical settings with partial distributional overlap, while failure cases expose fundamental limitations of current MIA methods under near-identical conditions. We release our code and evaluation pipeline to encourage reproducible and robust MIA research.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。