Introduction
Generating synthetic text with Differential Privacy (DP) is a promising avenue for sharing sensitive data in domains like healthcare, law, and finance. However, current evaluation methods are often insufficient, relying on simple datasets and inconsistent metrics. This paper introduces SynBench, a standardized benchmark comprising nine domain-specific datasets, to rigorously evaluate state-of-the-art DP text generation methods. The findings reveal that while DP text generation shows potential, it faces significant challenges in complex domains and is heavily influenced by "pre-training contamination."
The SynBench Framework
SynBench addresses the limitations of previous evaluations by focusing on three critical axes: Utility (the effectiveness of synthetic data for training downstream classifiers), Fidelity (the structural and semantic alignment between synthetic and real text), and Privacy (resistance to empirical data extraction attacks).
Domain-Specific Datasets
The benchmark includes nine curated datasets characterized by technical jargon and long contexts:
- Healthcare: HoC (cancer hallmarks), N2C2'08 (obesity/co-morbidity), PsyTAR (adverse drug effects), and MIMIC (discharge summaries).
- Finance: DMSAFN, LC37FND, and ZsTfNS (financial news and social media).
- Legal: AsyLax (legal reasoning) and EurLex (EU legislation).
Methodology: DP-Gen vs. AUG-PE
The authors evaluated two primary DP paradigms using Llama-3 models (1B, 3B, and 8B):
- DP Training (DP-Gen): Fine-tuning models using DP-SGD, which incorporates gradient clipping and noise addition during the training process.
- DP Inference (AUG-PE): An iterative approach that evolves random text toward the private data distribution by privatizing the fitness function rather than the model weights.
To empirically test privacy, a black-box Membership Inference Attack (MIA) was developed. This attack targets outlier samples—the most vulnerable data points—by training n-gram models on synthetic text to predict if a target record was part of the private training set.
The Impact of Pre-training Contamination
A major contribution of this work is identifying the "Pre-training Contamination Illusion." Many datasets used to test private systems were likely included in the massive public corpora used to pre-train modern LLMs. If a model has already memorized the data, evaluating its ability to generate it under DP constraints provides an inflated sense of utility and privacy.
As shown in the figure above, there is a strong positive correlation between the degree of pre-training leakage (using RedPajama as a proxy) and the resulting utility and fidelity of the synthetic data. This suggests that models are often regurgitating memorized data rather than learning to generate it privately from scratch.
Key Findings and Performance Trade-offs
Utility and Fidelity
Even without privacy constraints ($\epsilon = \infty$), synthetic data rarely matches the performance of real data. Under practical DP constraints ($\epsilon \le 4$), utility improvements over naive baselines are capped, and semantic fidelity (measured by MAUVE scores) often plummets to near zero.
Privacy Violations
Empirical testing revealed that mathematical DP guarantees do not always hold in practice. For the AUG-PE method, empirical privacy leakage measured via MIA exceeded theoretical bounds on certain datasets. This highlights the danger of blindly trusting formal guarantees when pre-training contamination is present.
Adapter-Based Fine-Tuning
For datasets that diverge significantly from the LLM's pre-training corpus, adapter-based fine-tuning (LoRA) outperformed full fine-tuning. LoRA appears to maintain a better noise-to-signal ratio under strict DP constraints by introducing less noise into the learning process.
Conclusion
SynBench demonstrates that generating high-quality, domain-specific synthetic data under DP constraints remains an unsolved challenge. The field must move beyond mathematical abstractions and prioritize empirical privacy auditing. Future research should focus on recovering fidelity through post-processing and addressing the fundamental conflict between large-scale pre-training and formal privacy guarantees.
Summary updated