用轻量模型生成隐私保护数据,无需大模型微调或复杂提示工程。
Synthesizing Privacy-Preserving Text Data via Finetuning without Finetuning Billion-Scale LLMs
- 轻量140M模型结合聚类主题模型,预训练于公开数据。
- 差分隐私微调生成器并用隐私直方图指导采样,生成目标数量数据。
- 无需手动提示,适合资源有限但需强隐私保障的场景。
合成数据为在保护数据隐私的同时训练模型提供了可行路径。差分隐私(DP)微调大规模语言模型(LLMs)作为数据生成器虽有效,但在计算资源受限时不切实际。而基于提示的方法如私有进化严重依赖人工提示,且在迭代数据选择中未能充分利用私有信息。为此,我们提出CTCL(具有可控性与聚类的数据合成)框架,无需大量提示工程或百亿级大模型微调即可生成隐私保护的合成数据。CTCL在大规模公开数据上预训练了一个140M的轻量条件生成器和基于聚类的主题模型。为进一步适配私有领域,生成器在私有数据上进行差分隐私微调以获取细粒度文本信息,同时主题模型提取表示分布信息的差分隐私直方图。随后,DP生成器根据该直方图采样,合成指定数量的数据样本。在五个不同领域的评估表明,该框架在强隐私设置下仍具有效性。系统性消融实验验证了各组件设计合理性,并凸显了方法的可扩展性。
原文摘要 · Abstract (English)
Synthetic data offers a promising path to train models while preserving data privacy. Differentially private (DP) finetuning of large language models (LLMs) as data generator is effective, but is impractical when computation resources are limited. Meanwhile, prompt-based methods such as private evolution depend heavily on the manual prompts, and ineffectively use private information in their iterative data selection process. To overcome these limitations, we propose CTCL (Data Synthesis with ConTrollability and CLustering), a novel framework for generating privacy-preserving synthetic data without extensive prompt engineering or billion-scale LLM finetuning. CTCL pretrains a lightweight 140M conditional generator and a clustering-based topic model on large-scale public data. To further adapt to the private domain, the generator is DP finetuned on private data for fine-grained textual information, while the topic model extracts a DP histogram representing distributional information. The DP generator then samples according to the DP histogram to synthesize a desired number of data examples. Evaluation across five diverse domains demonstrates the effectiveness of our framework, particularly in the strong privacy regime. Systematic ablation validates the design of each framework component and highlights the scalability of our approach.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。