ConceptioArchivearXiv CS
arXiv CSopen access

Private Seeds, Public LLMs: Realistic and Privacy-Preserving Synthetic Data Generation

Unknown · 2026 · arxiv_cs
arXiv CS · Papers · License: Open Access · 2026
Open Source ↗Direct PDF ↓
cryptography, security, privacy, cybersecurity

Private Seeds, Public LLMs: Realistic and Privacy-Preserving Synthetic Data Generation Qian Ma, Sarah Rajtmajer Information Sciences and Technology, The Pennsylvania State University {qfm5033, smr48}@psu.edu

arXiv:2604.07486v1 [cs.CR] 8 Apr 2026

Abstract

(e.g., DistilGPT2 (Wolf et al., 2020)) with differential privacy (DP) mechanisms applied through extensive modifications of gradient descent during training (Hou et al., 2024), as well as using prompt engineering (e.g., GPT-4 (OpenAI, 2023)) to guide models toward producing semantically similar synthetic data (Yukhymenko et al., 2024). However, fine-tuning approaches without rigorous privacy safeguards have been shown to suffer from memorization and leakage vulnerabilities (Mireshghallah et al., 2022; Li et al., 2024a), and are increasingly impractical as many modern LLMs are accessible only via APIs. In contrast, prompt-based methods are model-access agnostic and can be applied to both API-based and open-source models. However, they struggle to generate high-quality synthetic data that preserves the richness and utility of the original private data (Xie et al., 2024). In response to these limitations, we propose a novel method for realistic and privacy-preserving synthetic data generation (RPSG) (Figure 1). RPSG is designed using private data as seeds to generate high-quality synthetic data that closely resembles the original while robustly safeguarding sensitive information. In Phase 1, an abstraction model produces multiple sentiment-aligned abstracted candidates for each private seed, reducing identifiable patterns and semantic structures; a formal DP mechanism is then applied to select candidates with strong privacy guarantees. In Phase 2, an LLM generates variations of these DP-protected candidates. In Phase 3, synthetic variants are refined to minimize memorization risks and redact any PII. The resulting samples constitute a final set of realistic and privacy-preserving synthetic data, suitable for downstream applications. We conduct comprehensive experiments to evaluate our method on a benchmark dataset from PubMed (Yu et al., 2023) and an original dataset created from Reddit (details provided in §4.1.2). Our approach is compared against three baselines:

Large language models (LLMs) have emerged as a powerful tool for synthetic data generation. A particularly important use case is producing synthetic replicas of private text, which requires carefully balancing privacy and utility. We propose Realistic and Privacy-Preserving Synthetic Data Generation (RPSG), which leverages privacy-preserving mechanisms, including formal differential privacy (DP); and private seeds, in particular text containing personal information, to generate realistic synthetic data. Comprehensive experiments against state-ofthe-art private synthetic data generation methods demonstrate that RPSG achieves high fidelity to private data while providing strong privacy protection.

1

Introduction

Synthetic data generation is an active area of work in natural language processing (NLP) (Bommasani et al., 2019; Yu et al., 2022) with applications ranging from clinical text analysis (Walonoski et al., 2018; Tang et al., 2023) to social media synthesis (Cao et al., 2023; Lu et al., 2023). One type of synthetic data of significant practical interest is synthetic replicas of private text (Hou et al., 2024; Yu et al., 2023). Oftentimes, text data that would be of benefit, e.g., to researchers, policymakers, or technologists, cannot be shared due to privacy considerations. Text collected from social media platforms, for example, often contains users’ voluntarily disclosed personal information–so-called self-disclosures (see (Ashuri and Halperin, 2024) for a recent interdisciplinary review). Such text can be used for user targeting and manipulation; if the personal information shared is more sensitive, e.g., personally identifiable information (PII), the risks can be graver (Gruzd and Hernández-García, 2018). Mainstream methods for generating privacypreserving synthetic data include fine-tuning LLMs 1

DP Sentimentaligned Candidates

Sentiment Alignment

DP Candidates

Generator

Synthetic Variants

Variation Request

Abstracted Candidates

Training by Variants

Abstraction Model

Generator Synthetic Data Request

Pretrained Model Abstraction Request

Private Dataset

Private Seeds

Downstream Applications Generate Sensitive Information

Study Vulnerable Populations

Develop AI-driven Systems

Synthetic Data

Refined Synthetic Data

Cosine Similarity

NLL Score

Data Refinement

Figure 1: Illustration of the RPSG Method Pipeline. Comparative performance of RPSG against DP-SGD (ϵ = ∞), AUG-PE (ϵ = ∞), and RUPTA across different LLMs. RPSG achieves higher accuracy, diversity, and lexical quality on several settings, demonstrating advantages over existing approaches.

a gradient-based method, DP-SGD (Yue et al., 2023), a prompt-based method, AUG-PE (Xie et al., 2024), and a one-to-one rewriting method, RUPTA (Yang et al., 2025). We evaluate under varying privacy budgets across multiple dimensions, including downstream task performance, sentiment alignment, lexical diversity, semantic and distributional similarity, and resistance to membership inference attacks (MIAs) (Carlini et al., 2021, 2022; Mattern et al., 2023). We further assess protection against PII leakage (Wang et al., 2023), qualitative and structural aspects, computational efficiency, and conduct ablation studies. Our contributions are:

our methodology. We then describe the experimental methodology. Subsequent sections detail results and conclusions. Appendices provide additional results and detailed experimental settings.

2

Related Work

2.1 DP Fine-Tuning Methods and Limitations With the growing interest in DP for AI applications (Bassily et al., 2014; Papernot et al., 2017, 2018), a prominent approach within this space is training models while ensuring formal privacy guarantees (Zhu et al., 2020; Mironov, 2017). In particular, DP synthetic data generation has proposed various methods to produce useful data under privacy constraints (Holtzman et al., 2020). Among these, fine-tuning pre-trained LLMs using DP-SGD (Abadi et al., 2016; Yue et al., 2023) has emerged. It enforces DP during model training by incorporating gradient clipping and noise addition into the optimization process (Mattern et al., 2022; Bai et al., 2024). However, these fine-tuning approaches face several critical limitations. Advanced LLMs such as GPT-5 (OpenAI, 2025) and Claude 3.7 Sonnet (Anthropic, 2025) are only accessible via APIs, making it impossible to apply DP-based fine-tuning directly to them (Long et al., 2024; Kuo et al., 2024). Although open-source models, such as Phi-4 (Abdin et al., 2024) and Llama 3.3 (Meta, 2024), are accessible without APIs, the computational cost of DP fine-tuning is substantial (Malladi et al., 2023; Kurakin et al., 2023a). In addition, applying private data directly for fine-tuning raises privacy risks due to model memorization (Akkus et al., 2025; Carlini

• We propose RPSG, a novel method for privacy-preserving synthetic data generation. RPSG directly uses private data as seeds to produce one-to-one mapped synthetic text, achieving improved utility without compromising robust privacy guarantee. • We evaluate RPSG against gradient-based and prompt-based DP baselines, as well as a oneto-one rewriting baseline under varying privacy budgets, observing competitive utility, diversity, privacy, and efficiency. • We demonstrate that RPSG provides robust privacy guarantees, achieving stronger resistance to MIAs (AUC ≈ 50%) compared to baselines. By explicitly identifying common methodological pitfalls highlighted in recent critiques, we demonstrate the rigor and validity of our privacy evaluation. The remainder of this paper is organized as follows. We first overview related work, followed by 2

2.4

et al., 2021; Wen et al., 2024). 2.2

One reason for creating synthetic data is to protect sensitive information, addressing situations where original data cannot be shared due to legal or ethical constraints. Therefore, approaches to synthetic data generation must consider and minimize privacy leakage. However, most synthetic data generation methods prioritize performance metrics (Hämäläinen et al., 2023), often overlooking privacy evaluation (Kurakin et al., 2023b). Among privacyfocused approaches, Dou et al. (2024) focuses on human-centered evaluations, but lacks quantitative evaluation metrics and requires significant manual effort. Yukhymenko et al. (2024) measures personal attribute inference risks but fails to address membership inference risks (Shokri et al., 2017). While Xie et al. (2024) employs MIAs to evaluate synthetic data, its approach generates data directly from prompts, making the MIAs less relevant to actual privacy risks since the synthetic samples are derived from prompt-based generation rather than grounded in private data.

Prompt-Based Methods and Limitations

Prompt engineering has emerged as another method for synthetic data generation. Akter et al. (2024) provides a pre-trained LLM with a web document and prompts it in a zero-shot manner to generate a conversation. Li et al. (2024b) utilizes synthetic training data to characterize the source model’s learning preferences and then train the target model to generate synthetic data. DeSalvo et al. (2024) uses data-driven loss minimization to train a parameterized contextual soft prompt which then is used to steer the frozen LLM to generate synthetic sequences. Xie et al. (2024) leverages prompts to guide LLMs in generating synthetic data and then compute the similarity to select the best matches. Shirgaonkar et al. (2024) fine-tunes a student model using shorter, less expensive vanilla prompts to generate final synthetic data. By leveraging prompting instead of fine-tuning, these methods avoid exposing sensitive private data to the LLMs. However, the synthetic data produced through prompt engineering often fails to adequately mimic private data (Long et al., 2024), limiting its applicability as a substitute for private data. 2.3

Privacy Risks and Evaluation Methods

3

RPSG Algorithm

The RPSG algorithm (see Algorithm 1) takes as input: the private dataset, Dpri ; the abstraction model, Ψ; the pretrained model, M; the number of private seeds, N ; the size of private dataset, Npriv ; and Negative Log-Likelihood (NLL) percentile α. The ′ . Specifically, it output is the synthetic dataset, Ssyn consists of the following modules.

One-to-one Rewriting Methods

Another direction of research adopts one-to-one rewriting strategies, which rewrite each private text into exactly one synthetic text. The rewriting process is guided by privacy and utility objectives, so that the transformed text conceals sensitive attributes while retaining usefulness for downstream applications. Yang et al. (2025) propose an anonymization framework in which a privacy evaluator, a utility evaluator, and an optimizer interact to refine each text until the stopping criteria are met. Frikha et al. (2024) address attribute inference by rewriting texts so that an adversary is misled toward a chosen incorrect attribute value. Their method employs an iterative loop in which an adversarial evaluator predicts attributes and provides explanations, and an anonymizer generates revised candidates until the adversary no longer recovers the true value.

3.1

Abstraction and Sentiment Alignment

Using private data for synthetic data generation can improve utility and fidelity, but it also increases the risk of exposing sensitive information. In our work, we randomly select N data points from the private dataset Dpri , which has a total size of Npriv , as seed inputs for synthetic generation, where each private seed is a private sample. However, simple rephrasing of these seeds by LLMs fails to effectively resist MIAs, because such rewording does not significantly disrupt the statistical or semantic predictability inherent in the data, as the high-level meaning and alignment remain largely intact (Carlini et al., 2021). To address this, the PII processor (PII_FILTER) is first applied to enforce strict regex-based redac(N ) tion of private seeds, Dpri , replacing structured PII-like information with masked tokens (e.g., (N ) [MASK]). Let Dpri = {x(1) , . . . , x(N ) } denotes

These one-to-one rewriting approaches demonstrate the potential of rewriting-based anonymization for privacy preservation. 3

1 δ = Npriv ·log Npriv (Yue et al., 2023), we compute the standard deviation σ of the Gaussian noise as:

the N private seeds, we then employ an abstraction model, Ψ, to transform each private seed (N ) x ∈ Dpri into a set of m abstracted candidates, Sabc (x) = {s1 , . . . , sm }, thereby breaking direct correspondence with the original. Candidate generation is guided not only by semantic similarity but also by sentiment consistency with the private seed, ensuring that the resulting m candidates preserve expressive intent while mitigating identifiable patterns. Further implementation details are provided in Appendix B.1.

q 2 · log σ=



· ∆u (1)

ϵ

where ∆u = 1.0 is the ℓ2 -sensitivity of the utility function (Dwork and Roth, 2014), since u(x, sj ) ∈ [0, 1]. (N ) For each private seed x ∈ Dpri and each candidate sj ∈ Sabc (x), we generate a noisy score ũj = uj + ηj , ηj ∼ N (0, σ 2 ). The final DPprotected candidate for seed x is denoted sdpc (x) and is selected as:

