Multi-source Unsupervised Domain Adaptation on Graphs with Transferability Modeling

Tianxiang Zhao, Dongsheng Luo, Xiang Zhang, Suhang Wang · DOI

Abstract

Graph Neural Networks (GNNs) often face challenges in label-scarce environments. While Unsupervised Domain Adaptation (UDA) offers a solution by transferring knowledge from labeled source domains, existing methods frequently struggle with multi-source complexity and structural discrepancies in graphs. This paper introduces SelMAG (Selective Multi-source Adaptation for Graph), a framework that leverages self-supervised learning (SSL) to model transferability and a meta-learning strategy to select the most relevant source data. By employing a coarse-to-fine selection process and bi-level alignment, SelMAG effectively mitigates "negative transfer" and achieves state-of-the-art performance across diverse real-world graph datasets.

Introduction: The Challenge of Multi-source Graph Adaptation

Graph Neural Networks are powerful tools for node classification but require substantial labeled data. In many real-world applications, such as analyzing emerging social networks or niche citation databases, labels are scarce or expensive to obtain. Multi-source Unsupervised Domain Adaptation (MSUDA) aims to address this by leveraging multiple labeled source graphs. However, MSUDA on graphs introduces two primary hurdles:

  1. Negative Transfer: Not all source graphs are beneficial. Irrelevant sources can degrade the target model's performance.
  2. Structural Discrepancy: Unlike grid-like data (images), graphs possess complex topologies. A source and target might share node attributes but differ significantly in their edge structures.
Multi-source domain adaptation involves transferring knowledge from several labeled source graphs to an unlabeled target graph.

The SelMAG Framework

SelMAG addresses these challenges through a "coarse-to-fine" selection and alignment strategy designed to identify and utilize the most transferable knowledge.

Transferability Modeling via SSL

To quantify the relevance of a source graph to the target, SelMAG utilizes three self-supervised learning (SSL) tasks: Node Prediction, Edge Prediction, and Context Prediction. These tasks capture the structural and functional essence of the graphs. A source is considered highly transferable if a model trained on it performs well on the target for these structural tasks.

Dual Selection Mechanism

SelMAG employs two levels of selection:

  • Graph-level Selector: Assigns importance weights to each source graph based on SSL transferability scores.
  • Node-level Selector: Filters out non-informative sub-graphs within a source, recognizing that relevance can vary even within a "good" source.

Meta-Learning and Bi-level Alignment

Since the target graph lacks labels, SelMAG uses a meta-learning "learning to learn" approach, treating some source graphs as "pseudo-targets" to simulate the adaptation process and optimize the selectors. Once the data is selected, the model performs bi-level alignment:

  1. Embedding Space Alignment: Uses Selective Optimal Transport (OT) to minimize the distance between feature distributions.
  2. Label Space Alignment: Employs Weighted Knowledge Distillation to ensure target predictions align with the logic of the most relevant source classifiers.
The SelMAG architecture features embedding and classifier alignment modules guided by estimated source importance.

Experimental Evaluation

The framework was evaluated on five diverse real-world graph datasets, including citation networks (ACM, DBLP, MAG), gamer networks (Twitch), and point-of-interest networks (Yelp). These datasets represent domain shifts across languages, geographies, and time.

Key Results

SelMAG consistently outperformed state-of-the-art baselines like UDA-GCN and MDAN. Notable achievements include:

  • Performance Gains: A 4.1% accuracy improvement over the best baseline on the Twitch dataset.
  • Robustness: Ablation studies confirmed that both graph-level and node-level selectors are vital, with the graph-level selector being particularly critical for stability.
  • Intelligent Weighting: Qualitative analysis showed that SelMAG accurately identifies and prioritizes source graphs that are objectively most similar to the target.

Conclusion and Future Directions

SelMAG demonstrates that selective adaptation is essential for effective MSUDA on graphs. By using SSL as a proxy for structural similarity and employing a meta-learning selection strategy, it overcomes the pitfalls of negative transfer. While the pre-training of SSL tasks introduces some computational overhead, the gains in robustness and accuracy are significant. Future work may explore "open-set" adaptation to handle target graphs with entirely new node categories.

Summary updated

BibTeX
@inproceedings{zhao2024multi,
  author = {Tianxiang Zhao and Dongsheng Luo and Xiang Zhang and Suhang Wang},
  title = {{Multi-source Unsupervised Domain Adaptation on Graphs with Transferability Modeling}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2024},
  doi = {10.1145/3637528.3671829},
}
Figure