Proceedings

LEMD: Latent Environment Extrapolation and Message Disentanglement for Dynamic Graph Under Distribution Shift

Download BibTeX Cite

Proceedings of the Thirty-Fifth International Joint Conference on Artificial Intelligence. Main Track. Pages 3106-3114.

https://doi.org/10.24963/ijcai.2026/345

Abstract

Dynamic graph neural networks (DyGNNs) are widely used to model evolving interactions, but may fail under data distribution shift. Due to limited and unreliable interventions and insufficient disentanglement, the existing dynamic graph domain generalization approaches lead to suboptimal results. We formalize a message sufficiency causal view: a node representation is fully mediated by its received message multiset. Building on this perspective, we propose Latent environment Extrapolation and Message Disentanglement (LEMD), a novel robust representation learning framework for dynamic graph domain generalization. A message extrapolation mechanism under soft uncertainty constraints is proposed to obtain the diverse counterfactual message distributions. Causal information is disentangled fully from the messages to suppress shortcuts via a recoverable evolving disentanglement module. We further provide rigorous theoretical analysis and proofs to ensure the effectiveness of LEMD. Across all six datasets and two tasks, LEMD consistently improves over state-of-the-art dynamic graph generalization baselines under distribution shift, and achieves the best performance increase of 7.7% relative compared to the suboptimal baseline. The code of LEMD for reviewer is available at https://github.com/W-WuJi/LEMD.

  1. [Arjovsky et al., 2020] Martin Arjovsky, Léon Bottou, Ishaan Gulrajani, and David Lopez-Paz. Invariant risk minimization, March 2020.
  2. [Barros et al., 2021] Claudio D. T. Barros, Matheus R. F. Mendonc ¸a, Alex B. Vieira, and Artur Ziviani. A sur- vey on embedding dynamic graphs. ACM Comput. Surv., 55(1):10:1-10:37, November 2021.
  3. [Berger-Wolf and Saia, 2006] Tanya Y. Berger-Wolf and Jared Saia. A framework for analysis of dynamic social networks. In Proceedings of the 12th ACM SIGKDD in- ternational conference on Knowledge discovery and data mining, pages 523-528, New York, NY, USA, August 2006. Association for Computing Machinery.
  4. [Cheng et al., 2022] Dawei Cheng, Xiaoyang Wang, Ying Zhang, and Liqing Zhang. Graph neural network for fraud detection via spatial-temporal attention. IEEE Transac- tions on Knowledge and Data Engineering, 34(8):3800- 3813, August 2022.
  5. [Christiansen et al., 2022] Rune Christiansen, Niklas Pfister, Martin Emil Jakobsen, Nicola Gnecco, and Jonas Pe- ters. A causal framework for distribution generalization. IEEE Transactions on Pattern Analysis and Machine In- telligence, 44(10):6614-6630, October 2022.
  6. [Creager et al., 2021] Elliot Creager, Joern-Henrik Jacob- sen, and Richard Zemel. Environment inference for invari- ant learning. In Proceedings of the 38th International Con- ference on Machine Learning, pages 2189-2200. PMLR, July 2021.
  7. [Ganin et al., 2016] Yaroslav Ganin, Evgeniya Ustinova, Hana Ajakan, Pascal Germain, Hugo Larochelle, Franc ¸ois Laviolette, Mario March, and Victor Lempitsky. Domain- adversarial training of neural networks. Journal of Ma- chine Learning Research, 17(59):1-35, 2016.
  8. [Gilmer et al., 2017] Justin Gilmer, Samuel S. Schoenholz, Patrick F. Riley, Oriol Vinyals, and George E. Dahl. Neural message passing for quantum chemistry. In Proceedings of the 34th International Conference on Machine Learning, pages 1263-1272. PMLR, July 2017.
  9. [Hughes et al., 2010] Michael E. Hughes, John Peeler, and John B. Hogenesch. Network dynamics to evaluate perfor- mance of an academic institution. Science Translational Medicine, 2(53):53ps49-53ps49, October 2010.
  10. [Komanduri et al., 2024] Aneesh Komanduri, Chen Zhao, Feng Chen, and Xintao Wu. Causal diffusion autoen- coders: Toward counterfactual generation via diffusion probabilistic models. arXiv preprint arXiv:2404.17735, 2024.
  11. [Krueger et al., 2021] David Krueger, Ethan Caballero, Joern-Henrik Jacobsen, Amy Zhang, Jonathan Binas, Dinghuai Zhang, Remi Le Priol, and Aaron Courville. Out-of-distribution generalization via risk extrapolation (rex), February 2021.
  12. [Kumar et al., 2019] Srijan Kumar, Xikun Zhang, and Jure Leskovec. Predicting dynamic embedding trajectory in temporal interaction networks. In Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, pages 1269-1278, New York, NY, USA, July 2019. Association for Computing Machin- ery.
  13. [Li et al., 2020] Guohao Li, Chenxin Xiong, Ali Thabet, and Bernard Ghanem. Deepergcn: All you need to train deeper gcns, June 2020.
  14. [Li et al., 2021] Xiaotong Li, Yongxing Dai, Yixiao Ge, Jun Liu, Ying Shan, and Lingyu Duan. Uncertainty model- ing for out-of-distribution generalization. In International Conference on Learning Representations, October 2021.
  15. [Lu et al., 2024] Bin Lu, Ze Zhao, Xiaoying Gan, Shiyu Liang, Luoyi Fu, Xinbing Wang, and Chenghu Zhou. Graph out-of-distribution generalization with controllable data augmentation. IEEE Transactions on Knowledge and Data Engineering, 36(11):6317-6329, November 2024.
  16. [Ma et al., 2025] Xiaoxu Ma, Chen Zhao, Minglai Shao, and Yujie Lin. Hypergraph-based dynamic graph node classification. In ICASSP 2025-2025 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 1-5. IEEE, 2025.
  17. [Ma et al., 2026] Xiaoxu Ma, Dong Li, Minglai Shao, Xin- tao Wu, and Chen Zhao. Llm-enhanced energy contrastive learning for out-of-distribution detection in text-attributed graphs. In Proceedings of the AAAI Conference on Artifi- cial Intelligence, volume 40, pages 24308-24316, 2026.
  18. [Pareja et al., 2020] Aldo Pareja, Giacomo Domeniconi, Jie Chen, Tengfei Ma, Toyotaro Suzumura, Hiroki Kaneza- shi, Tim Kaler, Tao Schardl, and Charles Leiserson. Evolvegcn: Evolving graph convolutional networks for dynamic graphs. Proceedings of the AAAI Conference on Artificial Intelligence, 34(04):5363-5370, April 2020.
  19. [Qin et al., 2023] Xiao Qin, Nasrullah Sheikh, Chuan Lei, Berthold Reinwald, and Giacomo Domeniconi. Seign: A simple and efficient graph neural network for large dy- namic graphs. In 2023 IEEE 39th International Con- ference on Data Engineering (ICDE), pages 2850-2863, April 2023.
  20. [Rosenfeld et al., 2021] Elan Rosenfeld, Pradeep Raviku- mar, and Andrej Risteski. The risks of invariant risk mini- mization, March 2021.
  21. [Sagawa et al., 2020] Shiori Sagawa, Pang Wei Koh, Tat- sunori B. Hashimoto, and Percy Liang. Distributionally robust neural networks for group shifts: On the impor- tance of regularization for worst-case generalization, April 2020.
  22. [Sankar et al., 2020] Aravind Sankar, Yanhong Wu, Liang Gou, Wei Zhang, and Hao Yang. Dysat: Deep neural rep- resentation learning on dynamic graphs via self-attention networks. In Proceedings of the 13th International Con- ference on Web Search and Data Mining, pages 519-527, New York, NY, USA, January 2020. Association for Com- puting Machinery.
  23. [Seo et al., 2018] Youngjoo Seo, Michaël Defferrard, Pierre Vandergheynst, and Xavier Bresson. Structured sequence modeling with graph convolutional recurrent networks. In Long Cheng, Andrew Chi Sing Leung, and Seiichi Ozawa, editors, Neural Information Processing, pages 362-373, Cham, 2018. Springer International Publishing.
  24. [Sinha et al., 2015] Arnab Sinha, Zhihong Shen, Yang Song, Hao Ma, Darrin Eide, Bo-June (Paul) Hsu, and Kuansan Wang. An overview of microsoft academic service (mas) and applications. In Proceedings of the 24th International Conference on World Wide Web, pages 243-246, New York, NY, USA, May 2015. Association for Computing Machinery.
  25. [Sun et al., 2021] Xinwei Sun, Botong Wu, Xiangyu Zheng, Chang Liu, Wei Chen, Tao Qin, and Tie-Yan Liu. Recover- ing latent causal factor for generalization to distributional shifts. In Advances in Neural Information Processing Sys- tems, volume 34, pages 16846-16859.
  26. Curran Associates, Inc., 2021.
  27. [Sun et al., 2025] Qingyun Sun, Jiayi Luo, Haonan Yuan, Xingcheng Fu, Hao Peng, Jianxin Li, and Philip S. Yu. Evolving graph learning for out-of-distribution generaliza- tion in non-stationary environments, November 2025.
  28. [Tang et al., 2008] Jie Tang, Jing Zhang, Limin Yao, Juanzi Li, Li Zhang, and Zhong Su. Arnetminer: extraction and mining of academic social networks. In Proceedings of the 14th ACM SIGKDD international conference on Knowl- edge discovery and data mining, pages 990-998, New York, NY, USA, August 2008. Association for Computing Machinery.
  29. [Tang et al., 2012] Jie Tang, Sen Wu, Jimeng Sun, and Hang Su. Cross-domain collaboration recommendation. In Pro- ceedings of the 18th ACM SIGKDD international con- ference on Knowledge discovery and data mining, pages 1285-1293, New York, NY, USA, August 2012. Associa- tion for Computing Machinery.
  30. [Tian et al., 2024] Qin Tian, Chen Zhao, Minglai Shao, Wenjun Wang, Yujie Lin, and Dong Li. Mldgg: Meta- learning for domain generalization on graphs, November 2024.
  31. [Tian et al., 2025] Qin Tian, Chen Zhao, Minglai Shao, Wenjun Wang, Yujie Lin, and Dong Li. Mldgg: Meta- learning for domain generalization on graphs. In Proceed- ings of the 31st ACM SIGKDD Conference on Knowledge Discovery and Data Mining V. 1, pages 1361-1372, 2025.
  32. [Tian et al., 2026] Qin Tian, Chen Zhao, Xintao Wu, Dong Li, Minglai Shao, Xujiang Zhao, and Wenjun Wang. Class-domain incremental learning on graphs via disen- tangled knowledge distillation. In Proceedings of the ACM Web Conference 2026, pages 452-462, 2026.
  33. [Vuong et al., 2025] Long-Tung Vuong, Vy Vo, Hien Dang, Van-Anh Nguyen, Thanh-Toan Do, Mehrtash Harandi, Trung Le, and Dinh Phung. Why domain generalization fail? a view of necessity and sufficiency, February 2025.
  34. [Wang et al., 2025] Xin Wang, Haoyang Li, Zeyang Zhang, Haibo Chen, Tong Xiao, Kehan Li, and Wenwu Zhu. Uncertainty-aware disentangled dynamic graph attention network for out-of-distribution generalization. IEEE Transactions on Pattern Analysis and Machine Intelli- gence, pages 1-18, 2025.
  35. [Wu et al., 2024] Qitian Wu, Hengrui Zhang, Junchi Yan, and David Wipf. Handling distribution shifts on graphs: An invariance perspective, August 2024.
  36. [Ye et al., 2025] Wenqian Ye, Luyang Jiang, Eric Xie, Guangtao Zheng, Yunsheng Ma, Xu Cao, Dongliang Guo, Daiqing Qi, Zeyu He, Yijun Tian, Megan Coffee, Zhe Zeng, Sheng Li, Ting-hao, Huang, Ziran Wang, James M. Rehg, Henry Kautz, and Aidong Zhang. The clever hans mirage: A comprehensive survey on spurious correlations in machine learning, October 2025.
  37. [Yuan et al., 2023] Haonan Yuan, Qingyun Sun, Xingcheng Fu, Ziwei Zhang, Cheng Ji, Hao Peng, and Jianxin Li. Environment-aware dynamic graph learning for out-of- distribution generalization. Advances in Neural Infor- mation Processing Systems, 36:49715-49747, December 2023.
  38. [Yuan et al., 2024] Haonan Yuan, Qingyun Sun, Xingcheng Fu, Cheng Ji, and Jianxin Li. Dynamic graph information bottleneck. In Proceedings of the ACM Web Conference 2024, pages 469-480, New York, NY, USA, May 2024. Association for Computing Machinery.
  39. [Zhang et al., 2022] Zeyang Zhang, Xin Wang, Ziwei Zhang, Haoyang Li, Zhou Qin, and Wenwu Zhu. Dynamic graph neural networks under spatio-temporal distribution shift. Advances in Neural Information Processing Systems, 35:6074-6089, December 2022.
  40. [Zhang et al., 2023] Zeyang Zhang, Xin Wang, Ziwei Zhang, Zhou Qin, Weigao Wen, Hui Xue', Haoyang Li, and Wenwu Zhu. Spectral invariant learning for dynamic graphs under distribution shifts. Advances in Neural In- formation Processing Systems, 36:6619-6633, December 2023.
  41. [Zhang et al., 2024] Guibin Zhang, Yiyan Qi, Ziyang Cheng, Yanwei Yue, Dawei Cheng, and Jian Guo. Rationalizing and augmenting dynamic graph neural networks. In The Thirteenth International Conference on Learning Repre- sentations, October 2024.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards