CheckMIABench: Firm Foundations For Membership Inference Attacks on Language Models

Jeffrey G. Wang, Jason Wang, Marvin Li, Seth Neel
6/16/2026
cs.LG

Official code: safr-ai-lab/pandora_llm (2 stars, MIT, last commit 2025-07-01).

Abstract

Membership inference attacks (MIAs) are a canonical way to assess a machine learning model's privacy properties. Although several attempts have been made to evaluate MIAs on language models, the extant literature has suffered numerous difficulties in constructing clean evaluations to test new techniques. In particular, subtle distribution shifts between member and non-member sets can undermine the statistical validity of MIAs; recent work has underscored this by showing that "blind" methods with no access to the underlying model can perform far better than published methods on the same benchmarks. This paper constructs a benchmark for principled evaluation of MIAs against LLMs, by leveraging the insight that training data before and after a fixed point during training are drawn from the same distribution. Therefore, all open-source models with intermediate checkpoints and public training data can be converted into MIA testbeds. We apply our framework to a half-dozen published attacks on the Pythia and OLMo family of models, from 70M to 7B parameters. To facilitate further privacy research, we open-source a modular library for designing and implementing attacks in this setting: https://github.com/safr-ai-lab/pandora_llm.

View on arXivView PDF

Code Implementations(1)

MIT

Red-teaming library against Large Language Models (LLMs) that assesses their vulnerability to train data leakage

20Shell, PythonJul 1, 20251 years agoMIT

Similar Papers

Cite this paper

@article{wang2026checkmiabench,
  title  = {CheckMIABench: Firm Foundations For Membership Inference Attacks on Language Models},
  author = {Jeffrey G. Wang and Jason Wang and Marvin Li and Seth Neel},
  year   = {2026},
  eprint = {2606.17464},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2606.17464v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2606.17464.svg)](https://codeofpaper.com/paper/2606.17464)

Discussion