Bilateral Dependency Optimization: Defending Against Model-inversion Attacks

Xiong Peng, Feng Liu, Jingfeng Zhang, Long Lan, Junjie Ye, Tongliang Liu, Bo Han · DOI

Introduction

Deep Neural Networks (DNNs) have become cornerstones of modern technology, particularly in sensitive fields like facial recognition and medical diagnostics. However, their deployment is often hindered by privacy concerns, specifically Model-Inversion (MI) attacks. In these scenarios, an adversary uses access to a trained model to reconstruct the sensitive training data, such as individual faces or private medical records.

Existing defenses often struggle with a "utility-privacy" deadlock: protecting the data usually degrades the model's performance to the point of uselessness. This paper introduces Bilateral Dependency Optimization (BiDO), a novel strategy designed to break this deadlock by selectively filtering latent representations.

The Problem: Redundancy and Information Leakage

Standard training procedures for DNNs often allow "redundant" information—details from the input that are not strictly necessary for classification—to permeate the network's latent layers. While this doesn't hurt accuracy, it provides a rich source of data for MI attacks to exploit. Previous methods like Mutual Information Regularization (MID) attempted to solve this by minimizing the dependency between inputs and outputs. However, because a classifier requires some dependency to function, MID often causes classification accuracy to plummet as defense strength increases.

The BiDO Framework

The core innovation of BiDO is its "bilateral" approach to regularizing latent representations ($Z$). Instead of a unilateral suppression of information, BiDO applies two distinct constraints:

  1. Minimize $d(X, Z)$: This reduces the dependency between the raw input ($X$) and the latent features ($Z$), effectively stripping away redundant information that could be used for reconstruction.
  2. Maximize $d(Z, Y)$: Simultaneously, the framework maximizes the dependency between the latent features ($Z$) and the target labels ($Y$), ensuring that the features necessary for high classification accuracy are preserved.
Comparison between the unilateral MID framework and the proposed bilateral BiDO framework.

By decoupling the information needed for the task from the information that leaks the data, BiDO acts as a sophisticated filter. To implement this, the authors utilize kernel-based statistical dependency measures, specifically BiDO-COCO (Constrained Covariance) and BiDO-HSIC (Hilbert-Schmidt Independence Criterion). These measures are differentiable and capable of capturing complex, non-linear dependencies in high-dimensional image data.

Experimental Results

The authors evaluated BiDO against state-of-the-art white-box attacks (GMI, KED-MI, and VMI) across standard benchmarks including CelebA, MNIST, and CIFAR-10.

Privacy-Utility Trade-off

BiDO demonstrated a significantly better balance between privacy and utility than previous methods:

  • CelebA: Against the KED-MI attack, BiDO-HSIC reduced attack accuracy by over 29% while maintaining classification accuracy within ~6% of the undefended model.
  • MNIST: The defense was even more pronounced here, slashing attack accuracy from 42.52% to just 4.36%, with a negligible drop in classification performance (from 99.94% to 99.61%).
Classification accuracy over epochs for BiDO on the CelebA dataset, showing stable performance at reasonable regularization strengths.

Qualitative Defense

Beyond numerical metrics, visual evidence confirms the efficacy of BiDO. Reconstructions from BiDO-protected models appear as unrecognizable noise or severely distorted shapes, whereas baseline models often leak identifiable facial features even under defense.

Limitations and Future Directions

While BiDO offers a robust defense, it introduces some computational overhead due to the calculation of kernel matrices, which scales with batch size ($O(m^2)$ or $O(m^3)$). Additionally, the defense is sensitive to the hyperparameters $\lambda_x$ and $\lambda_y$, which balance the two dependency constraints. If $\lambda$ is set too high, the utility of the model can collapse. Future work may focus on automating the tuning of these parameters and exploring the framework's effectiveness against black-box, query-based attacks.

Conclusion

Bilateral Dependency Optimization represents a significant step forward in privacy-preserving machine learning. By explicitly managing the flow of information through latent layers, BiDO allows developers to build models that are both highly accurate and resilient to sophisticated model-inversion attacks, effectively mitigating one of the most pressing privacy risks in deep learning today.

Summary updated

BibTeX
@inproceedings{peng2022bilateral,
  author = {Xiong Peng and Feng Liu and Jingfeng Zhang and Long Lan and Junjie Ye and Tongliang Liu and Bo Han},
  title = {{Bilateral Dependency Optimization: Defending Against Model-inversion Attacks}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2022},
  doi = {10.1145/3534678.3539376},
}
Figure