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

Variational Graph Auto-Encoders

Thomas N. Kipf, Max WellingarXiv 2016

TL;DR

This paper introduces the Variational Graph Auto-Encoder (VGAE), a novel unsupervised learning framework for graph-structured data. By combining the power of Variational Auto-Encoders (VAEs) with Graph Convolutional Networks (GCNs), VGAE learns interpretable latent representations of graphs and significantly improves performance on link prediction tasks, especially when incorporating node features.

What Problem Does This Paper Address?

Graphs are ubiquitous in representing complex relationships, from social networks and citation links to molecular structures. Unsupervised learning on these graphs aims to discover underlying patterns and structures without explicit labels. A key challenge is learning meaningful, low-dimensional representations (embeddings) of nodes and the graph itself that capture these relationships. Existing methods often struggle to effectively incorporate node features or learn interpretable latent spaces. This paper tackles this by proposing a principled probabilistic framework, the VGAE, to learn these latent representations in an unsupervised manner.

Methods

The core of the VGAE is a generative model that learns latent representations of graphs. It consists of two main components:

  • Inference Model (Encoder): This part maps the input graph (represented by its adjacency matrix $A$ and node features $X$) to a distribution over latent variables $Z$. The authors use a two-layer Graph Convolutional Network (GCN) to parameterize this distribution, specifically learning the mean ($\mu$) and variance ($\sigma$) of a Gaussian distribution for each latent variable $z_i$. This is a key innovation, leveraging the power of GCNs to process graph structure directly.
  • Generative Model (Decoder): This part reconstructs the graph's adjacency matrix $A$ from the learned latent variables $Z$. The authors employ a simple yet effective inner product decoder, where the probability of an edge between two nodes $i$ and $j$ is determined by the dot product of their corresponding latent vectors $z_i$ and $z_j$, passed through a sigmoid function.

The model is trained by optimizing a variational lower bound, which balances reconstructing the graph and regularizing the latent space using a KL divergence term against a prior distribution (typically a standard Gaussian). For a non-probabilistic variant, they also introduce a Graph Auto-Encoder (GAE) that directly reconstructs the adjacency matrix from GCN-derived embeddings.

Datasets

The paper evaluates the VGAE on several popular citation network datasets:

  • Cora: A dataset of scientific publications with citation links and text features.
  • Citeseer: Another citation network dataset.
  • PubMed: A dataset of biomedical literature.

These datasets are used in a link prediction setting, where parts of the citation links are removed for training, and the model is tasked with predicting the removed links. The evaluation uses standard splits for validation and testing, including both existing links and randomly sampled non-edges.

Key Insights and Ideas

  • GCNs as powerful graph encoders: The paper demonstrates that GCNs are highly effective at learning latent representations from graph-structured data, outperforming traditional methods when node features are available.
  • Probabilistic framework for interpretability: By using a variational approach, the VGAE learns a distribution over latent variables, which can lead to more interpretable latent spaces compared to deterministic methods. The visualization in Figure 1 hints at this, showing clusters in the latent space that correspond to document classes.
  • Node features are crucial: The results strongly suggest that incorporating node features significantly boosts predictive performance on link prediction tasks, a capability not always present in prior unsupervised graph learning methods.
  • Inner product decoder's effectiveness: Despite its simplicity, the inner product decoder, when combined with GCN embeddings, proves to be a strong choice for reconstructing graph structures.

Key Results

The VGAE and GAE models achieve competitive results on link prediction tasks across Cora, Citeseer, and PubMed datasets.

  • Featureless performance: Even without node features, the VGAE and GAE perform comparably to or better than established baselines like Spectral Clustering (SC) and DeepWalk (DW). For example, on Cora, VGAE* (featureless) achieves an AUC of 84.0 ± 0.02, close to DW's 83.1 ± 0.01.
  • Feature-rich performance boost: When node features are included (VGAE and GAE), performance sees a substantial improvement. For instance, on Cora, VGAE (with features) achieves an AUC of 91.4 ± 0.01, a significant jump from its featureless counterpart.
  • State-of-the-art on some benchmarks: The VGAE with node features achieves the highest AUC on Cora (91.4 ± 0.01) and Citeseer (90.8 ± 0.02), and competitive results on PubMed.

Limitations and Future Work

  • Gaussian prior choice: The authors note that a Gaussian prior might not be ideal in conjunction with an inner product decoder, as the decoder tends to push embeddings away from the zero-center. This suggests potential for improvement with more suitable prior distributions.
  • Scalability: The current implementation uses full-batch gradient descent, which can be computationally expensive for very large graphs.
  • Future directions: The authors suggest exploring better-suited prior distributions, developing more flexible generative models, and investigating stochastic gradient descent algorithms for improved scalability. They also hint at applying the model to other graph-related tasks beyond link prediction.

Summary updated

BibTeX
@misc{kipf2016variational,
  author = {Thomas N. Kipf and Max Welling},
  title = {{Variational Graph Auto-Encoders}},
  year = {2016},
  eprint = {1611.07308},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1611.07308},
}
Figure