Skip to content

SaMIA: A membership inference attack method for large language models based on sampling pseudo-likelihoodSampling-based Pseudo-Likelihood for Membership Inference Attacks

arXiv· arXiv:2404.11262· Findings of ACL 2025· Masahiro Kaneko, Youmi Ma, Yuki Wata, Naoaki Okazaki·Indexed by this site · 23 days ago· Originally publishedAttacks
AI summary

The researchers propose a membership inference attack method, SaMIA, which uses only text generated by a large language model to compute the sampling pseudo-likelihood (SPL) and determine whether a given text belongs to the model's training data. Large language models are trained on massive web data, posing data leakage risks such as benchmarks, personal information and copyrighted text, while existing likelihood-based membership inference methods cannot be applied to proprietary models such as ChatGPT and Claude 3 that do not expose likelihoods to users. SaMIA treats the target text as a reference text, takes multiple outputs of the model as text samples, and uses the degree of n-gram matching as the SPL to determine membership. The authors claim that, without using likelihoods, SaMIA performs comparably to existing likelihood-based methods.

Read originalFindings of ACL 2025