[Paper Review] Open LLMs are Necessary for Current Private Adaptations and Outperform their Closed Alternatives
This paper evaluates recent methods for private adaptation of closed LLMs and finds they all leak private query data to the LLM provider, leak significant training data in three out of four cases, underperform compared to private adaptations on open LLMs, and incur higher costs. The authors conclude that open LLMs are necessary for achieving high-performance, low-cost, and truly privacy-preserving LLM adaptations today.
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.
Motivation & Objective
- To assess the privacy guarantees and performance trade-offs of recent methods for private adaptation of closed LLMs.
- To compare these methods against private adaptation techniques using local open LLMs.
- To evaluate the monetary costs of training and querying closed vs. open LLMs under private adaptation.
- To determine whether current private adaptation methods for closed LLMs achieve true privacy preservation.
- To provide empirical evidence on the superiority of open LLMs for private, high-performance fine-tuning.
Proposed method
- The authors analyze four recent private adaptation methods for closed LLMs: DP-ICL, PromptPATE, DP-FewShotGen(1), DP-FewShotGen(2), and DP-OPT.
- They evaluate these methods under differential privacy (DP) constraints across multiple LLM architectures, datasets, and task types (classification and generation).
- The study compares the performance and privacy leakage of closed LLM adaptation methods against private gradient-based fine-tuning on local open LLMs.
- They measure privacy leakage via query data and training data exposure to the LLM provider during inference and prompt generation.
- Monetary costs for training and inference are estimated using cloud-based hardware pricing for open LLMs and API costs for closed LLMs.
- The analysis includes ten state-of-the-art models: Vicuna, Llama 3, LLaMA, BERT, RoBERTa, Pythia, Claude, GPT-3 (Babbage, Davinci), and GPT-4 Turbo.
Experimental results
Research questions
- RQ1Do current private adaptation methods for closed LLMs prevent leakage of private query data to the LLM provider?
- RQ2To what extent do these methods leak private training data to the LLM provider?
- RQ3How do the performance levels of closed LLM private adaptation methods compare to private adaptations on open LLMs?
- RQ4What are the relative training and inference cost differences between private adaptations on closed vs. open LLMs?
- RQ5Can private adaptations on open LLMs achieve better privacy-utility trade-offs than current methods for closed LLMs?
Key findings
- All four private adaptation methods for closed LLMs leak private query data to the LLM provider during inference, violating end-user privacy.
- Three out of the four methods also leak large fractions of the private training data to the LLM provider, indicating insufficient data protection.
- The method that avoids training data leakage requires a local open LLM for prompt engineering, which increases system complexity.
- All closed LLM adaptation methods yield lower downstream performance than private gradient-based fine-tuning on local open LLMs, even when using smaller open models.
- The training and query costs for private adaptations on closed LLMs are significantly higher than for equivalent adaptations on open LLMs due to API access fees.
- The study concludes that open LLMs are necessary for achieving high-performance, low-cost, and truly privacy-preserving LLM adaptations in current settings.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.