Lune

ICLR2024Top-tier venue

Beyond Memorization: Violating Privacy via Inference with Large Language Models

Robin Staab, Mark Vero, Mislav Balunovic, Martin T. Vechev

Abstract

Current privacy research on large language models (LLMs) primarily focuses on the issue of extracting memorized training data. At the same time, models' inference capabilities have increased drastically. This raises the key question of whether current LLMs could violate individuals' privacy by inferring personal attributes from text given at inference time. In this work, we present the first comprehensive study on the capabilities of pretrained LLMs to infer personal attributes from text. We construct a dataset consisting of real Reddit profiles, and show that current LLMs can infer a wide range of personal attributes (e.g., location, income, sex), achieving up to 85%85\% top-1 and 95%95\% top-3 accuracy at a fraction of the cost (100×100\times) and time (240×240\times) required by humans. As people increasingly interact with LLM-powered chatbots across all aspects of life, we also explore the emerging threat of privacy-invasive chatbots trying to extract personal information through seemingly benign questions. Finally, we show that common mitigations, i.e., text anonymization and model alignment, are currently ineffective at protecting user privacy against LLM inference. Our findings highlight that current LLMs can infer personal data at a previously unattainable scale. In the absence of working defenses, we advocate for a broader discussion around LLM privacy implications beyond memorization, striving for a wider privacy protection.

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.

67 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Large Language Model Unlearning via Embedding-Corrupted Prompts cites ProPILE: Probing Privacy Leakage in Large Language Models
  • Large Language Model Unlearning via Embedding-Corrupted Prompts cites Analyzing Leakage of Personally Identifiable Information in Language Models
  • Quantifying Memorization Across Neural Language Models cites The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networks
  • ProPILE: Probing Privacy Leakage in Large Language Models cites Quantifying Memorization Across Neural Language Models
  • ProPILE: Probing Privacy Leakage in Large Language Models cites Analyzing Leakage of Personally Identifiable Information in Language Models
  • Private Attribute Inference from Images with Vision-Language Models cites Quantifying Memorization Across Neural Language Models
  • Private Attribute Inference from Images with Vision-Language Models cites ProPILE: Probing Privacy Leakage in Large Language Models
  • Private Attribute Inference from Images with Vision-Language Models cites Analyzing Leakage of Personally Identifiable Information in Language Models
  • LLM-PBE: Assessing Data Privacy in Large Language Models cites Quantifying Memorization Across Neural Language Models
  • LLM-PBE: Assessing Data Privacy in Large Language Models cites The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networks
  • LLM-PBE: Assessing Data Privacy in Large Language Models cites Analyzing Leakage of Personally Identifiable Information in Language Models
  • Analyzing Leakage of Personally Identifiable Information in Language Models cites Quantifying Memorization Across Neural Language Models
  • Analyzing Leakage of Personally Identifiable Information in Language Models cites The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networks
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers67

  1. Titans: Learning to Memorize at Test TimeAli Behrouz, Peilin Zhong, Vahab MirrokniNeurIPS 2025 · 368 citations
  2. Large Language Model Unlearning via Embedding-Corrupted PromptsChris Yuhao Liu, Yaxuan Wang, Jeffrey Flanigan, Yang LiuNeurIPS 2024 · 138 citations
  3. LLM-PBE: Assessing Data Privacy in Large Language ModelsQinbin Li, Junyuan Hong, Chulin Xie, Jeffrey Tan et al.VLDB 2024 · 66 citations
  4. Private Attribute Inference from Images with Vision-Language ModelsBatuhan Tömekçe, Mark Vero, Robin Staab, Martin T. VechevNeurIPS 2024 · 54 citations
  5. Protecting Your LLMs with Information BottleneckZichuan Liu, Zefan Wang, Linjie Xu, Jinyu Wang et al.NeurIPS 2024 · 43 citations

Builds on5

  1. The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural NetworksNicholas Carlini, Chang Liu, Úlfar Erlingsson, Jernej Kos et al.USENIX Security 2019 · 1,386 citations
  2. Retiring Adult: New Datasets for Fair Machine LearningFrances Ding, Moritz Hardt, John Miller, Ludwig SchmidtNeurIPS 2021 · 671 citations
  3. ProPILE: Probing Privacy Leakage in Large Language ModelsSiwon Kim, Sangdoo Yun, Hwaran Lee, Martin Gubri et al.NeurIPS 2023 · 229 citations
  4. Quantifying Memorization Across Neural Language ModelsNicholas Carlini, Daphne Ippolito, Matthew Jagielski, Katherine Lee et al.ICLR 2023 · 158 citations
  5. Analyzing Leakage of Personally Identifiable Information in Language ModelsNils Lukas, Ahmed Salem, Robert Sim, Shruti Tople et al.S&P 2023

Related papers

  1. Language Models are Advanced AnonymizersRobin Staab, Mark Vero, Mislav Balunovic, Martin T. VechevICLR 2025
  2. Stop Tracking Me! Proactive Defense Against Attribute Inference Attack in LLMsDong Yan, Jian Liang, Ran He, Tieniu TanICLR 2026 · 3 citations
  3. Beyond PII: How Users Attempt to Estimate and Mitigate Implicit LLM InferenceSynthia Qia Wang, Sai Teja Peddinti, Nina Taft, Nick FeamsterCHI 2026 · 1 citation
  4. User Inference Attacks on Large Language ModelsNikhil Kandpal, Krishna Pillutla, Alina Oprea, Peter Kairouz et al.EMNLP 2024 · 14 citations
  5. Private Memorization Editing: Turning Memorization into a Defense to Strengthen Data Privacy in Large Language ModelsElena Sofia Ruzzetti, Giancarlo A. Xompero, Davide Venditti, Fabio Massimo ZanzottoACL 2025 · 9 citations
Dusk over the sea between two cliffs drawn in fine vertical lines