Improving Robustness to Model Inversion Attacks via Mutual Information Regularization

Tianhao Wang, Yuheng Zhang, Ruoxi Jia

Abstract

Machine learning models trained on sensitive data are vulnerable to Model Inversion (MI) attacks, where adversaries reconstruct private training inputs from model outputs. This paper introduces MID (Mutual Information Regularization based Defense), a model-agnostic framework that penalizes the mutual information between a model’s input and its prediction. Unlike Differential Privacy (DP), which often requires excessive noise that degrades utility, MID offers a theoretically grounded approach to limit distributional leakage. We provide tractable approximations for MID across linear regression, decision trees, and neural networks. Our evaluation shows that MID consistently achieves a superior privacy-utility tradeoff, effectively neutralizing state-of-the-art reconstruction attacks while maintaining high accuracy and improving model calibration.

Introduction

The proliferation of machine learning in sensitive domains like healthcare and facial recognition has raised significant privacy concerns. Model Inversion (MI) attacks exploit the information contained in model predictions to recover recognizable features of the training data. For instance, an attacker might reconstruct a specific individual's face from a recognition model using only their name.

Existing defenses typically rely on model-specific heuristics or Differential Privacy (DP). However, DP is primarily designed to protect individual records rather than the distributional information often targeted by MI attacks. To provide robust protection against MI, DP often requires a privacy budget so small that the resulting model utility becomes unacceptable.

The MID Framework

MID addresses this gap by minimizing the "redundant" information that leaks from the input $X$ into the prediction $\hat{Y}$. The training objective is augmented with a Mutual Information (MI) regularizer:

$$\min_{f} \text{Loss}(y, f(x)) + \lambda I(X; \hat{Y})$$

To make this objective computationally feasible, the authors propose approximations for different model architectures:

  • Linear Regression: Uses a Gaussian mixture approximation and Taylor expansion for the output distribution.
  • Decision Trees: Modifies the ID3 splitting criterion to maximize information gain while simultaneously minimizing the entropy of predictions.
  • Neural Networks: Applies the Information Bottleneck (IB) principle, minimizing information between the input and an intermediate latent representation.

Experimental Results

The effectiveness of MID was evaluated on diverse datasets, including genetic data (IPWC), survey data (FiveThirtyEight), and large-scale facial images (FaceScrub, CelebA).

Privacy-Utility Tradeoff

MID consistently outperforms DP and other heuristics in balancing privacy and performance. Visual experiments on the CelebA dataset demonstrate that reconstructions from a DP-protected model remained recognizable, whereas MID-protected models yielded reconstructions that were almost entirely unrecognizable, even when both models shared similar classification accuracy (~81%).

Visual comparison of face reconstructions and quantitative privacy-utility tradeoffs.

Model Calibration

A notable secondary benefit of MID is improved calibration. Expected Calibration Error (ECE) measures how well a model's confidence aligns with its actual accuracy. MID tends to produce lower ECE than DP, meaning its predictions are more representative of its actual performance.

Model calibration (ECE) vs. attack accuracy, showing MID's advantage in maintaining reliable confidence scores.

Key Insights

  • DP's Theoretical Limits: Formal analysis indicates that for DP to defend against worst-case MI attacks, the privacy budget $\epsilon$ must scale as $o(1/n)$, where $n$ is the sample size. This level of noise is practically prohibitive for most applications.
  • Distributional Privacy: MI attacks often target the distribution of data (e.g., "what does a typical person with this name look like?"). MID's focus on mutual information directly addresses this distributional leakage, which DP is not specifically designed to handle.
  • Concentration and Uncertainty: For stochastic models, the regularizer simultaneously encourages concentrated predictions (reducing $H(\hat{Y})$) and increases uncertainty for specific inputs (increasing $H(\hat{Y}|X)$), creating a robust two-pronged defense.

Conclusion

MID provides a powerful, model-agnostic alternative to traditional privacy techniques for mitigating model inversion. While it does not entirely eliminate the possibility of attacks, it significantly shifts the tradeoff in favor of the defender. Future work may explore computational security perspectives to further refine theoretical bounds and reduce the training overhead associated with mutual information estimation.

Summary updated

BibTeX
@inproceedings{wang2021improving,
  author = {Tianhao Wang and Yuheng Zhang and Ruoxi Jia},
  title = {{Improving Robustness to Model Inversion Attacks via Mutual Information Regularization}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2021},
  doi = {10.1609/aaai.v35i13.17387},
}
Figure