Algorithm 1 RPSG Method Input: private dataset Dpri , text abstraction model Ψ, pretrained model M, number of private dataset Npriv Parameter: number of private seeds N , NLL percentile α, privacy budget ϵ, failure probability δ ′ Output: synthetic dataset Ssyn

sdpc (x) = arg

max

sj ∈Sabc (x)

ũj

(2)

where sdpc (x) ∈ Sdpc . This ensures that the selection process satisfies (ϵ, δ)-DP, while still favoring candidates with high sentiment and semantic similarity to the private seed. A formal statement of the privacy guarantee for this candidate selection step is provided in Appendix A.3.

(N )

1: Sabc ← Ψ(PII_FILTER(Dpri )) √ 2·log(1.25/δ)·∆u (with ∆u = 1.0 and δ = 2: σ ← ϵ 1/(Npriv log Npriv )) (N ) 3: for x ∈ Dpri do 4: for sj ∈ Sabc (x) do 5: uj ← u(x, sj ) 6: ũj ← uj + ηj , where ηj ∼ N (0, σ 2 ) independently across j 7: end for 8: sdpc (x) ← arg maxsj ∈Sabc (x) ũj 9: end for 10: Svar ← SYN_GEN(S P dpc ), where sdpc (x) ∈ Sdpc 11: fϕ ← arg minf svar,i ∈Svar L(f, svar,i ) 12: Ssyn ← SYN_GEN(Svar ) (N ) ′ 13: Ssyn ← COS_FILTER(fϕ , Ssyn , Dpri ) ′ 14: for s′syn,i ∈ Ssyn do P ′ 15: L(fϕ , ssyn,i ) = − T1 Tt=1 log Pϕ (wt | w<t ), where T denotes the total number of tokens in s′syn,i 16: end for 17: τ ← percentileα ({L(fϕ , s′syn,i )}) ′ 18: Ssyn ← {PII_FILTER(s′syn,i ) | L(fϕ , s′syn,i ) > τ } ′ 19: return Ssyn

3.3

Synthetic Data Generation

The synthetic data generation module (SYN_GEN) uses an LLM to generate synthetic data via prompting and is applied twice. First, DP-protected candidates, Sdpc , are input to produce synthetic variants Svar . Second, qualified variants are used to create the synthetic data, Ssyn , for further refinement. Prompts are designed to encourage the LLM to generate outputs that reflect the structure, semantics, and diversity of the original input. Prompt design is further detailed in Appendix B.2. 3.4

3.2

1.25 δ

Formal DP in Candidate Selection

Data Refinement

MIAs exploit the observation that models tend to memorize training samples when they assign consistently low token-wise NLL scores (Mattern et al., 2023), or high confidence to specific samples and their slight variations. Stability in NLL scores thus provides a strong signal for membership inference, particularly in overfitted models. The REFINEMENT procedure leverages this property to remove synthetic samples exhibiting memorization, reducing susceptibility to MIAs. Step 1: We begin by using the synthetic variants, Svar , to fine-tune a pretrained model M, resulting in a surrogate model, fϕ . This surrogate model captures the distributional properties of Svar and

To select a final DP-protected candidate from Sabc (x) with formal privacy guarantees, we apply the Gaussian mechanism (Mironov, 2017) to the candidate selection process. Formal definitions of DP and the Gaussian mechanism are provided in Appendix A. Specifically, we define a bounded utility function u(x, sj ) ∈ [0, 1] that measures the semantic similarity between the private seed x and a candidate sj , instantiated as normalized cosine similarity in our implementation. Let uj := u(x, sj ) for j = 1, . . . , m. Given a privacy budget ϵ and failure probability 4

reflects the memorization risk associated with overfitting to it. Step 2: To effectively identify data with highest similarity to the private data, we utilize the embeddings from fϕ and compute cosine similarity scores between samples from newly generated Ssyn (N ) and Dpri . Synthetic samples exhibiting the highest similarity are identified and removed, and the ′ . retained samples form Ssyn Step 3: For each synthetic sample, s′syn,i , remaining after cosine similarity filtering, we compute its NLL score. This score reflects how confidently the surrogate model predicts the text, and thus serves as a proxy for memorization risk, given as:

LLMs remains limited (Edemacu and Wu, 2024). We construct a novel social media dataset focused on English-language conversations on Reddit associated with financial hardship and poverty. These conversations generally contain a rich amount of self-disclosures—personal information related to finance, health, family, age, location, and similar. Prior research indicates that Reddit users tend to share more sensitive and detailed personal information than on other platforms (Choudhury and De, 2014; Du et al., 2024). Specifically, we manually selected subreddits associated with financial hardship and poverty, and applied a keyword-based filtering strategy designed to capture specific language related to economic challenges (details on subreddit selection and the full list of keywords are provided in Appendix C). We collected posts published between January 1, 2024, and March 31, 2025, ensuring that the majority of data falls after the training cutoffs of both GPT-4 (October 2023) and Phi-4 (June 2024). This timing minimizes the likelihood that these LLMs were exposed to our dataset during training, supporting its value for evaluating model generalization and privacy behavior. The final dataset consists of 8,948, 1,000, and 1,000 posts in the training, validation, and test sets, respectively. All posts were publicly available and collected in accordance with Reddit’s terms of service.

T

L(fϕ , s) = −

1 X log Pϕ (wt | w<t ) T t=1

(3)

where s represents a sample of s′syn,i , wt is the t-th token in s, and Pϕ (wt | w<t ) is the conditional probability assigned by surrogate model fϕ given the preceding context. Here, T denotes the total number of tokens in s. Step 4: To mitigate memorization, we retain only those synthetic samples whose NLL scores are above a threshold τ , indicating they are less likely to be memorized. The threshold is defined as the α-percentile of the NLL score distribution:  τ = Percentileα

 L(fϕ , s′ ) s′ ∈S ′

syn

 (4)

Experimental details regarding the selection of the cosine similarity and α-percentile thresholds can be found in Appendix B.4. Finally, the PII processor is applied to this dataset to further mitigate privacy risks, yielding our final robust synthetic dataset.

4

Experimental Methodology

4.1

Datasets

4.2

Models

Facebook/bart-large-cnn (Lewis et al., 2019) served as the abstraction model, and siebert/sentimentroberta-large-english (Hartmann et al., 2023) functioned as the sentiment classification model (§3.1). DistilGPT2 (Sanh et al., 2019), GPT-2, GPT-3.5turbo, GPT-4o-mini (OpenAI, 2023), DeepSeekR1 (DeepSeek-AI et al., 2025), Phi-4-mini, and Phi4 (Abdin et al., 2024) were leveraged as LLMs for synthetic data generation (§3.3). BERT-small (Turc et al., 2019) was employed as the pretrained base model to produce the surrogate model by finetuning (§3.4), and also serves as the downstream model to evaluate performance (§5.1.1). The sentence transformer sentence-t5-base (Reimers and Gurevych, 2019) was used as the embedding model to calculate the semantic similarity (§5.1.4). Finally, bigcode/starpii (Allal et al., 2023) serves as the detection model to evaluate PII leakage (§5.2.2).

4.1.1 PubMed Dataset The PubMed abstracts corpus is widely used as a benchmark for language modeling and fine-tuning (e.g., (Gu et al., 2022)). In our experiments, we use the subset of abstracts published between August 1 and August 7, 2023, crawled by Yu et al. (2023), comprising 75,329 training, 14,423 validation, and 4,453 test samples. 4.1.2 Reddit Dataset Construction The availability of standardized benchmark datasets for studying NLP tasks and evaluating 5

Dataset

Reddit

PubMed

Model

Method

Acc(%)(↑)

Loss(↓)

PPL(↓)

Model

Method

Self-BLEU(↓)

N-Gram(↑)

GPT-3.5

AUG-PE RPSG

31.7 34.0

3.17 3.16

23.9 23.5

GPT-3.5

AUG-PE RPSG

0.61 0.34

0.11 0.51

GPT-4o-mini

AUG-PE RPSG

19.9 32.8

4.01 3.23

55.1 25.2

GPT-4o-mini AUG-PE RPSG

0.48 0.41

0.15 0.40

DeepSeek-R1 AUG-PE RPSG

23.6 25.3

3.93 3.76

50.9 42.9

DeepSeek-R1 AUG-PE RPSG

0.19 0.09

0.75 0.84

Phi-4

AUG-PE RPSG

29.4 33.2

3.50 3.15

33.1 23.3

Phi-4

AUG-PE RPSG

0.56 0.18

0.32 0.68

DistilGPT2

DP-SGD RPSG

17.9 34.3

4.51 3.18

91.0 24.0

DistilGPT2

DP-SGD RPSG

0.19 0.22

0.64 0.55

GPT-2

DP-SGD RPSG

24.4 35.9

3.70 3.06

40.4 21.1

GPT-2

DP-SGD RPSG

0.22 0.21

0.62 0.56

GPT-3.5

AUG-PE RPSG

34.4 34.4

3.04 3.13

20.9 22.9

GPT-3.5

AUG-PE RPSG

0.62 0.29

0.34 0.57

GPT-4o-mini

AUG-PE RPSG

35.8 36.1

2.96 3.11

19.3 22.5

GPT-4o-mini AUG-PE RPSG

0.72 0.33

0.28 0.53

DeepSeek-R1 AUG-PE RPSG

10.3 13.1

5.17 4.66

179 105

DeepSeek-R1 AUG-PE RPSG

0.19 0.20

0.74 0.81

AUG-PE RPSG

32.4 32.9

3.41 3.34

30.0 28.1

AUG-PE RPSG

0.51 0.27

0.39 0.63

Phi-4

Dataset

Reddit

PubMed

Phi-4

Table 1: Downstream Task Performance Results for the Table 2: Lexical Diversity Results for the non-DP Baseline (ϵ = ∞). non-DP Baseline (ϵ = ∞).

4.3

Metrics

4.3.2

The privacy of synthetic data is evaluated across two key dimensions: (1) resistance to MIAs; and (2) protection against PII leakage. To evaluate resistance to MIAs, we compute the Area Under the Curve (AUC) scores across three standard attacks: threshold-based perplexity (PPL) (Carlini et al., 2021); log-perplexity ratio against a reference model (REFER) (Carlini et al., 2021); and likelihood ratio (LIRA) (Carlini et al., 2022). We follow the evaluation methodology introduced by Mattern et al. (2023) to assess the effectiveness of synthetic data in mitigating MIA risks. To assess PII leakage, we use the PII successful extraction (Wang et al., 2023), which quantifies the extent to which PII-like content is retained in the generated data.

To address potential blind spots in individual metrics (He et al., 2023) and ensure a comprehensive evaluation, we employ a diverse set of complementary metrics. 4.3.1

Privacy Evaluation Metrics

Performance Evaluation Metrics

We evaluate synthetic data along four dimensions: (1) downstream task performance; (2) sentiment alignment; (3) lexical diversity; and (4) distributional and semantic similarity to the private data. For downstream task performance, we fine-tune BERT-small on the synthetic text and evaluate next word prediction accuracy and perplexity. For sentiment alignment, we predict sentiment on each private seed and its synthetic counterpart and report the sentiment alignment, following the standard hit rate evaluation in (Hartmann et al., 2023), which supports evaluating sentiment faithfulness of synthetic counterpart to private seeds. This evaluation is conducted only on the Reddit dataset, as PubMed samples do not contain sentiment-related attributes. To measure lexical diversity, we use Self-BLEU (Zhu et al., 2018) and n-gram diversity (Montahaei et al., 2019). For distributional and semantic similarity, we employ Fréchet Inception Distance (FID), Precision, Recall, F1, Mauve, Kullback–Leibler Divergence (KLD), Total Variation Divergence (TVD), Wasserstein Metric Distance (WMD), and Sinkhorn Loss (SL) to assess embedding-level alignment with private data (Xie et al., 2024).

4.4

Baselines

We compare RPSG against DP-SGD (Yue et al., 2023), AUG-PE (Xie et al., 2024), and RUPTA (Yang et al., 2025), which represent three different approaches to privacy-preserving text generation. DP-SGD uses gradient-based training with DP, AUG-PE reflects the prompt-based line of work, and RUPTA is a one-to-one rewriting method that rewrites each instance for anonymization. Taken together, these baselines provide a broad and balanced context for evaluating RPSG.

