arXiv:2610.27259cs.CROct 2026

Manuscript Offprint

arXiv:2610.27259

Guided Diffusion for Trustworthy Synthetic Text Generation

Qi Pang, Hanshen Xiao, Andre Manoel, Lipika Ramaswamy, Wenting Zheng, Virginia Smith, G. Edward Suh

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

The rapid evolution of Large Language Models is fueled by massive datasets, yet this reliance poses severe privacy risks, as models can inadvertently memorize and even directly output sensitive training data. Synthetic text generation offers a promising solution to this challenge; however, existing methods struggle to reconcile rigorous privacy guarantees with high data utility. In this paper, we propose a new paradigm for private synthetic text generation: Guided Diffusion. Leveraging the unique steerability of Diffusion Language Models, we introduce novel sampling and re-masking procedures that actively guide the iterative denoising steps. These mechanisms steer the generative process to reconstruct fluent text that adheres to a target semantic distribution. We demonstrate that our framework is naturally compatible with Differential Privacy (DP): once the semantic embeddings of the private corpus are protected, the DP guarantee carries over to the generated text by post-processing. Empirically, we show that our approach generates high-quality synthetic text with precise semantic alignment. Furthermore, we validate its effectiveness in DP synthetic text generation: across two datasets and two diffusion backbones, it outperforms Private Evolution and DP-SGD-based fine-tuning in distributional fidelity and downstream utility, while generating significantly faster than Private Evolution. We further extend the framework to Data-Specific Indistinguishability (DSI), which adds a formal certificate against data poisoning and memorization at a small utility cost.

1 INTRODUCTION

The rapid evolution of Large Language Models (LLMs) has fundamentally reshaped Natural Language Processing, a paradigm shift driven primarily by the massive scale of training data. However, this reliance on web-scale data accumulation comes with a steep risk of exposing sensitive information. Real-world datasets, ranging from private medical records and financial reports to personal communication logs, are invaluable for training robust models, but they often contain sensitive personal information that must not be exposed. Recent studies have demonstrated that generative models are prone to memorization (Carlini et al., 2021), where they can inadvertently regenerate training samples verbatim. This vulnerability poses severe ethical concerns and violates strict privacy regulations such as GDPR (Voigt & Von dem Bussche, 2017) and CCPA (California State Legislature, 2018).

To address this, synthetic text generation has emerged as a promising solution. Ideally, a synthetic dataset mirrors the statistical properties and semantic richness of the real distribution while ensuring that no individual data point is leaked. However, existing approaches typically struggle to balance these objectives, falling into two broad categories. The first relies on heuristic sanitization, such as entity masking or scrubbing (Lison et al., 2021). While these methods preserve linguistic fluency, they lack formal guarantees and have been repeatedly shown to fail against sophisticated reconstruction attacks (Carlini et al., 2021; Balle et al., 2022; Zhou et al., 2024). The second category employs rigorous formalisms like Differential Privacy (DP), often applied via DP-SGD (Abadi et al., 2016). While provably privacy-preserving, these methods frequently result in a catastrophic loss of utility when applied to text, yielding outputs that are repetitive or incoherent.

*Part of this work was done during an internship at NVIDIA. Email: qipang@cmu.edu.

One fundamental limitation behind such heavy utility compromise is that provable privacy guarantees such as DP rely on noise to ensure statistical closeness. For example, DP requires statistical indistinguishability between the leakage produced by any two adjacent datasets for individual privacy. To support this, existing noise mechanisms require calibration to the absolute divergence or distance. However, text representations in vocabulary space have extremely high variance. For instance, the sentences “The movie is excellent” and “This is a superb film” are semantically identical yet possess disjoint vocabulary representations (orthogonal one-hot vectors). Standard distance metrics in this space fail to capture semantic proximity, and the required noise scale to mask these differences is often prohibitively large, destroying the linguistic structure of the output.

In this paper, we propose a novel framework for synthetic text generation that seamlessly integrates with off-the-shelf DP clustering algorithms to provide rigorous privacy guarantees. Our core insight is that, while raw text resides in a high-dimensional, discrete space, its semantic embedding can be captured on a low-dimensional, continuous manifold. We observe that DP mechanisms can achieve significantly higher utility if applied within this compact embedding space instead of the sparse vocabulary space. The challenge then shifts to a generation problem:

How to convert privatized, low-dimensional semantic embeddings into coherent, discrete text?

While latent-conditioned generation is well-established in computer vision (e.g., image editing (Rombach et al., 2022; Ye et al., 2023)), transferring this success to text is challenging due to the discrete nature of language. Auto-regressive (AR) LLMs, which generate tokens sequentially, are notoriously difficult to steer globally using a fixed embedding vector. To bridge this gap, we leverage the unique properties of Diffusion Language Models (DLMs; Li et al., 2022a; Sahoo et al., 2024; Nie et al., 2025; You et al., 2025; Song et al., 2025; Yang et al., 2025b). Unlike AR models, DLMs predict blocks of tokens (sentences) through an iterative denoising process. This paradigm allows us to effectively steer the generation by minimizing the distance between the generated sequence and the target semantic embedding at each diffusion step.

Specifically, we introduce a Guided Diffusion framework that generates coherent text conditioned on semantic embeddings. To enable precise control, we propose two novel components for masked DLMs: semantic-aware sampling and semantic-aware re-masking. They allow the DLM to align its discrete outputs with the continuous embedding guidance signal. By integrating DP mechanisms directly into the embedding stage, we present the first framework capable of utilizing DLMs for synthetic data generation with rigorous privacy protection. Beyond DP, the same framework accommodates Data-Specific Indistinguishability (DSI) (Xiao et al., 2025), which targets risks such as data poisoning and unintended memorization ( §5§ 5). In summary, we make the following contributions:

• Guided Diffusion Framework: We propose a novel framework that, for the first time, exploits the steering capabilities of DLMs to generate coherent text conditioned on semantic embeddings.

• DP and DSI Integration: Our Guided Diffusion framework naturally accommodates off-the-shelf DP clustering mechanisms in the embedding space, and the DP guarantee carries over to the synthetic text by post-processing. The same framework also supports DSI aggregation, which provides formal guarantees against corrupted data sources and memorization ( §5§ 5).

• Empirical Effectiveness: We validate our framework through extensive experiments, demonstrating superior synthetic data quality and strong downstream utility in DP synthetic text generation: across two datasets and two diffusion backbones, it outperforms Private Evolution and DP-SGD-based baselines in distributional fidelity and downstream utility, while generating substantially faster than Private Evolution. We will release our code publicly.