NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Trade-offs and Guarantees of Adversarial Representation Learning for Information Obfuscation

Han Zhao, Jianfeng Chi, Yuan Tian, Geoffrey J. Gordon · DOI

Abstract

Crowdsourced data used in machine learning services might carry sensitive information about attributes that users do not want to share. Various methods have been proposed to minimize the potential information leakage of sensitive attributes while maximizing the task accuracy. However, little is known about the theory behind these methods. In light of this gap, we develop a novel theoretical framework for attribute obfuscation. Under our framework, we propose a minimax optimization formulation to protect the given attribute and analyze its inference guarantees against worst-case adversaries. Meanwhile, it is clear that in general there is a tension between minimizing information leakage and maximizing task accuracy. To understand this, we prove an information-theoretic lower bound to precisely characterize the fundamental trade-off between accuracy and information leakage. We conduct experiments on two real-world datasets to corroborate the inference guarantees and validate this trade-off. Our results indicate that, among several alternatives, the adversarial learning approach achieves the best trade-off in terms of attribute obfuscation and accuracy maximization.

Introduction

In the era of Machine Learning as a Service (MLaaS), users frequently share data with service providers for specific tasks, such as sharing browsing history for personalized recommendations. However, such data often contains "redundant encodings" of sensitive information—attributes like age, gender, or health status that the user did not intend to disclose. Even when explicit identifiers are removed, sophisticated models can often infer these sensitive traits from correlated features.

While adversarial networks have been proposed to "scrub" sensitive information, the field has lacked a formal theoretical foundation. This work addresses that gap by providing a mathematical framework to quantify information leakage and establish the fundamental limits of the trade-off between data utility (task accuracy) and privacy (attribute obfuscation).

Theoretical Framework: Minimax Optimization

The problem is framed as a minimax optimization game within a representation learning context. The system consists of two primary components:

  1. The Encoder ($f$): Tasked with transforming raw data into a latent representation that preserves information relevant to the target task while simultaneously concealing the sensitive attribute.
  2. The Adversary ($h_A$): Attempts to infer the sensitive attribute from the latent representation produced by the encoder.

To formalize these concepts, the framework utilizes Shannon Entropy and Mutual Information to define "Inference Advantage." Crucially, Jensen-Shannon (JS) Divergence is employed to measure the discrepancy in the distribution of target labels across different sensitive groups. This allows for a rigorous analysis of common adversarial techniques, such as Gradient Reversal Layers (GRL) and Maximum Entropy (MAX-ENT).

The "No Free Lunch" Theorem

A central contribution of this research is the proof of an inherent trade-off between accuracy and privacy. The authors demonstrate that the maximum achievable task accuracy is upper-bounded by a term involving the JS divergence of the target labels across sensitive groups.

This theorem implies that if the ground truth for a target task is naturally correlated with a sensitive attribute (e.g., if income distributions differ by age), any attempt to make those groups indistinguishable to an adversary will inevitably degrade the accuracy of the target task. This provides a mathematical "safety floor," guaranteeing a minimum level of error for any adversary, regardless of its complexity.

Experimental Validation

The theoretical framework was validated using two benchmark datasets: the UCI Adult Dataset (predicting income while obfuscating gender, age, and education) and the UTKFace Dataset (gender classification while protecting age and ethnicity).

Figure 1: Comparison of attribute obfuscation performance ($Err_0 + Err_1$) across different methods and datasets. Higher values indicate better protection against an adversary.

As shown in Figure 1, adversarial representation learning (GRL and MAX-ENT) consistently provides a superior balance compared to traditional methods like PCA or Differential Privacy (DP). While DP methods (e.g., LDP) can achieve higher obfuscation (higher adversary error), they do so by adding indiscriminate noise, which significantly compromises task utility. In contrast, adversarial methods specifically target the sensitive attribute, maintaining higher task accuracy for a given level of privacy. Furthermore, the stability of GRL is evident compared to the higher variance seen in some MAX-ENT configurations.

Conclusion

This work provides the first comprehensive theoretical characterization of the trade-offs in adversarial attribute obfuscation. While adversarial methods like GRL offer the best practical trade-off, challenges remain. The non-convex nature of deep neural networks means that empirical results depend on finding a "strong enough" adversary during training. Future work will explore extending this framework beyond representation learning to areas like federated learning and addressing the complexities of multi-class sensitive attributes.

Summary updated

BibTeX
@inproceedings{zhao2020trade,
  author = {Han Zhao and Jianfeng Chi and Yuan Tian and Geoffrey J. Gordon},
  title = {{Trade-offs and Guarantees of Adversarial Representation Learning for Information Obfuscation}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2020},
  url = {https://openreview.net/forum?id=5BAyLae2Qi9},
}
Figure