A Cautionary Tale: On the Role of Reference Data in Empirical Privacy Defenses

Caelin G. Kaplan, Chuan Xu, Othmane Marfoq, Giovanni Neglia, Anderson Santana de Oliveira · OpenReview

Abstract

Within the realm of privacy-preserving machine learning, empirical privacy defenses have been proposed as a solution to achieve satisfactory levels of training data privacy without a significant drop in model utility. Most existing defenses against membership inference attacks assume access to reference data, defined as an additional dataset coming from the same (or a similar) underlying distribution as training data. Despite the common use of reference data, previous works are notably reticent about defining and evaluating reference data privacy. As gains in model utility and/or training data privacy may come at the expense of reference data privacy, it is essential that all three aspects are duly considered. In this paper, we first examine the availability of reference data and its privacy treatment in previous works and demonstrate its necessity for fairly comparing defenses. Second, we propose a baseline defense that enables the utility-privacy tradeoff with respect to both training and reference data to be easily understood. Our method is formulated as an empirical risk minimization with a constraint on the generalization error, which, in practice, can be evaluated as a weighted empirical risk minimization (WERM) over the training and reference datasets. Although we conceived of WERM as a simple baseline, our experiments show that, surprisingly, it outperforms the most well-studied and current state-of-the-art empirical privacy defenses using reference data for nearly all relative privacy levels of reference and training data. Our investigation also reveals that these existing methods are unable to effectively trade off reference data privacy for model utility and/or training data privacy. Overall, our work highlights the need for a proper evaluation of the triad model utility / training data privacy / reference data privacy when comparing privacy defenses.

The Reference Data Blindspot

Membership Inference Attacks (MIAs) pose a significant threat to machine learning models by determining whether a specific record was part of a model's training set. To counter this, researchers have developed empirical defenses that often rely on reference data—auxiliary datasets used to mask the patterns of sensitive training sets.

However, a critical gap exists in current research: the privacy of the reference data itself is frequently ignored. If a defense protects training data by leaking information about the reference data, the net privacy gain may be zero or negative. As shown in the comparison of existing defenses, most prior works either do not mention reference data privacy or fail to evaluate it across varying privacy levels.

Comparison of privacy defenses and their treatment of reference data.

Methodology: Weighted Empirical Risk Minimization (WERM)

To address these gaps, we introduce Weighted Empirical Risk Minimization (WERM). Unlike complex state-of-the-art (SOTA) defenses that rely on adversarial min-max games or kernel-based discrepancies, WERM returns to a fundamental formulation. It optimizes a weighted sum of the loss on both the training data ($D_T$) and the reference data ($D_R$):

$$\min_{\theta \in \Theta} (1-w) L_{D_T}(f_\theta) + w L_{D_R}(f_\theta)$$

By adjusting the weight ($w$), a practitioner can explicitly prioritize the privacy of the training data (high $w$) or the reference data (low $w$). We also evaluate WERM-ES, which incorporates Early Stopping to further enhance privacy guarantees.

The Privacy Triad

A central insight of our work is that privacy evaluation must move beyond the traditional "Utility vs. Training Privacy" curve. Instead, we must consider a Privacy Triad: Model Utility, Training Data Privacy, and Reference Data Privacy.

Existing SOTA methods like Adversarial Regularization (AdvReg) are often "stuck" and inflexible; they cannot effectively trade off reference data privacy for better utility, even when the reference data is public. This inflexibility makes them difficult to tune and less effective than simpler baselines in diverse real-world scenarios.

MIA accuracy vs. Test accuracy for training and reference data, illustrating the empirical privacy-utility tradeoff.

Key Results and Efficiency

Our experiments on benchmarks like Purchase100, Texas100, and CIFAR100 reveal several advantages of the WERM framework:

  1. Superior Performance: Despite its simplicity, WERM/WERM-ES consistently outperformed AdvReg and MMD, providing higher model utility for the same level of privacy protection.
  2. Massive Speedups: WERM is significantly more efficient, training up to 19x faster per epoch than competing empirical defenses.
  3. Interpretability: The weight parameter $w$ in WERM has a strong linear correlation (0.84) with empirical privacy outcomes, whereas the tuning parameters in complex methods like AdvReg show almost no correlation (0.07), acting as a "black box."
  4. Handling Public Data: In scenarios where reference data is public, WERM is the only method capable of fully exploiting that data to maximize model accuracy while maintaining strict training data privacy.

Conclusion

This work serves as a cautionary tale for the privacy community. The reliance on reference data without accounting for its privacy risks leads to incomplete evaluations. By adopting the Privacy Triad and utilizing transparent baselines like WERM, researchers can develop more robust, efficient, and interpretable privacy-preserving machine learning systems.

Summary updated

BibTeX
@inproceedings{kaplan2024cautionary,
  author = {Caelin G. Kaplan and Chuan Xu and Othmane Marfoq and Giovanni Neglia and Anderson Santana de Oliveira},
  title = {{A Cautionary Tale: On the Role of Reference Data in Empirical Privacy Defenses}},
  booktitle = {Proc. Priv. Enhancing Technol},
  year = {2024},
  url = {https://openreview.net/forum?id=YztucCaloj},
}
Figure