[Paper Review] Beyond Memorization: Violating Privacy Via Inference with Large Language Models
The paper demonstrates that pretrained LLMs can infer a wide range of personal attributes from text at inference time with high accuracy, at much lower cost and time than humans, and that current anonymization and alignment defenses are ineffective against such inferences.
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\%$ top-1 and $95\%$ top-3 accuracy at a fraction of the cost ($100 imes$) and time ($240 imes$) 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.
Motivation & Objective
- Formalize privacy threats from LLM inferences beyond memorization.
- Evaluate LLMs’ ability to infer diverse personal attributes from real-world texts.
- Assess effectiveness of anonymization and model alignment as privacy mitigations.
- Explore adversarial chatbots that extract private information.
- Release synthetic data and tooling to support reproducibility.
Proposed method
- Define adversaries A1 (free-text inference) and A2 (adversarial interaction) with pre-trained LLM M.
- Construct PersonalReddit dataset with 520 profiles and 5814 comments annotated for 8 attributes.
- Use fixed prompt templates to elicit attribute inferences from 9 state-of-the-art LLMs (e.g., GPT-4, Claude, Llama 2).
- Evaluate top-1 and top-3 attribute prediction accuracy on real data and under anonymization.
- Simulate privacy-invasive chatbots to test adversarial interaction feasibility.
- Analyze effectiveness of Azure-based anonymizers and provider alignments on privacy leakage.
Experimental results
Research questions
- RQ1 Can pretrained LLMs infer a broad set of personal attributes from unstructured text at inference time?
- RQ2 How do model size and family affect attribute inference accuracy?
- RQ3 Are current text anonymization tools effective against LLM-based inferences?
- RQ4 Do model alignment and provider policies mitigate privacy-invasive prompts?
- RQ5 Can adversarial chatbots meaningfully extract private information from users?
Key findings
- GPT-4 achieves 85.5% top-1 accuracy and 95.2% top-3 accuracy across attributes on PersonalReddit.
- Location inference reaches about 86% accuracy; gender and place of birth exceed 90%.
- Across 9 LLMs, inference performance scales with model size, approaching near-human performance at lower cost.
- Anonymization reduces accuracy but is substantially imperfect, with notable leakage remaining (e.g., location accuracy drops but remains around 55% after anonymization).
- Privacy-invasive chatbots can steer conversations to elicit private information, achieving 59.2% top-1 accuracy across attributes in simulated interactions.
- Current provider alignment yields limited refusals of privacy-invasive prompts (e.g., 0–10.7% of prompts refused, depending on provider).
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.