Abstract: With the emergence of powerful large-scale foundation models, the training paradigm is increasingly shifting from from-scratch training to transfer learning. This enables high utility training with small, domain-specific datasets typical in sensitive applications. Membership inference attacks (MIAs) provide an empirical estimate of the privacy leakage by machine learning models. Yet, prior assessments of MIAs against models fine-tuned with transfer learning rely on a small subset of possible attacks. We address this by comparing performance of diverse MIAs in transfer learning settings to help practitioners identify the most efficient attacks for privacy risk evaluation. We find that attack efficacy decreases with the increase in training data for score-based MIAs. We find that there is no one MIA which captures all privacy risks in models trained with transfer learning. While the Likelihood Ratio Attack (LiRA) demonstrates superior performance across most experimental scenarios, the Inverse Hessian Attack (IHA) proves to be more effective against models fine-tuned on PatchCamelyon dataset in high data regime.
Introduction: Auditing Transfer Learning
As the AI industry shifts toward using large-scale "foundation models," the standard training paradigm has moved from "training from scratch" to "transfer learning"—fine-tuning a pre-trained model on a smaller, task-specific dataset. This is especially common in sensitive fields like healthcare, where data is scarce and privacy is paramount.
Membership Inference Attacks (MIAs)—which attempt to determine if a specific data point was used to train a model—are the gold standard for empirically measuring privacy leakage. However, most MIA research has focused on models trained from scratch. The authors argue that we cannot assume these attacks perform the same way on fine-tuned models, as the underlying privacy profiles differ significantly.
Methodology
The researchers conducted an empirical sweep, evaluating several categories of score-based MIAs across three benchmarks: CIFAR-10, CIFAR-100, and PatchCamelyon (medical imaging). The attacks were categorized by their access requirements:
- Shadow-model-based attacks: These involve training multiple "shadow" models to simulate the target model's behavior. This includes LiRA (the current state-of-the-art), RMIA, and Trajectory-MIA.
- Shadow-model-free attacks: More computationally efficient methods that do not require extra models, such as the simple LOSS attack and QMIA.
- White-box attacks: Specifically the Inverse Hessian Attack (IHA), which requires access to the model's internal parameters.
These were tested against different fine-tuning strategies: Head-only (updating only the last layer), ALL (full fine-tuning), and FiLM (a parameter-efficient adapter method).
Key Results and Insights
The Power Law of Privacy
For most attacks, privacy risk follows a power-law relationship with the amount of training data. As more examples per class (the "shot" count) are added, the efficacy of the attack generally decreases. This suggests that larger datasets provide a natural buffer against membership inference in transfer learning scenarios.
LiRA as the Robust Auditor
Across almost all experimental setups, LiRA demonstrated the most stable and highest performance, particularly at low False Positive Rates (FPR). This makes it the most reliable tool for practitioners needing a robust privacy audit "out-of-the-box."
The IHA Anomaly
The Inverse Hessian Attack (IHA) broke the power-law rule. On the PatchCamelyon dataset, IHA actually became more effective as the training data increased, eventually outperforming black-box methods like LiRA. This suggests that white-box access reveals vulnerabilities in medical imaging models that output scores alone cannot capture.
Parameterization and Utility
Whether fine-tuning just the last layer (Head-only) or the entire model (ALL), the privacy risk for the strongest attacks remains relatively similar. This allows practitioners to choose fine-tuning methods based on performance or efficiency without significantly altering the model's privacy profile.
Conclusion
This systematic comparison highlights that no single MIA captures all privacy risks in transfer learning. While LiRA is the most robust general auditor, the specific effectiveness of white-box attacks like IHA in high-data medical regimes underscores the need for diverse auditing strategies. Future research should explore these dynamics in imbalanced real-world datasets and more parameter-efficient auditing techniques.
Summary updated