5

Results

For AUG-PE, we report results with GPT-3.5, GPT4o-mini, Phi-4, and DeepSeek-R1; for DP-SGD, with DistilGPT2 and GPT-2; and for RuPTA, with 6

to chance on MIA AUCs (see Appendix Table 12), which reflects a privacy utility tradeoff of RPSG. Appendix Table 8 shows that under Phi-4, RUPTA is higher on accuracy and lower on perplexity, while RPSG remains competitive. The reason is that RPSG targets stronger privacy: AUCs are near chance for RPSG but not for RUPTA, consistent with a privacy utility tradeoff.

AUC Dataset

Model

Method

GPT-3.5

PPL

REFER

LIRA

AUG-PE RPSG

48.4 53.9

60.3 56.2

43.2 44.8

GPT-4o-mini

AUG-PE RPSG

78.5 52.1

21.9 59.3

68.5 43.7

DeepSeek-R1

AUG-PE RPSG

36.1 52.1

70.1 58.2

40.5 45.6

Phi-4

AUG-PE RPSG

74.9 54.1

31.3 50.9

59.1 50.0

DistilGPT2

DP-SGD RPSG

44.3 54.0

54.1 58.4

50.4 45.2

GPT-2

DP-SGD RPSG

31.6 54.3

38.7 59.1

56.9 44.3

GPT-3.5

AUG-PE RPSG

60.1 50.0

36.2 42.7

61.5 57.7

GPT-4o-mini

AUG-PE RPSG

63.1 42.0

32.6 51.8

64.7 52.6

DeepSeek-R1

AUG-PE RPSG

51.9 53.3

55.8 44.2

45.6 55.3

Phi-4

AUG-PE RPSG

54.1 45.0

36.3 51.2

56.0 50.5

Reddit

PubMed

5.1.2

Appendix Table 8 shows sentiment alignment as the percentage of private–synthetic pairs whose predicted polarity matches. Under Phi-4 on Reddit, both one-to-one rewriting methods preserve affect well: RPSG attains 92.1% and RUPTA 90.8%. This is consistent with the abstraction model fidelity evaluation (§5.5), where abstraction preserves affective polarity.

Table 3: Evaluation of MIAs for the non-DP Baseline (ϵ = ∞): Lower deviation from 50% indicates stronger privacy.

5.1.3 Phi-4. Model choices and initial synthetic sample sizes vary by method due to methodological fit and resource constraints: DP-SGD requires local finetuning on release-available models, and RUPTA’s iterative rewriting incurs high token budgets on APIbased models. Additional details, including sentiment alignment for abstraction (Appendix B.1), privacy alignment (Appendix B.3), and configuration and hyperparameters (Appendix B.4), are provided in the appendices. 5.1 5.1.1

Sentiment Alignment

Lexical Diversity

Table 2 reports Self-BLEU and n-gram diversity (n = 2) at ϵ = ∞. RPSG shows consistently lower Self-BLEU and higher n-gram on both datasets, for example, on Reddit with GPT-4o-mini (Self-BLEU 0.41 vs. 0.48; n-gram 0.40 vs. 0.15). These patterns indicate broader lexical coverage and reduced repetition in RPSG outputs. For DistilGPT2, DPSGD reports lower Self-BLEU and higher n-gram. Taken together with the utility results, this suggests DP-SGD’s apparent “extra” diversity often reflects noise, while RPSG delivers competitive diversity. Appendix Table 9 extends to finite privacy budgets. On Reddit with GPT-4o-mini and Phi-4, RPSG improves diversity as ϵ tightens and remains above AUG-PE at every budget. DP-SGD shows near zero Self-BLEU and very high n-gram across budgets, together with about five percent accuracy, suggesting noise driven stylistic drift that inflates diversity without adding useful variety. Appendix Table 8 shows that RPSG attains lower Self-BLEU and higher n-gram, indicating more varied lexical patterns than RUPTA.

Performance Evaluation Downstream Task Performance

Table 1 shows next word prediction with synthetic data at ϵ = ∞. RPSG improves utility, with larger gains on Reddit (e.g, GPT-4o-mini accuracy 32.8% vs. 19.9%, perplexity 25.2 vs. 55.1). On PubMed, gains are smaller but consistent. This suggests RPSG is especially effective when the target data are less familiar to the LLMs. On Reddit, RPSG more than doubles accuracy relative to DP-SGD for DistilGPT2 and clearly outperforms GPT-2. This highlights the advantage of training with promptbased private synthetic data over direct fine tuning for downstream tasks. With finite privacy budgets (Appendix Table 11), RPSG maintains stable accuracy across ϵ ∈ {4, 2, 1} on DistilGPT2 and GPT-2, while DPSGD falls to about five percent across budgets. For GPT-4o-mini and Phi-4, although AUG-PE remains higher under these budgets, RPSG is closer

5.1.4

Distributional and Semantic Similarity

Appendix Table 10 reports corpus level alignment between synthetic and private data. These metrics indicate that RPSG-generated samples better match the overall structure and semantics of the private data, reflecting enhanced semantic similarity and distributional closeness. Full details are provided in Appendix D. 7

5.0

5

4.7 3.9

4 3 2

1.1 0.9

1 0

0.2 0.2

GPT-3G.5PT-4o-miniPhi-4-mini

Phi-4

Dee GPT p GPT Seek- GPT-3 Ph -4o-m -2 R1 .5 i-4 ini

GPU Hours

6.5

AUG-PE RPSG

6

0

lower extraction rates than older models like GPT2. These results indicate that RPSG substantially mitigates PII leakage risk while maintaining utility. Complete results are provided in Appendix F.

5 5 7 10

5.3

12

0.2 0.4 0.6 0.8 1.0 1.2

This evaluation includes sentence-length distribution assessment, example-based alignment analysis, and attribute-level comparison. These results indicate that RPSG can qualitatively and structurally reproduce the characteristics of private data. Full results are presented in Appendix G, and the sentencelength distribution result is illustrated in Appendix Figure 4.

Successful Extraction Rate(%)

Figure 2: Efficiency compar- Figure 3: Evaluation of PII ison on Reddit for generating leakage on Reddit across 1,000 1,000 synthetic samples with synthetic samples with no DP no DP (ϵ = ∞). (ϵ = ∞).

5.2 5.2.1

Privacy Evaluation Resistance to MIAs

5.4

Table 3 reports resistance to MIAs using three AUC scores, which test an adversary’s ability to infer membership of private samples. Lower deviation from 50% AUC indicates stronger resistance. At ϵ = ∞, RPSG is closer to 50% than AUG-PE on most LLMs (e.g., on Reddit with GPT-4o-mini, RPSG attains PPL 52.1, REFER 59.3, LIRA 43.7 vs. AUG-PE 78.5, 21.9, 68.5). DP-SGD is sometimes closer (e.g., on DistilGPT2), but at the cost of poor utility. RPSG maintains comparable privacy while dominating in utility (see Table 1). Appendix Table 8 shows that under Phi-4, RPSG is near chance across all three attacks, while RUPTA deviates substantially, indicating stronger resistance for RPSG in this setting. Appendix Table 12 shows that as ϵ tightens, RPSG often moves REFER and LIRA AUCs toward 50% on strong LLMs, and is competitive with AUG-PE on these attacks. DP-SGD can be closer on PPL AUC in some cases, yet this coincides with about five percent downstream accuracy (see Table 11), underscoring the need to consider privacy and utility jointly. Note. A study by Duan et al. (2024) analyzes why MIAs often underperform when applied to LLMs. While we agree with their findings in the context of LLMs, our MIAs evaluation focuses on a different setting. We detail in Appendix E how our design avoids the methodological pitfalls highlighted in their work. 5.2.2

Qualitative and Structural Evaluation

Computational Efficiency Evaluation

RPSG demonstrates consistent efficiency gains, achieving speedups ranging from 1.22x to 1.38x. We report GPU hour comparisons for in Figure 2 and Appendix H. 5.5

Abstraction Fidelity

To evaluate abstraction fidelity more directly, we measured sentiment alignment between private seeds and their abstracted counterparts generated by the abstraction model. As shown in Appendix Table 16, sentiment was preserved at high levels across subsets of 100 samples (86.1% alignment), 200 samples (89.6%), and 500 samples (86.5%). These findings indicate that enforcing sentiment alignment allows abstraction to preserve affective polarity and expressive intent while mitigating identifiability. 5.6

Ablation Evaluation

We conduct an ablation experiment (ϵ = ∞) on NLL-based filtering, showing its effect on membership inference resistance. This confirms that this setting is necessary for privacy robustness. We also conduct ablations to examine how sampling temperature and synthetic sample size affect the performance (ϵ = ∞). Full details are in Appendix I, with summary visualizations in Appendix Figures 5–7.

6

Protection against PII Leakage

Limitations

Despite its effectiveness, RPSG method has two limitations: (1) Sensitivity to model-specific characteristics. Optimal thresholds for similarity-based and NLLbased filtering depend on the generation patterns of the LLMs. Small adjustments to thresholds can

We estimate PII leakage across datasets and LLMs and observe low extraction rates (0.5% to 1.2%). This suggests that generated samples rarely contain sensitive-looking content. We further observe that newer models such as GPT-4o-mini exhibit 8

References

impact MIA performance, necessitating careful parameter tuning. (2) Aggregation re-profiling risk beyond per sample tests. Our privacy evaluations focus on persample leakage and do not capture an attacker who aggregates many synthetic samples to reconstruct profiles of individuals. Rare attribute combinations repeated across samples could enable re-profiling even when each sample alone appears safe. Measuring and mitigating this corpus-level risk will require attacks and objectives at the set-level, such as linkability tests, membership inference under aggregation, or formal group privacy guarantees. We leave a systematic evaluation of aggregation based attacks and group privacy for future work.

7

Martín Abadi, Andy Chu, Ian J. Goodfellow, H. Brendan McMahan, Ilya Mironov, Kunal Talwar, and Li Zhang. 2016. Deep learning with differential privacy. In Proceedings of the 2016 ACM SIGSAC Conference on Computer and Communications Security, Vienna, Austria, October 24-28, 2016, pages 308–318. ACM. Marah I Abdin, Jyoti Aneja, Harkirat S. Behl, Sébastien Bubeck, Ronen Eldan, Suriya Gunasekar, Michael Harrison, Russell J. Hewett, Mojan Javaheripi, Piero Kauffmann, James R. Lee, Yin Tat Lee, Yuanzhi Li, Weishung Liu, Caio C. T. Mendes, Anh Nguyen, Eric Price, Gustavo de Rosa, Olli Saarikivi, and 8 others. 2024. Phi-4 technical report. CoRR, abs/2412.08905. Atilla Akkus, Mingjie Li, Junjie Chu, Michael Backes, Yang Zhang, and Sinem Sav. 2025. Generated data with fake privacy: Hidden dangers of fine-tuning large language models on generated data. CoRR, abs/2409.11423.

Ethical Statement

Our research involves the collection of publicly available data from Reddit using the official Reddit API. We acknowledge the ethical responsibility to respect user privacy and mitigate any potential risks associated with this data collection. Only publicly available data that is voluntarily shared by Reddit users is used, and we adhere to Reddit’s API usage policies to ensure data is gathered in a manner consistent with their terms of service. No attempts were made to de-anonymize users or link the data to individuals beyond what is available through the API. The collected data is used solely for research purposes aimed at understanding and improving synthetic data generation and privacypreserving methods. The dataset will be shared upon request with verified researchers.

8

Syeda Nahida Akter, Shrimai Prabhumoye, John Kamalu, Sanjeev Satheesh, Eric Nyberg, Mostofa Patwary, Mohammad Shoeybi, and Bryan Catanzaro. 2024. MIND: math informed synthetic dialogues for pretraining llms. CoRR, abs/2410.12881. Loubna Ben Allal, Raymond Li, Denis Kocetkov, Chenghao Mou, Christopher Akiki, Carlos Muñoz Ferrandis, Niklas Muennighoff, Mayank Mishra, Alex Gu, Manan Dey, Logesh Kumar Umapathi, Carolyn Jane Anderson, Yangtian Zi, Joel LamyPoirier, Hailey Schoelkopf, Sergey Troshin, Dmitry Abulkhanov, Manuel Romero, Michael Lappert, and 22 others. 2023. Santacoder: don’t reach for the stars! CoRR, abs/2301.03988. Anthropic. 2025. Claude 3.7 sonnet: Hybrid reasoning model. https://www.anthropic.com/news/ introducing-citations-api.

