Skip to main content
QUICK REVIEW

[Paper Review] Conditional Contrastive Learning: Removing Undesirable Information in Self-Supervised Representations.

Yao-Hung Hubert Tsai, Quintín Martín Martín|arXiv (Cornell University)|Jun 5, 2021
Domain Adaptation and Few-Shot LearningComputer Science51 references5 citations
TL;DR

This paper proposes Conditional Contrastive Learning (CCL) to remove undesirable information—such as gender or domain-specific biases—from self-supervised representations by conditioning on the undesirable variable during contrastive training. Using Conditional InfoNCE (C-InfoNCE) and its efficient variant WeaC-InfoNCE, the method learns representations that disentangle task-relevant features from unwanted attributes, achieving strong performance on downstream tasks while minimizing reliance on sensitive or irrelevant variables.

ABSTRACT

Self-supervised learning is a form of unsupervised learning that leverages rich information in data to learn representations. However, data sometimes contains certain information that may be undesirable for downstream tasks. For instance, gender information may lead to biased decisions on many gender-irrelevant tasks. In this paper, we develop conditional contrastive learning to remove undesirable information in self-supervised representations. To remove the effect of the undesirable variable, our proposed approach conditions on the undesirable variable (i.e., by fixing the variations of it) during the contrastive learning process. In particular, inspired by the contrastive objective InfoNCE, we introduce Conditional InfoNCE (C-InfoNCE), and its computationally efficient variant, Weak-Conditional InfoNCE (WeaC-InfoNCE), for conditional contrastive learning. We demonstrate empirically that our methods can successfully learn self-supervised representations for downstream tasks while removing a great level of information related to the undesirable variables. We study three scenarios, each with a different type of undesirable variables: task-irrelevant meta-information for self-supervised speech representation learning, sensitive attributes for fair representation learning, and domain specification for multi-domain visual representation learning.

Motivation & Objective

  • To address the problem of undesirable information—such as gender, meta-attributes, or domain labels—being encoded in self-supervised representations.
  • To develop a method that actively removes such information during representation learning without requiring labeled data for the undesirable variables.
  • To enable self-supervised models to learn task-relevant features while disentangling sensitive or task-irrelevant attributes.
  • To evaluate the method across diverse scenarios: speech, fairness, and multi-domain vision.

Proposed method

  • Proposes Conditional InfoNCE (C-InfoNCE), a contrastive objective that conditions on the undesirable variable during positive sample contrast.
  • Introduces WeaC-InfoNCE, a computationally efficient variant of C-InfoNCE that simplifies the conditioning mechanism.
  • Conditions on the undesirable variable by fixing its value during the contrastive learning process, effectively removing its influence on the representation.
  • Uses the InfoNCE objective as a basis but modifies it to enforce invariance to the undesirable variable through conditioning.
  • Applies the method to three distinct settings: self-supervised speech representation learning, fair representation learning, and multi-domain visual representation learning.
  • Employs standard data augmentations and contrastive learning frameworks, with the key modification being the conditioning mechanism on the undesirable variable.

Experimental results

Research questions

  • RQ1Can conditional contrastive learning effectively remove task-irrelevant meta-information from self-supervised speech representations?
  • RQ2To what extent can the method reduce reliance on sensitive attributes like gender in fair representation learning?
  • RQ3How well does the method generalize across different types of undesirable variables, such as domain labels in multi-domain vision?
  • RQ4Does the proposed C-InfoNCE and WeaC-InfoNCE objective maintain downstream task performance while minimizing undesirable information?
  • RQ5Is the conditioning mechanism effective in disentangling representations without requiring explicit annotations for the undesirable variables?

Key findings

  • The proposed CCL method successfully reduces the influence of undesirable variables—such as gender and domain labels—on self-supervised representations across all evaluated scenarios.
  • WeaC-InfoNCE achieves comparable performance to C-InfoNCE with significantly reduced computational cost, making it practical for large-scale applications.
  • In speech representation learning, the method removes meta-information while preserving task-relevant content, improving downstream accuracy on gender-irrelevant tasks.
  • In fair representation learning, the model shows reduced bias in downstream predictions, even without explicit fairness constraints.
  • In multi-domain visual learning, the method learns domain-invariant features, improving zero-shot generalization to unseen domains.

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.