atlas

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

The Canary’s Echo: Auditing Privacy Risks of LLM-Generated Synthetic Text

ICML 2025 · Large language models › Language, safety and interpretability · approach: Data and hallucination detection

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.

Audits membership inference risk of LLM-generated synthetic text using data-only attacks (n-gram and similarity-based) and proposes canaries with in-distribution prefix and high-perplexity suffix to better expose leakage.

Problem

How much information about fine-tuning records leaks through synthetic text generated by LLMs when the adversary only sees the synthetic data, and how should canaries be designed to audit this risk?

Approach

Data-based membership inference that uses only synthetic samples (via n-gram model fitted on synthetic data or similarity to nearest synthetic records) combined with RMIA scoring, plus canaries with an in-distribution low-perplexity prefix and high-perplexity suffix that leave detectable traces in generated text.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use a 2-gram model trained on synthetic data for membership scoringData-based MIA · SST-2, AG News, and SNLIROC AUC: 0.741; 0.676; 0.770Helped
Use an in-distribution prefix with a high-perplexity suffix (ablation)Data-based MIA canary design · SST-2 and AG NewsROC AUC: SST-2: $0.673$ -> \bm{$0.760$}; AG News: $0.692$ -> \bm{$0.716$}Helped
Increase the in-distribution prefix length from F=0 to F=10 (ablation)Data-based MIA canaries · SST-2ROC AUC: $0.673$ -> $0.715$Helped
Increase the in-distribution prefix length from F=0 to F=10 (ablation)Data-based MIA canaries · AG NewsROC AUC: $0.692$ -> $0.646$Hurt
Use a 2-gram rather than unigram membership signals (ablation)n-gram data-based MIA · SST-2ROC AUC: $0.415$ -> \bm{$0.616$}Helped
Use a 2-gram rather than unigram membership signals (ablation)n-gram data-based MIA · AG NewsROC AUC: $0.603$ -> \bm{$0.644$}Helped
Increase n-gram order beyond 2 (ablation)n-gram data-based MIA · SST-2 and AG NewsROC AUC: SST-2: $0.616$ -> $0.581$ (n=3), $0.530$ (n=4); AG News: $0.644$ -> $0.567$ (n=3), $0.527$ (n=4)Hurt
Use DP-SGD with ε=8 (ablation)Mistral-7B synthetic text generation · SST-2, AG News, and SNLIROC AUC: SST-2: $0.620$ -> $0.48$; AG News: $0.654$ -> $0.52$; SNLI: $0.534$ -> $0.49$Hurt
Increase canary repetitions for the data-based attack relative to the model-based attackData-based versus model-based MIA · SST-2 and AG NewsCanary repetitions to reach comparable vulnerability: 8–16×Hurt
Increase canary perplexity (ablation)Data-based MIA · SST-2 and AG NewsROC AUC: AUC eventually approaches $0.5$Mixed
Increase the amount of synthetic data available (ablation)2-gram data-based MIA · Synthetic data membership inferenceROC AUCHelped
Increase the amount of synthetic data available (ablation)Similarity-based data MIA · Synthetic data membership inferenceROC AUCNo clear effect

Surprising findings

Limitations

Experimental setup

Datasets: SST-2 AG News SNLI

Benchmarks: SST-2 AG News SNLI

Metrics: ROC AUC TPR at low FPR

Baselines: RMIA model-based attack Jaccard similarity attack embedding similarity attack

Builds on: RMIA LoRA DP-SGD Opacus

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