Modeling the Data-Generating Process is Necessary for Out-of-Distribution Generalization
Jivat Neet Kaur, Emre Kiciman, Amit Sharma
摘要
Recent empirical studies on domain generalization (DG) have shown that DG algorithms that perform well on some distribution shifts fail on others, and no state-of-the-art DG algorithm performs consistently well on all shifts. Moreover, real-world data often has multiple distribution shifts over different attributes; hence we introduce multi-attribute distribution shift datasets and find that the accuracy of existing DG algorithms falls even further. To explain these results, we provide a formal characterization of generalization under multi-attribute shifts using a canonical causal graph. Based on the relationship between spurious attributes and the classification label, we obtain realizations of the canonical causal graph that characterize common distribution shifts and show that each shift entails different independence constraints over observed variables. As a result, we prove that any algorithm based on a single, fixed constraint cannot work well across all shifts, providing theoretical evidence for mixed empirical results on DG algorithms. Based on this insight, we develop Causally Adaptive Constraint Minimization (CACM), an algorithm that uses knowledge about the data-generating process to adaptively identify and apply the correct independence constraints for regularization. Results on fully synthetic, MNIST, small NORB, and Waterbirds datasets, covering binary and multi-valued attributes and labels, show that adaptive dataset-dependent constraints lead to the highest accuracy on unseen domains whereas incorrect constraints fail to do so. Our results demonstrate the importance of modeling the causal relationships inherent in the data-generating process. INTRODUCTION To perform reliably in real world settings, machine learning models must be robust to distribution shifts -where the training distribution differs from the test distribution. Given data from multiple domains that share a common optimal predictor, the domain generalization (DG) task (Wang et al., 2021; Zhou et al., 2021) encapsulates this challenge by evaluating accuracy on an unseen domain. Recent empirical studies of DG algorithms (Wiles et al., 2022; Ye et al., 2022) have characterized different kinds of distribution shifts across domains. Using MNIST as an example, a diversity shift is when domains are created either by adding new values of a spurious attribute like rotation (e.g., Rotated-MNIST dataset (Ghifary et al., 2015; Piratla et al., 2020) ) whereas a correlation shift is when domains exhibit different values of correlation between the class label and a spurious attribute like color (e.g., Colored-MNIST (Arjovsky et al., 2019)). Partly because advances in representation learning for DG (
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 14 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Out-of-Distribution Generalization via Risk Extrapolation (REx) 引用了 In Search of Lost Domain Generalization
- Joint Learning of Label and Environment Causal Independence for Graph Out-of-Distribution Generalization 引用了 Out-of-Distribution Generalization via Risk Extrapolation (REx)
- Joint Learning of Label and Environment Causal Independence for Graph Out-of-Distribution Generalization 引用了 WILDS: A Benchmark of in-the-Wild Distribution Shifts
- Do causal predictors generalize better to new domains? 引用了 Out-of-Distribution Generalization via Risk Extrapolation (REx)
- Do causal predictors generalize better to new domains? 引用了 In Search of Lost Domain Generalization
- Emergence of Hidden Capabilities: Exploring Learning Dynamics in Concept Space 引用了 Compositional Abilities Emerge Multiplicatively: Exploring Diffusion Models on a Synthetic Task
引用它的顶会 Paper14
- Compositional Abilities Emerge Multiplicatively: Exploring Diffusion Models on a Synthetic TaskMaya Okawa, Ekdeep Singh Lubana, Robert P. Dick, Hidenori TanakaNeurIPS 2023 · 113 次引用
- Mechanistic Mode ConnectivityEkdeep Singh Lubana, Eric J. Bigelow, Robert P. Dick, David Scott Krueger 等ICML 2023 · 57 次引用
- Joint Learning of Label and Environment Causal Independence for Graph Out-of-Distribution GeneralizationShurui Gui, Meng Liu, Xiner Li, Youzhi Luo 等NeurIPS 2023 · 54 次引用
- Emergence of Hidden Capabilities: Exploring Learning Dynamics in Concept SpaceCore Francisco Park, Maya Okawa, Andrew Lee, Ekdeep Singh Lubana 等NeurIPS 2024 · 39 次引用
- Do causal predictors generalize better to new domains?Vivian Y. Nastl, Moritz HardtNeurIPS 2024 · 21 次引用
它引用的 Paper13
- RandAugment: Practical Automated Data Augmentation with a Reduced Search SpaceEkin Dogus Cubuk, Barret Zoph, Jonathon Shlens, Quoc LeNeurIPS 2020 · 4,453 次引用
- WILDS: A Benchmark of in-the-Wild Distribution ShiftsPang Wei Koh, Shiori Sagawa, Henrik Marklund, Sang Michael Xie 等ICML 2021 · 1,773 次引用
- Distributionally Robust Neural NetworksShiori Sagawa, Pang Wei Koh, Tatsunori B. Hashimoto, Percy LiangICLR 2020 · 1,578 次引用
- In Search of Lost Domain GeneralizationIshaan Gulrajani, David Lopez-PazICLR 2021 · 1,416 次引用
- Out-of-Distribution Generalization via Risk Extrapolation (REx)David Krueger, Ethan Caballero, Jörn-Henrik Jacobsen, Amy Zhang 等ICML 2021 · 1,163 次引用
相关 Paper
- Causality Inspired Representation Learning for Domain GeneralizationFangrui Lv, Jian Liang, Shuang Li, Bin Zang 等CVPR 2022 · 190 次引用
- Causal Structure-guided Distributionally Robust Optimization under Domain ShiftsSeonggyeom Kim, Eunjung Choi, Dong-Kyu ChaeKDD 2026
- Probable Domain Generalization via Quantile Risk MinimizationCian Eastwood, Alexander Robey, Shashank Singh, Julius von Kügelgen 等NeurIPS 2022 · 99 次引用
- Algorithmic Fairness Generalization under Covariate and Dependence Shifts SimultaneouslyChen Zhao, Kai Jiang, Xintao Wu, Haoliang Wang 等KDD 2024 · 6 次引用
- Seeing Through the Shift: Causality-Inspired Robust Generalized Category DiscoveryWei Feng, Yiwen Jiang, Sijin Zhou, Zhuang Qi 等CVPR 2026 · 2 次引用
