iDAG: Invariant DAG Searching for Domain Generalization
Zenan Huang, Haobo Wang, Junbo Zhao, Nenggan Zheng
Abstract
Existing machine learning (ML) models are often fragile in open environments because the data distribution frequently shifts. To address this problem, domain generalization (DG) aims to explore underlying invariant patterns for stable prediction across domains. In this work, we first characterize that this failure of conventional ML models in DG attributes to an inadequate identification of causal structures. We further propose a novel invariant Directed Acyclic Graph (dubbed iDAG) searching framework that attains an invariant graphical relation as the proxy to the causality structure from the intrinsic data-generating process. To enable tractable computation, iDAG solves a constrained optimization objective built on a set of representative class-conditional prototypes. Additionally, we integrate a hierarchical contrastive learning module, which poses a strong effect of clustering, for enhanced prototypes as well as stabler prediction. Extensive experiments on the synthetic and real-world benchmarks demonstrate that iDAG outperforms the state-of-the-art approaches, verifying the superiority of causal structure identification for DG. The code of iDAG is available at https://github.com/ lccurious/iDAG.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers7
- DGMamba: Domain Generalization via Generalized State Space ModelShaocong Long, Qianyu Zhou, Xiangtai Li, Xuequan Lu et al.ACM MM 2024 · 15 citations
- START: A Generalized State Space Model with Saliency-Driven Token-Aware TransformationJintao Guo, Lei Qi, Yinghuan Shi, Yang GaoNeurIPS 2024 · 6 citations
- DGFamba: Learning Flow Factorized State Space for Visual Domain GeneralizationQi Bi, Jingjun Yi, Hao Zheng, Haolan Zhan et al.AAAI 2025 · 3 citations
- Learning Time-Aware Causal Representation for Model Generalization in Evolving DomainsZhuo He, Shuang Li, Wenze Song, Longhui Yuan et al.ICML 2025
- Domain Generalization in CLIP via Learning with Diverse Text PromptsChangsong Wen, Zelin Peng, Yu Huang, Xiaokang Yang et al.CVPR 2025
Builds on29
- Moment Matching for Multi-Source Domain AdaptationXingchao Peng, Qinxun Bai, Xide Xia, Zijun Huang et al.ICCV 2019 · 2,239 citations
- Distributionally Robust Neural NetworksShiori Sagawa, Pang Wei Koh, Tatsunori B. Hashimoto, Percy LiangICLR 2020 · 1,578 citations
- In Search of Lost Domain GeneralizationIshaan Gulrajani, David Lopez-PazICLR 2021 · 1,416 citations
- 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
- SWAD: Domain Generalization by Seeking Flat MinimaJunbum Cha, Sanghyuk Chun, Kyungjae Lee, Han-Cheol Cho et al.NeurIPS 2021 · 630 citations
Related papers
- Causal Structure-guided Distributionally Robust Optimization under Domain ShiftsSeonggyeom Kim, Eunjung Choi, Dong-Kyu ChaeKDD 2026
- Causal Invariance-aware Augmentation for Brain Graph Contrastive LearningMinqi Yu, Jinduo Liu, Junzhong JiICML 2025
- Beyond DAGs: A Latent Partial Causal Model for Multimodal LearningYuhang Liu, Zhen Zhang, Dong Gong, Erdun Gao et al.ICLR 2026 · 9 citations
- CGU-Bayes: Causal Graph Uncertainty-Guided Bayesian Inference for Domain GeneralizationNaiyu Yin, Hanjing Wang, Yue Yu, Tian Gao et al.CVPR 2026
- Augmentations in Graph Contrastive Learning: Current Methodological Flaws & Towards Better PracticesPuja Trivedi, Ekdeep Singh Lubana, Yujun Yan, Yaoqing Yang et al.WWW 2022 · 59 citations
