iDAG: Invariant DAG Searching for Domain Generalization

Zenan Huang, Haobo Wang, Junbo Zhao, Nenggan Zheng
2/14/2026

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.

DOISemantic Scholar

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Cite this paper

@article{huang2026idag,
  title  = {iDAG: Invariant DAG Searching for Domain Generalization},
  author = {Zenan Huang and Haobo Wang and Junbo Zhao and Nenggan Zheng},
  year   = {2026},
  doi    = {10.1109/ICCV51070.2023.01756},
  url    = {https://doi.org/10.1109/ICCV51070.2023.01756},
  journal = {ICCV 2023 2023}
}

Discussion