具有虚假隐私的生成数据:在生成数据上微调大型语言模型的隐藏危险
Generated Data with Fake Privacy: Hidden Dangers of Fine-tuning Large Language Models on Generated Data
AI总结:
本文研究了在LLM生成数据上微调大型语言模型的隐私风险,发现使用非结构化生成数据进行SFT和自指令微调会显著增加PII泄露和成员推理攻击的成功率,揭示了生成数据的虚假隐私隐患。
摘要:
大型语言模型(LLMs)在各种特定领域的任务中表现出显著的成功,其性能通常在微调后有大幅提升。然而,使用真实世界数据进行微调会带来隐私风险。为了减轻这些风险,开发者越来越依赖合成数据生成作为使用真实数据的替代方案,因为传统模型生成的数据被认为与真实世界数据不同。但是,随着LLMs能力的增强,真实数据与这些模型生成数据之间的区别已变得几乎难以区分。这种趋同为生成数据引入了与真实数据相关的类似隐私风险。我们的研究通过检查LLMs生成数据的结构特征,探讨了使用LLM生成数据进行微调是真正增强了隐私还是引入了额外的隐私风险,重点关注两种主要的微调方法:使用非结构化(纯文本)生成数据的监督微调(SFT)和自指令微调。在SFT场景中,数据被放入先前研究使用的特定指令微调格式中。我们在Pythia Model Suite和Open Pre-trained Transformer(OPT)上使用个人身份信息标识符(PII)泄露和成员推理攻击(MIAs)来衡量隐私风险。值得注意的是,在使用非结构化生成数据进行微调后,Pythia的PII成功提取率增加了超过20%,突显了此类方法的潜在隐私影响。此外,在自指令微调中,该套件中第二大模型Pythia-6.9b的MIAs的ROC-AUC分数增加了超过40%。我们的结果表明了使用生成数据微调LLM相关的潜在隐私风险,强调了在此类方法中需要仔细考虑隐私保护措施。
英文摘要:
Large language models (LLMs) have demonstrated significant success in various domain-specific tasks, with their performance often improving substantially after fine-tuning. However, fine-tuning with real-world data introduces privacy risks. To mitigate these risks, developers increasingly rely on synthetic data generation as an alternative to using real data, as data generated by traditional models is believed to be different from real-world data. However, with the advanced capabilities of LLMs, the distinction between real data and data generated by these models has become nearly indistinguishable. This convergence introduces similar privacy risks for generated data to those associated with real data. Our study investigates whether fine-tuning with LLM-generated data truly enhances privacy or introduces additional privacy risks by examining the structural characteristics of data generated by LLMs, focusing on two primary fine-tuning approaches: supervised fine-tuning (SFT) with unstructured (plain-text) generated data and self-instruct tuning. In the scenario of SFT, the data is put into a particular instruction tuning format used by previous studies. We use Personal Information Identifier (PII) leakage and Membership Inference Attacks (MIAs) on the Pythia Model Suite and Open Pre-trained Transformer (OPT) to measure privacy risks. Notably, after fine-tuning with unstructured generated data, the rate of successful PII extractions for Pythia increased by over 20%, highlighting the potential privacy implications of such approaches. Furthermore, the ROC-AUC score of MIAs for Pythia-6.9b, the second biggest model of the suite, increases over 40% after self-instruct tuning. Our results indicate the potential privacy risks associated with fine-tuning LLMs using generated data, underscoring the need for careful consideration of privacy safeguards in such approaches.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。