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

DANE: Domain Adaptive Network Embedding

Yizhou Zhang, Guojie Song, Lun Du, Shuwen Yang, Yilun Jin

Abstract

Network embedding is a fundamental task in graph analysis, yet existing methods often struggle with domain shift when applied across different, unconnected networks. We propose DANE (Domain Adaptive Network Embedding), a framework that leverages shared-weight Graph Convolutional Networks (GCNs) and adversarial training to learn transferable node representations. By aligning the distributions of embeddings from source and target domains, DANE ensures that nodes with similar structural roles share similar vector representations. Our experiments on citation and co-author networks demonstrate that DANE significantly outperforms state-of-the-art baselines in cross-network tasks, effectively bridging the gap between disconnected graph domains.

Introduction

In graph data analysis, network embedding transforms complex nodes and edges into low-dimensional vectors suitable for machine learning. However, a significant challenge arises when models trained on one network are applied to another: embedding space drift. Because traditional methods are often designed for single networks, the vector coordinates in one domain do not correspond to those in another.

Unlike image processing, where domain adaptation is well-established, graphs present unique challenges such as structural isomorphism, where the relative arrangement of nodes is more critical than absolute positioning. DANE addresses this by creating domain-adaptive embeddings that are transferable across multiple networks in an entirely unsupervised manner.

Methodology

The DANE framework is built upon two primary pillars designed to align disparate network domains:

1. Shared Weight Graph Convolutional Network (SWGCN)

Rather than training separate models for each domain, DANE employs a single GCN with shared learnable parameters for both source and target networks. This architecture forces the model to project nodes into a unified embedding space. It operates on the "structural equivalence" hypothesis: nodes with similar local neighborhoods across different networks (e.g., hubs or bridges) should be mapped to similar vector representations.

The DANE framework architecture featuring shared-weight GCNs and an adversarial discriminator to align embeddings from Network A and Network B.

2. Adversarial Learning Regularization

Shared weights alone are insufficient to align embedding distributions. DANE incorporates a discriminator—specifically using Least Squares GAN (LSGAN)—to ensure global distribution alignment. The discriminator attempts to identify the source network of a given vector, while the GCN acts as a generator to "confuse" the discriminator. This adversarial process provides stable gradients and prevents the vanishing gradient problem, resulting in a multi-task objective that balances local structure preservation with global alignment.

Experiments and Results

The authors evaluated DANE using real-world datasets, including Paper Citation Networks and Co-author Networks. These datasets are "domain compatible," meaning they share similar edge types and semantic node features.

Performance and Transferability

DANE demonstrated superior transferability compared to traditional methods like DeepWalk, LINE, and Node2vec, which often failed to perform better than random chance on cross-network tasks. Notably, DANE outperformed the inductive GraphSAGE model; on the Citation Network (A → B), DANE achieved a Macro F1 score of 0.797, significantly higher than GraphSAGE’s 0.671.

t-SNE visualizations of node embeddings across different networks, comparing randomly initialized GCNs with DANE variants to show the effectiveness of distribution alignment.

Key Insights

  • Bidirectional Adaptation: DANE’s symmetric architecture allows for knowledge transfer in both directions (Source ↔ Target) with equal efficacy.
  • Ablation Study: Removing the adversarial component (λ=0) led to a universal drop in performance, confirming that distribution alignment is the "secret sauce" for successful domain adaptation in graphs.
  • Theoretical Grounding: The authors mathematically proved that the error bound on the target network is directly tied to the quality of embedding distribution alignment.

Conclusion

DANE provides a robust framework for unsupervised domain adaptation in network embeddings. While currently optimized for homogeneous networks with identical feature meanings, it sets a strong foundation for future work in heterogeneous graphs and semi-supervised tasks. By combining structural logic with adversarial distribution matching, DANE effectively enables machine learning models to generalize across disconnected network domains.

Summary updated

BibTeX
@inproceedings{zhang2019dane,
  author = {Yizhou Zhang and Guojie Song and Lun Du and Shuwen Yang and Yilun Jin},
  title = {{DANE: Domain Adaptive Network Embedding}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2019},
  doi = {10.24963/ijcai.2019/606},
}
Figure