Skip to main content
QUICK REVIEW

[Paper Review] i-Mix: A Domain-Agnostic Strategy for Contrastive Representation Learning

Kibok Lee, Yian Zhu|arXiv (Cornell University)|Oct 17, 2020
Domain Adaptation and Few-Shot LearningComputer Science88 references49 citations
TL;DR

i-Mix introduces a domain-agnostic MixUp-inspired regularization for contrastive representation learning, improving representations across vision, speech, and tabular domains. It augments data and virtual labels within a batch to enhance downstream classification.

ABSTRACT

Contrastive representation learning has shown to be effective to learn representations from unlabeled data. However, much progress has been made in vision domains relying on data augmentations carefully designed using domain knowledge. In this work, we propose i-Mix, a simple yet effective domain-agnostic regularization strategy for improving contrastive representation learning. We cast contrastive learning as training a non-parametric classifier by assigning a unique virtual class to each data in a batch. Then, data instances are mixed in both the input and virtual label spaces, providing more augmented data during training. In experiments, we demonstrate that i-Mix consistently improves the quality of learned representations across domains, including image, speech, and tabular data. Furthermore, we confirm its regularization effect via extensive ablation studies across model and dataset sizes. The code is available at https://github.com/kibok90/imix.

Motivation & Objective

  • Motivate the need for domain-agnostic augmentation in contrastive learning due to domain-specific data augmentations.
  • Propose i-Mix as a regularization method that mixes data and virtual labels in a batch.
  • Demonstrate cross-domain applicability of i-Mix on image, speech, and tabular datasets.
  • Show ablations to validate regularization effects under varying model sizes, data regimes, and transfer settings.

Proposed method

  • Define i-Mix as mixing data instances and their virtual labels within a batch.
  • Introduce a beta-distributed mixing coefficient lambda for input and label mixing.
  • Adapt i-Mix to multiple contrastive losses (N-pair, MoCo-style, BYOL integration) across domains.
  • Optionally pair i-Mix with InputMix for further data augmentation, especially when domain augmentations are scarce.

Experimental results

Research questions

  • RQ1Does i-Mix consistently improve contrastive representation learning across diverse domains (image, speech, tabular)?
  • RQ2How does i-Mix interact with different contrastive frameworks (N-pair, MoCo, BYOL) in terms of downstream accuracy?
  • RQ3What is the regularization effect of i-Mix under varying dataset sizes and model capacities?

Key findings

  • i-Mix yields consistent accuracy gains across all tested domains and methods (e.g., CIFAR-10, CIFAR-100, Speech Commands, CovType).
  • On CIFAR-100 with MoCo v2, i-Mix achieves up to 6.5 percentage points improvement over the base method.
  • Linear evaluation after self-supervised pretraining with i-Mix approaches or matches some supervised baselines in certain settings (e.g., CIFAR-10, Speech Commands).
  • i-Mix is especially beneficial when training data are limited or domain augmentations are weak or unavailable.
  • Table 1 shows cross-domain gains for N-pair, MoCo v2, and BYOL with i-Mix across CIFAR-10, CIFAR-100, Speech Commands, and CovType.
  • i-Mix remains beneficial across varying model sizes and longer training regimes, indicating a regularization effect.

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.