arXiv(opens in a new tab)cs.CLOct 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2610.02986

OLMo-Detect: A Multi-Stage, Confounder-Controlled Benchmark for Membership Inference on Large Language Models

Tao Shi, Chaoyi Xiang, Qiongkai Xu, Jey Han Lau

ABSTRACT

Membership inference on large language models (LLMs) aims to determine whether a given text sample was included in an LLM's training data, without access to its training corpus. Despite recent progress, existing benchmarks suffer from three limitations: limited coverage of training stages, insufficient distributional alignment between members and non-members, and lack of rigorous filtering of non-members against the training corpus. To address these limitations, we propose OLMo-DETECT, a multi-stage, confounder-controlled benchmark built upon the fully open OLMo 2 pipeline. OLMo-DETECT spans pre-training, mid-training, and post-training, explicitly aligns members and non-members on three key axes, and rigorously filters non-members via infini-gram. To assess robustness to distribution shifts, we further introduce OLMo-DETECT (SHIFTED), a variant where members are misaligned with non-members. We evaluate 15 unsupervised and 3 supervised membership inference attacks (MIAs) across the OLMo 2 family, finding that: (i) overall performance is limited: the best unsupervised and supervised MIAs both reach an AUC of only 0.68, and supervised MIAs degrade under cross-domain evaluation; (ii) MIA performance peaks at mid-training and is lower at pre-training and post-training, a pattern driven by data type rather than a stage effect: curated math data is far more detectable than other types; (iii) overall scores improve from 1B to 13B but plateau at 32B; and (iv) no unsupervised MIA is robust to distribution shifts, with AUCs shifting by up to 0.42. Finally, we find that our findings on OLMo 2 generalize to OLMo 3 and non-OLMo models.

1 INTRODUCTION

Membership inference on large language models (LLMs) aims to determine whether a given text sample was included in an LLM's training data, without access to its training corpus. Despite recent progress (Shi et al., 2023; Ye et al., 2024; Zhang et al., 2024a; Dong et al., 2024; Duan et al., 2024; Fu et al., 2025; Tao et al., 2025; Chang et al., 2025; Zhang et al., 2025; Kim et al., 2026), there is still a lack of multi-stage, confounder-controlled benchmarks.

As illustrated in Table 1, existing benchmarks suffer from three limitations: (i) Limited coverage of training stages. Modern LLM development (Grattafori et al., 2024; OLMo et al., 2025; Yang et al., 2025) has evolved into a three-stage pipeline of pre-training, mid-training, and post-training, where mid-training refines model capabilities through targeted high-quality data and annealing-style optimization (Tu et al., 2025). However, most existing benchmarks focus on the pre-training stage, with only a few targeting post-training. (ii) Insufficient distributional alignment between members and non-members. Most benchmarks either introduce distribution shifts, such as temporal drift (Shi et al., 2023; Ye et al., 2024; Zhang et al., 2024b; Fu et al., 2025) and fine-tuning-induced differences (Dong et al., 2024), or achieve only aggregate-level alignment by construction, such as train/held-out split (Duan et al., 2024; Tao et al., 2025), without explicitly controlling alignment on axes exploitable by existing membership inference attacks (MIAs). The only exception is OLMo-MIA (Kim et al., 2026), which aligns on semantic similarity. However, most MIAs (Carlini et al., 2021; Shi et al., 2023; Chang et al., 2023; Zhang et al., 2024a;b; Ye et al., 2024; Xie et al., 2024;

BenchmarkStage(s)Domain(s)MemberNon-MemberAssessments
CAF
WikiMIA (Shi et al., 2023)Pre-trainingWikipediaPre-2017 dataPost-2023 data✕✕✕
StackMIA (Ye et al., 2024)Pre-trainingStack ExchangePre-2017 dataPost-2023 data✕✕✕
DETCON (Dong et al., 2024)Post-trainingHumanEval, GSM8KOutputs of post-SFT LLMsOutputs of base LLMs✕✕✕
MIMIR (Duan et al., 2024)Pre-trainingThe Pile: 7 domainsTrain splitsHeld-out data✕✕✓†
PatentMIA (Zhang et al., 2024b)Pre-trainingGoogle PatentsPre-2023 dataPost-2024 data✕✕✕
WikiMIA-24 (Fu et al., 2025)Pre-trainingWikipediaPre-2017 dataPost-2024 data✕✕✕
RL-MIA (Tao et al., 2025)Post-trainingAIME24/25, K&K, SATTraining dataHeld-out data✕✕✕
OLMoMIA (Kim et al., 2026)Pre-trainingDolmaPre-checkpoint dataPost-checkpoint data✕✓‡✕
OLMo-DETECT (ours)Pre-training, Mid-training, Post-training9 domains of OLMo 2Distribution-matched training dataDistribution-matched, rigorously filtered non-members✓✓✓

Table 1: Comparison of existing benchmarks for membership inference on LLMs. We assess on three criteria: (i) Coverage (C) of training stages (pre-training, mid-training, and post-training); (ii) Explicit Alignment (A) of distributions between members and non-members; (iii) Rigorous Filtering (F) of non-members against the training corpus. ✓†\checkmark^{\dagger} indicates that MIMIR uses a filter with a permissive threshold of 80%80\%, leaving potentially high residual overlap. ✓‡\checkmark^{\ddagger} means that OLMoMIA aligns on semantic similarity, but most MIAs target exact wording rather than meaning.

Chang et al., 2025; Golchin & Surdeanu, 2025) exploit surface-form signals that manifest through exact wording rather than meaning, so semantically aligned data may still exhibit lexical shifts. (iii) Lack of rigorous filtering of non-members against the training corpus. Most benchmarks construct non-members without filtering out those sharing substantial nn-gram overlap with the model's training data. MIMIR (Duan et al., 2024) is the sole exception but uses a 13-gram filter with a permissive threshold of 80%80\%, leaving its non-members with potentially high residual overlap.

