Source Free Unsupervised Graph Domain Adaptation

Haitao Mao, Lun Du, Yujia Zheng, Qiang Fu, Zelin Li, Xu Chen, Shi Han, Dongmei Zhang · DOI

TL;DR

SOGA is a novel, model-agnostic algorithm designed for Source-Free Unsupervised Graph Domain Adaptation (SFUGDA). It allows Graph Neural Networks (GNNs) to adapt to new, unlabeled target graphs without needing any access to the original source training data, effectively overcoming privacy and data-sharing barriers while outperforming traditional methods that require full data access.

What Problem Does This Paper Address?

In the world of Graph Neural Networks (GNNs), a model trained on one graph (the source) often performs poorly on another (the target) due to "domain shift"—differences in node features and graph structures. While Unsupervised Graph Domain Adaptation (UGDA) aims to fix this, most existing solutions require simultaneous access to both the source and target datasets to align their distributions.

However, in real-world scenarios, the source data is often inaccessible due to privacy regulations (like GDPR), proprietary restrictions, or high data-transfer costs. The authors introduce a more practical but challenging scenario: Source-Free Unsupervised Graph Domain Adaptation (SFUGDA). Here, you only have the pre-trained source model and the unlabeled target graph. Standard alignment techniques fail because there is no source data to align with.

Figure 1: Discrepancy between degree distributions on ACM- D and ACM-S datasets.

Methods

The authors propose SOGA (SOurce free domain Graph Adaptation), which adapts a pre-trained GNN to a target graph using two unsupervised optimization objectives:

  1. Information Maximization (IM): This objective forces the model to make confident and diverse predictions on the target graph. It minimizes conditional entropy (making predictions more certain) and maximizes marginal entropy (ensuring the model doesn't just predict the same class for every node).
  2. Structure Consistency (SC): This leverages the target graph's own topology. It assumes that nodes that are neighbors or share similar structural roles should likely have similar labels. SOGA tunes the model to ensure its output representations reflect these structural proximities.

Crucially, SOGA is model-agnostic. It treats the GNN as a black box, meaning it can be applied to GCNs, GraphSAGE, GATs, or any other architecture without modification.

Figure 2: The detailed procedure of the SOGA algorithm. In the SFUGDA scenario, the source training procedure and la- beled source graph in the shadow box are not accessible. Our algorithm only includes the upper dashed box describing the adaptation procedure. SOGA utilizes the output of the model on the unlabeled target graph to optimize two objectives: In- formation Maximization and Structure Consistency to adapt the model on the target domain.

Datasets

The researchers evaluated SOGA on four cross-domain tasks using well-known citation network datasets:

  • DBLPv8 and ACMv9: Large-scale citation networks where nodes are papers and edges are citations. The domain gap comes from different publication time periods and origins.
  • ACM-D (Dense) and ACM-S (Sparse): Two subgraphs from the ACM dataset specifically chosen to test adaptation across significantly different graph densities and structures.

Key Insights and Ideas

  • Privacy-Preserving Adaptation: SOGA proves that you don't need to "see" the original training data to adapt a model effectively. This opens doors for collaborative AI where models are shared but sensitive data remains private.
  • Theoretical Guarantees: The authors provide mathematical proofs showing that their Information Maximization objective specifically raises the lower bound of the AUC metric, providing a solid theoretical foundation for why the method works.
  • Stability is Key: Traditional adversarial domain adaptation methods often suffer from "violent fluctuations" during training. SOGA exhibits much smoother learning curves, making it easier to deploy in practice where you don't have a validation set to tell you when to stop training.
  • Structure as a Supervision Signal: In the absence of labels, the graph's structure itself acts as a powerful "anchor." By enforcing that structural neighbors share similar predictions, SOGA prevents the model from "forgetting" its discriminative power during unsupervised fine-tuning.

Key Results

SOGA consistently outperformed all baselines, including state-of-the-art UGDA methods that did have access to source data.

  • Performance Gains: On the four tasks, SOGA achieved improvements of up to 2.1% in Macro-F1 and 4% in Macro-AUC.
  • Model Agnostic: Experiments showed SOGA successfully improved performance regardless of whether the underlying model was a GCN, GraphSAGE, or GAT.
  • Superior Stability: As shown in the learning curves, SOGA converges quickly and maintains a steady high performance, whereas competing methods like UDAGCN fluctuate wildly.
Figure 3: The comparison of learning curves of different UGDA methods on the DBLPv8 →ACMv9 task. The 𝑥axis denotes the training epoch, whereas the 𝑦axis denotes the Macro-F1 score on the target graph.

Limitations and Future Work

While SOGA is highly effective, the authors note a few areas for further exploration:

  • Fairness: It remains unclear if improving privacy through source-free adaptation might inadvertently impact the fairness of the model's predictions across different node groups.
  • Extreme Domain Gaps: While SOGA handles feature and structural shifts well, extremely divergent domains might still pose a challenge for purely unsupervised adaptation.
  • Hyperparameter Sensitivity: Although the authors found SOGA to be relatively robust, the balance between Information Maximization and Structure Consistency ($\lambda_1, \lambda_2$) might require tuning for radically different types of graph data (e.g., chemical molecules vs. social networks).

Summary updated

BibTeX
@inproceedings{mao2024source,
  author = {Haitao Mao and Lun Du and Yujia Zheng and Qiang Fu and Zelin Li and Xu Chen and Shi Han and Dongmei Zhang},
  title = {{Source Free Unsupervised Graph Domain Adaptation}},
  booktitle = {WSDM},
  year = {2024},
  doi = {10.1145/3616855.3635802},
}
Figure