arXiv:2610.07628cs.LGOct 2026

Manuscript Offprint

arXiv:2610.07628

Complementary Supervised and Self-Supervised Representations for Out-of-Distribution Graph Learning

Qingying Hao, Zikang Chen, Chuxuan Hu, Jinyuan Jia, Bo Li, Gang Wang, Carl Gunter

Qingying Hao

ShanghaiTech University

Shanghai, China

haoqy@shanghaitech.edu.cn

Zikang Chen

ShanghaiTech University

Shanghai, China

chenzk2025@shanghaitech.edu.cn

Jinyuan Jia

The Pennsylvania State University

University Park, Pennsylvania, USA

jinyuan@psu.edu

Bo Li

University of Illinois

Urbana-Champaign

Urbana, Illinois, USA

lbo@illinois.edu

Chuxuan Hu

University of Illinois

Urbana-Champaign

Urbana, Illinois, USA

chuxuan3@illinois.edu

Carl Gunter

University of Illinois

Urbana-Champaign

Urbana, Illinois, USA

cgunter@illinois.edu

Gang Wang

University of Illinois

Urbana-Champaign

Urbana, Illinois, USA

gangw@illinois.edu

Abstract

Out-of-distribution (OOD) generalization remains challenging for graph neural networks (GNNs), as graph distributions can vary substantially across time and domains. Supervised and self-supervised graph representation learning are guided by distinct objectives and offer different perspectives on graph representations. In this work, we study whether self-supervised representations (SSL) can provide complementary signals to improve supervised OOD node classification. We develop two backbone-agnostic frameworks that exploit such information at different stages of learning and prediction. Co-Train jointly learns supervised and SSL representations and adaptively integrates them during training, while Dual-Space Retrieval performs non-parametric prediction in the two representation spaces and combines their predictions through confidence-aware fusion at inference time. The supervised and SSL encoders are separately parameterized and need not share the same GNN architecture.

We evaluate multiple GNN backbones and two distinct SSL objectives, DGI and GRACE, on four graph benchmarks spanning temporal and cross-domain distribution shifts. Extensive experiments show that Co-Train consistently outperforms strong supervised OOD baselines, while Dual-Space Retrieval achieves competitive performance as a flexible non-parametric alternative. Results across different backbones and SSL objectives, together with representation analyses and ablations, demonstrate that SSL representations provide complementary information to supervised representations and can improve OOD node classification across diverse settings.

CCS Concepts

• Computing methodologies → Neural networks.

Keywords

Graph neural networks, Out-of-distribution generalization, Supervised learning, Self-supervised learning