Skip to main content
QUICK REVIEW

[Paper Review] Invariant and Transportable Representations for Anti-Causal Domain Shifts

Yibo Jiang, Victor Veitch|arXiv (Cornell University)|Jul 4, 2022
Domain Adaptation and Few-Shot LearningComputer Science6 citations
TL;DR

This paper proposes ACTIR, a representation learning framework for anti-causal domain shifts where the label causes the features. It disentangles invariant (causal) and domain-specific (non-causal) factors using a causal model with unobserved confounders, enabling both domain-invariant prediction and fast adaptation. The method achieves state-of-the-art performance on PACS and VLCS benchmarks, outperforming IRM and MAML in invariant accuracy and fine-tuning speed.

ABSTRACT

Real-world classification problems must contend with domain shift, the (potential) mismatch between the domain where a model is deployed and the domain(s) where the training data was gathered. Methods to handle such problems must specify what structure is common between the domains and what varies. A natural assumption is that causal (structural) relationships are invariant in all domains. Then, it is tempting to learn a predictor for label $Y$ that depends only on its causal parents. However, many real-world problems are "anti-causal" in the sense that $Y$ is a cause of the covariates $X$ -- in this case, $Y$ has no causal parents and the naive causal invariance is useless. In this paper, we study representation learning under a particular notion of domain shift that both respects causal invariance and that naturally handles the "anti-causal" structure. We show how to leverage the shared causal structure of the domains to learn a representation that both admits an invariant predictor and that also allows fast adaptation in new domains. The key is to translate causal assumptions into learning principles that disentangle "invariant" and "non-stable" features. Experiments on both synthetic and real-world data demonstrate the effectiveness of the proposed learning algorithm. Code is available at https://github.com/ybjiaang/ACTIR.

Motivation & Objective

  • To address domain shift in real-world ML where causal relationships are invariant but label-to-feature direction is reversed (anti-causal), making standard causal invariance methods ineffective.
  • To formalize a new class of domain shifts based on shared anti-causal structure and confounder-driven variation across domains.
  • To develop a learning procedure that yields representations enabling both invariant prediction and fast adaptation in new domains.
  • To empirically validate that the method disentangles invariant and adaptive factors and generalizes well across diverse domains.

Proposed method

  • Introduces a structural causal model with latent confounders U and latent causes Z of X, where Y causes X, and U induces domain-specific associations.
  • Defines domain shift as variation in the distribution of unobserved confounders U across domains, while the causal structure P(Y|Z) remains invariant.
  • Proposes a representation learning objective that disentangles features into invariant (Z) and domain-specific (U-related) components via contrastive learning and invariance regularization.
  • Uses a two-stream neural architecture: a shared encoder for Z, and domain-specific heads for U, enabling fast adaptation via fine-tuning.
  • Employs a contrastive loss to encourage invariant representations across domains and a domain-specific head to model non-invariant features.
  • Trains end-to-end using Adam with learning rate scheduling, and evaluates both invariant performance and fine-tuning accuracy on test domains.

Experimental results

Research questions

  • RQ1Can we define a principled notion of domain shift that respects causal invariance while handling anti-causal structures where Y causes X?
  • RQ2How can we learn representations that are both invariant across domains and transportable for fast adaptation in new domains?
  • RQ3Can we disentangle invariant (causal) and non-invariant (confounder-driven) factors of variation in anti-causal settings?
  • RQ4Does the proposed method outperform existing domain generalization and few-shot adaptation baselines on real-world benchmarks?

Key findings

  • ACTIR achieves the highest invariant accuracy on the PACS dataset, with 82.55% on art, 76.62% on cartoon, 94.17% on photo, and 62.14% on sketch domains.
  • On the VLCS dataset, ACTIR achieves 95.15% invariant accuracy on Caltech, 64.34% on LabelMe, 72.31% on SUN, and 74.12% on VOCS, outperforming IRM and MAML in most domains.
  • After fine-tuning with only 20 steps and a learning rate of 10^-2, ACTIR achieves the best adaptation performance on all but one domain in the PACS benchmark.
  • The model shows robustness even when label distributions are inconsistent across domains, as demonstrated on VLCS, where it maintains strong performance despite class imbalance.
  • Qualitative analysis suggests that ACTIR successfully disentangles invariant features (e.g., shape) from domain-specific ones (e.g., color, texture), particularly in cases where training domains are diverse.
  • ACTIR underperforms on the sketch domain (S) in PACS, likely due to insufficient domain diversity in training data (lacking colorless domains), indicating a need for more diverse training distributions.

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.