Benchmarking Empirical Privacy Protection for Adaptations of Large Language Models
Bartłomiej Marek, Lorenzo Rossi, Vincent Hanke, Xun Wang, Michael Backes, Franziska Boenisch, Adam Dziedzic
International Conference on Learning Representations 2026 · Oral
Overview
This talk, presented by Franziska Boenisch and Adam Dziedzic, delves into the critical and often misunderstood area of privacy protection for large language models (LLMs) when adapted for sensitive tasks. The core problem addressed is that while differential privacy (DP) offers strong theoretical guarantees for model training, its practical application in the complex pre-train-adapt paradigm of foundation models is not straightforward. The researchers demonstrate that the empirical privacy leakage from a differentially private LLM adaptation is not solely dependent on the DP guarantee itself, but is profoundly influenced by the entire lifecycle of the model, from its initial pre-training to the specific adaptation methods and the nature of the adaptation data.

Key moments
- 0:00 Introduction: Privacy challenges in adapting large language models
- 2:00 Key finding: Pre-training influences adaptation's empirical privacy loss
- 4:20 Finding: Closer adaptation data to pre-training increases leakage
- 6:00 Finding: Different adaptation methods yield varied empirical leakage
- 8:20 Proposed formal framework for holistic foundation model privacy audits
- 11:10 Q&A: Why similar data leads to higher privacy leakage
- 12:10 Q&A: How canary exposure measures practical privacy leakage
Benchmarking Empirical Privacy Protection for Adaptations of Large Language Models
Speakers: Bartłomiej Marek, Lorenzo Rossi, Vincent Hanke, Xun Wang, Michael Backes, Franziska Boenisch, Adam Dziedzic
Conference: ICLR 2026
YouTube: https://slideslive.com/39062190
Overview
This talk, presented by Franziska Boenisch and Adam Dziedzic, delves into the critical and often misunderstood area of privacy protection for large language models (LLMs) when adapted for sensitive tasks. The core problem addressed is that while differential privacy (DP) offers strong theoretical guarantees for model training, its practical application in the complex pre-train-adapt paradigm of foundation models is not straightforward. The researchers demonstrate that the empirical privacy leakage from a differentially private LLM adaptation is not solely dependent on the DP guarantee itself, but is profoundly influenced by the entire lifecycle of the model, from its initial pre-training to the specific adaptation methods and the nature of the adaptation data.
The talk introduces a novel benchmark designed to systematically evaluate empirical privacy under various conditions, including different LLM architectures, adaptation datasets with varying relationships to pre-training data, diverse adaptation methods, and a spectrum of privacy budgets. The findings challenge conventional assumptions about DP guarantees in foundation models, revealing that factors like the distributional proximity of adaptation data to pre-training data, and the choice of adaptation method, significantly impact privacy leakage. This work provides crucial insights for practitioners aiming to deploy LLMs in sensitive domains, advocating for a holistic "privacy by design" approach that considers the full pipeline rather than isolated DP training steps.
Background
▶ Watch: Introduction: Privacy challenges in adapting large language models (0:00)
The landscape of modern artificial intelligence is dominated by foundation models, particularly Large Language Models (LLMs), which are first pre-trained on vast, often uncurated, internet-scale datasets. This pre-training endows them with powerful general-purpose capabilities. Following this, these models are typically adapted or fine-tuned for specific downstream tasks using more specialized datasets. For instance, a hospital might take a publicly available LLM and adapt it using sensitive patient data to develop a medical assistant.
A significant concern in this paradigm is the potential for data leakage. Prior research has extensively shown that sensitive information used during adaptation can leak from the model's predictions during inference. This leakage can be alarmingly granular, such as word-by-word text extraction or pixel-by-pixel image reconstruction. To mitigate this, the machine learning community has developed differentially private adaptation methods, which transform standard adaptation techniques into their DP-guaranteed counterparts. The promise of differential privacy is a theoretical guarantee, typically quantified by an epsilon (ε) value, that bounds the maximum possible leakage from the model's output, regardless of the attacker's background knowledge. A lower epsilon value signifies stronger privacy protection.
However, the unique two-stage pre-train-adapt pipeline of foundation models introduces complexities not present in traditional machine learning models, which are often trained from scratch on a single dataset. The inherent structure and knowledge acquired during the extensive pre-training phase can persist and interact with subsequent adaptations in ways that might compromise the empirical privacy effectiveness of DP mechanisms applied only during the adaptation phase. This talk highlights a critical gap: while theoretical DP guarantees apply to the adaptation step, the influence of the pre-trained model's memorization and learned representations on the overall empirical privacy of the adapted model remains poorly understood and inadequately benchmarked. This work directly addresses this gap by investigating how the entire pre-train-adapt pipeline affects the practical privacy protection offered by differentially private adaptations.
Key Findings
▶ Watch: Finding: Closer adaptation data to pre-training increases leakage (4:20)
The research presented unveils several critical findings that challenge the simplistic view of privacy guarantees in the context of foundation models:
- Data Distribution Influences Leakage Significantly: The closer the adaptation data is to the pre-training data in terms of its distribution, the higher the empirical privacy leakage. This holds true even when the adaptation data itself was not explicitly seen during pre-training. Specifically, in-distribution (ID) data (from the same distribution as pre-training but not used) was found to be as vulnerable to leakage as overlapping data (data explicitly used in pre-training), and substantially more vulnerable than out-of-distribution (OOD) data. This indicates that the model inherits structural biases and tendencies from pre-training that make it more prone to leaking information from distributionally similar adaptation data.
- Adaptation Methods Impact Empirical Privacy Differently: Even under the same formal differential privacy guarantee (same epsilon value) and similar utility, different adaptation methods lead to substantially different levels of empirical privacy leakage. For instance, Low-Rank Adaptation (LoRA) showed better empirical privacy protection compared to other methods in non-private or high-epsilon settings. However, these differences became more subtle under stronger privacy regimes (lower epsilon values), and the specific trends could vary depending on the dataset and privacy budget. This underscores the importance of method selection beyond just theoretical DP guarantees.
- Adaptation Affects Pre-training Memorization: The process of adaptation can also influence the extractability of data memorized during the initial pre-training phase. While the focus is often on protecting adaptation data, pre-training data itself can be sensitive (e.g., emails, private chats). The study found that adaptation methods can either preserve or reduce the number of extractable memorized pre-training samples. Notably, prefix tuning was observed to reduce the extractability of memorized pre-training samples the most, especially in strong privacy settings (low epsilon values), whereas other methods tended to preserve more of the initial pre-training extractability. This highlights the need for a holistic view of privacy across the entire model lifecycle.
- Need for a Holistic Privacy Audit Framework: Based on these observations, the researchers propose a formal framework for auditing the privacy of foundation models. This framework extends beyond just auditing the adaptation phase to include: auditing pre-training data, auditing the adaptation in the context of pre-trained weights, jointly auditing both stages, and a final post-adaptation audit. This comprehensive approach is crucial for understanding and mitigating privacy risks in complex foundation model pipelines.
Technical Deep Dive
▶ Watch: Finding: Different adaptation methods yield varied empirical leakage (6:00)
The technical contribution of this work lies in its systematic approach to benchmarking empirical privacy within the complex pre-train-adapt pipeline of foundation models, and in proposing a holistic auditing framework.
The problem starts with a public LLM, pre-trained on vast, uncurated internet data (e.g., The Pile), which is then adapted for a specific downstream task using sensitive data (e.g., patient records). The central question is: how much of this sensitive adaptation data can leak, even when differential privacy (DP) is applied during adaptation?
The benchmark was designed to explore various dimensions:
- Large Language Models: The experiments utilized Pythia 1 billion parameters, a representative LLM, to ensure findings are relevant to real-world foundation models.
- Diverse Adaptation Data: To understand the influence of data distribution, three categories of adaptation data were defined:
- Out-of-Distribution (OOD) Data: Data fundamentally different from the pre-training data. An example given was German Wikipedia articles, if the LLM was pre-trained primarily on English text.
- In-Distribution (ID) Data: Data from the same general distribution as the pre-training data, but explicitly not used during pre-training. For instance, validation sets from datasets like BookCorpus that share characteristics with the pre-training corpus.
- Overlapping Data: Data that was explicitly part of the pre-training dataset. This was represented by samples from the BookCorpus training set.
- State-of-the-Art Adaptation Methods: The benchmark included a range of popular adaptation techniques, each with its own characteristics regarding parameter updates:
- Prefix Tuning: Adds a trainable "prefix" of tokens to the input of every layer, effectively prompting the model without modifying its core weights.
- Low-Rank Adaptation (LoRA): Introduces small, low-rank matrices alongside the original weight matrices, reducing the number of trainable parameters significantly while allowing for efficient fine-tuning.
- Full Fine-tuning: Adapts all parameters of the pre-trained model, offering maximum flexibility but also the highest risk of overfitting and privacy leakage if not carefully protected.
- Head Fine-tuning: Only adapts the parameters of the last layer (the "head") of the model, typically used for classification or specific task outputs, leaving the core features fixed.
All these methods were implemented with varying privacy guarantees (epsilon, ε), ranging from very strong privacy (ε=0.1) to non-private training (ε=infinity).
- Empirical Leakage Auditing: To measure actual privacy leakage, the researchers employed two primary techniques:
- Robust Membership Inference Attacks (MIA): This state-of-the-art attack aims to determine whether a specific data point was included in the model's training (adaptation) set. The success of this attack, often measured by Area Under the Curve (AUC) of the ROC, serves as a proxy for privacy leakage. A higher AUC indicates greater leakage.
- Data Extraction via Canaries: To directly measure extractability, the researchers inserted canaries—unusual, synthetic strings—into the adaptation data. These canaries were designed in several ways: using most likely tokens, least likely tokens, or randomly sampled tokens. The model's "exposure" or "extractability" of these canaries was then measured by providing a prefix of the canary and assessing the model's confidence in completing the exact sequence. A significantly higher confidence in completing a canary sequence that was in the training data compared to one that wasn't indicates leakage.
The proposed formal framework for auditing privacy in foundation models extends beyond a single stage, considering:
- Auditing Pre-training: Standard ML model audit, asking if a data point was in the pre-training set
S. Acknowledges difficulty with larger models/datasets. - Auditing Adaptation: Unique due to non-random initialization from pre-trained weights, which can have side effects on empirical privacy.
- Joint Auditing: Asking if a data point was used in either pre-training or adaptation (or both/neither).
- Post-Adaptation Auditing: Determining whether a data point was in pre-training and/or adaptation after the model has been adapted.
This structured approach allows for a comprehensive understanding of privacy vulnerabilities across the entire lifecycle of foundation models.
Experimental Setup & Results
▶ Watch: Q&A: Why similar data leads to higher privacy leakage (11:10)
The experiments were conducted using the Pythia 1 billion parameters model, which was pre-trained on The Pile dataset. The researchers ensured that all adaptation methods were compared at similar utility levels and under the same privacy guarantees (epsilon values) to isolate the impact of the adaptation method and data distribution on privacy.
Adaptation Data:
- OOD (Out-of-Distribution): Articles from the German Wikipedia.
- ID (In-Distribution): Validation set of the BookCorpus dataset.
- Overlapping: Training set of the BookCorpus dataset.
Adaptation Methods: Prefix tuning, LoRA, Full fine-tuning, and Head fine-tuning.
Privacy Guarantees: A range of epsilon (ε) values were tested, from strong privacy (ε=0.1) to moderate (ε=8, as reported in some results) to no privacy (ε=infinity).
Metrics: The primary metric for membership inference attacks was the AUC score, where a higher AUC indicates greater privacy leakage. For pre-training data extractability, the number of memorized samples that remained extractable was measured.
Headline Results:
- Impact of Data Distribution on Leakage (ε=8, Pythia 1B):
- The study found a clear gradient: the closer the adaptation data was to the pre-training data, the higher the leakage.
- ID data (BookCorpus validation set) leaked substantially more than OOD data (German Wikipedia).
- Crucially, ID data was found to be as vulnerable as overlapping data (BookCorpus training set). This suggests that distributional proximity, even without direct overlap, significantly increases privacy risk, undermining the assumption that simply not re-using pre-training data is sufficient for privacy. This finding was consistent across all adaptation methods (prefix tuning, LoRA, full fine-tuning, head fine-tuning).
- Comparison of Adaptation Methods at Similar Utility and Privacy:
- For high epsilon values (lower privacy, e.g., ε=8) and non-private settings, LoRA consistently provided much better empirical privacy protection (lower AUC scores) compared to other adaptation methods.
- However, as the privacy regime became stronger (lower epsilon values, e.g., approaching ε=0.1), the differences in empirical privacy protection between adaptation methods became more subtle. While LoRA still achieved relatively low AUC, the trends for other methods varied depending on the specific dataset and privacy budget. This implies that the choice of adaptation method becomes less critical for privacy when very strong DP guarantees are enforced, but is highly significant in weaker DP or non-DP settings.
- Adaptation's Effect on Pre-training Memorization:
- The research investigated how adaptation affects the extractability of samples memorized during pre-training.
- Prefix tuning was observed to be the most effective method in reducing the number of extractable memorized pre-training samples, particularly under strong privacy settings (low epsilon values).
- Other adaptation methods generally preserved more of the initial pre-training extractability, meaning that pre-training memorized data remained more accessible after adaptation. This highlights a potential side-effect of adaptation on the privacy of the original pre-training corpus itself.
Practical Implications
▶ Watch: Q&A: How canary exposure measures practical privacy leakage (12:10)
The findings from this research have profound practical implications for anyone involved in building, deploying, or operating AI systems based on foundation models, especially when sensitive data is involved.
- Rethink "Privacy by Design" for LLMs: The most critical takeaway is that for foundation models, practical privacy is not merely a property of the differentially private training run during adaptation. It is a function of the entire model lifecycle, from pre-training choices to adaptation strategies. Practitioners and infrastructure teams must adopt a holistic "privacy by design" approach, considering the interplay between pre-training data, adaptation data, and the chosen methods.
- DP Guarantees Are Not Enough (Empirically): Relying solely on theoretical differential privacy guarantees (epsilon values) for the adaptation step is insufficient. The inherent structure and knowledge inherited from pre-training can lead to significantly higher empirical privacy leakage, even when the adaptation itself is theoretically private. This means that a model adapted with ε=8 might empirically leak more if its adaptation data is distributionally close to its pre-training data, compared to another model with the same ε adapted on OOD data.
- Data Distribution is a Key Risk Factor: Infrastructure teams and data scientists must carefully assess the distributional relationship between their sensitive adaptation data and the pre-training data of the chosen foundation model. If the adaptation data is in-distribution (even if not overlapping) with the pre-training data, the model is at a substantially higher risk of leakage. This implies that for highly sensitive applications, either very strong DP budgets are required, or alternative strategies like using models pre-trained on vastly different distributions should be explored.
- Strategic Choice of Adaptation Method: The selection of an adaptation method (e.g., LoRA, prefix tuning, full fine-tuning) is not just an efficiency or performance decision; it's a privacy decision. In settings with weaker privacy budgets or where non-private adaptation is used, methods like LoRA might offer empirically better privacy protection. For protecting pre-training memorized data, prefix tuning showed advantages. This means teams need to evaluate methods not just on utility but also on their empirical privacy characteristics for their specific use case.
- Tradeoffs and Limitations: Implementing stronger privacy (lower epsilon) often comes with a utility cost. Practitioners need to understand these tradeoffs and select an epsilon value that balances privacy requirements with performance needs, while also accounting for the empirical vulnerabilities identified in this work. The audit framework proposed offers a pathway for more rigorous, multi-stage privacy assessments, moving beyond single-stage evaluations.
In essence, model builders and deployers must move beyond a narrow focus on "DP-enabled fine-tuning" and embrace a comprehensive understanding of how data flows and influences privacy across the entire foundation model pipeline.
Key Takeaways
- Empirical privacy in foundation models depends on the entire pre-train-adapt pipeline, not just the DP adaptation step. Theoretical DP guarantees alone are insufficient to predict actual leakage.
- The distributional proximity of adaptation data to pre-training data significantly increases privacy leakage, even for data not explicitly seen during pre-training (in-distribution data).
- Different adaptation methods yield varying empirical privacy protections even under identical theoretical DP guarantees and similar utility levels. LoRA showed better empirical privacy in weaker DP settings.
- Adaptation methods can influence the extractability of data memorized during pre-training, with methods like prefix tuning showing potential to reduce such leakage under strong privacy.
- A holistic privacy audit framework is necessary to assess and mitigate risks across pre-training, adaptation, and post-adaptation stages of foundation models.
- Practitioners must adopt a "privacy by design" approach, carefully selecting pre-trained models, adaptation methods, and privacy regimes based on a comprehensive understanding of empirical leakage.
About the Speaker(s)
The talk was presented by Franziska Boenisch and Adam Dziedzic, who are key researchers involved in this work. Franziska Boenisch highlighted that this research is part of her ERC starting grant on privacy for foundation models, indicating her expertise and leadership in the field of privacy for advanced AI models. Adam Dziedzic contributed significantly to the presentation of the technical findings and the discussion of the experimental results. Both speakers are part of a larger research group, including Bartłomiej Marek, Lorenzo Rossi, Vincent Hanke, Xun Wang, and Michael Backes, all contributing to the rigorous benchmarking and formal framework proposed in this study. Their collective work focuses on understanding and improving the privacy guarantees of large-scale AI systems, particularly in the context of sensitive data applications.
Reviews
→ Top-rated talks at International Conference on Learning Representations 2026
All talks from International Conference on Learning Representations 2026