To address these limitations, we propose OLMo-DETECT, a multi-stage, confounder-controlled benchmark built upon the fully open training pipeline of OLMo 2 (OLMo et al., 2025). Specifically: (i) it spans pre-training, mid-training, and post-training, enabling systematic analysis of how detection performance varies across training stages; (ii) it explicitly aligns members and non-members on three key axes to minimize distribution shifts: text quality, temporal range, and lexical similarity; and (iii) it filters non-members against OLMo 2's training data via infini-gram (Liu et al., 2024)-based 13-gram filtering with a strict threshold of 20%20\%, leaving non-members with an average residual overlap of only 5.31%5.31\%. Moreover, we introduce OLMo-DETECT (SHIFTED), a benchmark variant where members are misaligned with non-members, to assess robustness to distribution shifts.

We evaluate 15 unsupervised and 3 supervised MIAs across the OLMo 2 family (1B/7B/13B/32B) on OLMo-DETECT, finding that: (i) Overall performance is limited. The best unsupervised method is Zlib (Carlini et al., 2021), one of the simplest MIAs, while the best supervised method is Sup-CAMIA (Chang et al., 2025); both achieve an average AUC of 0.68. Moreover, supervised MIAs degrade under cross-domain evaluation, indicating that learned signals do not transfer well. (ii) Detectability is driven by data type rather than training stage. Overall performance peaks at mid-training and is lower at pre-training and post-training, but this ordering reflects data type rather than a stage effect: curated math data (e.g., GSM8K (Cobbe et al., 2021)) is considerably more detectable than other types. (iii) Overall scores improve from 1B to 13B but plateau at 32B, suggesting that scale alone may not continue to make detection easier. Additionally, we evaluate unsupervised MIAs on OLMo-DETECT (SHIFTED) and find that no unsupervised MIA is robust to distribution shifts, with AUCs shifting by up to 0.42. Finally, we evaluate the top five unsupervised MIAs on OLMo 3 (7B/32B) (Olmo et al., 2026) and two non-OLMo families, DCLM-Baseline (1B/7B) (Li et al., 2025) and SmolLM2-1.7B (Allal et al., 2025), on the OLMo-DETECT domains they were trained on, and find that our main findings generalize beyond OLMo 2.

References (100)

Couldn't load all references. Reload the page to try again.