Skip to content
DraconiticResearch
Search Sources API
197,768 studies31 sourcesUpdated 32 min ago
PreprintCC BY 4.0arXiv

Black-Box Membership Inference via Word-Level Probability Estimation

Abstract

Membership inference attacks (MIAs) have emerged as critical tools for auditing privacy risks in large language models (LLMs), aiming to determine whether a given text was included in a model's training corpus. However, most existing MIAs require access to per-token logits or probabilities, making them inapplicable in practice to proprietary LLMs that expose only textual continuations. To address this underexplored setting, we propose Word-level Probability MIA (WPMIA), a statistically principled MIA for strict black-box privacy auditing. WPMIA estimates word-level generation probabilities via Monte Carlo sampling with local kernel smoothing, then aggregates these estimates into a sequence-level likelihood estimator. Furthermore, WPMIA constructs the likelihood conditioned on different prefixes, thereby amplifying the distributional differences between members and non-members. We evaluate WPMIA across various open-source LLMs and find that it consistently outperforms existing black-box baselines. Importantly, we also evaluate WPMIA on modern proprietary LLMs, including GPT-5-Chat, Gemini-2.5-Flash, and Claude-4.5-Haiku, achieving an average TPR@5\%FPR of 42.0 across these models. These results offer a sound foundation for future research on strict black-box membership inference. Code is available at \href{https://github.com/niusj03/WPMIA}{https://github.com/niusj03/WPMIA}.

Related

  1. A Simple Presentation of Robust Membership Inference Attacks
    Renaud Gaucher, Ephraim Linder, Adam Smith +2
    arXivPreprintCC BY 4.0Full textStatisticsarXiv
  2. Set Membership Estimation for Stochastic Linear Contextual Bandits
    Haonan Xu, Yingying Li
    arXivPreprintarXiv licenceFull textOptimisation & controlStatisticsarXiv
  3. Membership Inference via Pairwise Likelihood Ratios
    Shengjie Niu, Zebin Yun, Yeheng Ge +1
    arXivPreprintCC BY 4.0Full textStatisticsarXiv
  4. Robust estimation in generalized linear models based on the normal quantiles of the probability integral transformation
    Marina Valdora, Víctor Yohai
    arXivPreprintarXiv licenceFull textStatisticsarXiv
  5. A Flexible Heavy-Tailed Probability Model for Skewed Positive Data: Theory, Estimation, and Empirical Assessment
    Jiju Gillariose, Joshin Joseph, Hanan Alahmadi +3
    AxiomsPeer-reviewedCC BY 4.0StatisticsCrossref
BibTeX
@misc{niu2026blackbox,
  title = {{Black-Box Membership Inference via Word-Level Probability Estimation}},
  author = {Shengjie Niu and Yeheng Ge and Jian Huang},
  howpublished = {arXiv},
  year = {2026},
  month = sep,
  doi = {10.48550/arxiv.2609.10611},
  eprint = {2609.10611},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2609.10611},
  note = {CC BY 4.0},
}
RIS
TY  - UNPB
TI  - Black-Box Membership Inference via Word-Level Probability Estimation
AU  - Shengjie Niu
AU  - Yeheng Ge
AU  - Jian Huang
PY  - 2026
DA  - 2026/09/08
PB  - arXiv
DO  - 10.48550/arxiv.2609.10611
UR  - https://arxiv.org/abs/2609.10611
AB  - Membership inference attacks (MIAs) have emerged as critical tools for auditing privacy risks in large language models (LLMs), aiming to determine whether a given text was included in a model's training corpus. However, most existing MIAs require access to per-token logits or probabilities, making them inapplicable in practice to proprietary LLMs that expose only textual continuations. To address this underexplored setting, we propose Word-level Probability MIA (WPMIA), a statistically principled MIA for strict black-box privacy auditing. WPMIA estimates word-level generation probabilities via Monte Carlo sampling with local kernel smoothing, then aggregates these estimates into a sequence-level likelihood estimator. Furthermore, WPMIA constructs the likelihood conditioned on different prefixes, thereby amplifying the distributional differences between members and non-members. We evaluate WPMIA across various open-source LLMs and find that it consistently outperforms existing black-box baselines. Importantly, we also evaluate WPMIA on modern proprietary LLMs, including GPT-5-Chat, Gemini-2.5-Flash, and Claude-4.5-Haiku, achieving an average TPR@5\%FPR of 42.0 across these models. These results offer a sound foundation for future research on strict black-box membership inference. Code is available at \href{https://github.com/niusj03/WPMIA}{https://github.com/niusj03/WPMIA}.
ER  -