A Variational Edge Partition Model for Supervised Graph Representation Learning

Yilin He, Chaojie Wang, Hao Zhang, Bo Chen, Mingyuan Zhou

Introduction

Graph Neural Networks (GNNs) have achieved massive success by propagating node features through edges to learn powerful representations. However, most GNNs treat a graph's structure—its nodes and edges—as a static, "given" blueprint. They focus on aggregating features from neighbors but often ignore why those neighbors are connected in the first place.

In reality, edges are formed through various latent processes. For example, in a social network, two people might be connected because they are colleagues, because they share a hobby, or both. These overlapping "communities" influence how information should flow. A one-size-fits-all aggregation strategy (like standard Graph Convolutional Networks) washes out these nuances.

To address this, the Variational Edge Partition Model (VEPM) introduces a framework that moves beyond fixed structures by modeling the underlying generative process of edges. By partitioning edges into overlapping communities and processing them with community-specific GNNs, VEPM learns significantly more discriminative representations, particularly in "low-data" scenarios where labels are scarce.

Methodology: The VEPM Architecture

VEPM introduces a generative approach to graph representation learning integrated into a variational inference framework. Instead of a single GNN, it uses a multi-module pipeline:

  1. Community Encoder: A GNN-based inference network that assigns each node a $K$-dimensional score representing its affiliation with $K$ latent communities.
  2. Edge Partitioner: This component takes the original adjacency matrix and decomposes every edge into a set of $K$ weighted edges. Essentially, it asks: "How much of this connection is due to Community A versus Community B?"
  3. Community-GNN Bank: The model runs $K$ separate GNNs in parallel. Each GNN only "sees" the graph through the lens of its specific community's partitioned edges.
  4. Representation Composer: Finally, a GNN combines these community-specific embeddings into a global representation for the end task (e.g., classification).
The overview of VEPM’s computation graph showing the flow from community encoding to final output.

The entire system is trained by optimizing an Evidence Lower Bound (ELBO) that balances classification accuracy, the ability to reconstruct the original graph edges, and a regularization term (KL-divergence).

Experimental Results

The authors evaluated VEPM on a wide array of standard benchmarks, including node classification on citation networks (Cora, Citeseer, Pubmed) and WikiCS, as well as graph classification on bioinformatics (MUTAG, PTC, NCI1, PROTEINS) and social networks (IMDB, REDDIT).

VEPM consistently outperformed state-of-the-art baselines like GCN, GAT, and DisenGCN across almost all datasets. One of the most striking results is VEPM's performance in low-label regimes. When the percentage of training labels is reduced, VEPM’s accuracy degrades much more slowly than its competitors.

Accuracy vs. Label Retention Rate showing VEPM's robustness compared to baselines like GCN, GAT, and DisenGCN.

Qualitatively, the model successfully "disentangles" the graph. Visualizations of the partitioned adjacency matrices show that the model identifies distinct, meaningful sub-structures within the same graph.

Key Insights and Limitations

  • Edges Belong to Communities: Traditional community detection often focuses on assigning nodes to groups. VEPM’s "edge partitioning" recognizes that a single relationship can be multi-faceted, which is a much more realistic model for complex networks.
  • Generative Modeling as a Regularizer: By forcing the model to explain how edges are formed, the model learns structural patterns even from unlabeled parts of the graph. This makes it incredibly robust when labeled data is limited.
  • Heterogeneous Information Flow: The "GNN Bank" allows the model to learn that information might propagate differently depending on the context of the relationship (e.g., professional vs. personal).

While powerful, VEPM introduces more complexity than a standard GCN. Running $K$ parallel GNNs increases the computational footprint, although the authors mitigate this by reducing the hidden dimension size within each community-specific GNN. Additionally, the choice of $K$ (the number of communities) and the "temperature" parameter for edge partitioning are hyperparameters that require tuning. Future work could involve automatically learning the optimal number of communities or exploring more sophisticated ways to combine community-specific insights.

Summary updated

BibTeX
@inproceedings{he2022variational,
  author = {Yilin He and Chaojie Wang and Hao Zhang and Bo Chen and Mingyuan Zhou},
  title = {{A Variational Edge Partition Model for Supervised Graph Representation Learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2022},
  url = {https://openreview.net/forum?id=5fXhsWJxWd},
}
Figure