Pave Your Own Path: Graph Gradual Domain Adaptation on Fused Gromov-Wasserstein Geodesics
Zhichen Zeng, Ruizhong Qiu, Wenxuan Bao, Tianxin Wei, Xiao Lin, Yuchen Yan, Tarek F. Abdelzaher, Jiawei Han, Hanghang Tong
TL;DR
This work addresses the challenge of large distribution shifts in graph neural networks by proposing Gadget, the first graph gradual domain adaptation framework for non-IID graphs. Gadget leverages Fused Gromov-Wasserstein (FGW) distances to quantify domain discrepancy and proves that the optimal gradual path lies along FGW geodesics, minimizing the target error as the adaptation proceeds along intermediate graphs. A practical path-generation module uses low-rank optimal transport to align source and target graphs and interpolate along FGW geodesics, while an entropy-based confidence mechanism enhances self-training for pseudo-labels. The approach yields consistent gains over direct adaptation across real and synthetic datasets and provides insights into the geodesic structure of graph shifts, enabling scalable and effective large-shift graph DA.
Abstract
Graph neural networks, despite their impressive performance, are highly vulnerable to distribution shifts on graphs. Existing graph domain adaptation (graph DA) methods often implicitly assume a \textit{mild} shift between source and target graphs, limiting their applicability to real-world scenarios with \textit{large} shifts. Gradual domain adaptation (GDA) has emerged as a promising approach for addressing large shifts by gradually adapting the source model to the target domain via a path of unlabeled intermediate domains. Existing GDA methods exclusively focus on independent and identically distributed (IID) data with a predefined path, leaving their extension to \textit{non-IID graphs without a given path} an open challenge. To bridge this gap, we present Gadget, the first GDA framework for non-IID graph data. First (\textit{theoretical foundation}), the Fused Gromov-Wasserstein (FGW) distance is adopted as the domain discrepancy for non-IID graphs, based on which, we derive an error bound revealing that the target domain error is proportional to the length of the path. Second (\textit{optimal path}), guided by the error bound, we identify the FGW geodesic as the optimal path, which can be efficiently generated by our proposed algorithm. The generated path can be seamlessly integrated with existing graph DA methods to handle large shifts on graphs, improving state-of-the-art graph DA methods by up to 6.8\% in node classification accuracy on real-world datasets.
