Out-of-distribution Generalization with Causal Invariant Transformations

03/22/2022
by   Ruoyu Wang, et al.
0

In real-world applications, it is important and desirable to learn a model that performs well on out-of-distribution (OOD) data. Recently, causality has become a powerful tool to tackle the OOD generalization problem, with the idea resting on the causal mechanism that is invariant across domains of interest. To leverage the generally unknown causal mechanism, existing works assume a linear form of causal feature or require sufficiently many and diverse training domains, which are usually restrictive in practice. In this work, we obviate these assumptions and tackle the OOD problem without explicitly recovering the causal feature. Our approach is based on transformations that modify the non-causal feature but leave the causal part unchanged, which can be either obtained from prior knowledge or learned from the training data in the multi-domain scenario. Under the setting of invariant causal mechanism, we theoretically show that if all such transformations are available, then we can learn a minimax optimal model across the domains using only single domain data. Noticing that knowing a complete set of these causal invariant transformations may be impractical, we further show that it suffices to know only a subset of these transformations. Based on the theoretical findings, a regularized training procedure is proposed to improve the OOD generalization capability. Extensive experimental results on both synthetic and real datasets verify the effectiveness of the proposed algorithm, even with only a few causal invariant transformations.

READ FULL TEXT

page 27

page 28

page 29

page 30

research
03/27/2022

Causality Inspired Representation Learning for Domain Generalization

Domain generalization (DG) is essentially an out-of-distribution problem...
research
11/25/2020

Supercharging Imbalanced Data Learning With Causal Representation Transfer

Dealing with severe class imbalance poses a major challenge for real-wor...
research
11/27/2019

Improving Model Robustness Using Causal Knowledge

For decades, researchers in fields, such as the natural and social scien...
research
04/07/2023

Domain Generalization In Robust Invariant Representation

Unsupervised approaches for learning representations invariant to common...
research
08/22/2017

On Image Classification: Correlation v.s. Causality

Image classification is one of the fundamental problems in computer visi...
research
12/04/2017

Learning Independent Causal Mechanisms

Independent causal mechanisms are a central concept in the study of caus...
research
05/19/2023

SFP: Spurious Feature-targeted Pruning for Out-of-Distribution Generalization

Model substructure learning aims to find an invariant network substructu...

Please sign up or login with your details

Forgot password? Click here to reset