References & Citations
Computer Science > Machine Learning
Title: Direct-Effect Risk Minimization for Domain Generalization
(Submitted on 26 Nov 2022 (v1), last revised 16 Mar 2023 (this version, v4))
Abstract: We study the problem of out-of-distribution (o.o.d.) generalization where spurious correlations of attributes vary across training and test domains. This is known as the problem of correlation shift and has posed concerns on the reliability of machine learning. In this work, we introduce the concepts of direct and indirect effects from causal inference to the domain generalization problem. We argue that models that learn direct effects minimize the worst-case risk across correlation-shifted domains. To eliminate the indirect effects, our algorithm consists of two stages: in the first stage, we learn an indirect-effect representation by minimizing the prediction error of domain labels using the representation and the class labels; in the second stage, we remove the indirect effects learned in the first stage by matching each data with another data of similar indirect-effect representation but of different class labels in the training and validation phase. Our approach is shown to be compatible with existing methods and improve the generalization performance of them on correlation-shifted datasets. Experiments on 5 correlation-shifted datasets and the DomainBed benchmark verify the effectiveness of our approach.
Submission history
From: Yuhui Li [view email][v1] Sat, 26 Nov 2022 15:35:36 GMT (559kb,D)
[v2] Tue, 31 Jan 2023 15:52:23 GMT (559kb,D)
[v3] Wed, 1 Feb 2023 11:22:57 GMT (560kb,D)
[v4] Thu, 16 Mar 2023 03:21:22 GMT (652kb,D)
Link back to: arXiv, form interface, contact.