PCL: Proxy-based Contrastive Learning for Domain Generalization
Authors:
- 1 June 2022
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 7087-7097
Abstract
Domain generalization refers to the problem of training a model from a collection of different source domains that can directly generalize to the unseen target domains. A promising solution is contrastive learning, which attempts to learn domain-invariant representations by exploiting rich semantic relations among sample-to-sample pairs from different domains. A simple approach is to pull positive sample pairs from different domains closer while pushing other negative pairs further apart. In this paper, we find that directly applying contrastive-based methods (e.g., supervised contrastive learning) are not effective in domain generalization. We argue that aligning positive sample-to-sample pairs tends to hinder the model generalization due to the significant distribution gaps between different domains. To address this issue, we propose a novel proxy-based contrastive learning method, which replaces the original sample-to-sample relations with proxy-to-sample relations, significantly alleviating the positive alignment issue. Experiments on the four standard benchmarks demonstrate the effectiveness of the proposed method. Furthermore, we also consider a more complex scenario where no ImageNet pre-trained models are provided. Our method consistently shows better performance.Keywords
Funding Information
- ITF Partnership Research Programme (PRP/65/20FX)
This publication has 29 references indexed in Scilit:
- NormFace2017
- Deeper, Broader and Artier Domain Generalization2017
- No Fuss Distance Metric Learning Using Proxies2017
- Mask R-CNN2017
- Deep Hashing Network for Unsupervised Domain Adaptation2017
- Deep Residual Learning for Image Recognition2016
- FaceNet: A unified embedding for face recognition and clustering2015
- Going deeper with convolutions2015
- Dimensionality Reduction by Learning an Invariant Mapping2006
- Least Squares Support Vector Machine ClassifiersNeural Processing Letters, 1999