WPMIA: Word-level Probabilistic Membership Inference Attack for Strict Black-Box Large Language ModelsBlack-Box Membership Inference via Word-Level Probability Estimation
Translation in progress — untranslated text is omitted.
The researchers propose Word-level Probability MIA (WPMIA), a membership inference attack for strict black-box settings, to determine whether a given text was included in a large language model's training corpus. The method estimates word-level generation probabilities via Monte Carlo sampling combined with local kernel smoothing, aggregates them into sequence-level likelihood estimates, and constructs likelihoods under different prefix conditions to amplify the distributional difference between members and non-members. Across multiple open-source large language models, WPMIA consistently outperforms existing black-box baselines; on closed-source models such as GPT-5-Chat, Gemini-2.5-Flash, and Claude-4.5-Haiku, the average TPR@5%FPR reaches 42.0. The paper is 17 pages with 5 figures and 17 tables, and the code is publicly released.
- Most membership inference relies on per-token logits, which are unavailable for closed-source LLMs that only return text continuations. The authors argue that strict black-box pretraining data detection still lacks statistically grounded methods.
- WPMIA splits text into word sequences, estimates word-level generation probabilities via Monte Carlo sampling and a semantic kernel, aggregates them into sequence-level log-likelihood, then contrasts and normalizes likelihoods under non-member and member prefixes.
- The authors report that WPMIA outperforms PETAL, SaMIA, and SimMIA on WikiMIA, MIMIR, and WikiMIA-25. The average TPR@5%FPR on three closed-source models is 42.0; on GPT-5-Chat, AUC is 91.0 and TPR@5%FPR is 67.3.
- The authors note that repeated sampling is required, query cost increases with text length and closed-source APIs, and they plan to improve sample efficiency; the evaluation is limited to English. Experiments cover three benchmarks, open-source and three closed-source models, with main metrics AUC and TPR@5%FPR.
Related papers
Show 2 more papers
- LLM Dataset Inference: Did you train on my dataset?Analysis / interpretabilityarXiv