Abstract
Graph Domain Adaptation (GDA) is a critical technique for transferring knowledge from a labeled source graph to an unlabeled target graph, addressing the "cold start" problem in graph-based learning. Despite its importance, the field has lacked a standardized evaluation framework, leading to inconsistent results and limited generalizability. This paper introduces OpenGDA, the first comprehensive benchmark designed to bring rigor to GDA. OpenGDA provides a unified pipeline and over 70 cross-network tasks spanning node, edge, and graph-level predictions across diverse real-world domains. Our evaluation reveals significant challenges in current models, particularly regarding scenario and task inconsistency.
Introduction
In many real-world applications of Graph Neural Networks (GNNs), researchers encounter a "cold start" scenario: a well-established, labeled source graph exists (e.g., a mature social network), while a new, unlabeled target graph (e.g., a newly launched platform) requires classification or prediction. Graph Domain Adaptation (GDA) aims to bridge this gap by transferring knowledge across these domains, even when structural properties and feature distributions differ—a challenge known as distribution shift.
Historically, the GDA field has lacked standardization. Most existing models are evaluated on a narrow set of node classification tasks within citation or social networks, leaving their performance on edge-level tasks (like link prediction) or graph-level tasks (like molecule classification) largely unknown. Furthermore, the lack of a unified framework makes "apples-to-apples" comparisons difficult. OpenGDA addresses these issues by providing a reproducible, modular framework for fair and extensive benchmarking.
The OpenGDA Framework
OpenGDA is built on PyTorch and PyTorch Geometric (PyG), featuring a modular architecture designed for extensibility and ease of use. The framework consists of three core components:
- Data Interface: This layer provides unified graph objects, including feature matrices and adjacency matrices, ensuring consistent data handling across all 70+ tasks.
- Model Architecture: OpenGDA implements state-of-the-art (SOTA) GDA models. To ensure comprehensive testing, each model is adapted into three variants ($M_n, M_l, M_g$) specifically tailored for node, link, and graph-level tasks.
- Standardized Training and Evaluation: The framework utilizes a common suite of metrics—including Hits@k, Mean Reciprocal Rank (MRR), Normalized Discounted Cumulative Gain (NDCG), and Accuracy—to ensure rigorous comparative analysis.
GDA Methodologies
The benchmark integrates two primary categories of GDA approaches:
- Discrepancy-based methods: Models like UDAGCN and GRADE focus on minimizing the statistical distance between the source and target distributions to achieve domain invariance.
- Disentangle-based methods: Models like ASN attempt to decompose graph embeddings into domain-invariant components (useful for transfer) and domain-specific components (treated as noise).
Benchmark Datasets and Tasks
OpenGDA introduces a massive collection of over 70 cross-network learning tasks, categorized into three distinct system types: Web information systems, Urban systems, and Natural systems. This diversity provides a rigorous stress test for model generalizability.
- Node-level tasks: Evaluated using Citation1, Twitch, Blog, and Airport datasets.
- Edge-level tasks: Focus on link prediction and classification using Amazon Review, Citation2, and PPI datasets.
- Graph-level tasks: Involve classifying entire graphs using IMDB-REDDIT and LetterHigh-LetterLow datasets.
Notably, the edge-level tasks often involve bipartite graphs (e.g., the Amazon Review dataset), which require models to account for two distinct categories of nodes—a complexity often ignored in simpler benchmarks.
Key Insights and Experimental Results
Our extensive benchmarking revealed several critical insights into the current state of GDA:
The Consistency Gap
The most prominent finding is the presence of "Scenario-inconsistency" and "Task-inconsistency." Models that achieve SOTA performance on citation networks often fail to generalize to airport or biological networks. This suggests that current GDA techniques are not yet robust enough to handle the structural diversity of real-world graphs.
Performance vs. Baselines
In many scenarios, sophisticated GDA models only marginally outperformed a naive GCN baseline. This indicates that simply porting domain adaptation techniques from computer vision to graph data is insufficient; the unique topological properties of graphs require more specialized integration.
Task-Specific Highlights
- Node Classification: On the Airport dataset (USA to Brazil transfer), UDAGCN demonstrated significant gains, achieving 0.607 accuracy compared to the GCN baseline of 0.427.
- Link Prediction: On the Amazon Review dataset (cd to music), the disentanglement-based ASN model outperformed others with a Hits@10 of 0.380.
- Graph Classification: Results on IMDB-REDDIT were highly competitive, with ASN and AdaGCN frequently trading the lead, though the performance margin over baselines was narrower than in node-level tasks.
Conclusion and Future Work
OpenGDA establishes a new standard for rigor in Graph Domain Adaptation. By providing a unified pipeline and diverse datasets, it highlights the limitations of current models and provides a foundation for future research.
Future developments for OpenGDA will focus on:
- Expanding the library of datasets and integrating emerging SOTA models.
- Enhancing scalability to support larger-scale graph structures.
- Investigating distribution shifts in more complex environments, such as dynamic or temporal graphs.
The OpenGDA project is open-source and available at https://github.com/Skyorca/OpenGDA.
Summary updated