Skip to main content
QUICK REVIEW

[Paper Review] Censoring Representations with an Adversary

Harrison Edwards, Amos Storkey|arXiv (Cornell University)|Nov 18, 2015
Adversarial Robustness in Machine LearningComputer Science16 references104 citations
TL;DR

This paper proposes an adversarial framework, Adversarial Learned Fair Representations (ALFR), to learn representations that are both discriminative for a primary task and minimally informative about sensitive variables. By training a representation network to fool an adversary in a minimax game, the method achieves state-of-the-art fairness performance on benchmark datasets and enables novel, unsupervised image anonymization without aligned input-output pairs.

ABSTRACT

In practice, there are often explicit constraints on what representations or decisions are acceptable in an application of machine learning. For example it may be a legal requirement that a decision must not favour a particular group. Alternatively it can be that that representation of data must not have identifying information. We address these two related issues by learning flexible representations that minimize the capability of an adversarial critic. This adversary is trying to predict the relevant sensitive variable from the representation, and so minimizing the performance of the adversary ensures there is little or no information in the representation about the sensitive variable. We demonstrate this adversarial approach on two problems: making decisions free from discrimination and removing private information from images. We formulate the adversarial model as a minimax problem, and optimize that minimax objective using a stochastic gradient alternate min-max optimizer. We demonstrate the ability to provide discriminant free representations for standard test problems, and compare with previous state of the art methods for fairness, showing statistically significant improvement across most cases. The flexibility of this method is shown via a novel problem: removing annotations from images, from unaligned training examples of annotated and unannotated images, and with no a priori knowledge of the form of annotation provided to the model.

Motivation & Objective

  • To address fairness in machine learning by ensuring predictions are independent of sensitive attributes like gender or race.
  • To enable privacy-preserving representation learning by removing sensitive or private information from data, such as text in images.
  • To develop a flexible, end-to-end method that does not require aligned training data (e.g., images with and without annotations).
  • To improve upon existing fairness methods by using an adversarial minimax objective that jointly optimizes for fairness and utility.
  • To demonstrate the method's versatility by applying it to both fairness and image anonymization tasks with shared architecture and training procedure.

Proposed method

  • Formulates the problem as a minimax optimization: a representation network is trained to minimize the adversary's ability to predict the sensitive variable from the representation.
  • Uses a deep neural network to learn the representation and a separate deep neural network as the adversary to predict the sensitive variable.
  • Optimizes the minimax objective using a stochastic gradient alternate min-max optimizer, alternating between updating the representation and the adversary.
  • Applies the same framework to image anonymization by training an autoencoder to reconstruct images without private information (e.g., text), while an adversary tries to detect the presence of such information.
  • Employs a patch-based expert model for image reconstruction, using a patch classifier to decide whether to use the autoencoder or copy the patch directly.
  • Uses hyperparameters α=1 and β=10 to balance reconstruction loss and adversarial loss, tuned on validation data.

Experimental results

Research questions

  • RQ1Can an adversarial training framework effectively learn representations that are both fair and discriminative without requiring explicit constraints on the sensitive variable?
  • RQ2How well does the ALFR method perform compared to prior state-of-the-art fairness methods on standard fairness benchmarks?
  • RQ3Can the same adversarial framework be applied to image anonymization without requiring aligned input-output pairs (e.g., annotated and unannotated images)?
  • RQ4To what extent can the model generalize to remove private information (e.g., text) from images when only unpaired data is available?
  • RQ5How stable and effective is the adversarial training process in the absence of paired supervision for image reconstruction?

Key findings

  • The ALFR method achieves statistically significant improvements over prior state-of-the-art fairness methods on the Diabetes and Adult datasets.
  • The model successfully learns to produce representations that are nearly independent of the sensitive variable, as measured by the adversary's prediction accuracy.
  • For image anonymization, the model generates plausible reconstructions of images without text, even when trained only on unpaired data (images with and without text).
  • Visual results show that the adversary can no longer reliably distinguish between annotated and non-annotated images after training, indicating effective removal of sensitive cues.
  • The method demonstrates flexibility by handling both fairness and image anonymization with the same core architecture and training procedure.
  • Despite some visible artifacts upon close inspection, the reconstructions are visually plausible, suggesting the method's potential for real-world privacy-preserving applications.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.