Learning Robust and Privacy-Preserving Representations via Information Theory

Binghui Zhang, Sayedeh Leila Noorbakhsh, Yun Dong, Yuan Hong, Binghui Wang

Introduction

Modern machine learning models are increasingly deployed in sensitive environments where they face a dual threat: security vulnerabilities and privacy risks. Security attacks, such as adversarial examples, aim to deceive models into making incorrect predictions through subtle input perturbations. Simultaneously, privacy attacks, like attribute inference, seek to extract sensitive information (e.g., race, gender) from model outputs or representations.

Traditionally, these challenges have been addressed in isolation. However, recent research indicates a counter-intuitive relationship: enhancing a model's adversarial robustness can inadvertently increase its susceptibility to privacy leakage. Furthermore, most existing defenses are task-specific, requiring complete retraining for new objectives. This paper introduces ARPRL (Adversarially Robust and Privacy-preserving Representation Learning), a novel information-theoretic framework designed to learn general-purpose data representations that are simultaneously robust, private, and useful across diverse downstream tasks.

Methodology: The ARPRL Framework

ARPRL leverages Information Theory to optimize data representations ($z$) through a multi-objective optimization process. The framework aims to balance three competing goals:

  1. Privacy Protection: The model minimizes the Mutual Information (MI) between the representation ($z$) and the private attribute ($u$), denoted as $I(z; u)$. This ensures that sensitive information is not easily recoverable from the encoding.
  2. Utility Preservation: To maintain the representation's usefulness, the framework maximizes the MI between the representation ($z$) and the original input ($x$), conditioned on the private attribute ($u$), denoted as $I(x; z | u)$. This preserves task-relevant features while filtering out private ones.
  3. Adversarial Robustness: The framework minimizes "representation vulnerability" by ensuring that the MI remains stable even when input data is subjected to adversarial perturbations.

To implement these objectives, ARPRL employs a system of four interacting neural networks:

  • Representation Learner ($f_\theta$): Generates the data encoding.
  • Privacy-Protection Network ($g_\psi$): Acts as an adversary attempting to infer private attributes from the representation.
  • Robustness Network ($t_\Lambda$): Estimates MI under worst-case adversarial perturbations.
  • Utility-Preservation Network ($h_\Omega$): Ensures the encoding retains sufficient information for downstream utility.
The ARPRL framework architecture illustrating the interaction between the four neural networks and their respective mutual information objectives.

Experimental Evaluation

The framework was rigorously tested across four distinct datasets: Toy Circle Data (synthetic), CelebA (facial images), Loans (financial), and Adult Income (census). These evaluations aimed to measure how well the framework could protect attributes like gender or race while maintaining accuracy on primary tasks like loan affordability or facial feature detection.

Key Insights and Theoretical Trade-offs

A central contribution of this work is the formal proof of an inherent trade-off between privacy and utility. The authors demonstrate a "no-free-lunch" theorem: increasing privacy protection (reducing attribute leakage) fundamentally imposes a lower bound on the error rate for the primary task.

Empirical results on the Toy Circle data highlight the conflict between robustness and privacy. When training solely for adversarial robustness (setting the privacy weight $\alpha=0$), the representations perfectly separate private attributes, leading to maximum privacy leakage. ARPRL successfully mitigates this by mixing attribute representations, thereby protecting privacy while maintaining robustness.

Visualization of 2D representations on synthetic data: (a) raw data; (b) robust-only training showing high attribute leakage; (c) ARPRL training showing mixed attributes for enhanced privacy.

Results and Discussion

The empirical evaluation confirms that as the privacy parameter ($\alpha$) increases, attribute inference accuracy drops significantly. For instance, on the CelebA dataset, inference accuracy was reduced from 81% to 57%, approaching near-random levels. While there is a slight, predictable decrease in standard and robust accuracy due to the theoretical trade-offs, ARPRL maintains a superior overall balance compared to combining separate state-of-the-art (SOTA) robust and private methods.

Notably, ARPRL achieves these results in a task-agnostic manner. Unlike task-specific models, ARPRL learns representations that can be utilized for various downstream classification tasks without compromising their security or privacy properties. This makes it a powerful tool for creating secure, shared data encodings.

Conclusion

ARPRL provides a unified, information-theoretic approach to the dual challenges of adversarial robustness and privacy preservation. By formalizing the trade-offs and providing a practical training framework, it paves the way for more secure and private machine learning deployments. Future work will focus on reducing the computational overhead of adversarial training and extending formal guarantees to non-binary private attributes.

Summary updated

BibTeX
@inproceedings{zhang2025learning,
  author = {Binghui Zhang and Sayedeh Leila Noorbakhsh and Yun Dong and Yuan Hong and Binghui Wang},
  title = {{Learning Robust and Privacy-Preserving Representations via Information Theory}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.1609/aaai.v39i21.34392},
}
Figure