Private Text Generation by Seeding Large Language Model Prompts
Not on the map. Why?
Abstract (arXiv)
We explore how private synthetic text can be generated by suitably prompting a large language model (LLM). This addresses a challenge for organizations like hospitals, which hold sensitive text data like patient medical records, and wish to share it in order to train machine learning models for medical tasks, while preserving patient privacy. Methods that rely on training or finetuning a model may be out of reach, either due to API limits of third-party LLMs, or due to ethical and legal prohibitions on sharing the private data with the LLM itself. We propose Differentially Private Keyphrase Prompt Seeding (DP-KPS), a method that generates a private synthetic text corpus from a sensitive input corpus, by accessing an LLM only through privatized prompts. It is based on seeding the prompts with private samples from a distribution over phrase embeddings, thus capturing the input corpus while achieving requisite output diversity and maintaining differential privacy. We evaluate DP-KPS on downstream ML text classification tasks, and show that the corpora it generates preserve much of the predictive power of the original ones. Our findings offer hope that institutions can reap ML insights by privately sharing data with simple prompts and little compute.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 30 of its 44 references that are in the map. First posted on arXiv 18 Feb 2025.
Builds on
30 of 44 references.
References · 30
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
- 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,346
- 2015Character-level Convolutional Networks for Text Classificationcited by 2,293
- 2019BioBERT: a pre-trained biomedical language representation model for biomedical text miningcited by 1,935
- 2016Deep CORAL: Correlation Alignment for Deep Domain Adaptationcited by 1,194
- 2023Automatic Prompt Optimization with "Gradient Descent" and Beam Searchcited by 628
- 2023TinyStories: How Small Can Language Models Be and Still Speak Coherent English?cited by 425
- 2021Large Language Models Can Be Strong Differentially Private Learnerscited by 405
- 2021Differentially Private Fine-tuning of Language Modelscited by 392
- 2016Semi-supervised Knowledge Transfer for Deep Learning from Private Training Datacited by 347
- 2018Scalable Private Learning with PATEcited by 266
- 2018Differentially Private Generative Adversarial Networkcited by 235
18 more
- 2023How to DP-fy ML: A Practical Guide to Machine Learning with Differential Privacycited by 150
- 2020DP-CGAN: Differentially Private Synthetic Data and Label Generationcited by 118
- 2020GS-WGAN: A Gradient-Sanitized Approach for Learning Differentially Private Generatorscited by 117
- 2022Synthetic Text Generation with Differential Privacy: A Simple and Practical Recipecited by 108
- 2023Privacy-Preserving In-Context Learning with Differentially Private Few-Shot Generationcited by 94
- 2023Flocks of Stochastic Parrots: Differentially Private Prompt Learning for Large Language Modelscited by 80
- 2020DP-MERF: Differentially Private Mean Embeddings with Random Features for Practical Privacy-Preserving Data Generationcited by 78
- 2024Differentially Private Synthetic Data via Foundation Model APIs 2: Textcited by 74
- 2020Training Production Language Models without Memorizing User Datacited by 68
- 2023Differentially Private Synthetic Data via Foundation Model APIs 1: Imagescited by 63
- 2021Don't Generate Me: Training Differentially Private Generative Models with Sinkhorn Divergencecited by 54
- 2020Differentially Private Synthetic Medical Data Generation using Convolutional GANscited by 52
- 2024Private Fine-tuning of Large Language Models with Zeroth-order Optimizationcited by 41
- 2023SoK: Privacy-Preserving Data Synthesiscited by 37
- 2021Hermite Polynomial Features for Private Data Generationcited by 21
- 2019Comprehend Medical: a Named Entity Recognition and Relationship Extraction Web Servicecited by 10
- 2023Fast Private Kernel Density Estimation via Locality Sensitive Quantizationcited by 7
- 2023Hot PATE: Private Aggregation of Distributions for Diverse Taskcited by 3
Built on by
Citing papers per year: 2025: 1; 2026: 1.
2 papers.