Environment-Aware Dynamic Graph Learning for Out-of-Distribution Generalization

Haonan Yuan, Qingyun Sun, Xingcheng Fu, Ziwei Zhang, Cheng Ji +2 more
2/12/2026

No official code found. Best implementation: RingBDStack/EAGLE (25 stars, MIT, last commit 2023-10-31).

Abstract

Dynamic graph neural networks (DGNNs) are increasingly pervasive in exploiting spatio-temporal patterns on dynamic graphs. However, existing works fail to generalize under distribution shifts, which are common in real-world scenarios. As the generation of dynamic graphs is heavily influenced by latent environments, investigating their impacts on the out-of-distribution (OOD) generalization is critical. However, it remains unexplored with the following two major challenges: (1) How to properly model and infer the complex environments on dynamic graphs with distribution shifts? (2) How to discover invariant patterns given inferred spatio-temporal environments? To solve these challenges, we propose a novel Environment-Aware dynamic Graph LEarning (EAGLE) framework for OOD generalization by modeling complex coupled environments and exploiting spatio-temporal invariant patterns. Specifically, we first design the environment-aware EA-DGNN to model environments by multi-channel environments disentangling. Then, we propose an environment instantiation mechanism for environment diversification with inferred distributions. Finally, we discriminate spatio-temporal invariant patterns for out-of-distribution prediction by the invariant pattern recognition mechanism and perform fine-grained causal interventions node-wisely with a mixture of instantiated environment samples. Experiments on real-world and synthetic dynamic graph datasets demonstrate the superiority of our method against state-of-the-art baselines under distribution shifts. To the best of our knowledge, we are the first to study OOD generalization on dynamic graphs from the environment learning perspective.

View on arXivView PDF

Code Implementations(1)

RingBDStack/EAGLECommunity100%
MIT

Code for "Environment-Aware Dynamic Graph Learning for Out-of-Distribution Generalization (EAGLE)"

250PythonOct 23, 20232 years agoMIT

Similar Papers

Cite this paper

@article{yuan2026environmentaware,
  title  = {Environment-Aware Dynamic Graph Learning for Out-of-Distribution Generalization},
  author = {Haonan Yuan and Qingyun Sun and Xingcheng Fu and Ziwei Zhang and Cheng Ji and Hao Peng and Jianxin Li},
  year   = {2026},
  eprint = {2311.11114},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2311.11114},
  journal = {NEURIPS 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2311.11114.svg)](https://codeofpaper.com/paper/2311.11114)

Discussion