Conclusion

Tamar Ashuri and Ruth Halperin. 2024. Online selfdisclosure: An interdisciplinary literature review of 10 years of research. New Media & Society, page 14614448241247313.

We have presented RPSG, a realistic and privacypreserving synthetic data generation method. Empirical results demonstrate that RPSG consistently outperforms baselines in generating high-quality synthetic data, achieving strong utility while safeguarding privacy. This work highlights the opportunity for rigorously integrating privacy into synthetic data generation, and inspires further research and real-world adoption of privacy-aware practices.

Yushi Bai, Jiajie Zhang, Xin Lv, Linzhi Zheng, Siqi Zhu, Lei Hou, Yuxiao Dong, Jie Tang, and Juanzi Li. 2024. Longwriter: Unleashing 10,000+ word generation from long context llms. CoRR, abs/2408.07055. Raef Bassily, Adam D. Smith, and Abhradeep Thakurta. 2014. Private empirical risk minimization: Efficient algorithms and tight error bounds. In 55th IEEE Annual Symposium on Foundations of Computer Science, FOCS 2014, Philadelphia, PA, USA, October 18-21, 2014, pages 464–473. IEEE Computer Society.

Acknowledgments We gratefully acknowledge the authors of Xie et al. (2024) for providing their code framework, which we adapted and re-implemented for our work and experiments.

Rishi Bommasani, Steven Wu, and Xanda Schofield. 2019. Towards private synthetic text generation. In NeurIPS 2019 Machine Learning with Guarantees Workshop.

9

Yihan Cao, Siyu Li, Yixin Liu, Zhiling Yan, Yutong Dai, Philip S. Yu, and Lichao Sun. 2023. A comprehensive survey of ai-generated content (AIGC): A history of generative AI from GAN to chatgpt. CoRR, abs/2303.04226.

Cynthia Dwork and Aaron Roth. 2014. The algorithmic foundations of differential privacy. Found. Trends Theor. Comput. Sci., 9(3-4):211–407. Kennedy Edemacu and Xintao Wu. 2024. Privacy preserving prompt engineering: A survey. CoRR, abs/2404.06001.

Nicholas Carlini, Steve Chien, Milad Nasr, Shuang Song, Andreas Terzis, and Florian Tramèr. 2022. Membership inference attacks from first principles. In 43rd IEEE Symposium on Security and Privacy, SP 2022, San Francisco, CA, USA, May 22-26, 2022, pages 1897–1914. IEEE.

Ahmed Frikha, Nassim Walha, Krishna Kanth Nakka, Ricardo Mendes, Xue Jiang, and Xuebing Zhou. 2024. Incognitext: Privacy-enhancing conditional text anonymization via llm-based private attribute randomization. CoRR, abs/2407.02956.

Nicholas Carlini, Florian Tramèr, Eric Wallace, Matthew Jagielski, Ariel Herbert-Voss, Katherine Lee, Adam Roberts, Tom B. Brown, Dawn Song, Úlfar Erlingsson, Alina Oprea, and Colin Raffel. 2021. Extracting training data from large language models. In 30th USENIX Security Symposium, USENIX Security 2021, August 11-13, 2021, pages 2633–2650. USENIX Association.

Anatoliy A. Gruzd and Ángel Hernández-García. 2018. Privacy concerns and self-disclosure in private and public uses of social media. Cyberpsychology Behav. Soc. Netw., 21(7):418–428. Yu Gu, Robert Tinn, Hao Cheng, Michael Lucas, Naoto Usuyama, Xiaodong Liu, Tristan Naumann, Jianfeng Gao, and Hoifung Poon. 2022. Domain-specific language model pretraining for biomedical natural language processing. ACM Trans. Comput. Heal., 3(1):2:1–2:23.

Munmun De Choudhury and Sushovan De. 2014. Mental health discourse on reddit: Self-disclosure, social support, and anonymity. In Proceedings of the Eighth International Conference on Weblogs and Social Media, ICWSM 2014, Ann Arbor, Michigan, USA, June 1-4, 2014. The AAAI Press.

Perttu Hämäläinen, Mikke Tavast, and Anton Kunnari. 2023. Evaluating large language models in generating synthetic HCI research data: a case study. In Proceedings of the 2023 CHI Conference on Human Factors in Computing Systems, CHI 2023, Hamburg, Germany, April 23-28, 2023, pages 433:1–433:19. ACM.

DeepSeek-AI, Daya Guo, Dejian Yang, Haowei Zhang, Junxiao Song, Ruoyu Zhang, Runxin Xu, Qihao Zhu, Shirong Ma, Peiyi Wang, Xiao Bi, Xiaokang Zhang, Xingkai Yu, Yu Wu, Z. F. Wu, Zhibin Gou, Zhihong Shao, Zhuoshu Li, Ziyi Gao, and 81 others. 2025. Deepseek-r1: Incentivizing reasoning capability in llms via reinforcement learning. CoRR, abs/2501.12948.

Jochen Hartmann, Mark Heitmann, Christian Siebert, and Christina Schamp. 2023. More than a feeling: Accuracy and application of sentiment analysis. International Journal of Research in Marketing, 40(1):75–87.

Giulia DeSalvo, Jean-François Kagy, Lazaros Karydas, Afshin Rostamizadeh, and Sanjiv Kumar. 2024. No more hard prompts: Softsrv prompting for synthetic data generation. CoRR, abs/2410.16534.

Tianxing He, Jingyu Zhang, Tianle Wang, Sachin Kumar, Kyunghyun Cho, James R. Glass, and Yulia Tsvetkov. 2023. On the blind spots of model-based evaluation metrics for text generation. In Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), ACL 2023, Toronto, Canada, July 9-14, 2023, pages 12067–12097. Association for Computational Linguistics.

Yao Dou, Isadora Krsek, Tarek Naous, Anubha Kabra, Sauvik Das, Alan Ritter, and Wei Xu. 2024. Reducing privacy risks in online self-disclosures with language models. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), ACL 2024, Bangkok, Thailand, August 11-16, 2024, pages 13732–13754. Association for Computational Linguistics.

Ari Holtzman, Jan Buys, Li Du, Maxwell Forbes, and Yejin Choi. 2020. The curious case of neural text degeneration. In 8th International Conference on Learning Representations, ICLR 2020, Addis Ababa, Ethiopia, April 26-30, 2020. OpenReview.net.

Tingting Du, Jiyoon Kim, Anna Squicciarini, and Sarah Rajtmajer. 2024. Toward context-aware privacy enhancing technologies for online self-disclosure. In Proceedings of the AAAI Conference on Human Computation and Crowdsourcing, volume 12, pages 44– 54.

Charlie Hou, Akshat Shrivastava, Hongyuan Zhan, Rylan Conway, Trang Le, Adithya Sagar, Giulia Fanti, and Daniel Lazar. 2024. Pre-text: Training language models on private federated data in the age of llms. In Forty-first International Conference on Machine Learning, ICML 2024, Vienna, Austria, July 21-27, 2024. OpenReview.net.

Michael Duan, Anshuman Suri, Niloofar Mireshghallah, Sewon Min, Weijia Shi, Luke Zettlemoyer, Yulia Tsvetkov, Yejin Choi, David Evans, and Hannaneh Hajishirzi. 2024. Do membership inference attacks work on large language models? CoRR, abs/2402.07841.

Nicholas I-Hsien Kuo, Blanca Gallego, and Louisa Jorm. 2024. Masked clinical modelling: A framework for

10

synthetic and augmented survival data generation. CoRR, abs/2410.16811.

attacks against language models via neighbourhood comparison. In Findings of the Association for Computational Linguistics: ACL 2023, Toronto, Canada, July 9-14, 2023, pages 11330–11343. Association for Computational Linguistics.

Alexey Kurakin, Natalia Ponomareva, Umar Syed, Liam MacDermed, and Andreas Terzis. 2023a. Harnessing large-language models to generate private synthetic text. arXiv preprint arXiv:2306.01684.

Meta. 2024. Llama 3.3: Multilingual large language model. https://huggingface.co/meta-llama/ Llama-3.3-70B-Instruct.

Alexey Kurakin, Natalia Ponomareva, Umar Syed, Liam MacDermed, and Andreas Terzis. 2023b. Harnessing large-language models to generate private synthetic text. CoRR, abs/2306.01684.

Fatemehsadat Mireshghallah, Archit Uniyal, Tianhao Wang, David Evans, and Taylor Berg-Kirkpatrick. 2022. Memorization in NLP fine-tuning methods. CoRR, abs/2205.12506.

Mike Lewis, Yinhan Liu, Naman Goyal, Marjan Ghazvininejad, Abdelrahman Mohamed, Omer Levy, Veselin Stoyanov, and Luke Zettlemoyer. 2019. BART: denoising sequence-to-sequence pre-training for natural language generation, translation, and comprehension. CoRR, abs/1910.13461.

Ilya Mironov. 2017. Rényi differential privacy. In 30th IEEE Computer Security Foundations Symposium, CSF 2017, Santa Barbara, CA, USA, August 21-25, 2017, pages 263–275. IEEE Computer Society.

Qinbin Li, Junyuan Hong, Chulin Xie, Jeffrey Tan, Rachel Xin, Junyi Hou, Xavier Yin, Zhun Wang, Dan Hendrycks, Zhangyang Wang, Bo Li, Bingsheng He, and Dawn Song. 2024a. LLM-PBE: assessing data privacy in large language models. Proc. VLDB Endow., 17(11):3201–3214.

Ehsan Montahaei, Danial Alihosseini, and Mahdieh Soleymani Baghshah. 2019. Jointly measuring diversity and quality in text generation models. CoRR, abs/1904.03971.

Xiaochuan Li, Zichun Yu, and Chenyan Xiong. 2024b. Montessori-instruct: Generate influential training data tailored for student learning. CoRR, abs/2410.14208.

OpenAI. 2025. Introducing gpt-5. https://openai. com/index/introducing-gpt-5/.

OpenAI. 2023. GPT-4 technical report. abs/2303.08774.

CoRR,

Nicolas Papernot, Martín Abadi, Úlfar Erlingsson, Ian J. Goodfellow, and Kunal Talwar. 2017. Semisupervised knowledge transfer for deep learning from private training data. In 5th International Conference on Learning Representations, ICLR 2017, Toulon, France, April 24-26, 2017, Conference Track Proceedings. OpenReview.net.

Lin Long, Rui Wang, Ruixuan Xiao, Junbo Zhao, Xiao Ding, Gang Chen, and Haobo Wang. 2024. On llmsdriven synthetic data generation, curation, and evaluation: A survey. In Findings of the Association for Computational Linguistics, ACL 2024, Bangkok, Thailand and virtual meeting, August 11-16, 2024, pages 11065–11082. Association for Computational Linguistics.

Nicolas Papernot, Shuang Song, Ilya Mironov, Ananth Raghunathan, Kunal Talwar, and Úlfar Erlingsson. 2018. Scalable private learning with PATE. In 6th International Conference on Learning Representations, ICLR 2018, Vancouver, BC, Canada, April 30 May 3, 2018, Conference Track Proceedings. OpenReview.net.

Yingzhou Lu, Huazheng Wang, and Wenqi Wei. 2023. Machine learning for synthetic data generation: a review. CoRR, abs/2302.04062. Sadhika Malladi, Tianyu Gao, Eshaan Nichani, Alex Damian, Jason D. Lee, Danqi Chen, and Sanjeev Arora. 2023. Fine-tuning language models with just forward passes. In Advances in Neural Information Processing Systems 36: Annual Conference on Neural Information Processing Systems 2023, NeurIPS 2023, New Orleans, LA, USA, December 10 - 16, 2023.

