Skip to main content
QUICK REVIEW

[Paper Review] Improving out-of-distribution generalization via multi-task self-supervised pretraining

Isabela Albuquerque, Nikhil Naik|arXiv (Cornell University)|Mar 30, 2020
Domain Adaptation and Few-Shot LearningComputer Science41 references27 citations
TL;DR

This paper proposes multi-task self-supervised learning (SSL) with novel pretext tasks—specifically, predicting responses to Gabor filter banks—alongside rotation and contrastive learning to improve out-of-distribution (OOD) generalization in computer vision. The method achieves superior domain generalization performance compared to supervised pretraining, especially under large domain shifts, and can be combined with domain generalization methods like Invariant Risk Minimization (IRM) to further boost performance.

ABSTRACT

Self-supervised feature representations have been shown to be useful for supervised classification, few-shot learning, and adversarial robustness. We show that features obtained using self-supervised learning are comparable to, or better than, supervised learning for domain generalization in computer vision. We introduce a new self-supervised pretext task of predicting responses to Gabor filter banks and demonstrate that multi-task learning of compatible pretext tasks improves domain generalization performance as compared to training individual tasks alone. Features learnt through self-supervision obtain better generalization to unseen domains when compared to their supervised counterpart when there is a larger domain shift between training and test distributions and even show better localization ability for objects of interest. Self-supervised feature representations can also be combined with other domain generalization methods to further boost performance.

Motivation & Objective

  • To address the challenge of out-of-distribution (OOD) generalization in computer vision, where models fail when tested on data distributions different from training.
  • To investigate whether self-supervised feature representations can match or exceed the performance of supervised pretraining for domain generalization.
  • To evaluate the effectiveness of multi-task self-supervised learning with compatible pretext tasks in improving robustness to domain shift.
  • To explore the compatibility of self-supervised representations with existing domain generalization techniques like Invariant Risk Minimization (IRM).

Proposed method

  • The authors introduce a new self-supervised pretext task that predicts responses to Gabor filter banks, which captures texture and edge information useful for domain generalization.
  • They combine this task with standard SSL pretext tasks such as rotation prediction and contrastive learning (e.g., MoCo-style) in a multi-task training setup.
  • The multi-task SSL framework trains a shared feature encoder on unlabeled data using multiple pretext tasks simultaneously, encouraging the learning of disentangled, domain-invariant representations.
  • The method uses a single encoder head for all tasks, with shared features updated via backpropagation across all pretext objectives.
  • The learned self-supervised features are fine-tuned using standard empirical risk minimization (ERM) or combined with IRM for domain generalization.
  • Experiments are conducted on the PACS and VLCS benchmarks, with evaluation on held-out domains to measure OOD generalization.

Experimental results

Research questions

  • RQ1Can multi-task self-supervised learning improve out-of-distribution generalization compared to supervised pretraining on standard benchmarks?
  • RQ2Does the proposed Gabor filter bank pretext task contribute meaningfully to domain generalization, especially under large domain shifts?
  • RQ3Can self-supervised representations be effectively combined with existing domain generalization methods like IRM to further improve OOD performance?
  • RQ4How does the performance of self-supervised features compare to supervised features when fine-tuned on low-resource, out-of-distribution domains?

Key findings

  • On the PACS benchmark, self-supervised learning with multi-task pretext tasks (R+G+DC) achieved an average accuracy of 65.86% on OOD generalization, outperforming the supervised baseline (60.44%) under ERM.
  • On the VLCS benchmark, self-supervised features achieved an average accuracy of 68.46% with IRM, compared to 67.76% with supervised pretraining, showing consistent improvement.
  • For the Sketch domain in PACS, self-supervised learning achieved 62.66% accuracy with IRM, significantly outperforming the supervised baseline of 46.50%.
  • On the Caltech101 domain in VLCS, self-supervised features outperformed supervised features (87.74% vs. 87.74% under IRM), though the improvement was marginal in this case.
  • The self-supervised features demonstrated better localization ability for objects of interest, particularly on domains like Sketch and LabelMe, which exhibit high domain shift from ImageNet.
  • The combination of multi-task SSL and IRM yielded the highest performance across all target domains, indicating synergistic benefits between self-supervision and domain generalization optimization.

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.