Bounding Information Leakage in Machine Learning

Ganesh Del Grosso, Georg Pichler, Catuscia Palamidessi, Pablo Piantanida · DOI

Introduction

As machine learning (ML) models are increasingly deployed in sensitive domains such as healthcare and finance, the risk of information leakage has become a primary concern. ML models are frequently observed to "memorize" specific instances of their training data rather than exclusively learning generalizable patterns. This phenomenon exposes datasets to two major privacy threats: Membership Inference Attacks (MIAs), where an adversary determines if a specific individual's data was used in training, and Attribute Inference Attacks, where an adversary predicts sensitive missing features of a known participant.

While various empirical attack strategies have been developed to exploit these vulnerabilities, the field has lacked a unified theoretical framework to determine the maximum possible risk. This paper addresses this gap by establishing a rigorous mathematical foundation to quantify the absolute upper limit of information leakage for a given model and training configuration.

The Bayesian Attacker Framework

To establish universal bounds on privacy risk, the authors depart from analyzing specific heuristic attacks and instead propose a fully Bayesian framework. Central to this theory is the concept of the Bayesian Attacker—an idealized adversary possessing perfect knowledge of the data distribution and the learning algorithm.

Because this attacker is mathematically optimal, their success rate serves as a universal upper bound; no real-world adversary, regardless of their strategy or computational power, can exceed the performance of the Bayesian Attacker. By analyzing this optimal adversary through the lens of information theory—specifically using KL divergence and Mutual Information—the authors prove that the information leaked is fundamentally bounded by the amount of information the model parameters store about the training set.

The Relationship Between Generalization and Privacy

A critical contribution of this research is the formalization of the link between a model’s ability to generalize and its privacy guarantees.

The authors provide formal proofs demonstrating that a large generalization gap—the discrepancy between a model's performance on training data versus unseen data—inherently creates a lower bound for attack success. Essentially, if a model overfits, it must leak information. This confirms the intuition that models which fail to generalize are more susceptible to membership inference.

The "Good Generalization" Trap

Crucially, the paper reveals that the converse is not necessarily true: good generalization does not guarantee privacy. The authors present a counterexample of a model that generalizes perfectly (zero gap) yet remains fully vulnerable to membership inference. This insight serves as a vital warning to practitioners that standard regularization techniques intended to improve generalization are insufficient as standalone privacy defenses.

Empirical Validation

The theoretical framework was validated across a diverse range of datasets and model architectures:

  • Synthetic and Standard Benchmarks: Experiments using synthetic Gaussian data allowed for analytical computation of distributions, while MNIST, Fashion-MNIST, and CIFAR-10 were used to evaluate Deep Neural Networks (DNNs) in classification tasks.
  • Attribute Recovery on PenDigits: Using the PenDigits dataset, the researchers treated writer identity as a sensitive attribute. They demonstrated that even as training set sizes increased and generalization improved, attackers could still recover identities with approximately twice the accuracy of a random guess.
  • MIA Success: In DNN experiments, common strategies like the "Likelihood Attack" were shown to closely track the theoretical lower bounds derived by the authors, confirming the practical relevance of their mathematical limits.

Conclusion and Future Work

This work establishes a rigorous benchmark for privacy in machine learning, allowing developers to establish "privacy guarantees" based on the success rate of a mathematically perfect attacker. If the Bayesian Attacker cannot distinguish a training member from a non-member better than a random coin flip, the model can be considered truly private.

The primary hurdle for widespread adoption remains computational feasibility. Calculating the exact decision regions for the Bayesian Attacker in high-dimensional models with millions of parameters is currently intractable. Future research is directed toward developing approximation tools that can apply these Bayesian bounds to complex, large-scale architectures, eventually providing a standard metric for evaluating privacy-preserving defenses like Differential Privacy.

Summary updated

BibTeX
@article{grosso2021bounding,
  author = {Ganesh Del Grosso and Georg Pichler and Catuscia Palamidessi and Pablo Piantanida},
  title = {{Bounding Information Leakage in Machine Learning}},
  journal = {Neurocomputing},
  year = {2021},
  doi = {10.1016/j.neucom.2023.02.058},
}
Figure