Abstract
Source-free Graph Domain Adaptation (SFGDA) addresses the challenge of adapting pre-trained models to new domains without accessing original source data, a critical requirement for privacy and efficiency. This paper introduces RNA (Rank and Align), a novel framework designed to overcome label scarcity and structural discrepancies in graph data. RNA utilizes spectral seriation to establish robust semantic rankings and employs adversarial subgraph extraction to align target data with a "harmonic" proxy of the source domain. Our evaluation on multiple graph benchmarks shows that RNA significantly improves adaptation performance, often surpassing methods that require source data access.
Introduction
Graph Neural Networks (GNNs) are powerful tools for tasks involving complex relational data, such as molecular property prediction and social network analysis. However, their performance often degrades when applied to a target domain that differs structurally or statistically from the training (source) domain—a phenomenon known as domain shift. While standard Domain Adaptation (DA) techniques mitigate this by co-training on source and target data, real-world constraints such as data privacy, proprietary restrictions, and storage limits often make source data unavailable. This necessitates Source-free Graph Domain Adaptation (SFGDA).
The Challenges of Source-free Adaptation
Adapting a model without source data introduces several primary hurdles:
- Label Scarcity and Noise: In the absence of ground-truth labels, models often rely on pseudo-labeling. However, domain shift causes these "guesses" to be inaccurate, leading to poor training signals.
- Structural Discrepancy: Target graphs may possess structural properties vastly different from the source, rendering the original model's feature extraction unreliable.
- Training Instability: These factors combined often lead to unstable performance during the adaptation process as the model drifts from its original parameters.
The RNA Framework: Rank and Align
To address these issues, we propose the RNA (Rank and Align) framework, which consists of two main components:
1. Robust Semantics Learning (Rank)
Instead of relying on error-prone class predictions, RNA focuses on the relative relationships between graphs. We employ Spectral Seriation, a technique using the Fiedler vector of the graph Laplacian to find an optimal linear ordering of data points. This ranking is mathematically proven to be more robust to noise than direct classification. By enforcing that graphs with similar spectral rankings remain close in the feature space, the model learns stable semantic representations without needing labels.
2. Domain Alignment (Align)
Without source data, RNA creates a proxy for the source domain:
- Harmonic Graph Detection: Using spectral clustering and silhouette coefficients, we identify "harmonic" graphs—target samples that the model handles with high confidence and which likely resemble the source domain.
- Adversarial Subgraph Extraction: For "inharmonic" graphs (those significantly different from the source), we use an adversarial framework. A subgraph extractor identifies domain-invariant core structures, while a discriminator attempts to distinguish them from harmonic samples. This forces the GNN to focus on universal structural features rather than domain-specific noise.
Experimental Evaluation
RNA was evaluated on several biochemical and chemical benchmarks, including Mutagenicity, PROTEINS, and FRANKENSTEIN. We compared it against standard GNNs (GCN, GIN), semi-supervised methods (InfoGraph, TGNN), and state-of-the-art source-free methods like PLUE.
Key results include:
- Superior Accuracy: On the Mutagenicity dataset, RNA achieved 69.3% accuracy, outperforming the best source-free baseline (PLUE) by 4% and even exceeding some source-available methods.
- Cross-Dataset Success: On the PROTEINS dataset, RNA reached 66.2% accuracy, a nearly 7% improvement over standard GNNs.
- Ablation Success: Removing either the "Rank" or "Align" component resulted in significant performance drops, confirming the necessity of both spectral ranking and adversarial alignment.
Conclusion
RNA provides a robust solution for graph domain adaptation in privacy-sensitive and resource-constrained environments. By leveraging the mathematical stability of spectral methods and adversarial alignment, it bridges the gap between source and target domains without compromising data privacy. Future work will explore scaling these spectral methods to larger datasets and extending the framework to open-set adaptation scenarios.
Summary updated