TL;DR
Generating privacy-preserving synthetic text usually requires a trusted central server or grueling multi-round user communication. This paper introduces Fre-E2T, a training-free, distributed framework that synthesizes text by finding frequent semantic clusters in an embedding space using just two lightweight communication rounds. It achieves utility on par with centralized methods while introducing a new privacy layer to explicitly protect rare user data.
What Problem Does This Paper Address?
Differentially private (DP) text synthesis is a powerful tool for generating safe, realistic datasets for downstream machine learning tasks without exposing sensitive user information. However, existing state-of-the-art methods assume a centralized "trusted curator" who holds everyone's raw text. In reality, user data is distributed across devices (like phones or laptops), and users rarely trust a single entity with their raw data.
Naively adapting centralized DP methods to a distributed setup requires users to participate in dozens of tightly synchronized communication rounds, which fails in practice due to intermittent device connectivity and high communication costs. Furthermore, standard DP only guarantees that an individual's text wasn't uniquely responsible for the output; it doesn't explicitly stop synthetic text from accidentally mimicking unique, rare user inputs.
Methods
The authors propose Fre-E2T (Frequent Embedding to Text), which splits the workload across a two-server, non-colluding architecture consisting of a Tagging Server and a Synthesis Server.
The pipeline consists of four main steps:
- Projection and Partitioning: Users locally convert their text into an embedding vector, project it to a lower-dimensional space using a random Gaussian matrix (preserving $L_2$ distances), and map it to a grid bucket.
- Distributed Heavy Hitters: Using a Verifiable Oblivious Pseudorandom Function (VOPRF), users securely obtain an encrypted bucket index. They flip a coin to decide whether to submit it, allowing the server to find "heavy-hitting" (frequent) semantic regions via a sample-and-threshold mechanism without learning individual user choices.
- DP Centroid Computation: For the frequent buckets, users securely aggregate their original high-dimensional embeddings using Secure Aggregation (SecAgg) and discrete Gaussian noise. Crucially, noise is calibrated to a probabilistic sensitivity bound based on the bucket's local radius, rather than the entire embedding space.
- Text Conversion: The synthesis server takes these private centroids and inverts them back into text offline using an open-source inverter (Vec2Text) and paraphrasing (GPT-2).
Datasets
The framework was evaluated on four diverse text datasets containing user queries and reviews:
- TaylorAI: 1.5 million user queries to search engines/LLMs.
- Instructions-2M: A meta-dataset containing approximately 2.33 million instructions and prompts.
- LMSYS Chat-1M: 1 million real-world LLM conversations.
- Yelp: Customer reviews extracted from the Yelp Dataset Challenge 2015.
Key Insights and Ideas
- Ditching the Iterative Loop: Instead of updating language models over multiple rounds of user feedback, Fre-E2T treats synthesis as a one-shot clustering problem in the embedding space, moving the heavy text-generation work entirely offline.
- Exploiting Local Geometry: Standard DP adds noise proportional to the worst-case global sensitivity (e.g., the maximum possible embedding norm). Fre-E2T proves that because points in a bucket are close, noise only needs to scale with the radius of the bucket, drastically improving data utility.
- Semantic Support Protection (SSP): The authors formalize a new privacy guarantee. While standard DP ensures membership deniability, SSP explicitly bounds the probability that any synthetic text will land near an infrequent, highly unique user text in the embedding space, protecting outliers from exposure.
Key Results
- Massive Efficiency Gains: Compared to the centralized baseline (Aug-PE) adapted to a distributed setting, Fre-E2T reduces user computation by 140× (0.40 ms vs 55.9 ms) and slashes download overhead by over five orders of magnitude (6.1 kB vs 1.29 GB).
- High Utility: On benchmarks like Yelp and TaylorAI, Fre-E2T achieves near-perfect precision and recall relative to centralized DP methods.
- Robust Cluster Identification: Fre-E2T identifies heavy clusters with precision and recall above 0.90 across various privacy budgets ($\epsilon \in \{4, 8, 16\}$), whereas standard Local DP (LDP) baselines fail completely due to excessive noise.
Limitations and Future Work
- The Inversion Bottleneck: The biggest drop in utility comes from the embedding-to-text inversion model (Vec2Text), not the DP clustering algorithm itself. Inverting noisy centroids sometimes fails to capture the exact nuances of the underlying cluster.
- Diversity Cap: Because each heavy-hitting cluster initially yields only one centroid, the diversity of the generated text relies heavily on post-hoc paraphrasing, which doesn't fully match the rich diversity of real human text. The authors suggest that developing domain-adapted text inverters is a promising direction to bridge this gap.
Summary updated