atlas

Research map / Large language models / Language, safety and interpretability

Privacy Auditing of Large Language Models

ICLR 2025 · Large language models › Language, safety and interpretability · approach: LLM unlearning and benchmarks

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Designs canaries (notably new-token and unigram/bigram-based canaries) that are far easier to memorize, yielding much stronger loss-based membership inference on LLMs and the first nontrivial black-box single-run DP audit of an LLM (empirical epsilon about 1 at theoretical epsilon 4).

Problem

Existing privacy audits of LLMs use random canaries that yield weak membership inference, so they give loose empirical lower bounds on privacy leakage and can underestimate memorization and DP training leakage.

Approach

Craft input-space canaries whose secret tokens are highly unlikely under the training data or model (new never-seen tokens, least-frequent unigrams, unlikely bigrams, model-based low-likelihood tokens), with random OOD prefixes, so a simple loss-threshold attack separates members from non-members much better than random canaries.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
replace random canaries with new token canariesGPT2-small DP audit · LoRA-E2Eaudited ε (95% CI): 0.13 -> 1.24Helped
replace random canaries with new token canariesGPT2-small DP audit · FFT-E2Eaudited ε (95% CI): 0.13 -> 1.04Helped
replace new token canaries with bigram canariesGPT2-small DP audit · FFT-PersonaChataudited ε (95% CI): 0.84 -> 1.29Helped
replace prior canaries with designed canariesQwen2.5-0.5B membership inference · Qwen2.5-0.5BTPR at 1% FPR: 4.2% -> 49.6%Helped
increase canary length from 1 to 8 tokens (ablation)unigram and random canaries · canary length ablationTPR at 1% FPRHelped
replace SFT loss with NWP full-sequence loss (ablation)membership inference · PersonaChatTPR at 1% FPRHurt
increase learning rate from 2e-5 to 5e-5 (ablation)Llama3.2-1B with new token canaries · PersonaChatTPR at 1% FPR: 28.2% -> 54.6%Helped
increase subsampling rate from q=0.01 to q=0.1 (ablation)GPT2-small DP audit · DP auditaudited ε (95% CI): 0.43 -> 0.84Helped
increase training steps from T=10 to T=100 (ablation)GPT2-small DP audit · DP auditaudited ε (95% CI): 0 -> 0.91Helped
use random token prefixes rather than test-data prefixes (ablation)GPT2-small DP audit · DP auditaudited ε (95% CI): 0.63 -> 0.84Helped
use SFT loss over target tokens rather than NWP full-sequence loss (ablation)GPT2-small DP audit · DP auditaudited ε (95% CI): 0.0 -> 0.84Helped
vary LoRA rank from 4 to 512 (ablation)LoRA fine-tuning · LoRA auditAUC: 0.753 -> 0.774No clear effect

Surprising findings

Limitations

Experimental setup

Datasets: PersonaChat E2E

Benchmarks: PersonaChat E2E

Metrics: TPR at 1% FPR empirical epsilon lower bound (95% and 99% CI) perplexity AUC

Baselines: random canary unigram canary bigram canary model-based canary

Builds on: DP-SGD one-run privacy auditing (Steinke et al.) loss-threshold membership inference random canaries

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy