Source Free Unsupervised Graph Domain Adaptation

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

Introduction

Graph Neural Networks (GNNs) have demonstrated remarkable success in modeling relational data. However, their performance often degrades when applied to a target domain with a different distribution than the source training data. Traditional Unsupervised Graph Domain Adaptation (UGDA) addresses this by aligning source and target distributions. Yet, in many real-world scenarios—governed by strict privacy regulations like GDPR or proprietary constraints—access to the original source dataset is prohibited.

This paper formalizes this challenge as Source-Free Unsupervised Graph Domain Adaptation (SFUGDA). In this setting, the goal is to adapt a pre-trained "black-box" source model to a new, unlabeled target graph using only the target's features and structure, without any access to the source data.

Proposed Framework: SOGA

The authors propose SOGA (SOurce free domain Graph Adaptation), a model-agnostic algorithm designed to refine a source model using two primary unsupervised objectives on the target graph.

Overview of the SOGA framework for source-free unsupervised graph domain adaptation.

1. Information Maximization (IM)

To compensate for the lack of labels, SOGA encourages the model to produce confident and diverse predictions. This is achieved by:

  • Minimizing Conditional Entropy: Forcing individual node predictions to be less ambiguous, effectively "sharpening" the model's output.
  • Maximizing Marginal Entropy: Ensuring the model utilizes the full label space and avoids "collapsed" solutions where all nodes are assigned to a single majority class.

The authors provide theoretical justification showing that this IM objective effectively raises the lower bound of the Area Under the Curve (AUC) metric, linking prediction confidence to improved accuracy.

2. Structure Consistency (SC)

Unlike standard data points, graph nodes are defined by their connectivity. SOGA leverages the target graph's topology as a natural regularizer. It enforces that nodes with local neighborhood proximity or similar structural roles (e.g., similar degree patterns) should have consistent representations and predictions. This ensures the adaptation process respects the inherent relational inductive bias of the target domain.

Experimental Results and Insights

SOGA was evaluated across multiple cross-domain citation network tasks, including DBLP $\rightarrow$ ACM and density-varying subgraphs (ACM-D $\rightarrow$ ACM-S).

Performance and Stability

SOGA consistently outperformed state-of-the-art UGDA methods (such as DANE and UDAGCN), even though those baselines had the advantage of accessing source data. For instance, on the DBLP $\rightarrow$ ACM task, SOGA achieved a Macro-F1 of 0.636, compared to the base GCN's 0.583.

A key advantage of SOGA is its training stability. While adversarial methods often exhibit significant performance fluctuations, SOGA's learning curves are remarkably smooth.

Comparison of training stability: SOGA vs. traditional UGDA methods.

Model Agnosticism

The framework is highly flexible and can be applied to various GNN architectures. When used with GraphSAGE on the ACM-D $\rightarrow$ ACM-S task, SOGA facilitated a dramatic performance jump, raising the Macro-F1 from 0.407 to 0.734. t-SNE visualizations further confirm that SOGA produces better-separated clusters in the latent space than the unadapted source model.

Conclusion

SOGA represents a significant advancement in privacy-preserving GNN deployment. By combining information maximization with structural consistency, it enables effective domain adaptation without compromising source data security. Future work includes extending the framework to "Open-Set" scenarios where the target domain may contain novel classes not present in the source.

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