paper-with-me

홈 › Papers

Private Text Generation by Seeding Large Language Model Prompts

2025-02-18 · Supriya Nagesh, Justin Y. Chen, Nina Mishra, Tal Wagner

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.

📄 PDF Abstract BibTeX arXiv:2502.13193

Code (0)

등록된 구현이 없습니다.

Tasks

Language ModelingLanguage ModellingLarge Language Modeltext-classificationText ClassificationText Generation

Similar Papers 제목 키워드 기반

Saliency-guided Adaptive Seeding for Supervoxel Segmentation

2017-04-13 · Ge Gao, Mikko Lauri, Jianwei Zhang, Simone Frintrop

We propose a new saliency-guided method for generating supervoxels in 3D space. Rather than using an evenly distributed spatial seeding procedure, our method uses visual saliency to guide the process of supervoxel genera…

Segmentation

Privacy-Preserving In-Context Learning for Large Language Models

2023-05-02 · Tong Wu, Ashwinee Panda, Jiachen T. Wang, Prateek Mittal

In-context learning (ICL) is an important capability of Large Language Models (LLMs), enabling these models to dynamically adapt based on specific, in-context exemplars, thereby improving accuracy and relevance. However,…

In-Context LearningPrivacy Preservingtext-classificationText Classification+1

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

2026-04-08 · Qian Ma, Sarah Rajtmajer arxiv

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 an…

Synthetic Data Generation

Differentially Private Synthetic Text Generation for Retrieval-Augmented Generation (RAG)

2025-10-08 · Junki Mori, Kazuya Kakizaki, Taiki Miyagawa, Jun Sakuma arxiv

Retrieval-Augmented Generation (RAG) enhances large language models (LLMs) by grounding them in external knowledge. However, its application in sensitive domains is limited by privacy risks. Existing private RAG methods …

Text Generation

Privacy Preserving In-Context-Learning Framework for Large Language Models

2025-09-17 · Bishnu Bhusal, Manoj Acharya, Ramneet Kaur, Colin Samplawski 외 arxiv

Large language models (LLMs) have significantly transformed natural language understanding and generation, but they raise privacy concerns due to potential exposure of sensitive information. Studies have highlighted the …

Natural Language UnderstandingText Generation