Sampling-based Pseudo-Likelihood for Membership Inference Attacks

Large Language Models (LLMs) are trained on large-scale web data, which makes it difficult to grasp the contribution of each text.This poses the risk of leaking inappropriate data such as benchmarks, personal information, and copyrighted texts in the training data.Membership Inference Attacks (MIA), which determine whether a given text is included in the model's training data, have been attracting attention.Previous studies of MIAs revealed that likelihood-based classification is effective for detecting leaks in LLMs.However, the existing likelihood-based methods cannot be applied to some proprietary models like Chat-GPT or Claude 3 because the likelihood for input text is unavailable to the user.In this study, we propose a Sampling-based Pseudo-Likelihood (SPL) method for MIA (SaMIA) that calculates SPL using only the text generated by an LLM to detect leaks.The SaMIA treats the target text as the reference text and multiple outputs from the LLM as text samples, calculates the degree of n-gram match as SPL, and determines the membership of the text in the training data.Even without likelihoods, SaMIA performed on par with existing likelihood-based methods 1 .

Authors

Publication Details

Published
2025-01-01
DOI
https://doi.org/10.18653/v1/2025.findings-acl.465
Citations
2
Primary Topic
Network Security and Intrusion Detection
Type
article
Field-Weighted Citation Impact
2.97
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Sampling-based Pseudo-Likelihood for Membership Inference Attacks

Naoaki Okazaki, Yuki Wata, Masahiro Kaneko, Youmi Ma
2 citations
Network Security and Intrusion Detection
2.97
article

Sampling-based Pseudo-Likelihood for Membership Inference Attacks

Naoaki Okazaki, Yuki Wata, Masahiro Kaneko, Youmi Ma
article en
2 citations

Abstract

Large Language Models (LLMs) are trained on large-scale web data, which makes it difficult to grasp the contribution of each text.This poses the risk of leaking inappropriate data such as benchmarks, personal information, and copyrighted texts in the training data.Membership Inference Attacks (MIA), which determine whether a given text is included in the model's training data, have been attracting attention.Previous studies of MIAs revealed that likelihood-based classification is effective for detecting leaks in LLMs.However, the existing likelihood-based methods cannot be applied to some proprietary models like Chat-GPT or Claude 3 because the likelihood for input text is unavailable to the user.In this study, we propose a Sampling-based Pseudo-Likelihood (SPL) method for MIA (SaMIA) that calculates SPL using only the text generated by an LLM to detect leaks.The SaMIA treats the target text as the reference text and multiple outputs from the LLM as text samples, calculates the degree of n-gram match as SPL, and determines the membership of the text in the training data.Even without likelihoods, SaMIA performed on par with existing likelihood-based methods 1 .

Openalex Percentile: Top 8%
Network Security and Intrusion Detection
2.97
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Sampling-based Pseudo-Likelihood for Membership Inference Attacks — Naoaki Okazaki, Yuki Wata, et al. · (2025) | TGRS Research Map | TGRS