Domain-Adaptive Graph Attention-Supervised Network for Cross-Network Edge Classification

Xiao Shen, Mengqiu Shao, Shirui Pan, Laurence T. Yang, Xi Zhou

TL;DR

Researchers have introduced DGASN, the first framework designed for cross-network edge classification. By combining supervised graph attention with adversarial domain adaptation, DGASN successfully transfers knowledge from a labeled "source" network to an unlabeled "target" network, effectively distinguishing between helpful (homophilous) and noisy (heterophilous) connections.

What Problem Does This Paper Address?

In the world of Graph Neural Networks (GNNs), we usually rely on the homophily assumption: the idea that connected nodes likely share the same labels or features. However, real-world graphs are messy. They contain "noisy" or heterophilous edges—connections between nodes of different classes. These noisy edges cause "over-smoothing," where node embeddings become indistinguishable, tanking the model's performance.

While some recent GNNs try to filter these noisy edges within a single network, they struggle when asked to move from one network to another (e.g., transferring insights from an established social network to a brand-new one). This is due to domain discrepancy—the fact that different networks have different underlying structures and attribute distributions. The authors tackle this head-on by defining a new problem: Cross-network Homophilous and Heterophilous Edge Classification (CNHHEC).

Methods

The authors propose the Domain-adaptive Graph Attention-supervised Network (DGASN). Its architecture consists of three clever components:

  1. Joint Embedding Training: Unlike standard GNNs that focus primarily on nodes, DGASN uses a multi-head Graph Attention Network (GAT) to jointly train both node and edge embeddings. By optimizing for both node and edge classification simultaneously, the model learns more discriminative features.
  2. Directly Supervised Attention: This is the "secret sauce." In a standard GAT, attention weights are learned implicitly. DGASN applies direct supervision to these weights using labels from the source network. It forces the model to assign lower weights to heterophilous (noisy) edges and higher weights to homophilous (useful) ones. This "cleans" the neighborhood aggregation process before it even starts.
  3. Adversarial Domain Adaptation: To handle the structural differences between the source and target networks, DGASN employs a Gradient Reversal Layer (GRL). This sets up a "game" where the GNN encoder tries to create edge embeddings that a domain discriminator cannot distinguish as belonging to either the source or target network. This ensures the learned features are "network-invariant."

Datasets

The model was evaluated on three widely used real-world citation network benchmarks:

  • ACMv9
  • Citationv1
  • DBLPv7

In these datasets, nodes represent papers, and edges represent citations. The authors conducted six different cross-network tasks (e.g., training on ACM and testing on DBLP) to prove the model's versatility.

Key Insights and Ideas

  • Attention as a Supervised Signal: One of the most interesting "aha" moments is the realization that graph attention shouldn't just be a byproduct of training; it can be a target. By supervising attention, the authors provide a much stronger inductive bias to ignore noise.
  • The Virtuous Cycle of Joint Learning: The paper demonstrates that better node embeddings lead to better edge embeddings, which in turn help refine node embeddings. This synergy is crucial for handling the complexity of cross-network transfer.
  • Cost-Sensitive Learning for Rare Edges: In many networks, heterophilous edges are the minority. The authors introduced a cost-sensitive parameter ($\gamma$) to ensure the model doesn't ignore these rare but damaging noisy edges during the attention supervision phase.

Key Results

DGASN consistently outperformed state-of-the-art baselines (including GNNs like SuperGAT and cross-network node classifiers like UDAGCN) across all six tasks.

  • Accuracy Boost: On average, DGASN improved the AUC (Area Under the Curve) by 6.2% and Average Precision (AP) by 4.6% over the second-best performing method.
  • Robustness to Noise: Ablation studies showed that without the supervised attention component, the model's ability to distinguish edge types dropped significantly, proving that "cleaning" the attention weights is vital for cross-network success.

Limitations and Future Work

While DGASN is a major step forward, the authors note a few areas for growth:

  • Existing Edges Only: The current model focuses on classifying existing edges. A natural next step is extending this to predict potential or missing edges (link prediction) across networks.
  • Undirected Focus: The study focuses on undirected networks. Adapting DGASN for directed graphs (where the "direction" of a citation or follow matters) remains an open challenge.
  • Unified Tasks: Future research could explore jointly solving both edge classification and node classification in a single, unified cross-network framework.

Summary updated

BibTeX
@article{shen2024domain,
  author = {Xiao Shen and Mengqiu Shao and Shirui Pan and Laurence T. Yang and Xi Zhou},
  title = {{Domain-Adaptive Graph Attention-Supervised Network for Cross-Network Edge Classification}},
  journal = {IEEE Trans. Neural Networks Learn. Syst.},
  year = {2024},
  doi = {10.1109/tnnls.2023.3309632},
}
Figure