A Contrastive Objective for Learning Disentangled Representations

03/21/2022
by   Jonathan Kahana, et al.
0

Learning representations of images that are invariant to sensitive or unwanted attributes is important for many tasks including bias removal and cross domain retrieval. Here, our objective is to learn representations that are invariant to the domain (sensitive attribute) for which labels are provided, while being informative over all other image attributes, which are unlabeled. We present a new approach, proposing a new domain-wise contrastive objective for ensuring invariant representations. This objective crucially restricts negative image pairs to be drawn from the same domain, which enforces domain invariance whereas the standard contrastive objective does not. This domain-wise objective is insufficient on its own as it suffers from shortcut solutions resulting in feature suppression. We overcome this issue by a combination of a reconstruction constraint, image augmentations and initialization with pre-trained weights. Our analysis shows that the choice of augmentations is important, and that a misguided choice of augmentations can harm the invariance and informativeness objectives. In an extensive evaluation, our method convincingly outperforms the state-of-the-art in terms of representation invariance, representation informativeness, and training speed. Furthermore, we find that in some cases our method can achieve excellent results even without the reconstruction constraint, leading to a much faster and resource efficient training.

READ FULL TEXT

page 9

page 15

research
11/20/2017

Disentangling Factors of Variation by Mixing Them

We propose an unsupervised approach to learn image representations that ...
research
06/17/2022

Learning Fair Representation via Distributional Contrastive Disentanglement

Learning fair representation is crucial for achieving fairness or debias...
research
03/12/2020

Fairness by Learning Orthogonal Disentangled Representations

Learning discriminative powerful representations is a crucial step for m...
research
06/10/2021

Self-Supervised 3D Hand Pose Estimation from monocular RGB via Contrastive Learning

Acquiring accurate 3D annotated data for hand pose estimation is a notor...
research
07/25/2022

Equivariance and Invariance Inductive Bias for Learning from Insufficient Data

We are interested in learning robust models from insufficient data, with...
research
12/05/2020

Cross-Domain Sentiment Classification with In-Domain Contrastive Learning

Contrastive learning (CL) has been successful as a powerful representati...
research
07/08/2021

Staying in Shape: Learning Invariant Shape Representations using Contrastive Learning

Creating representations of shapes that are invari-ant to isometric or a...

Please sign up or login with your details

Forgot password? Click here to reset