Exploring the empirical privacy landscape of synthetic dataExploring The Empirical Privacy Landscape of Synthetic Data
The authors compare data-level and training-level privacy methods on synthetic medical records, and the authors state that privacy-aware rewriting achieves a more balanced privacy-capability trade-off.
Models are fine-tuned on 5,000 synthetic medical records containing 2,340 canaries, and privacy leakage is measured by the degree to which fictional drug names implanted in the canaries are memorized; data-level methods (PII scrubbing, rewriting, privacy-aware rewriting) are compared with training-level methods (DP-SGD, Goldfish); rewriting methods do not provide formal differential privacy guarantees, and their privacy effect is evaluated empirically.
- When fine-tuning language models on sensitive data, privacy protection and model capability often trade off against each other, and data-level and training-level privacy methods had not previously been systematically compared along both dimensions in a controlled setting.
- Generate 5,000 synthetic medical records with Synthea and implant 2,340 canaries containing fabricated drug names, compare direct fine-tuning, PII scrubbing, DP-SGD, Goldfish, rewriting and privacy-aware rewriting under the same fine-tuning setting, and evaluate with two types of privacy perplexity and two types of capability perplexity.
- The authors report: direct fine-tuning has the highest capability but leaks the most; DP-SGD leaks the least but has a large capability cost; privacy-aware rewriting has a more balanced trade-off, with GPT-5.5 privacy-aware rewriting at mean exposure 2.21 bits (Qwen target, Table 3), versus 12.22 bits for direct fine-tuning.
- The authors point out that rewriting methods do not provide formal differential privacy guarantees (Section 2), and rewriting requires additional generation computation (Section 4). The experiments cover 2 open-source target models and a single synthetic medical domain, with 20 canaries per group.
- Evaluated models
- Qwen3.5-4B-Basegpt-oss-20b
- Benchmarks
- Synthea 合成医疗记录语料(5,000 条训练记录 + 2,340 条 canary)
- Metrics
- verbatim perplexitysemantic perplexityheld-out record perplexitymedication perplexityexposure(Secret-Sharer)生成虚构药名的概率
Researchers conducted controlled experiments with canary probes on synthetic medical records, comparing data-level and training-level interventions in the trade-off between language model capability and privacy leakage. Direct fine-tuning performed best on capability metrics but leaked the most privacy, while DP-SGD reduced leakage but with a significant capability loss. Generating synthetic data from these records brought a more favorable balance, especially when private details were replaced under uniqueness-focused instructions; compared with naive rewriting, privacy-aware rewriting improved privacy protection across multiple rewriting models. The authors also found that more capable rewriting models generally reduced downstream privacy leakage risk, but held-out fit did not improve monotonically, and the gains from increased test-time compute were inconsistent.
Paper analysis
What problem does this paper attempt to solve?
When fine-tuning on sensitive data, data-level and training-level privacy methods lack a controlled systematic comparison along both the privacy and capability dimensions.
Core question: when fine-tuning language models on sensitive data, how can a better trade-off between model capability and privacy leakage be achieved, given that various privacy methods lack systematic comparison under the same controlled setting.
- Scenario and importance: adapting language models to high-risk domains such as healthcare requires large amounts of sensitive records, and direct training may cause the model to memorize and leak sensitive information at inference time (such as identifiable health data).
- Shortcomings of existing methods: the authors state that existing work usually evaluates only a single privacy method, or focuses on only one dimension of privacy or utility, and data-level and training-level methods have not been systematically compared under a controlled setting on both capability and privacy leakage.
- Core approach of the paper: use Synthea to generate 5,000 synthetic medical records as a controlled proxy for a private corpus, and implant 2,340 canaries containing fabricated drug names; the authors consider the newly generated dataset to have no overlap with pretraining data, so leakage can be attributed to the data introduced by the experiment.
- What the paper proposes: a controlled comparison framework that measures privacy and capability for six settings (no fine-tuning, direct fine-tuning, PII scrubbing, DP-SGD, Goldfish, rewriting, privacy-aware rewriting) under the same fine-tuning protocol, and provides ablations on rewriting model scale, inference compute, and rewriting strategy.
- Threat model:
- Goal: measure the degree to which the fine-tuned model memorizes secrets implanted in the training corpus (fabricated drug names), as a privacy leakage probe.
- Knowledge/capability: the evaluator probes the model in two ways: prefix completion (verbatim probe) and questions about fictitious patients (semantic probe).
- Victim system: open-weight models fine-tuned with LoRA on the corpus containing canaries (Qwen3.5-4B-Base, gpt-oss-20b).
- Guarantee nature: the authors explicitly state that one-to-one rewriting methods do not provide formal differential privacy guarantees, and their privacy effect is empirically evaluated.
What related research exists?
Related work covers three categories: language model memorization and extraction attacks, de-identification and anonymization, and differential privacy training and Goldfish.
Memorization in language models
- Carlini et al. (2019) proposed inserting canaries into training data and measuring the degree to which they are extracted; subsequent attacks by Carlini et al. (2021) showed that language models can verbatim reproduce training samples, including personally identifiable information.
- Mireshghallah et al. (2022) analyzed differences in membership inference and extraction attacks under full-model, output-head, and adapter fine-tuning; Carlini et al. (2022) and Lee et al. (2022) found that memorization increases with model capacity and sample repetition.
- Kandpal et al. (2022) found that samples with higher training frequency are more easily reproduced and that deduplication can reduce extraction risk; Shilov et al. (2026) state that near-duplicates can also induce memorization; Ippolito et al. (2023) state that preventing verbatim reproduction does not mean the information cannot be recovered; Sander et al. (2026) state that the degree of verbatim memorization does not necessarily predict extractability under natural-language queries.
De-identification and anonymization
- The de-identification method of Norgeot et al. (2020) detects and removes predefined categories of protected health information; Carrell et al. (2013) replaces identifiers with realistic fictional surrogate values to preserve text structure.
- Lukas et al. (2023) state that these methods can reduce but not necessarily eliminate leakage from fine-tuned models; Staab et al. (2024) state that even without direct identifiers, personal attributes may be inferred from contextual cues; the LLM anonymization method of Staab et al. (2025) replaces details according to re-identification risk. The paper states that its comparison of PII scrubbing and privacy-aware rewriting reflects the distinction between "deletion" and "removing contextually unique information".
Privacy-preserving training and synthetic data
- DP-SGD (Abadi et al., 2016) limits the influence of individual samples through per-sample gradient clipping, calibrated noise, and privacy accounting; Yu et al. (2021) adapted differential privacy to parameter-efficient fine-tuning; Yue et al. (2023) and Xie et al. (2024) applied differential privacy to synthetic text generation.
- Meeus et al. (2025) state that synthetic or rewritten text is not inherently private, and membership information can still be detected in generated corpora; Goldfish (Hans et al., 2024) masks some next-token targets from the training loss to reduce verbatim memorization.
Baselines and benchmarks: the six settings compared in the paper are no fine-tuning, direct fine-tuning, PII scrubbing (OpenAI Privacy Filter), DP-SGD, Goldfish, rewriting, and privacy-aware rewriting; the data are synthetic medical records generated by Synthea plus canaries.
Positioning of this paper: the authors state that, unlike work that mainly focuses on releasing synthetic datasets, this paper directly compares preprocessing and training defenses, measuring both privacy leakage and capability on the fine-tuned model.
How does the paper address this problem?
Under a unified fine-tuning protocol on a synthetic medical corpus containing canaries, compare six settings using two types of privacy perplexity and two types of capability perplexity.
Overall approach: build a synthetic medical corpus that does not overlap with pretraining data and implant canaries, compare data-level and training-level privacy methods under the same LoRA fine-tuning protocol, and characterize the trade-off along two dimensions: privacy leakage and model capability (Figure 1).
Data and Canary Construction
- Corpus: generate synthetic patient records with Synthea, containing demographics and identifiers (name, address, SSN, date of birth) as well as current problems and medications; 5,000 records are used for training, plus a disjoint held-out evaluation set.
- Canaries: construct 100 canaries in the same format and length as training records, each sampling demographics, address, problems and medications from a single non-canary record, assigning a fictitious identity, and appending a newly fabricated fictitious drug name as the implanted secret.
- Repetition groups: canaries are split evenly into five groups and inserted at repetition levels ×1, ×4, ×16, ×32, ×64, for a total of 5,000 + 2,340 = 7,340 training instances.
Six Experimental Settings
- No fine-tuning / direct fine-tuning: a reference that does not touch the corpus, and direct fine-tuning without privacy processing.
- PII scrubbing: replace detected identifiers (names, phone numbers, emails, private addresses) with placeholders using OpenAI Privacy Filter, then fine-tune.
- DP-SGD: train only the LoRA adapter, per-sample gradient clipping C = 1, Gaussian noise calibrated to δ = 10⁻⁵, Poisson sampling with expected lot size 512; the main comparison uses ε = 8, and additional runs use ε ∈ {16, 32, 64}.
- Goldfish: a deterministic, context-dependent mask excludes about 1/k of eligible tokens from the loss, k = 4; masked tokens remain visible in context.
- Rewriting / privacy-aware rewriting: a language model rewrites each training record (including each canary copy) before fine-tuning; the privacy-aware version adds uniqueness-aware instructions requiring rare details that could identify a specific patient to be replaced with plausible fictitious values while preserving common clinical information (instructions in Table 1).
Models and Training Configuration
- Target models: Qwen3.5-4B-Base and gpt-oss-20b, chosen because of their different model families and scales.
- Fine-tuning: LoRA for two epochs, rank r = 16, α = 32, zero dropout, all supported linear layers; AdamW, learning rate 2 × 10⁻⁴, batch size 4, maximum sequence length 1,024 tokens, bfloat16, random seed 0; Qwen uses causal language modeling, gpt-oss uses its native chat format.
Evaluation Metrics
- Privacy: verbatim perplexity measures the perplexity of the fabricated drug name on the canary prefix (truncated to before the implanted drug name); semantic perplexity uses a question about the fictitious patient (the drug name is the only correct answer) to measure the same drug name. Lower values mean more leakage.
- Capability: held-out record perplexity measures complete unseen records; medication perplexity predicts the last drug name from the context of a test record. Lower values mean better capability.
- Supplementary metrics: the appendix reports Secret-Sharer exposure (the rank of the implanted drug name among 6,301 candidates, E = log2(6,301) − log2 r, meaning: the higher the rank, the higher the exposure) and the probability of generating the fabricated drug name.
What experiments did the paper conduct?
Six settings are compared on two target models, with additional experiments on canary repetition, rewriting model scale and inference compute, and LLM-judge correlation.
Experimental Setup
- Target models: Qwen3.5-4B-Base and gpt-oss-20b (both open-weight, LoRA fine-tuning).
- Data: 5,000 Synthea synthetic medical records for training + 2,340 canary records (100 unique canaries repeated at ×1–×64), plus a held-out set.
- Baselines/methods: no fine-tuning, direct fine-tuning, PII scrubbing, DP-SGD (mainly ε = 8, also 16/32/64), Goldfish (k=4), rewriting and privacy-aware rewriting (rewriting models include GPT-5.5, Qwen3.5-4B, etc.).
- Metrics: verbatim and semantic perplexity (privacy, lower means more leakage), held-out record and medication perplexity (capability, lower is better); the appendix additionally reports exposure and drug-name generation probability.
- Judging method: data-level evaluation uses GPT-5.6-sol (xhigh reasoning) to score privacy and quality pairwise on original records and rewrites (1–10), limited to GPT-series rewriting models.
- Sample size and repetition: 20 canaries per group, error bars are 95% confidence intervals; training uses fixed seed 0, and the paper does not report multiple repetitions.
Main Results
Main results are presented as privacy–capability ranking scatter plots in Figure 1 and Figure 8 (each axis is the average rank of two privacy/two capability metrics); the paper does not give a numerical table for the main results; the checkable quantitative results are the exposure in Table 3 (mean exposure in bits, Rank 1 is the proportion of canaries where the implanted drug name ranks first):
Swipe horizontally to read the table
Method Qwen exposure Qwen Rank 1 gpt-oss exposure gpt-oss Rank 1 No fine-tuning 1.49 0% 1.39 0% Direct fine-tuning 12.22 86% 10.98 73% Goldfish (k=4) 10.38 53% 8.90 37% DP-SGD (ε=8) 1.74 0% 1.56 0% PII scrubbing 12.16 87% 10.76 68% Rewriting (GPT-5.5) 6.86 12% 4.46 4% Privacy-aware rewriting (GPT-5.5) 2.21 5% 1.71 1% Rewriting (Qwen3.5-4B) 7.85 30% 4.91 7% Privacy-aware rewriting (Qwen3.5-4B) 6.94 24% 4.03 6% According to Table 3. The expected mean exposure of uniform random ranking is about 1.44 bits.
- The authors state that methods overall show a downward trend of stronger privacy and lower capability: direct fine-tuning has the highest capability but second-to-last privacy rank (gpt-oss-20b), and no fine-tuning has the highest privacy and lowest capability (Figure 1, Figure 8).
- The authors state that PII scrubbing has a poor privacy rank, and non-identifier information such as fabricated drug names is not masked; in Figure 1 PII scrubbing ranks below direct fine-tuning, and the authors offer one possible explanation: standardized placeholders reduce surface-form variation, making the remaining content easier to learn, and state that this is not a consistent pattern.
- The authors state that Goldfish has a high capability rank but poor privacy, and its token-masking objective is insufficient to protect canaries in this setting; on both target models, privacy-aware rewriting outperforms ordinary rewriting with the same model.
Canary Repetition Experiment
- What was measured: five groups of 20 canaries each inserted at ×1–×64, measuring verbatim and semantic perplexity at each repetition level (Figure 2, Figure 11) and drug-name generation probability (Figure 22).
- Results: the authors report that PII scrubbing largely follows direct fine-tuning, with low perplexity at high repetition; DP-SGD and GPT-5.5 privacy-aware rewriting maintain high perplexity at high repetition. Appendix A.10: after direct fine-tuning of Qwen, drug names seen once are generated 16% of the time, and those seen 64 times 99%; PII scrubbing is 7% to 94%; Goldfish plateaus at 30–40%; gpt-oss-20b direct fine-tuning is about 1/37,000 for seen once, rising to 69% at ×64; GPT-5.5 rewriting is between 10⁻⁹ and 10⁻³; DP-SGD is at the no-fine-tuning floor (below 10⁻¹¹) at all repetition levels.
- Authors' interpretation: repeated exposure generally increases leakage; Goldfish is less sensitive to repetition, which the authors state is consistent with its deterministic masking (identical copies get identical masks, and repetition does not increase training signal for excluded tokens). The authors also caution that the repetition groups are different canaries, so cross-group differences reflect both repetition and the intrinsic difficulty of the canary.
Rewriting Model Scale, Inference Compute and Strategy
- Rewriting model scale: Figure 3 shows that for each rewriting model, adding privacy-aware instructions improves the privacy rank, and in most cases improves capability; GPT-5.5 has the highest privacy rank on both target-model panels. Figure 4 (gpt-oss-20b as target) shows that privacy protection improves continuously from GPT-5.1 to GPT-5.5, while capability is non-monotonic (broadly rising from GPT-5.1 to GPT-5.4).
- Inference compute: the right panel of Figure 4 shows that increasing reasoning effort does not monotonically improve either rank, and the best setting depends on the target model; the authors state that enabling reasoning is generally more favorable than no reasoning.
- Abstractive rewriting: the summarize-then-expand variant has similar or lower capability than privacy-aware rewriting, and the privacy effect varies by model (Figure 5); the authors state that it does not bring a consistent trade-off improvement.
- Independent rewrites vs repeated training: the radar chart of one rewrite trained for 5 epochs versus five independent rewrites each trained for 1 epoch largely overlaps (Figure 6), with one rewrite for 5 epochs slightly better; the authors state that independent rewrites bring no advantage despite higher generation cost.
Correlation Between Data-Level LLM Judging and Downstream Metrics
- What was measured: GPT-5.6-sol scores rewritten corpora for privacy and quality, and Spearman correlation is computed with measured metrics after fine-tuning (Figure 7, target model Qwen3.5-4B-Base).
- Results: judge privacy score correlates with verbatim perplexity at ρ = 0.89; judge quality score correlates with capability at ρ = −0.64. With gpt-oss-20b as target, these are ρ = +0.96 and ρ = −0.85 respectively (Figure 18).
- Authors' interpretation: LLM judging can serve as an auxiliary signal of privacy risk, but cannot replace direct capability evaluation of the fine-tuned model.
Other Ablations and Analyses
- Privacy metric correlation: verbatim and semantic perplexity correlate 0.84 (Qwen) / 0.85 (gpt-oss); when verbatim perplexity is below 100, this drops to 0.39 / 0.05 (Appendix A.8).
- Capability metric correlation: held-out and medication perplexity correlate 0.60 (Qwen) / 0.81 (gpt-oss) (Appendix A.9).
- Case study: the processed text and leakage of Canary-0091 (×64) under each method are shown in Table 5; the authors selected it as a representative canary (its perplexity on each metric is closest to the median).
What are some points that can be further explored?
The authors point out that rewriting has no formal privacy guarantee and incurs additional preprocessing cost; the experiments are limited to two open-source models and a single synthetic medical domain.
Limitations and Future Directions Noted by the Authors
- One-to-one rewriting methods do not provide formal differential privacy guarantees, and their privacy effect is empirically evaluated (Section 2).
- Rewriting-based methods require additional computation, since each training record must first pass through a generative model, and the privacy and capability benefits must be considered together with this preprocessing cost (Section 4).
- The authors state that the evaluation framework in this paper can be used to compare future models and methods (Abstract, Section 1).
- The paper has no dedicated Limitations section; the above are the methodological boundaries explicitly stated in the main text.
Scope of Experimental Coverage
- The target models tested are Qwen3.5-4B-Base and gpt-oss-20b, 2 in total, both open-weight, LoRA fine-tuned (Section 3.3).
- The data are a single domain of Synthea-generated synthetic medical records, 5,000 training records plus 100 unique canaries (Section 3.1).
- Privacy probes are prefix completion and questioning, two kinds; the canary repetition experiment uses 20 per group, with error bars as 95% confidence intervals (Section 3.4, Figure 2).
- The data-level LLM judging analysis covers only GPT-series rewriting models, with GPT-5.6-sol as the judge model (Section 4.3).
- The paper does not report multiple repetitions of training and evaluation (only fixed random seed 0), nor does it report specific time or cost figures for rewrite generation.
Summarize the main content of the paper
The controlled comparison shows that privacy-aware rewriting has the most balanced privacy-capability trade-off; stronger rewriting models generally protect privacy better, but capability is not monotonic.
A controlled comparison study of the privacy-capability trade-off in fine-tuning on sensitive data. The authors use Synthea to generate 5,000 synthetic medical records and implant 2,340 canaries containing fictional drug names, compare six settings under the same LoRA fine-tuning protocol, and evaluate along two dimensions: privacy leakage and model capability.
- Problem: data-level and training-level privacy methods had not previously been systematically compared along both the capability and privacy dimensions in a controlled setting.
- Method: compare no fine-tuning, direct fine-tuning, PII scrubbing, DP-SGD, Goldfish, rewriting, and privacy-aware rewriting; privacy is measured by verbatim and semantic perplexity, and capability is measured by held-out record and medication perplexity.
- Main results: the authors report that direct fine-tuning has the highest capability but leaks the most (Qwen target mean exposure 12.22 bits, 86% of canaries ranked first, Table 3); DP-SGD leaks the least (1.74 bits, no canaries ranked first) but has a large capability cost; PII scrubbing barely protects non-identifier secrets (12.16 bits).
- Rewriting: privacy-aware rewriting achieves the most balanced trade-off, with GPT-5.5 privacy-aware rewriting reducing exposure to 2.21 bits (Qwen target); the authors state that stronger rewriting models generally protect privacy better, but capability does not improve monotonically, and the gains from increasing inference compute are inconsistent.
- Other findings: repeated exposure generally increases leakage; at ×64, the drug-name generation probability after Qwen direct fine-tuning reaches 99%, while DP-SGD and GPT-5.5 privacy-aware rewriting remain near the floor under high repetition; training 1 epoch on five independent rewrites is not better than training 5 epochs on one rewrite.
- Authors' conclusion: privacy-aware rewriting is a promising direction for balancing privacy and capability; the LLM judge's privacy score correlates with measured leakage (ρ = 0.89), but the quality score cannot predict capability (ρ = −0.64), and data-level metrics cannot replace downstream evaluation.