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

GANE: A Generative Adversarial Network Embedding

Huiting Hong, Xin Li, Mingzhong Wang

TL;DR

This paper introduces GANE, a novel framework that leverages Generative Adversarial Networks (GANs) for network embedding. By treating network embedding as a generative task where a generator creates potential network connections and a discriminator distinguishes them from real ones, GANE simultaneously learns embeddings and performs link prediction, outperforming existing methods on these tasks.

What Problem Does This Paper Address?

Network embedding aims to represent nodes in a network as low-dimensional vectors, which is crucial for downstream tasks like link prediction and clustering. Existing methods typically fall into two categories: unsupervised approaches that focus solely on preserving network structure, or supervised methods where embeddings are a byproduct of a specific task. This creates a gap, as embeddings learned separately might not be optimal for the target task. The paper addresses this by proposing a unified framework that learns embeddings while performing a task (link prediction), leveraging the adversarial nature of GANs to explore network structures more effectively.

Methods

The core innovation is the application of Generative Adversarial Networks (GANs) to network embedding. The proposed framework, GANE, consists of:

  • Generator (G): Learns to generate plausible "unobserved" edges between vertices.
  • Discriminator (D): Learns to distinguish between real edges from the network and the fake edges generated by G.

The authors employ Wasserstein-1 distance for training, a technique known to improve GAN training stability and avoid mode collapse, which is a common issue in standard GANs.

They introduce three variations:

  • Naive GANE: Uses cosine similarity between vertex embeddings to score edges.
  • GANE-O1: Incorporates first-order proximity, aiming to keep vertices with direct connections close in the embedding space.
  • GANE-O2: Incorporates second-order proximity, aiming to keep vertices with similar neighborhoods close. They later show GANE-O2 simplifies to GANE-O1 with negative sampling.

The generator is trained using a policy gradient method, inspired by reinforcement learning, to handle the discrete nature of edge generation.

Datasets

The experiments were conducted on a co-author network constructed from the DBLP dataset. This network represents authors as vertices and co-authorship as edges. It includes data from three research fields: data mining, machine learning, and computer vision. The network consists of 10,541 authors and 97,072 edges.

Key Insights and Ideas

  • Unified Learning: The most significant insight is that by framing network embedding within a GAN, the model can simultaneously learn meaningful vertex representations and perform link prediction. This "multi-output learning" approach leads to more effective embeddings.
  • Adversarial Exploration of Structure: GANs, through their adversarial nature, can implicitly explore and capture complex network structures that might be missed by handcrafted objectives in traditional methods.
  • Wasserstein Distance for Stability: The adoption of Wasserstein-1 distance significantly improves the training stability of the GAN-based embedding model, a crucial factor for practical applications.
  • GANE vs. GANE-O1: Surprisingly, the naive GANE (using cosine similarity) often performed as well as or better than GANE-O1 (which explicitly preserves first-order proximity), suggesting that the adversarial process itself is powerful enough to capture structural information without explicit handcrafted objectives.

Key Results

  • Link Prediction: GANE and GANE-O1 consistently outperformed state-of-the-art methods like LINE and IRGAN in both binary classification and ranking tasks for link prediction. For example, GANE achieved accuracies of around 95% in binary classification, significantly higher than LINE variations (around 93%) and IRGAN (around 66%).
  • Clustering: Visualizations (using PCA) showed that GANE and GANE-O1 produced more coherent clusters for vertices belonging to the same research area compared to other methods. Quantitative clustering accuracy also favored GANE.
  • Training Speed: GANE and GANE-O1 converged much faster than IRGAN, likely due to the improved stability offered by Wasserstein distance.

Limitations and Future Work

  • Single-Relational Networks: The current GANE framework is designed for single-relational networks (where all edges are of the same type).
  • Multi-Relational Networks: The authors plan to extend GANE to handle multi-relational network embedding in the future.
  • Deeper Insight into GAN Mechanisms: Further research is needed to gain a deeper understanding of how GANs explore and discover complex network structures.

Summary updated

BibTeX
@article{hong2020gane,
  author = {Huiting Hong and Xin Li and Mingzhong Wang},
  title = {{GANE: A Generative Adversarial Network Embedding}},
  journal = {IEEE Trans. Neural Networks Learn. Syst.},
  year = {2020},
  doi = {10.1109/tnnls.2019.2921841},
}
Figure