Nils Reimers and Iryna Gurevych. 2019. Sentence-bert: Sentence embeddings using siamese bert-networks. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing, EMNLP-IJCNLP 2019, Hong Kong, China, November 3-7, 2019, pages 3980–3990. Association for Computational Linguistics.

Justus Mattern, Zhijing Jin, Benjamin Weggenmann, Bernhard Schölkopf, and Mrinmaya Sachan. 2022. Differentially private language models for secure data sharing. In Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing, EMNLP 2022, Abu Dhabi, United Arab Emirates, December 7-11, 2022, pages 4860–4873. Association for Computational Linguistics.

Anna Rumshisky, Marzyeh Ghassemi, Tristan Naumann, Peter Szolovits, VM Castro, TH McCoy, and RH Perlis. 2016. Predicting early psychiatric readmission with natural language processing of narrative discharge summaries. Translational psychiatry, 6(10):e921–e921. Victor Sanh, Lysandre Debut, Julien Chaumond, and Thomas Wolf. 2019. Distilbert, a distilled version of bert: smaller, faster, cheaper and lighter. In NeurIPS EMC2 Workshop.

Justus Mattern, Fatemehsadat Mireshghallah, Zhijing Jin, Bernhard Schölkopf, Mrinmaya Sachan, and Taylor Berg-Kirkpatrick. 2023. Membership inference

11

Anup Shirgaonkar, Nikhil Pandey, Nazmiye Ceren Abay, Tolga Aktas, and Vijay Aski. 2024. Knowledge distillation using frontier open-source llms: Generalizability and the role of synthetic data. CoRR, abs/2410.18588.

via foundation model apis 2: Text. In Forty-first International Conference on Machine Learning, ICML 2024, Vienna, Austria, July 21-27, 2024. OpenReview.net. Tianyu Yang, Xiaodan Zhu, and Iryna Gurevych. 2025. Robust utility-preserving text anonymization based on large language models. In Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), ACL 2025, Vienna, Austria, July 27 - August 1, 2025, pages 28922–28941. Association for Computational Linguistics.

Reza Shokri, Marco Stronati, Congzheng Song, and Vitaly Shmatikov. 2017. Membership inference attacks against machine learning models. In 2017 IEEE Symposium on Security and Privacy, SP 2017, San Jose, CA, USA, May 22-26, 2017, pages 3–18. IEEE Computer Society. Ruixiang Tang, Xiaotian Han, Xiaoqian Jiang, and Xia Hu. 2023. Does synthetic data generation of llms help clinical text mining? CoRR, abs/2303.04360.

Da Yu, Arturs Backurs, Sivakanth Gopi, Huseyin Inan, Janardhan Kulkarni, Zinan Lin, Chulin Xie, Huishuai Zhang, and Wanrong Zhang. 2023. Training private and efficient language models with synthetic data from llms. In Socially Responsible Language Modelling Research.

Iulia Turc, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. 2019. Well-read students learn better: The impact of student initialization on knowledge distillation. CoRR, abs/1908.08962.

Da Yu, Saurabh Naik, Arturs Backurs, Sivakanth Gopi, Huseyin A. Inan, Gautam Kamath, Janardhan Kulkarni, Yin Tat Lee, Andre Manoel, Lukas Wutschitz, Sergey Yekhanin, and Huishuai Zhang. 2022. Differentially private fine-tuning of language models. In The Tenth International Conference on Learning Representations, ICLR 2022, Virtual Event, April 25-29, 2022. OpenReview.net.

Jason A. Walonoski, Mark Kramer, Joseph Nichols, Andre Quina, Chris Moesel, Dylan Hall, Carlton Duffett, Kudakwashe Dube, Thomas Gallagher, and Scott McLachlan. 2018. Synthea: An approach, method, and software mechanism for generating synthetic patients and the synthetic electronic health care record. J. Am. Medical Informatics Assoc., 25(3):230–238.

Xiang Yue, Huseyin A. Inan, Xuechen Li, Girish Kumar, Julia McAnallen, Hoda Shajari, Huan Sun, David Levitan, and Robert Sim. 2023. Synthetic text generation with differential privacy: A simple and practical recipe. In Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), ACL 2023, Toronto, Canada, July 9-14, 2023, pages 1321–1342. Association for Computational Linguistics.

Boxin Wang, Weixin Chen, Hengzhi Pei, Chulin Xie, Mintong Kang, Chenhui Zhang, Chejian Xu, Zidi Xiong, Ritik Dutta, Rylan Schaeffer, Sang T. Truong, Simran Arora, Mantas Mazeika, Dan Hendrycks, Zinan Lin, Yu Cheng, Sanmi Koyejo, Dawn Song, and Bo Li. 2023. Decodingtrust: A comprehensive assessment of trustworthiness in GPT models. In Advances in Neural Information Processing Systems 36: Annual Conference on Neural Information Processing Systems 2023, NeurIPS 2023, New Orleans, LA, USA, December 10 - 16, 2023.

Hanna Yukhymenko, Robin Staab, Mark Vero, and Martin T. Vechev. 2024. A synthetic dataset for personal attribute inference. CoRR, abs/2406.07217.

Yuxin Wen, Leo Marchyok, Sanghyun Hong, Jonas Geiping, Tom Goldstein, and Nicholas Carlini. 2024. Privacy backdoors: Enhancing membership inference through poisoning pre-trained models. CoRR, abs/2404.01231.

Yaoming Zhu, Sidi Lu, Lei Zheng, Jiaxian Guo, Weinan Zhang, Jun Wang, and Yong Yu. 2018. Texygen: A benchmarking platform for text generation models. In The 41st International ACM SIGIR Conference on Research & Development in Information Retrieval, SIGIR 2018, Ann Arbor, MI, USA, July 08-12, 2018, pages 1097–1100. ACM.

Thomas Wolf, Lysandre Debut, Victor Sanh, Julien Chaumond, Clement Delangue, Anthony Moi, Pierric Cistac, Tim Rault, Rémi Louf, Morgan Funtowicz, Joe Davison, Sam Shleifer, Patrick von Platen, Clara Ma, Yacine Jernite, Julien Plu, Canwen Xu, Teven Le Scao, Sylvain Gugger, and 3 others. 2020. Transformers: State-of-the-art natural language processing. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing: System Demonstrations, EMNLP 2020 - Demos, Online, November 16-20, 2020, pages 38–45. Association for Computational Linguistics.

Yuqing Zhu, Xiang Yu, Manmohan Chandraker, and YuXiang Wang. 2020. Private-knn: Practical differential privacy for computer vision. In 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition, CVPR 2020, Seattle, WA, USA, June 13-19, 2020, pages 11851–11859. Computer Vision Foundation / IEEE.

Chulin Xie, Zinan Lin, Arturs Backurs, Sivakanth Gopi, Da Yu, Huseyin A. Inan, Harsha Nori, Haotian Jiang, Huishuai Zhang, Yin Tat Lee, Bo Li, and Sergey Yekhanin. 2024. Differentially private synthetic data

A

Preliminaries

A.1

Differential Privacy

Differential privacy (DP) (Dwork and Roth, 2014; Rumshisky et al., 2016) offers strong guarantees 12

for protecting individual privacy in the context of data analysis and machine learning. The formal definition of DP is given by: For all data sets D and D′ differing in one element, and for all subsets S ⊆ Range(f ),

Parameter

P r[M (D) ∈ S] ≤ exp(ϵ) × P r[M (D′ ) ∈ S] + δ

Value

m (candidates for DP)

5

K (oversampling)

10

β (sim. weight)

0.75

λ (flip penalty)

0.15

κ (min conf)

0.55

Decoding attempts

2 (beam + retry)

Max / Min length

150 / 50 tokens

where M is the randomized mechanism providing privacy; ϵ and δ are privacy parameters, representing the degree of privacy protection.

Table 4: Hyperparameters for Sentiment Alignment in Abstraction Phase.

A.2

B

Additional Experimental Details

B.1

Abstraction Models and Sentiment Alignment

Gaussian Mechanism

The Gaussian mechanism is a commonly used method to achieve DP in the context of noisy data release (Mironov, 2017). It is defined as follows: M (D) = f (D) + N (0, σ 2 I) where M (D) is the output of the mechanism; f (D) is the deterministic function applied to the input data D; N (0, σ 2 I) represents Gaussian noise added to the output, with mean 0 and covariance matrix σ 2 I. A.3

Privacy Guarantee

Proposition 1 (DP guarantee of RPSG candidate selection). Let x be a private seed, and let Sabc (x) be its candidate set with utilities u(x, sj ) ∈ [0, 1] for sj ∈ Sabc (x). Assume that u has ℓ2 -sensitivity ∆u = 1 with respect to neighboring private datasets. For privacy parameters ϵ ∈ (0, 1] and δ ∈ (0, 1), we use the noise scale in Eq. 1 and release the DP-selected candidate in Eq. 2. Then the resulting selection mechanism is (ϵ, δ)-DP with respect to the private dataset. Since all subsequent steps in RPSG operate only on the selected synthetic candidates and additional randomness, the overall RPSG pipeline preserves this (ϵ, δ) guarantee by the post-processing property of DP.

For each private seed x, we use a pretrained abstraction model (facebook/bart-large-cnn (Lewis et al., 2019)) to generate an oversampled pool of K ≥ m candidates, then prune to m highquality abstractions Sabc (x) = {s1 , . . . , sm } that are both semantically faithful and sentimentconsistent with x. We compute sentence embeddings with a sentence-transformers encoder (sentence-t5-base (Reimers and Gurevych, 2019)) and measure cosine similarity cos(e(x), e(s)). A lightweight sentiment model (siebert/sentimentroberta-large-englishh (Hartmann et al., 2023)) provides polarity y(s) ∈ {0, 1} and confidence conf(s). If a seed polarity is available, we prepend a minimal control phrase (“Keep positive tone:” or “Keep negative tone:”) prior to abstraction. Candidates are scored by: score(s) = β · cos(e(x), e(s)) + (1 − β) · 1[y(s) = y(x)]  − λ · 1 − 1[y(s) = y(x)] .

(5)

with a confidence gate conf(s) ≥ κ when enforcing agreement. We first decode with beam search, if no beam candidate satisfies agreement at confidence κ, we perform a single sampling retry and re-score. The top m candidates by score(·) form Sabc (x), which is the exact input to the DP selection step (§3.2). The hyperparameters used for abstraction candidate generation are summarized in Table 4.

Proof. The mechanism above is an instantiation of the classical Gaussian mechanism for a function with sensitivity ∆u = 1. The stated noise scale follows the standard calibration for (ϵ, δ)-DP (Dwork and Roth, 2014), and is widely used in practice for DP-SGD (Abadi et al., 2016). DP is preserved under arbitrary post-processing, which yields the claim for the full RPSG pipeline.

B.2

Prompt Design

Table 6 presents the prompt templates used in RPSG. To generate a synthetic variant from an abstracted private candidate, RPSG uses the prompt 13

volved in querying API-based models.

σ Method

ϵ=4

ϵ=2

ϵ=1

AUG-PE

1.07

1.97

3.68

DP-SGD

0.68

0.89

1.35

RPSG

1.20

2.40

4.80

C

To build our benchmark Reddit dataset, we scraped posts from Reddit using the PRAW API, focusing on subreddits where users commonly disclose challenges related to poverty and financial instability. The selected subreddits were: r/frugal, r/povertyfinance, r/help, r/Unemployment, r/Assistance, r/homeless, and r/poverty. These communities were chosen for their relevance to low socioeconomic populations and their consistent activity. To ensure the collected posts reflected financial hardship and economic struggle, we applied keyword-based filtering using a curated list of 121 phrases, as shown in Table 18.

Table 5: Noise Multipliers σ at Matched (ϵ, δ).

listed under Generating Synthetic Variant. To generate a synthetic sample from the synthetic variant, it uses the prompt under Generating Synthetic data. B.3

Dataset Construction

Privacy Alignment and Calibration

We evaluate DP-SGD, AUG-PE, and RPSG under matched privacy guarantees at ϵ ∈ {4, 2, 1} with a common δ = 1/(N log N ), where N =8948 (the size of our Reddit training dataset). Because the three methods employ different mechanisms and privacy accountants, the mapping from (ϵ, δ) to the corresponding noise multiplier σ differs. To ensure fairness, we align comparisons on the formal privacy guarantees (ϵ, δ), which is the standard criterion in DP, and we additionally report the resulting σ in Table 5 for transparency. Although the σ values differ across methods, these differences reflect their respective mechanisms and composition properties rather than unequal privacy guarantees.

