现有闭源模型私有微调方法存在数据泄露,开源模型更安全高效。
Open LLMs are Necessary for Current Private Adaptations and Outperform their Closed Alternatives
- 对比四种闭源模型私有微调方法,发现均会泄露用户查询数据。
- 多数方法泄露大量训练数据,而保护隐私需依赖本地开源模型。
- 开源模型在性能、隐私与成本上全面优于闭源方案,适合高敏感场景。
尽管开源大语言模型(LLMs)已取得显著进展,但仍难以匹敌闭源专有模型的性能,导致后者在处理高度敏感数据时仍具吸引力。近期多种新方法被提出,旨在无需向第三方或模型提供商泄露私密信息的情况下,将闭源LLM适配至私有数据。本文分析了当前四种最先进的闭源模型私有微调方法在隐私保护与性能方面的表现。通过考察其威胁模型,并依据差分隐私(DP)框架下不同隐私水平、多种LLM架构及多个分类与生成任务数据集进行系统比较,我们发现:(1)所有方法均会泄露推理时的用户查询数据(可能含敏感信息)至模型提供商;(2)四者中有三者还向提供商泄露了大量私有训练数据,而唯一能保护私有数据的方法依赖于本地开源模型;(3)所有闭源微调方法在性能上均低于三种基于梯度的本地开源模型私有微调方法;(4)闭源模型私有微调方法的训练与查询成本高于在本地开源模型上运行替代方案。因此,在当前技术条件下,为实现真正隐私保护、高性能且低成本的模型适配,应优先采用开源模型。
原文摘要 · Abstract (English)
While open Large Language Models (LLMs) have made significant progress, they still fall short of matching the performance of their closed, proprietary counterparts, making the latter attractive even for the use on highly private data. Recently, various new methods have been proposed to adapt closed LLMs to private data without leaking private information to third parties and/or the LLM provider. In this work, we analyze the privacy protection and performance of the four most recent methods for private adaptation of closed LLMs. By examining their threat models and thoroughly comparing their performance under different privacy levels according to differential privacy (DP), various LLM architectures, and multiple datasets for classification and generation tasks, we find that: (1) all the methods leak query data, i.e., the (potentially sensitive) user data that is queried at inference time, to the LLM provider, (2) three out of four methods also leak large fractions of private training data to the LLM provider while the method that protects private data requires a local open LLM, (3) all the methods exhibit lower performance compared to three private gradient-based adaptation methods for local open LLMs, and (4) the private adaptation methods for closed LLMs incur higher monetary training and query costs than running the alternative methods on local open LLMs. This yields the conclusion that, to achieve truly privacy-preserving LLM adaptations that yield high performance and more privacy at lower costs, taking into account current methods and models, one should use open LLMs.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。