Secret-Protected Evolution for Differentially Private Synthetic Text Generation

Tianze Wang, Zhaoyu Chen, Jian Du, Yingtai Xiao, Linjun Zhang, Qiang Yan

Introduction

Large Language Models (LLMs) thrive on massive datasets, but much of the world’s most valuable text data—such as medical records or private reviews—is locked away due to privacy concerns. While Differential Privacy (DP) is the gold standard for protecting this data, it suffers from a "one-size-fits-all" problem: it treats every single word in a dataset as equally sensitive.

This leads to over-protection, where adding massive amounts of noise to hide a few secrets destroys the overall usefulness (utility) of the synthetic data. Furthermore, existing "Private Evolution" (PE) methods, which iteratively refine synthetic text by comparing it to private data, are computationally expensive. They require comparing every synthetic candidate to every private record, making them prohibitively slow for large-scale datasets.

To address these bottlenecks, researchers have introduced SecPE (Secret-Protected Evolution), a new framework for generating high-quality synthetic text. By shifting the focus from traditional "membership" privacy to "secret" protection and using a novel clustering-based voting mechanism, SecPE achieves up to a 10,000x speedup in computation and significantly higher data utility than standard differentially private methods.

The SecPE Framework: Methods and Architecture

SecPE combines a relaxed privacy definition with a highly efficient architecture to bypass the limitations of traditional DP.

The SecPE framework consists of two main components: Secret Clustering to efficiently handle private data, and Protected Evolution to iteratively generate high-quality synthetic text.
  1. Secret Protection $(p, r)$: Instead of protecting whether a specific person is in the dataset (membership privacy), SecPE focuses on reconstruction privacy. It ensures that an adversary cannot guess a specific "secret" (like a social security number or a rare medical condition) with high probability. This mathematical relaxation of Gaussian DP allows for much tighter utility-privacy trade-offs.
  2. Secret Clustering: This is the core efficiency engine of the framework. Instead of comparing synthetic candidates to every private record, SecPE clusters public data into $K$ representative "anchors." It then updates these anchors with noisy contributions from the private data. These noisy anchors are subsequently used for a "voting" process to select the best synthetic text.
  3. Evolutionary Loop: The framework uses an LLM to generate variations of the best-performing synthetic samples. These variations are evaluated against the noisy cluster anchors. This iterative process "evolves" the synthetic data toward the private distribution without ever directly exposing individual private records.

Experimental Setup

The researchers evaluated SecPE on three diverse, widely-used benchmarks:

  • OpenReview: ICLR 2023 paper reviews (labeled by research area and rating).
  • PubMed: Medical paper abstracts, representing a highly sensitive domain.
  • Yelp: User reviews of businesses, serving as a large-scale dataset with 1.9M records.

They tested two types of "secrets": randomly designated words (to test general robustness) and Personally Identifiable Information (PII) detected via tools like AI4Privacy and Presidio.

Key Results

By only spending the "privacy budget" on protecting defined secrets, the non-sensitive context of the text remains clear and high-quality. This allows the model to learn the structure of the data more effectively than standard DP.

Computation time comparison across datasets. SecPE achieves a massive speedup in histogram computation, dropping from over 30,000 seconds to just 2.3 seconds on the Yelp dataset.
  • Massive Speedups: As shown in the timing results, clustering acts as a powerful shortcut. On the Yelp dataset, the time required to compute the "voting histogram" dropped from over 30,000 seconds (using the Aug-PE baseline) to just 2.3 seconds (SecPE)—a roughly 10,000x improvement.
  • Higher Utility: SecPE consistently outperformed baselines in downstream task accuracy. For example, on the PubMed dataset, next-word prediction accuracy remained stable (around 29%) even as privacy constraints tightened, while the baseline accuracy plummeted.
  • Better Fidelity: The Fréchet Inception Distance (FID)—a measure of how similar synthetic data is to real data—was consistently lower for SecPE, indicating more realistic text generation.
  • Scalability: Unlike previous methods, SecPE's memory usage is significantly lower because it doesn't need to store embeddings for the entire private dataset during the evolution phase.

Limitations and Future Work

While SecPE offers massive improvements, it does have limitations. Most notably, it is highly dependent on its secret detector. If a sensitive attribute (like a name or address) isn't identified as a "secret" beforehand, the framework won't specifically protect it. Additionally, while clustering speeds up the process, it abstracts away fine-grained details, which can lead to a slight loss in utility compared to non-private methods that analyze every individual record.

Looking forward, the authors plan to extend this "secret-aware" approach to other modalities, such as image generation, where secrets might be specific faces or objects rather than text tokens.

Summary updated

BibTeX
@inproceedings{wang2026secret,
  author = {Tianze Wang and Zhaoyu Chen and Jian Du and Yingtai Xiao and Linjun Zhang and Qiang Yan},
  title = {{Secret-Protected Evolution for Differentially Private Synthetic Text Generation}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=1vacZJxi56},
}
Figure