Information-Theoretic Membership Inference for Granular Quantification of Memorization
Abstract
Machine learning models are known to leak sensitive information, as they inevitably memorize (parts of) their training data. This risk is amplified for large language models (LLMs), which are trained on massive corpora and therefore create a more urgent need for privacy assessment prior to release. The standard method to quantify privacy is via membership inference attacks, where the state-of-the-art approach is the Robust Membership Inference Attack (RMIA). In this paper, we introduce InfoRMIA, a principled information-theoretic formulation of membership inference that consistently outperforms RMIA across benchmarks while improving computational efficiency. Moving beyond attack performance alone, we show that treating sequence-level membership inference as the gold standard obscures how memorization manifests in LLMs. To address this limitation, we propose a fine-grained memorization assessment framework based on token-level signals, with InfoRMIA serving as its algorithmic backbone. Our approach identifies which tokens within generated outputs are memorized, localizing privacy leakage from sequences to individual tokens. This framework enables more precise analysis of LLM memorization and potentially targeted mitigation strategies such as exact unlearning.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
Lineage
- What Neural Networks Memorize and Why: Discovering the Long Tail via Influence Estimation cites Membership Inference Attacks Against Machine Learning Models
- Membership Inference Attacks From First Principles cites Membership Inference Attacks Against Machine Learning Models
- Membership Inference Attacks From First Principles cites What Neural Networks Memorize and Why: Discovering the Long Tail via Influence Estimation
- Membership Inference Attacks From First Principles cites Extracting Training Data from Large Language Models
- Detecting Pretraining Data from Large Language Models cites Membership Inference Attacks Against Machine Learning Models
- Detecting Pretraining Data from Large Language Models cites Membership Inference Attacks From First Principles
- Detecting Pretraining Data from Large Language Models cites Extracting Training Data from Large Language Models
- Extracting Training Data from Large Language Models cites Membership Inference Attacks Against Machine Learning Models
- Extracting Training Data from Large Language Models cites What Neural Networks Memorize and Why: Discovering the Long Tail via Influence Estimation
Builds on17
- Membership Inference Attacks Against Machine Learning ModelsReza Shokri, Marco Stronati, Congzheng Song, Vitaly ShmatikovS&P 2017 · 5,137 citations
- Extracting Training Data from Large Language ModelsNicholas Carlini, Florian Tramèr, Eric Wallace, Matthew Jagielski et al.USENIX Security 2021 · 2,866 citations
- Membership Inference Attacks From First PrinciplesNicholas Carlini, Steve Chien, Milad Nasr, Shuang Song et al.S&P 2022 · 1,049 citations
- What Neural Networks Memorize and Why: Discovering the Long Tail via Influence EstimationVitaly Feldman, Chiyuan ZhangNeurIPS 2020 · 674 citations
- Detecting Pretraining Data from Large Language ModelsWeijia Shi, Anirudh Ajith, Mengzhou Xia, Yangsibo Huang et al.ICLR 2024 · 365 citations
Related papers
- Context-Aware Membership Inference Attacks against Pre-trained Large Language ModelsHongyan Chang, Ali Shahin Shamsabadi, Kleomenis Katevas, Hamed Haddadi et al.EMNLP 2025 · 19 citations
- Quantifying Privacy Risks of Masked Language Models Using Membership Inference AttacksFatemehsadat Mireshghallah, Kartik Goyal, Archit Uniyal, Taylor Berg-Kirkpatrick et al.EMNLP 2022 · 72 citations
- Powerful Training-Free Membership Inference Against Fine-Tuned Autoregressive Language ModelsDavid Ilic, David Stanojevic, Kostadin CvejoskiACL 2026
- Membership Inference Attacks on Tokenizers of Large Language ModelsMeng Tong, Yuntao Du, Kejiang Chen, Weiming Zhang et al.USENIX Security 2026
- Decoding Web Memorization: A Semantic Membership Inference Attack on LLMsZhiyao Wu, Zi Liang, Haibo HuWWW 2026
