Lune

ICML2021Top-tier venue

Domain Generalization using Causal Matching

Divyat Mahajan, Shruti Tople, Amit Sharma

Abstract

Learning invariant representations has been proposed as a key technique for addressing the domain generalization problem. However, the question of identifying the right conditions for invariance remains unanswered. In this work, we propose a causal interpretation of domain generalization that defines domains as interventions under a data-generating process. Based on a general causal model for data from multiple domains, we show that prior methods for learning an invariant representation optimize for an incorrect objective. We highlight an alternative condition: inputs across domains should have the same representation if they are derived from the same base object. In practice, knowledge about generation of data or objects is not available. Hence we propose an iterative algorithm called MatchDG that approximates base object similarity by using a contrastive loss formulation adapted for multiple domains. We then match inputs that are similar under the resultant representation to build an invariant classifier. We evaluate MatchDG on rotated MNIST, Fashion-MNIST, and PACS datasets and find that it outperforms prior work on out-of-domain accuracy and learns matches that have over 25% overlap with ground-truth object matches in MNIST and Fashion-MNIST. Code repository can be accessed here: this https URL

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

108 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Handling Distribution Shifts on Graphs: An Invariance Perspective cites Out-of-Distribution Generalization via Risk Extrapolation (REx)
  • The Risks of Invariant Risk Minimization cites Out-of-Distribution Generalization via Risk Extrapolation (REx)
  • Invariance Principle Meets Information Bottleneck for Out-of-Distribution Generalization cites Out-of-Distribution Generalization via Risk Extrapolation (REx)
  • Invariance Principle Meets Information Bottleneck for Out-of-Distribution Generalization cites The Risks of Invariant Risk Minimization
  • Causality Inspired Representation Learning for Domain Generalization cites Deep Domain-Adversarial Image Generation for Domain Generalisation
  • Learning Causally Invariant Representations for Out-of-Distribution Generalization on Graphs cites Handling Distribution Shifts on Graphs: An Invariance Perspective
  • Learning Causally Invariant Representations for Out-of-Distribution Generalization on Graphs cites Out-of-Distribution Generalization via Risk Extrapolation (REx)
  • Learning Causally Invariant Representations for Out-of-Distribution Generalization on Graphs cites The Risks of Invariant Risk Minimization
  • Learning Causally Invariant Representations for Out-of-Distribution Generalization on Graphs cites Invariance Principle Meets Information Bottleneck for Out-of-Distribution Generalization
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers108

  1. Invariance Principle Meets Information Bottleneck for Out-of-Distribution GeneralizationKartik Ahuja, Ethan Caballero, Dinghuai Zhang, Jean-Christophe Gagnon-Audet et al.NeurIPS 2021 · 372 citations
  2. The Risks of Invariant Risk MinimizationElan Rosenfeld, Pradeep Kumar Ravikumar, Andrej RisteskiICLR 2021 · 356 citations
  3. Handling Distribution Shifts on Graphs: An Invariance PerspectiveQitian Wu, Hengrui Zhang, Junchi Yan, David WipfICLR 2022 · 261 citations
  4. Learning Causally Invariant Representations for Out-of-Distribution Generalization on GraphsYongqiang Chen, Yonggang Zhang, Yatao Bian, Han Yang et al.NeurIPS 2022 · 246 citations
  5. Causality Inspired Representation Learning for Domain GeneralizationFangrui Lv, Jian Liang, Shuang Li, Bin Zang et al.CVPR 2022 · 190 citations

Builds on11

  1. A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 citations
  2. Out-of-Distribution Generalization via Risk Extrapolation (REx)David Krueger, Ethan Caballero, Jörn-Henrik Jacobsen, Amy Zhang et al.ICML 2021 · 1,163 citations
  3. The Pitfalls of Simplicity Bias in Neural NetworksHarshay Shah, Kaustav Tamuly, Aditi Raghunathan, Prateek Jain et al.NeurIPS 2020 · 503 citations
  4. Adversarial Domain Adaptation with Domain MixupMinghao Xu, Jian Zhang, Bingbing Ni, Teng Li et al.AAAI 2020 · 499 citations
  5. Deep Domain-Adversarial Image Generation for Domain GeneralisationKaiyang Zhou, Yongxin Yang, Timothy M. Hospedales, Tao XiangAAAI 2020 · 488 citations

Related papers

  1. Out-of-distribution Generalization with Causal Invariant TransformationsRuoyu Wang, Mingyang Yi, Zhitang Chen, Shengyu ZhuCVPR 2022 · 40 citations
  2. Invariant and Transportable Representations for Anti-Causal Domain ShiftsYibo Jiang, Victor VeitchNeurIPS 2022 · 50 citations
  3. Failure Modes of Domain Generalization AlgorithmsTigran Galstyan, Hrayr Harutyunyan, Hrant Khachatrian, Greg Ver Steeg et al.CVPR 2022 · 8 citations
  4. Domain Invariant Representation Learning with Domain Density TransformationsA. Tuan Nguyen, Toan Tran, Yarin Gal, Atilim Gunes BaydinNeurIPS 2021 · 121 citations
  5. Continual Learning of Domain-Invariant RepresentationsPascal Janetzky, Tobias Schlagenhauf, Stefan FeuerriegelICML 2026
Dusk over the sea between two cliffs drawn in fine vertical lines