Distributionally-robust heterogeneous graph neural networks via relation-aware grouping
Out-of-distribution (OOD) generalization remains a key challenge for heterogeneous graph neural networks (HGNNs), which often exhibit substantial performance degradation under real-world distribution shifts. While Group Distributionally Robust Optimization (GroupDRO) has proven effective in promoting OOD generalization in various domains, its application to heterogeneous graphs remains largely unexplored. This gap stems from a fundamental obstacle: the complex, multi-relational nature of heterogeneous graphs renders conventional group definitions, which rely on explicit node attributes, inadequate. To bridge this gap, we propose DroHGNN, a GroupDRO-based framework for OOD generalization on heterogeneous graphs. DroHGNN introduces a relation-aware soft grouping mechanism coupled with a two-stage optimization procedure to enhance OOD robustness. Specifically, DroHGNN learns soft group assignments through learnable prototypes over relation-specific node representations. These assignments serve as optimization-oriented group proxies for GroupDRO, which minimizes worst-case group risk. To encourage structural coherence of the inferred assignments, we further introduce a heterogeneous graph structural consistency constraint that regularizes the group assignments of structurally connected target nodes. Extensive experiments on multiple real-world benchmarks show that DroHGNN consistently achieves strong OOD performance compared with competitive baselines. Notably, under degree-distribution shifts on the ArXiv dataset, DroHGNN outperforms NaiveDRO and the leading baseline CaNet by 23.3% and 6.5% in Macro-F1, respectively. Moreover, relative gains of up to 3.2% in average Macro-F1 under the inductive temporal setting further demonstrate its effectiveness under heterogeneous distribution shifts.
Authors
- Lailong Luo (ORCID: https://orcid.org/0000-0002-4886-9974)
- Wenhao Wang (ORCID: https://orcid.org/0000-0002-9611-7013)
- Yanghui Fu (ORCID: https://orcid.org/0000-0001-7792-9983)
- Yunfei Wang (ORCID: https://orcid.org/0009-0003-5614-9074)
- Yue He (ORCID: https://orcid.org/0009-0009-1536-1179)
- Shixuan Liu (ORCID: https://orcid.org/0000-0003-4780-3890)
- Cheng Zhu (ORCID: https://orcid.org/0000-0003-0217-6782)
Institutions
- National University of Defense Technology (CN)
- Renmin University of China (CN)
Publication Details
- Journal
- Information Processing & Management
- Published
- 2026-10-07
- DOI
- https://doi.org/10.1016/j.ipm.2026.105199
- Primary Topic
- Advanced Graph Neural Networks
- Type
- article
- Field-Weighted Citation Impact
- 0.00