D

Distributional and Semantic Similarity

Across Reddit and PubMed, RPSG improves global similarity on several key measures relative to AUGPE, with lower FID and divergence (e.g., Reddit with Phi-4: FID 0.07 vs. 0.19; KLD 1.41 vs. 13.7) and higher Mauve (e.g., PubMed with DeepSeekR1: 0.87 vs. 0.25). DP-SGD is higher on several corpus similarity metrics, but this must be interpreted with utility in mind. As shown in Table 1, these runs have much lower downstream accuracy and higher perplexity than RPSG, so corpus alignment and utility can diverge. Recall and F1 also improve on several models (e.g., Reddit with GPT-4o-mini: recall 0.33 vs. 0.13, F1 0.47 vs. 0.23), while AUG-PE often shows higher precision and Recall. This can be attributed to the nature of its generation strategy. AUG-PE prompts LLMs with broad, general prompts (e.g., PubMed prompt: "Please act as a sentence generator for the medical domain. Generated sentences should mimic the style of PubMed journal articles in a professional way or concise manner or creative style or using imagination or in a formal manner."; Reddit prompt: "Using a variety of sentence structures, Write a passage in the tone of a person who is struggling with poverty or broke or homeless or unemployed or unable to afford basic necessities.") without grounding them in specific seed inputs. As a result, the generated synthetic data tends to follow structurally common and semantically central patterns representative of the overall domain. These generic patterns increase the likelihood that each synthetic sample resembles multiple private samples (leading to higher Preci-

B.4 Synthetic Data Generation Configuration Table 7 details the experimental configurations used to generate synthetic data across two datasets and six LLMs. The Initial Synthetic Samples indicates the number of raw synthetic outputs generated from private seeds before any filtering is applied. These samples undergo two post-generation refinement stages: (1) cosine similarity filtering, which retains a bottom-ranked portion of samples that are less similar to their seed inputs based on embedding cosine similarity. (2) NLL-based filtering, which retains samples with high NLL scores. These two filtering thresholds are expressed as proportions in the Similarity Threshold and NLL Percentile, indicating the retained portion of samples after each step. The resulting final sample count is reported under Refined Synthetic Samples. Other generation hyperparameters, including epoch, learning rate, weight decay, and temperature, are also provided for completeness. The variation in initial synthetic sample sizes across different LLMs reflects both experimental design choices and resource considerations, particularly the cost-related overheads in14

Dataset

Generating Synthetic Variant

Generating Synthetic Data

Reddit

Below is an abstracted self-disclosure statement. Use it to infer the original meaning and rewrite it into a realistic self-disclosure passage:

Rephrase the following self-disclosure passage into a different but semantically similar version:

PubMed

Below is an abstracted abstract of a medical research paper. Rewrite this and preserve the original meaning:

Rephrase the following sentences as an abstract for medical research paper:

Table 6: Prompts Used in RPSG to Generate Synthetic Variants and Data.

Dataset

Model

Initial Synthetic Samples

Epoch

Learning Rate

Weight Decay

Temp

Similarity Threshold

NLL Percentile

Refined Synthetic Samples

Reddit

GPT-3.5 GPT-4o-mini DeepSeek-R1 Phi-4 DistilGPT2 GPT-2

800 500 350 2000 900 900

5 5 3 5 5 5

3e-4 4e-4 4e-4 4e-4 5e-4 4e-4

0.01 0.01 0.01 0.01 0.01 0.01

1.0 1.0 1.0 1.0 1.0 1.0

0.4 0.5 0.8 0.65 0.85 0.8

0.4 0.4 0.7 0.55 0.3 0.25

257 209 195 702 519 547

PubMed

GPT-3.5 GPT-4o-mini DeepSeek-R1 Phi-4

800 2500 220 500

5 5 3 5

1e-4 5e-5 4e-4 4e-4

0.01 0.01 0.01 0.01

1.0 1.0 1.0 1.0

0.45 0.45 0.45 0.65

0.35 0.4 0.4 0.55

501 1125 124 175

Table 7: Hyperparameters and Threshold Settings in our Experiments.

Dataset Model

Method

Reddit

RUPTA RPSG

Phi-4

Acc(%)(↑) PPL(↓) 37.0 33.2

Sentiment Self-BLEU(↓) N-Gram(↑) Align(%)(↑)

17.4 23.3

90.8 92.1

0.30 0.18

0.48 0.68

AUC PPL REFER LIRA 78.4 54.1

28.6 50.9

64.0 50.0

Table 8: Comparison of RPSG and RUPTA under Phi-4 across Utility, Diversity, Sentiment, and Privacy Metrics.

ϵ=4

Dataset

Model

Method

ϵ=2

ϵ=1

Self-BLEU(↓)

N-Gram(↑)

Self-BLEU(↓)

N-Gram(↑)

Self-BLEU(↓)

N-Gram(↑)

GPT-4o-mini

AUG-PE RPSG

0.65 0.41

0.28 0.47

0.64 0.40

0.29 0.47

0.63 0.40

0.29 0.46

Phi-4

AUG-PE RPSG

0.55 0.22

0.37 0.64

0.54 0.24

0.37 0.62

0.53 0.14

0.37 0.76

DistilGPT2

DP-SGD RPSG

0.01 0.19

0.94 0.57

0.01 0.21

0.94 0.55

0.01 0.20

0.94 0.55

GPT-2

DP-SGD RPSG

0.01 0.20

0.91 0.56

0.01 0.21

0.91 0.55

0.01 0.21

0.91 0.56

Reddit

Table 9: Lexical Diversity Results under Different Privacy Budgets.

15

0.015 0.010 0.005 0.000 60

0.25

35

0.23

30

0.21

25 Temperature temperature=0.2 temperature=0.5 temperature=0.8 temperature=1.0 temperature=1.2

20 15 10

80 100 120 140 160 180 200 220

200 500

1000

Synthetic Sample Size

Sample Length

Temperature

temperature=0.2 temperature=0.5 temperature=0.8 temperature=1.0 temperature=1.2

0.19 0.17

Self-BLEU

Density

0.020

40

FID

Private AUG-PE RuPTA RPSG

Next Word Accuracy (%)

0.025

0.15 0.13

2000

Figure 5: Effect of synthetic Figure 4: Length distribution of synthetic samples on Reddit sample size and temperature on next-word prediction. with no DP (ϵ = ∞).

0 200 500

1000

Synthetic Sample Size

2000

Figure 6: Effect of synthetic sample size and temperature on FID.

0.40 0.35 0.30 0.25 0.20 0.15 0.10 0.05

Temperature

temperature=0.2 temperature=0.5 temperature=0.8 temperature=1.0 temperature=1.2

0 200 500

1000

Synthetic Sample Size

Figure 7: Effect of synthetic sample size and temperature on self-BLEU.

Model

Method

FID(↓)

Mauve(↑)

Precision(↑)

Recall(↑)

F1(↑)

KLD(↓)

TVD(↓)

WMD(↓)

SL(↑)

GPT-3.5

AUG-PE RPSG

0.15 0.09

0.01 0.03

0.95 0.28

0.15 0.12

0.25 0.16

14.2 3.41

0.99 0.83

0.01 0.02

0.10 0.10

GPT-4o-mini

AUG-PE RPSG

0.15 0.10

0.01 0.02

0.95 0.84

0.13 0.33

0.23 0.47

13.4 3.93

0.98 0.90

0.01 0.06

0.10 0.09

DeepSeek-R1

AUG-PE RPSG

0.14 0.08

0.01 0.12

0.41 0.39

0.06 0.20

0.09 0.27

7.08 2.99

0.95 0.62

0.08 0.05

0.11 0.09

Phi-4

AUG-PE RPSG

0.19 0.07

0.01 0.25

0.83 0.53

0.09 0.19

0.16 0.28

13.7 1.41

0.99 0.53

0.01 0.01

0.11 0.09

DistilGPT2

DP-SGD RPSG

0.10 0.08

0.22 0.04

0.04 0.06

0.05 0.09

0.05 0.07

3.40 2.43

0.57 0.79

0.01 0.01

0.13 0.12

GPT-2

DP-SGD RPSG

0.06 0.08

0.28 0.08

0.15 0.05

0.23 0.10

0.18 0.07

2.94 5.04

0.52 0.71

0.01 0.01

0.12 0.12

GPT-3.5

AUG-PE RPSG

0.08 0.04

0.28 0.85

0.91 0.82

0.13 0.08

0.22 0.15

0.78 0.21

0.48 0.26

0.02 0.01

0.09 0.09

GPT-4o-mini

AUG-PE RPSG

0.07 0.03

0.32 0.72

0.97 0.71

0.18 0.07

0.31 0.13

0.71 0.46

0.47 0.31

0.01 0.01

0.09 0.10

DeepSeek-R1

AUG-PE RPSG

0.12 0.10

0.25 0.87

0.99 0.94

0.12 0.05

0.21 0.09

0.87 0.21

0.57 0.24

0.09 0.04

0.09 0.10

Phi-4

AUG-PE RPSG

0.09 0.08

0.03 0.85

0.87 0.70

0.12 0.05

0.21 0.09

3.13 0.24

0.83 0.27

0.01 0.03

0.10 0.10

Dataset

Reddit

PubMed

2000

Table 10: Distributional and Semantic Similarity to the Private Data for the non-DP Baseline (ϵ = ∞).

Dataset

ϵ=4

ϵ=2

ϵ=1

Acc(%)

Acc(%)

Acc(%)

GPT-4o-mini AUG-PE RPSG

32.2 24.6

31.8 21.4

32.3 24.6

Phi-4

AUG-PE RPSG

34.6 29.6

34.7 30.1

34.5 32.5

DistilGPT2

DP-SGD RPSG

4.78 34.4

4.81 33.9

5.89 36.2

GPT-2

DP-SGD RPSG

5.23 35.5

5.06 36.0

5.06 35.5

Model

Reddit

Method

call, reflecting how well individual synthetic samples correspond to nearby private samples, RPSG’s outputs better capture the overall distributional and semantic properties of the private data. This aligns with RPSG’s stronger performance on global alignment metrics such as FID, KLD, TVD, and Mauve. Thus, the gap in Precision and Recall does not contradict RPSG’s strength in modeling broader characteristics of the private dataset.

Table 11: Downstream Task Performance Results under Different Privacy Budgets.

sion), and that each private sample retrieves several related synthetic samples (leading to higher Recall). In contrast, RPSG uses a subset of private data as seeds to guide generation. This strategy emphasizes fidelity to specific seed examples over broader coverage of the data distribution. As a result, RPSG’s synthetic samples are less likely to resemble unrelated private data points, inherently leading to lower Precision and Recall in retrievalbased evaluations.

E

Membership Inference Evaluation: Avoiding Common Pitfalls

E.1

Evaluation Settings

We carefully designed our experimental pipeline to rigorously evaluate the resistance of our synthetic data to MIAs (Carlini et al., 2021, 2022; Mattern et al., 2023). Specifically, our evaluation follows these settings: Dataset Partitioning: The private dataset(e.g., train.csv) is divided into two distinct subsets. The first subset serves as the seed pool for generating synthetic data (members), and the second subset

While AUG-PE yields higher Precision and Re16

E.3

comprises entirely unseen samples (non-members). Synthetic Data Generation: Synthetic data generation leverages a strict and robust pipeline involving abstraction, sentiment alignment, embeddingbased cosine similarity filtering, and NLL screening. This ensures that generated data significantly diverges from direct memorization while preserving utility. Surrogate Model Training: A freshly initialized BERT-small model (pretrained only) is finetuned exclusively on refined synthetic data for five epochs. Given the relatively small synthetic dataset size (typically under 2,000 data points), five epochs provide a realistic opportunity for memorization, rigorously testing privacy robustness. MIAs: Three dedicated MIAs (Mattern et al., 2023) are employed on the fine-tuned BERT-small model, corresponding to AUC-based metrics: PPL, REFER, and LIRA. Each attack assesses whether a synthetic data sample is more likely to originate from the member or non-member subset of the training data. E.2

How Our Methodology Avoids These Pitfalls

Our rigorous approach explicitly avoids each of the pitfall identified above, ensuring the validity and robustness of our MIA evaluations: 1. Avoiding Temporal Distribution Shifts: Our member and non-member samples are drawn from disjoint subsets of the same data sources, ensuring they represent distinct data points without temporal and content overlap. Since we do not rely on data collected across time windows, our evaluation avoids the confounding effects of temporal drift that can lead to inflated MIA results. 2. No Artificial Lexical Filtering: We do not filter or manipulate member or non-member datasets to reduce lexical overlap. All data samples remain unmodified, preserving natural content appearance and realistic evaluation conditions. 3. Realistic Multi-Epoch Training: Our surrogate BERT-small model is trained for multiple epochs (typically three to five) on relatively small-scale data. This realistic scenario facilitates genuine memorization opportunities, thus providing a stringent test for MIA robustness.

Common Methodological Pitfalls Identified in Prior Work

Recent work by Duan et al. (2024) critically evaluates prior MIA methodologies and identifies several key methodological pitfalls that lead to misleading conclusions about the effectiveness of MIAs:

4. Valid Non-member Definition: We define non-members as private samples that were never used to train the surrogate model (i.e., not seen and accessed by BERT-small). Unlike approaches that generate non-members by rephrasing members, our evaluation uses disjoint subsets of private data to ensure a clean membership distinction.

1. Temporal Distribution Shift: Some studies choose non-members from the same domain (e.g., Wikipedia) but from different temporal snapshots, resulting in artificial temporal shifts rather than true membership signals. 2. Artificial Lexical Filtering: Certain evaluations artificially eliminate overlapping ngrams or lexical similarities between member and non-member samples, creating unnaturally distinguishable datasets.

By consciously and carefully avoiding these methodological errors, our results provide a more accurate and meaningful measure of privacy leakage and effectively demonstrate the genuine resistance of our synthetic data to MIAs.

3. Single-Epoch Training: Evaluating MIAs on models trained for a single epoch on massive datasets inherently limits memorization opportunities, misleadingly suggesting MIAs are ineffective.

F

Protection against PII Leakage

We assess privacy leakage following the methodology of Wang et al. (2023), defining it as the rate of successful PII extraction, where a sample is considered leaked if at least one PII entity is detected. We employ their evaluation pipeline and detection model but differ by directly evaluating synthetic data rather than using prompting attacks to elicit memorized data. We do not assume that all de-

4. Synthetic Non-member Generation: Some evaluations generate non-members by applying minimal modifications (e.g., synonyms or paraphrasing) to member samples using LLMs, resulting in semantic overlap and invalidating true membership evaluation. 17

AUC (ϵ = 4) Dataset

Model

Method

AUC (ϵ = 2)

AUC (ϵ = 1)

PPL

REFER

LIRA

PPL

REFER

LIRA

PPL

REFER

LIRA

GPT-4o-mini

AUG-PE RPSG

39.1 53.7

79.3 66.5

40.5 40.1

34.5 53.1

82.9 67.3

39.5 40.7

57.0 64.6

61.3 53.7

44.2 48.2

Phi-4

AUG-PE RPSG

42.1 45.7

67.4 62.1

38.1 42.3

46.1 50.8

62.8 55.4

41.3 47.3

48.2 60.2

60.3 43.9

43.2 53.8

DistilGPT2

DP-SGD RPSG

52.5 55.9

39.9 54.4

57.9 47.0

50.8 52.9

34.2 59.0

60.2 43.9

52.7 60.2

44.7 51.0

54.2 49.0

GPT-2

DP-SGD RPSG

50.7 44.8

63.8 69.5

40.1 36.5

49.2 58.8

43.1 53.6

55.1 47.1

50.7 49.5

46.1 63.4

51.9 41.5

Reddit

Table 12: Evaluation of MIAs under Different Privacy Budgets.

tected PII reflects real leakage from the private data. Instead, the PII extraction rate serves as a proxy to measure the likelihood that models generate sensitive-looking content which can still pose privacy risks in deployment. Figure 3 reports PII extraction rates (percentage of samples with detectable PII per 1,000 samples). Our synthetic data demonstrates low privacy leakage (0.5%–1.2%). While exact numerical comparisons with Wang et al. (2023) are constrained by methodological differences, our extraction rates are notably lower, indicating minimal privacy risks. Advanced LLMs (e.g., GPT-4o-mini) exhibit lower extraction rates than older models (e.g., GPT2), likely due to improved language understanding, instruction-following, and alignment methods, whereas older LLMs more directly replicate input content, increasing potential privacy risks.

G

privacy. G.2

Example-Based Comparison

Table 13 presents the closest synthetic matches to the private Reddit sample for AUG-PE and DPSGD (retrieved using cosine similarity), alongside the directly aligned outputs of RUPTA and RPSG under ϵ = ∞. The RPSG output preserves highly specific and meaningful elements such as sister, twins, daughter, autism, children, homeless, lost and desperate, cycle of uncertainty, and financial hardship markers like a month behind on payments, rent, turn to for help, not knowing where we will sleep at night, and basic necessities. These features demonstrate strong semantic and sentiment alignment with the private sample without replicating it directly. The DP-SGD outputs illustrate the opposite problem. At ϵ ∈ {4, 2, 1}, the generations collapse into largely incoherent word salad, reflecting the severe noise introduced to enforce privacy. At ϵ = ∞, the outputs are somewhat more readable but still noisy continuations. Cosine similarity to the private example remained very low (≤ 0.19), suggesting that direct memorization was rare. However, the texts were still too incoherent to be useful for applications such as studying the lived experiences of disadvantaged populations. These results underscore a central limitation of DP-SGD: while it provides formal privacy guarantees, it does so at the cost of downstream utility. The AUG-PE sample, while fluent, lacks grounded details such as family structure or specific financial stress, defaulting instead to generic homelessness tropes. As a result, the synthetic data provides little value for downstream analysis. The RUPTA sample closely mirrors the private narrative and affect, preserving the same core entities and events: sibling and niece relations, one month behind on rent with a rounded dollar amount,

Qualitative and Structural Evaluation

G.1 Sentence-Length Distribution Assessment We randomly sampled 1,000 synthetic samples to investigate their length distribution. As illustrated in Figure 4, RUPTA reproduces the private distribution almost exactly, since its one-to-one rewriting process preserves the original text length. While this appears ideal for length fidelity, it reflects direct rewriting and therefore provides little additional privacy protection. RPSG, in contrast, achieves a distribution that closely follows the private data. The peak in the RPSG distribution reflects the preset abstraction length of 150 tokens, with the model typically appending a small amount of additional text to fully express the meaning embedded in the abstracted seeds. AUG-PE, lacking explicit guidance, produces outputs of relatively consistent length, leading to poorer alignment with the private distribution. These comparisons highlight that sentencelength evaluation must be interpreted alongside utility and privacy guarantees, since perfect fidelity to private data does not necessarily imply stronger 18

Type

Reddit

Private Sample

My sister (25) Myself (25) ( We’re twins, same age ) and her daughter who has autism has been homeless for about 1 month now. We’re good people and we’re clean people. We were one month behind on rent ( rent was $2,200, it was hard paying that month to month ) and all of sudden everything fell apart so fast. We live in CA in Los Angeles county and these shelters that were provided for us to call etc has been sending us in circles, not calling us back, or saying they have no room for us. It’s depressing because getting back on our feet seems impossible because all the money is either going to hotels, gas, or fast food and water. We don’t have family anywhere at all or any that cares for us ( trust me we tried asking for help ) I’m wondering has anybody been through the same thing and how do your overcome this ? It’s so depressing and now there we’re homeless we see how people are treating us different. ...(omitted)

Synthetic Sample (DP-SGD)

Anyway, now that my kid is getting to college and I desperately need to start saving for her, what is the point of it if we all decide that we don lice each other and are going to go around accusing eachother of cheating, of stealing my money or of having a fight with me? Now, if that sounds like you guys, then good on yourself. I’ll give you two exceptions. One, because both me and my mom have financial issues, but that proves that you can’t just "treat yourself" to some nice decent treatment. Two, being able to afford a place for my family (my wife and kids) doesn’t automatically mean that they’ll automatically be willing to accommodate you for the rest of your life. Because, to be perfectly honest, those two things are also reasons why I feel like I need a shelter, even temporarily. My shelter will take me to a state border town a thousand miles away, which will let me get to classes, go to the library, and get food. It pays for itself over a period of installments (probably less). ...(omitted)

Synthetic Sample (AUG-PE)

Every day is a struggle on the streets. I wake up in a spot that offers little shelter from the biting cold. With no roof over my head, my body aches, but there’s no money for a doctor. Just a few coins in my pocket — not enough for a bus pass, let alone a hospital visit. I watch people walk by, their lives full of warmth and comfort, while I scrounge for my next meal. Eating feels like a gamble. A half-eaten sandwich tossed in a trash can is often my best bet. I know it’s not healthy, but hunger gnaws at me mercilessly. I used to care about what went into my body, but priorities shift when survival becomes the only goal. Some days, the uncertainty of finding food weighs heavier than the chill in the air. Trying to find work feels hopeless. I can barely clean myself up. Interviews? They require clothes that fit and a sharp presentation, neither of which I possess. The world moves forward while I’m stuck, watching. Every moment I spend searching for basic necessities reminds me of my reality. The cycle of homelessness wraps tightly around me, and there’s no escape in sight.

Synthetic Sample (RUPTA)

My sibling and I (both in our mid-20s) and our niece, who has special needs, have been homeless for about a month now. We’re good people and we’re clean people. We were one month behind on rent (rent was around $2,000, it was hard paying that month to month) and all of sudden everything fell apart so fast. We live in a major city in California, and the shelters that were provided for us to call, etc., have been sending us in circles, not calling us back, or saying they have no room for us. It’s depressing because getting back on our feet seems impossible because all the money is either going to hotels, gas, or fast food and water. We don’t have family anywhere at all or any that cares for us (trust me, we tried asking for help). I’m wondering if anybody has been through the same thing and how do you overcome this? It’s so depressing, and now that we’re homeless, we see how people are treating us differently. ...(omitted)

Synthetic Sample (RPSG)

Every month, my sister and I struggle to pay our rent of [CURRENCY]. With twins to care for, it feels impossible. Our daughter, who has autism, needs special attention, and we are constantly overwhelmed. Right now, we find ourselves homeless, just trying to get by, and we’re already a month behind on payments. This situation is breaking us, each day a reminder of our struggles. I feel like we’re slipping through the cracks, with no one to turn to for help. The weight of our circumstances is suffocating, leaving us feeling lost and desperate. With every passing day, I wonder how we will find the means to provide basic necessities for our children. It’s a painful cycle of uncertainty, and as I look at my kids, all I can think about is how to keep them safe and fed. The fear of not knowing where we will sleep at night is exhausting. Somehow, we must find a way to break free from this cycle of despair. Yet, hope feels so far away.

Table 13: Example-based Qualitative Comparison Between Private, DP-SGD, AUG-PE, RUPTA, and RPSG Synthetic Samples under ϵ = ∞.

AUC (No NLL) Dataset

Model

Reddit

PubMed

AUC (With NLL)

PPL

REFER LIRA

PPL

REFER LIRA

GPT-4o-mini DeepSeek-R1 Phi-4

100.0 5.77 100.0

0.0 98.80 0.0

0.0 48.04 0.0

52.1 52.1 47.5

59.3 58.2 52.4

43.7 45.6 49.2

GPT-3.5 GPT-4o-mini DeepSeek-R1

100.0 100.0 0.08

0.0 0.0 99.99

0.0 0.0 99.92

50.0 42.0 53.3

42.7 51.8 44.2

57.7 52.6 55.3

Table 14: Resistance to MIAs with and without NLL-based Filtering.

19

Attribute

AUG-PE

DP-SGD

AUPTA

RPSG

Fluency

High

Moderate

High

High

Semantic Coherence

High

Domain Alignment

Moderate

Low Low

High High

High

Reddit

Phi-4

Sample Size

Ave Len.

Sentiment Align.(%)

100

76

86.1

200

70

