Exploring The Empirical Privacy Landscape of Synthetic Data

Zihao Zhao, Avi Schwarzschild, Casey Meehan, Katherine Lee, Zhili Feng, Dylan SamarXiv 2026

TL;DR

This paper provides a controlled comparison of different strategies for protecting privacy when fine-tuning large language models (LLMs) on sensitive data. The authors demonstrate that "privacy-aware rewriting"—using a capable model to replace distinctive details with plausible fictional alternatives—offers a superior trade-off between model performance and empirical privacy compared to traditional methods like DP-SGD or simple PII scrubbing.

What Problem Does This Paper Address?

Fine-tuning LLMs on sensitive datasets, such as medical records, is essential for domain-specific performance but carries a significant risk: models can memorize and later leak private information.

Existing solutions generally fall into two camps: data-level (modifying the training data, e.g., PII scrubbing) and training-level (modifying the optimization, e.g., DP-SGD). While DP-SGD provides formal mathematical guarantees, it often severely degrades the model's "capabilities" (utility). Conversely, PII scrubbing often fails to catch "contextual identifiers"—details that aren't names or SSNs but are unique enough to identify a patient. The authors set out to systematically compare these methods in a controlled environment to find the most effective way to navigate the capability-privacy trade-off.

Methods

The researchers evaluated several interventions:

  • Baselines: No fine-tuning and direct fine-tuning (no privacy protection).
  • PII Scrubbing: Using a standard filter to replace names, addresses, and IDs with placeholders.
  • DP-SGD: A training-level method that adds noise to gradients to provide formal differential privacy.
  • Goldfish: A training-level method that masks certain tokens from the loss function to prevent verbatim memorization.
  • Rewriting: Using an LLM to paraphrase records while keeping clinical facts.
  • Privacy-aware Rewriting: A novel data-level approach where the rewriter is specifically instructed to identify and replace "rare, distinctive, or unusual" details with plausible fakes while keeping common clinical information intact.

To measure privacy leakage, they used canaries: 100 unique, fabricated medical records containing "planted secrets" (synthetic medication names). They then measured how easily the fine-tuned model could be "tricked" into revealing these secrets using verbatim and semantic probes.

Datasets

The study used Synthea, a tool that generates realistic but entirely synthetic patient records. This choice was crucial for a "controlled" study: because the data is synthetic and newly generated, the authors could be certain that any "memorization" observed was due to their fine-tuning process, not prior exposure during the model's original pre-training. They used a corpus of 5,000 training records and 2,340 canary instances.

Key Insights and Ideas

  • The "Sweet Spot" of Rewriting: Privacy-aware rewriting consistently outperformed other methods in balancing utility and privacy. As shown in Figure 1, it moves models toward the "top-right" of the trade-off graph—higher capability and higher privacy.
  • PII Scrubbing is Insufficient: Standard scrubbing performed poorly against canaries. Because the "secrets" (fake medications) weren't standard identifiers, the scrubbers ignored them, allowing the model to memorize them easily.
  • Capability Scales Privacy: Using more powerful models (like GPT-5.5) for the rewriting step led to better privacy protection. Stronger models are better at identifying what makes a record "unique" and replacing those specific details effectively.
  • LLM Judges vs. Empirical Reality: The authors found that while an LLM "judge" can accurately predict privacy risks by looking at rewritten data, it is a poor predictor of how "capable" the resulting fine-tuned model will actually be.
Figure 1: Experimental framework and privacy–capability trade-off. Left: Experimental frame- work. Right: Results for finetuning gpt-oss-20b, with each axis averaging ranks across two privacy and two capability metrics. Higher ranks indicate less privacy leakage and greater capabilities. Ar- rows connect rewriting to privacy-aware rewriting, which improves both privacy and capability.

Key Results

  • Direct Fine-tuning achieved the highest capability but the worst privacy leakage.
  • DP-SGD provided strong privacy but at a "substantial cost" to model capabilities, often ranking lowest in utility.
  • Privacy-aware Rewriting improved both privacy and capability compared to naive paraphrasing. For example, in the gpt-oss-20b model, privacy-aware rewriting using GPT-5.5 achieved a much higher privacy rank than standard rewriting while maintaining similar utility.
  • Duplication Resistance: As shown in Figure 2, methods like DP-SGD and privacy-aware rewriting remained resistant to privacy leakage even when sensitive "canary" records were repeated 64 times in the training set, whereas direct fine-tuning leaked information almost immediately.
Figure 2: Canary privacy leakage across levels of duplication. Higher values indicate less privacy leakage, and error bars show 95% confidence intervals over 20 canaries per group.

Limitations and Future Work

The authors acknowledge several key limitations:

  1. No Formal Guarantees: Unlike DP-SGD, rewriting methods provide empirical privacy rather than mathematical proofs. They protect against what we can measure, but might leave unknown side channels open.
  2. Computational Cost: Rewriting every record in a massive dataset requires significant inference-time compute before training even begins.
  3. Domain Specificity: The results are based on medical records. While promising, it's unclear if "privacy-aware rewriting" would be as effective for other sensitive data types, like legal documents or private chat logs.

Future work could explore combining these methods—for example, applying DP-SGD on top of rewritten synthetic data—to see if it's possible to get the "best of both worlds": formal guarantees and high utility.

Summary updated

BibTeX
@misc{zhao2026exploring,
  author = {Zihao Zhao and Avi Schwarzschild and Casey Meehan and Katherine Lee and Zhili Feng and Dylan Sam},
  title = {{Exploring The Empirical Privacy Landscape of Synthetic Data}},
  year = {2026},
  eprint = {2610.22659},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.22659},
}
Figure