arXiv:2502.13193cs.CL2025-02被引 3

用私有提示词生成医疗文本,保护隐私还能训练模型。

Private Text Generation by Seeding Large Language Model Prompts

  • 用关键词嵌入采样生成私有提示,不直接暴露原始数据
  • 生成文本保留原数据80%以上分类预测能力
  • 适合医院等敏感数据机构安全共享数据

本文研究如何通过合理提示大型语言模型(LLM)生成私有的合成文本,以解决医院等机构在保护患者隐私的同时共享敏感医疗记录的难题。传统方法需训练或微调模型,受限于第三方LLM的API限制或数据伦理法律禁止。为此提出差分隐私关键词提示种子法(DP-KPS),仅通过私有化提示访问LLM,从敏感语料中生成合成文本。该方法基于从短语嵌入分布中抽取私有样本作为提示种子,既保留原始数据特征,又保证输出多样性与差分隐私。在下游文本分类任务上的评估显示,生成语料保留了原始数据80%以上的预测性能。结果表明,机构可通过简单提示和极少算力实现数据安全共享并获得机器学习洞察。

原文摘要 · Abstract (English)

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.

隐私生成大模型差分隐私医疗AI

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。