English

Detecting Training Data of Large Language Models via Expectation Maximization

Computation and Language 2026-01-27 v3 Artificial Intelligence Cryptography and Security Machine Learning

Abstract

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.

Keywords

Cite

@article{arxiv.2410.07582,
  title  = {Detecting Training Data of Large Language Models via Expectation Maximization},
  author = {Gyuwan Kim and Yang Li and Evangelia Spiliopoulou and Jie Ma and William Yang Wang},
  journal= {arXiv preprint arXiv:2410.07582},
  year   = {2026}
}

Comments

EACL 2026

R2 v1 2026-06-28T19:15:35.001Z