89.6

500

59

86.5

Table 16: Sentiment Alignment Between Private and Abstracted Text.

The experiments were performed on an Nvidia A100 GPU with 40GB VRAM and a Cascade Lake core processor with 128GB RAM. As shown in Figure 2, RPSG consistently requires fewer GPU hours compared to AUG-PE across the tested advanced models. For the GPT-3.5 model, both AUGPE and RPSG consume 0.2 GPU hours. For the GPT-4o-mini model, RPSG reduces the GPU hours from 1.1 to 0.9, achieving a speedup of 1.22x. For the Phi-4-mini and Phi-4 models, RPSG reduces the GPU hours from 5.0 to 3.9 and from 6.5 to 4.7, respectively, with corresponding speedups of 1.28x and 1.38x. Overall, RPSG demonstrates consistent efficiency gains, achieving speedups ranging from 1.22x to 1.38x. One notable observation is the considerable discrepancy in GPU hours between the GPT and Phi model families. GPT models exhibit significantly faster synthetic data generation. Conversely, the Phi models, with smaller parameter counts, display substantially longer runtimes. This disparity can be attributed to differences in architecture optimizations and inference techniques, with GPT models specifically engineered for high-performance generative tasks (OpenAI, 2023). While Phi models demonstrate high efficiency when generating a large number of short sequences, their runtime increases disproportionately when generating longer text samples (e.g., 500 words), suggesting that output length plays a more critical role in computational cost than sample quantity. This behavior is consistent with their technical report, which highlights that Phi models are primarily optimized for reasoning-intensive tasks (Abdin et al., 2024) rather than high-throughput text generation workloads.

shelters sending us in circles with no room, and the repeated emphasis on feeling depressed and seeing no way out. This yields semantic and sentiment alignment comparable to RPSG. However, privacy is weaker: Table 8 shows RUPTA’s MIAs AUCs far from chance (PPL 78.4, REFER 28.6, LIRA 64.0), while RPSG is near 50% on all three (54.1, 50.9, 50.0). In short, RUPTA matches alignment but does not offer the same resistance to MIAs under this setting. Overall, RPSG achieves a better balance, producing outputs that are both privacy-preserving and meaningfully aligned with the semantic , sentiment, and structural features of private data, making them far more suitable for real-world research tasks. Attribute-Level Comparison

Table 15 summarizes subjective but empirically informed evaluations across three key attributes. Fluency. Text produced by AUG-PE, RUPTA, and RPSG is consistently fluent, reflecting their reliance on API-based LLMs. DP-SGD, however, is only moderate in fluency due to the noise introduced during training. Semantic Coherence. RPSG and RUPTA maintain strong semantic coherence, preserving meaningful structure and topic continuity. AUG-PE is generally coherent but tends to drift toward generic narratives. DP-SGD performs poorly, often producing incoherent or fragmented outputs. Domain Alignment. RPSG and RUPTA both capture domain-specific features effectively. AUGPE exhibits weaker alignment, often missing finegrained terminology, while DP-SGD struggles to retain domain relevance because of quality degradation.

H

Model

High

Table 15: Attribute-Level Comparison.

G.3

Dataset

Computational Efficiency Results

This evaluation was conducted by measuring GPU hours consumed to generate 1,000 synthetic samples, each approximately 200 words in length, using API-based models (GPT-3.5 and GPT-4o-mini) and open-source models (Phi-4-mini and Phi-4).

I

Ablation Results

I.1

NLL-based Filtering and Resistance to MIAs

Mattern et al. (2023) shows that overfit training samples in language models often have abnormally low token level NLL compared with semantically similar non members, making NLL a useful sig20

nal of possible memorization. To show the effect of NLL-based filtering in our pipeline, we report membership inference AUCs before filtering and after filtering. Starting with 2,000 synthetic samples generated by Phi-4 on Reddit, a BERT model trained on the full set was highly vulnerable to MIAs, with PPL 100.0, REFER 0.0, and LIRA 0.0, as shown in Table 14. After applying NLL-based filtering to remove likely overfit samples, 702 examples were retained. A BERT model trained on these filtered samples showed much stronger privacy, with PPL 47.5, REFER 52.4, and LIRA 49.2. This reduction from 2,000 to 702 is reflected in Table 7. Across datasets and LLMs, removing likely overfit samples with NLL-based filtering moves AUCs toward 50%, often from highly vulnerable values near 0 or 100. This confirms that NLL-based filtering is necessary for privacy robustness in our setting. I.2

versity, minimally affects Phi-4’s downstream nexttoken prediction performance. This indicates that, for reasoning-focused models like Phi-4, the quantity of synthetic samples plays a more critical role than temperature variations. Importantly, despite constraints imposed by privacy considerations, the accuracy of RPSGgenerated synthetic data consistently surpasses that of the AUG-PE baseline, as detailed further in Table 1, highlighting RPSG’s effectiveness in maintaining downstream task performance even under stringent privacy considerations. I.3

Effect on FID

Figure 6 demonstrates that FID scores consistently improve (decrease) as synthetic sample size increases across all temperature settings. Larger datasets allow synthetic distributions to better align structurally and semantically with private data. Additionally, FID improves slightly as temperature increases from 0.2 to 1.2, suggesting that more diverse generation (higher temperature) helps synthetic samples better represent the private data distribution, especially with limited sample sizes. However, improvements from increasing sample size are notably greater than those from adjusting temperature. This observation may stem from Phi-4’s strong optimization towards generating consistent, structured semantic outputs, making it relatively insensitive to temperature variations regarding distributional alignment. These results highlight the significance of synthetic dataset size in improving fidelity and suggest that higher temperatures can moderately enhance semantic alignment with private data.

Effect on Next-Word Prediction Accuracy

As shown in Figure 5, synthetic sample size is the primary factor affecting next-word prediction accuracy. At 200 samples, accuracy is relatively low (around 12–13%), indicating significant underfitting due to insufficient data. Increasing the sample size from 200 to 500 markedly improves accuracy to approximately 30%, reflecting enhanced exposure to language patterns. Further increases to 1000 and ultimately 2000 samples yield additional improvements, bringing accuracy close to 40%. The saturation near 40% indicates a fundamental trade-off inherent in the RPSG method. While RPSG utilizes private data as seeds, enabling synthetic samples to closely match authentic language patterns and potentially achieve high accuracy, the refinement procedure intentionally filters out highly similar and memorized samples. This step, essential for robust privacy protection, inevitably excludes samples that could enhance next-word prediction performance. Thus, the observed levelingoff of accuracy clearly illustrates the intrinsic privacy-utility balance within RPSG. Temperature variations (from 0.2 to 1.2) show minimal influence on accuracy across all synthetic sample sizes, likely due to the specific characteristics of Phi-4. Unlike general-purpose models such as the GPT series, Phi-4 is optimized for reasoning-centric tasks, producing stable, logically coherent outputs. Consequently, changing the temperature, which typically modulates generation di-

I.4

Effect on Self-BLEU

Figure 7 shows self-BLEU scores increasing (e.g., from around 0.1 to 0.3) with larger synthetic sample sizes, indicating reduced diversity. This reduction arises from repetitive phrase structures and recurring patterns becoming more common with larger datasets. Conversely, higher temperatures reduce self-BLEU scores, reflecting increased lexical and syntactic diversity. This observed pattern matches our expectations: lower temperatures generate more coherent but less diverse outputs, while higher temperatures increase diversity at the potential expense of coherence. Phi4 clearly demonstrates this behavior. 21

Sample

Temp

Size

Accuracy(%)

FID

Self-BLEU

Run1

Run2

Run3

Run1

Run2

Run3

Run1

Run2

Run3

200

0.2 0.5 0.8 1.0 1.2

13.16 12.36 12.98 12.28 11.2

13.28 9.72 12.43 10.77 13.21

12.28 13.53 13.18 12.16 12.42

0.182 0.175 0.175 0.169 0.176

0.213 0.198 0.203 0.19 0.195

0.249 0.238 0.237 0.245 0.211

0.222 0.22 0.195 0.159 0.144

0.12 0.114 0.12 0.099 0.098

0.102 0.111 0.084 0.081 0.081

500

0.2 0.5 0.8 1.0 1.2

29.89 29.44 29.44 29.4 29.91

28.95 29.52 29.66 30.57 30.32

20.66 20.76 19.57 19.93 20.63

0.165 0.167 0.172 0.18 0.169

0.172 0.174 0.175 0.172 0.166

0.196 0.192 0.194 0.19 0.178

0.308 0.282 0.273 0.241 0.226

0.187 0.194 0.196 0.164 0.162

0.179 0.176 0.163 0.16 0.136

1000

0.2 0.5 0.8 1.0 1.2

34.79 34.02 33.04 34.05 34.98

31.15 33.21 30.85 32.9 34.53

34.53 30.29 31.58 34.59 35.22

0.156 0.159 0.168 0.168 0.161

0.167 0.158 0.166 0.166 0.16

0.173 0.171 0.167 0.178 0.134

0.276 0.341 0.302 0.283 0.247

0.267 0.24 0.241 0.194 0.191

0.251 0.23 0.213 0.32 0.276

2000

0.2 0.5 0.8 1.0 1.2

35.46 35.36 34.89 35.3 35.48

31.02 30.43 35.39 33.41 33.36

35.01 35.58 33.26 38.32 39.46

0.147 0.148 0.152 0.151 0.151

0.165 0.166 0.163 0.164 0.16

0.159 0.159 0.156 0.147 0.138

0.384 0.407 0.383 0.356 0.323

0.328 0.304 0.293 0.259 0.246

0.327 0.306 0.277 0.353 0.295

Table 17: Ablation results on Next-Word Prediction Accuracy, FID, and self-BLEU across temperature and synthetic sample size settings using Phi-4.

I.5

Conclusion of Ablation

Overall, these ablation results emphasize synthetic sample size as the most influential factor for model accuracy and distributional fidelity. Temperature has limited impact on accuracy and moderate effects on diversity (self-BLEU) and distributional alignment (FID). Phi-4 is notably less sensitive to temperature changes compared to general-purpose LLMs like GPT-4o. Complete results are provided in Table 17.

22

low income poor wage stagnation underpaid paycheck to paycheck heavy debt financially strained cannot afford can’t even afford unable to even afford not make rent cannot pay can’t even pay unable to even pay falling behind on bills homeless food stamps living in poverty financially disadvantaged barely scraping by struggling to make ends meet behind on mortgage payments living without health insurance surviving on food stamps unable to find stable work drowning in credit card debt on the verge of bankruptcy relying on payday loans depending on disability checks living in a shelter dealing with repossession of property struggling to keep utilities on facing discrimination in housing barely surviving behind on bills in over my head with debt living in my car racked up medical debt selling my stuff to get by working minimum wage credit score tanked

financial burden unemployment low wage low pay financial hardship burdened by debt affordability issues not afford cannot even afford can’t make rent unable to make rent not pay cannot even pay broke foreclosure food insecurity food bank working poor impoverished drowning in debt unable to pay rent at risk of eviction relying on public assistance visiting food banks working multiple low-wage jobs falling behind on utility payments forced to skip meals trapped in a cycle of poverty living in low-income housing surviving on minimum wage living below the poverty line receiving government assistance need the money skipping meals to save money living off ramen living off food stamps working two jobs just to survive shutoff notice for utilities living off unemployment eviction notice came

poverty underemployment minimum wage barely making ends meet money struggles bankrupt can’t afford unable to afford not even afford cannot make rent can’t pay unable to pay not even pay financial stress eviction social assistance unable to afford healthcare underprivileged economic inequality completely broke living with no savings losing access to healthcare dependent on welfare programs facing job insecurity overwhelmed by medical bills struggling with student loan debt cutting back on basic necessities receiving unemployment benefits experiencing financial instability forced to sell personal belongings burdened by medical debt struggling with mental health stuck in a dead-end job living off handouts maxed out credit cards crippling student loans no health insurance about to be homeless struggling to pay rent utilities about to be shut off

Table 18: Phrases Used to Filter Posts During Construction of the Reddit Dataset.

23

Record · ID 2468 · SHA-256 b9d6724e0891c368
Conceptio Open Knowledge Archive — every document is proof-bundled with source, license, and retrieval metadata.