Exponential Family Graph Embeddings

Abdulkadir Çelikkanat, Fragkiskos D. Malliaros

Abstract

This paper introduces Exponential Family Graph Embeddings (EFGE), a framework that generalizes random walk-based node embeddings by utilizing exponential family distributions. Unlike standard Skip-Gram models that focus on binary co-occurrence, EFGE models node interactions using Bernoulli, Poisson, and Normal distributions. This approach captures richer structural patterns, such as interaction frequency and relationship weights. Experimental results on various real-world networks demonstrate that EFGE significantly outperforms existing methods in node classification and link prediction tasks, particularly when label information is sparse.

Introduction

Most popular network representation learning (NRL) methods, such as DeepWalk and node2vec, rely on the Skip-Gram model originally designed for Natural Language Processing. In this paradigm, random walks on a graph are treated as sentences, and nodes as words. The objective is to maximize the probability of observing "context" nodes near a "center" node using a softmax function.

However, the standard Skip-Gram approach is limited: it primarily captures simple binary co-occurrence. It struggles to model more complex interactions, such as the frequency with which a node appears in a context or the varying weights of those relationships. The EFGE framework addresses this by developing a more expressive mathematical framework that incorporates richer structural signals while remaining computationally efficient.

The EFGE Framework

The authors propose replacing the standard softmax/sigmoid objective with a generalized objective function based on exponential family distributions. The core idea is to model the relationship between a center node $w_l$ and a context node $v$ as a random variable following a specific distribution. Three specific instances are explored:

  1. EFGE-BERN (Bernoulli): Models the binary presence/absence of a node. This model, when optimized with negative sampling, is theoretically linked to the standard Skip-Gram objective.
  2. EFGE-POIS (Poisson): Models the number of times a node appears in a context. This is particularly useful for capturing the "strength" of a relationship within a local neighborhood.
  3. EFGE-NORM (Normal/Gaussian): Treats the relationship as a continuous weight or frequency, using a specific link function to map embedding interactions to Gaussian parameters.

These models are optimized using Stochastic Gradient Descent (SGD) with an adapted negative sampling strategy. Notably, the framework provides a unifying perspective, showing that existing models like BIGCLAM are specific cases within this broader mathematical family.

Experimental Results

Datasets

The researchers evaluated EFGE on several real-world datasets, including citation networks (CiteSeer, Cora, DBLP), collaboration networks (AstroPh, HepTh, GrQc), and social networks (Facebook, Dolphins).

Performance and Visualization

EFGE-NORM and EFGE-POIS consistently outperformed baselines like DeepWalk and node2vec. The gains were most pronounced at low training ratios. For instance, with only 2% of labels known, EFGE-NORM showed up to a 9% improvement over the best baseline on CiteSeer. In link prediction, EFGE-NORM was the top performer across nearly all datasets, significantly outperforming standard node2vec in AUC scores on collaboration networks like AstroPh.

Visual comparison of node embeddings for the Dolphins network using different distributions.

As shown in the visualization above, modeling how often nodes co-occur (Poisson/Normal) provides more discriminative power than just if they co-occur. EFGE-POIS and EFGE-NORM leverage this "repetition" signal to better identify community structures compared to the more scattered DeepWalk embeddings.

Key Insights and Conclusion

A central finding is that choosing a distribution acts as a structural prior. If a graph contains dense, frequently visited clusters, Poisson or Normal variants are likely to perform better. Furthermore, EFGE-POIS and EFGE-NORM demonstrate robustness to larger window sizes, whereas Bernoulli-based models tend to degrade as the window becomes noisy.

While EFGE provides a powerful unifying framework, future work includes developing automated methods for distribution selection and exploring other members of the exponential family, such as the Gamma distribution, to further enhance representation learning.

Summary updated

BibTeX
@inproceedings{celikkanat2020exponential,
  author = {Abdulkadir Çelikkanat and Fragkiskos D. Malliaros},
  title = {{Exponential Family Graph Embeddings}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2020},
  doi = {10.1609/aaai.v34i04.5737},
}
Figure