Causal Balancing for Domain Generalization

Xinyi Wang, Michael Saxon, Jiachen Li, Hongyang Zhang, Kun Zhang +1 more
6/10/2022
cs.LGcs.AIcs.CV

Official code: WANGXinyiLinda/causal-balancing-for-domain-generalization (13 stars, Python, MIT, last commit 2023-05-17).

Abstract

While machine learning models rapidly advance the state-of-the-art on various real-world tasks, out-of-domain (OOD) generalization remains a challenging problem given the vulnerability of these models to spurious correlations. We propose a balanced mini-batch sampling strategy to transform a biased data distribution into a spurious-free balanced distribution, based on the invariance of the underlying causal mechanisms for the data generation process.

Show full abstract

We argue that the Bayes optimal classifiers trained on such balanced distribution are minimax optimal across a diverse enough environment space. We also provide an identifiability guarantee of the latent variable model of the proposed data generation process, when utilizing enough train environments. Experiments are conducted on DomainBed, demonstrating empirically that our method obtains the best performance across 20 baselines reported on the benchmark.

View on arXivView PDF

Code Implementations(1)

MIT

This is the official repository for the ICLR 2023 paper Causal Balancing for Domain Generalization

131PythonSep 27, 20223 years agoMIT

Similar Papers

Cite this paper

@article{wang2022causal,
  title  = {Causal Balancing for Domain Generalization},
  author = {Xinyi Wang and Michael Saxon and Jiachen Li and Hongyang Zhang and Kun Zhang and William Yang Wang},
  year   = {2022},
  eprint = {2206.05263},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2206.05263}
}

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/2206.05263.svg)](https://codeofpaper.com/paper/2206.05263)

Discussion