NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Adversarial Deep Network Embedding for Cross-Network Node Classification

Xiao Shen, Quanyu Dai, Fu-Lai Chung, Wei Lu, Kup-Sze Choi

Abstract

Node classification is a fundamental task in graph mining, typically performed within a single network. However, real-world scenarios often involve a labeled source network and a related but unlabeled target network. This paper introduces ACDNE (Adversarial Cross-network Deep Network Embedding), a novel framework designed to bridge the gap between disparate networks. By combining deep feature extraction with adversarial domain adaptation, ACDNE learns node representations that are simultaneously network-invariant and highly discriminative. Experimental results on social and citation networks demonstrate that ACDNE significantly outperforms existing state-of-the-art methods in cross-network classification tasks.

Introduction

Traditional node classification models assume that training and testing data come from the same distribution. In practice, we frequently encounter "domain shift," where the attributes and topological structures of a source network (e.g., an established social platform) differ from those of a target network (e.g., a newly launched platform). Furthermore, standard domain adaptation techniques often treat data points as independent, neglecting the critical structural relationships (edges) inherent in graph data.

The challenge is to develop a model that can:

  1. Mitigate the distribution discrepancy between different networks.
  2. Incorporate both node-level attributes and graph-level structural information.
  3. Generalize to target networks where no label information is available.

The ACDNE Framework

ACDNE addresses these challenges through an end-to-end deep learning architecture that integrates structural modeling with adversarial learning.

Architecture of the ACDNE framework showing dual feature extraction and adversarial adaptation components.

Dual Feature Extraction

To capture the full context of a node, ACDNE employs two distinct feature extractors:

  • FE1 (Node Attribute Extractor): Processes the raw attributes of a node $x_i$.
  • FE2 (Neighbor Attribute Extractor): Processes the attributes of a node's neighbors, $n_i$, weighted by their topological proximity (calculated using Positive Pointwise Mutual Information, PPMI). This dual approach ensures that the resulting embedding $e_i$ reflects both the node's individual characteristics and its social/structural environment.

Adversarial Domain Adaptation

To ensure the embeddings are "network-invariant," ACDNE utilizes a Domain Discriminator coupled with a Gradient Reversal Layer (GRL). The discriminator attempts to identify whether an embedding originates from the source or target network. During backpropagation, the GRL reverses the gradients, forcing the feature extractors to produce embeddings that the discriminator cannot distinguish. This adversarial process effectively filters out network-specific noise.

Optimization Objectives

The model is trained using a composite loss function:

  1. Classification Loss ($\mathcal{L}_y$): A standard cross-entropy loss on source labels to ensure discriminative power.
  2. Domain Loss ($\mathcal{L}_d$): Encourages network-invariant features via the adversarial game.
  3. Pairwise Constraint Loss ($\mathcal{L}_P$): Explicitly encourages nodes with high topological proximity to have similar embeddings, preserving the local graph structure.

Experimental Evaluation

The authors evaluated ACDNE on two diverse networked datasets:

  • BlogCatalog (Blog1 & Blog2): Social networks of bloggers where edges represent friendships. Discrepancies were simulated by altering 30% of node attributes.
  • Citation Networks (Citationv1, DBLPv7, ACMv9): Networks of academic papers where edges represent citations. These naturally exhibit domain shift due to different sources and timeframes.

Key Results and Visualization

ACDNE consistently achieved the highest Micro-F1 and Macro-F1 scores across various cross-network tasks. For instance, in the DBLPv7 $\to$ Citationv1 task, ACDNE reached a Micro-F1 of 0.8209, a significant improvement over the previous state-of-the-art CDNE (0.7961).

t-SNE visualization of node embeddings for the Blog1 to Blog2 cross-network task.

The effectiveness of the learned embeddings is qualitatively visible through t-SNE visualizations. As shown in the figure above, ACDNE successfully clusters nodes by their labels even when transferring knowledge from Blog1 to Blog2, demonstrating that the learned features are both discriminative and robust to domain shifts.

Discussion and Insights

Ablation studies confirmed that both the neighbor feature extractor (FE2) and the adversarial component are vital. Removing FE2 leads to a significant drop in performance, particularly when node attributes are noisy, as neighbor information provides a crucial fallback. Furthermore, the adversarial approach proved superior to statistical alignment methods like Maximum Mean Discrepancy (MMD), likely due to the more complex feature distributions found in graph data.

Conclusion and Future Work

ACDNE provides a robust solution for cross-network node classification by harmonizing structural graph properties with adversarial domain adaptation. While highly effective, future research could address the computational scalability of pairwise constraints for massive graphs and explore more sophisticated attribute alignment techniques for networks with entirely non-overlapping feature sets. Additionally, extending the framework to handle dynamic, time-evolving networks remains a promising direction.

Summary updated

BibTeX
@inproceedings{shen2020adversarial,
  author = {Xiao Shen and Quanyu Dai and Fu-Lai Chung and Wei Lu and Kup-Sze Choi},
  title = {{Adversarial Deep Network Embedding for Cross-Network Node Classification}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2020},
  doi = {10.1609/aaai.v34i03.5692},
}
Figure