A Statistical and Multi-Perspective Revisiting of the Membership Inference Attack in Large Language Models
Bowen Chen, Namgi Han, Yusuke Miyao
TL;DR
This work addresses the inconsistent performance of membership inference attacks on large language models by conducting thousands of experiments across multiple settings, domains, and model sizes. It systematically analyzes baseline, token-distribution, text-alteration, and black-box MIAs, revealing that most methods offer limited gain over baselines, but notable outliers exist and depend on domain and model size. The study also highlights thresholds as a critical, often overlooked factor, and connects MIA signals to text length, text similarity, embedding separability, and decoding entropy dynamics. These findings suggest that MIA effectiveness is nuanced and context-dependent, with implications for data privacy and monitoring in real-world LLM deployments.
Abstract
The lack of data transparency in Large Language Models (LLMs) has highlighted the importance of Membership Inference Attack (MIA), which differentiates trained (member) and untrained (non-member) data. Though it shows success in previous studies, recent research reported a near-random performance in different settings, highlighting a significant performance inconsistency. We assume that a single setting doesn't represent the distribution of the vast corpora, causing members and non-members with different distributions to be sampled and causing inconsistency. In this study, instead of a single setting, we statistically revisit MIA methods from various settings with thousands of experiments for each MIA method, along with study in text feature, embedding, threshold decision, and decoding dynamics of members and non-members. We found that (1) MIA performance improves with model size and varies with domains, while most methods do not statistically outperform baselines, (2) Though MIA performance is generally low, a notable amount of differentiable member and non-member outliers exists and vary across MIA methods, (3) Deciding a threshold to separate members and non-members is an overlooked challenge, (4) Text dissimilarity and long text benefit MIA performance, (5) Differentiable or not is reflected in the LLM embedding, (6) Member and non-members show different decoding dynamics.
