Causality-based Dual-Contrastive Learning Framework for Domain Generalization

Zining Chen, Weiqiu Wang, Zhicheng Zhao, Aidong Men
1/22/2023
cs.CV

No confident code implementation found for this paper. 2 possible matches can be shown below.

Abstract

Domain Generalization (DG) is essentially a sub-branch of out-of-distribution generalization, which trains models from multiple source domains and generalizes to unseen target domains. Recently, some domain generalization algorithms have emerged, but most of them were designed with non-transferable complex architecture. Additionally, contrastive learning has become a promising solution for simplicity and efficiency in DG. However, existing contrastive learning neglected domain shifts that caused severe model confusions. In this paper, we propose a Dual-Contrastive Learning (DCL) module on feature and prototype contrast. Moreover, we design a novel Causal Fusion Attention (CFA) module to fuse diverse views of a single image to attain prototype. Furthermore, we introduce a Similarity-based Hard-pair Mining (SHM) strategy to leverage information on diversity shift. Extensive experiments show that our method outperforms state-of-the-art algorithms on three DG datasets. The proposed algorithm can also serve as a plug-and-play module without usage of domain labels.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 2 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Cite this paper

@article{chen2023causalitybased,
  title  = {Causality-based Dual-Contrastive Learning Framework for Domain Generalization},
  author = {Zining Chen and Weiqiu Wang and Zhicheng Zhao and Aidong Men},
  year   = {2023},
  eprint = {2301.09120},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2301.09120v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2301.09120.svg)](https://codeofpaper.com/paper/2301.09120)

Discussion