On the Benefits of Attribute-Driven Graph Domain Adaptation

Ruiyi Fang, Bingheng Li, Zhao Kang, Qiuhao Zeng, Nima Hosseini Dashtbayaz, Ruizhi Pu, Boyu Wang, Charles Ling · DOI

Abstract

Graph Domain Adaptation (GDA) aims to transfer knowledge from a labeled source graph to an unlabeled target graph. While conventional methods focus on aligning topological structures, this work identifies that node attribute shifts are often more significant. We present Graph Attribute-Driven Alignment (GAA), a framework that integrates both topological and attribute views. Through theoretical analysis and extensive benchmarking, we demonstrate that GAA achieves state-of-the-art performance by effectively mitigating both types of distribution shifts.

Introduction

In graph-based machine learning, acquiring high-quality labels for specific domains is often prohibitively expensive. Graph Domain Adaptation (GDA) addresses this by leveraging labeled data from a related source domain. However, the effectiveness of GDA is hindered by "distribution shifts" between domains. Historically, research has prioritized the topological shift—discrepancies in connectivity patterns like degree distributions.

This paper argues that ignoring node attribute shift—differences in the underlying features of nodes—is a critical oversight. Empirical evidence suggests that attribute discrepancies are often far more severe than structural ones. Consequently, models that focus solely on topology fail to capture the full predictive potential of the data.

Methodology: Graph Attribute-Driven Alignment (GAA)

To address the dual challenges of structural and attribute shifts, we propose the GAA (Graph Attribute-Driven Alignment) framework. Unlike traditional methods, GAA employs a dual-view architecture to capture and align diverse information sources.

The GAA framework architecture and alignment visualization.

The framework consists of four primary components:

  1. Feature Graph Construction: In addition to the original topology graph, GAA constructs a $k$-Nearest Neighbors ($k$-NN) graph based on node attribute similarity. This view focuses purely on feature relationships.
  2. Dual Extraction: Separate Graph Convolutional Network (GCN) layers extract embeddings from the topology and feature graphs.
  3. Cross-View Refinement: An attention mechanism and cross-view similarity matrix are used to fuse these embeddings, allowing structural and attribute information to mutually refine one another.
  4. Attribute-Driven Alignment: The model aligns source and target representations across both views using Mean Squared Error (MSE) and adversarial training with a Gradient Reversal Layer to ensure domain invariance.

Empirical Evidence of Attribute Shift

A core contribution of this work is the empirical validation of attribute shift severity. By measuring feature values across various datasets, we observe that the distribution gap in attributes consistently exceeds that of topology.

Comparison of average feature values for topology and attributes across datasets.

Theoretically, we derive a generalization bound using a PAC-Bayesian framework. We prove that the expected loss discrepancy between source and target domains is upper-bounded by the sum of topological and attribute divergences. This confirms that optimal GDA requires addressing both factors.

Experimental Results

GAA was evaluated on 16 cross-network tasks across diverse domains, including airport networks, citation networks, social networks, and the Microsoft Academic Graph (MAG).

  • State-of-the-Art Performance: GAA consistently outperformed existing methods like JHGDA and SpecReg, achieving a maximum accuracy improvement of 1.80% over the next best model.
  • Ablation Insights: The synergy between views is critical. Removing the cross-view similarity matrix significantly degrades performance.
  • Attribute Power: On the Airport dataset, a simple $k$-NN graph based on attributes outperformed a standard topology-based GCN by 5.30%, highlighting the importance of feature-level information.

Conclusion

GAA demonstrates that node attributes are a vital yet underutilized resource in Graph Domain Adaptation. By aligning both topological and attribute views, GAA sets a new standard for cross-network node classification. Future work will explore extending this framework to link prediction and graph-level classification tasks.

Summary updated

BibTeX
@inproceedings{fang2025benefits,
  author = {Ruiyi Fang and Bingheng Li and Zhao Kang and Qiuhao Zeng and Nima Hosseini Dashtbayaz and Ruizhi Pu and Boyu Wang and Charles Ling},
  title = {{On the Benefits of Attribute-Driven Graph Domain Adaptation}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=t2TUw5nJsW},
}
Figure