Node Proximity Is All You Need: Unified Structural and Positional Node and Graph Embedding

Jing Zhu, Xingyu Lu, Mark Heimann, Danai Koutra

Abstract

This paper introduces PhUSION, a unified framework for graph embeddings that bridges the gap between positional and structural node similarities. By identifying that both types of embeddings can be derived from node proximity matrices through different dimensionality reduction techniques—Singular Value Decomposition (SVD) for positional and Characteristic Function Sampling (CFS) for structural—we provide a single pipeline for diverse graph learning tasks. Our evaluation across multiple benchmarks demonstrates that PhUSION matches or exceeds specialized state-of-the-art methods, highlighting the critical role of nonlinear filtering and low-order proximities.

Introduction

In graph machine learning, researchers traditionally distinguish between positional similarity (nodes close in the network) and structural similarity (nodes with similar roles). Historically, these have been treated as separate problems requiring distinct algorithms. PhUSION (Proximity-based Unified Structural and PositIonal Node and graph embeddinG) challenges this dichotomy by providing a unified framework that encompasses both, revealing that the primary difference lies in the choice of embedding function rather than the underlying proximity data.

The PhUSION Framework

The PhUSION pipeline consists of three modular steps:

  1. Node Proximity Computation ($\Psi$): Generates a matrix $S$ representing node closeness using measures like Personalized PageRank (PPR), Heat Kernels (HK), or Adjacency powers.
  2. Nonlinear Filtering ($\sigma$): Applies transformations such as logarithms or binarization. This step is crucial for enhancing the discriminative power of the embeddings.
  3. Embedding Function ($\zeta$): The "fork in the road." SVD is used to preserve relative distances for positional embeddings, while CFS captures the distribution of proximities for structural embeddings.

The framework is flexible enough to embed entire graphs by aggregating node-level features, generalizing existing methods like NetLSD and RetGK.

Experimental Evaluation

The authors evaluated PhUSION across a diverse set of benchmarks:

  • Positional Node Classification: BlogCatalog (social), PPI (protein interactions), and Wikipedia (web).
  • Structural Node Classification: Airport networks where labels represent flight activity levels.
  • Graph Classification: IMDB-M, PROTEINS, and PTC-MR.

Key Insights and Results

A major finding is that nonlinear filtering (e.g., Log) is almost always beneficial for positional embeddings, helping the model distinguish between varying degrees of closeness. Furthermore, the paper demonstrates that modeling low-order proximities (2nd to 4th order) is usually sufficient for peak performance, significantly reducing computational costs.

Performance of PhUSION variants across three positional node classification datasets (BlogCatalog, PPI, Wikipedia) using different proximity measures and nonlinear filters.

As shown in the figure, PhUSION variants using PPMI and Log filters achieve top-tier results. The comparison across different binning strategies (Bin-5, Bin-50, Bin-95) and the Log filter demonstrates that the choice of nonlinearity is a key driver of success in positional embeddings. For structural tasks, PhUSION significantly improved upon baselines like GraphWave by utilizing different proximity matrices or adding binarization.

Conclusion

PhUSION provides a unified perspective on graph embeddings, showing that structural and positional tasks are two sides of the same coin. By optimizing the proximity matrix and its transformation, we can achieve state-of-the-art results without task-specific architectures. Future work will focus on scaling the framework to massive graphs using approximate proximity computations.

Summary updated

BibTeX
@inproceedings{zhu2021node,
  author = {Jing Zhu and Xingyu Lu and Mark Heimann and Danai Koutra},
  title = {{Node Proximity Is All You Need: Unified Structural and Positional Node and Graph Embedding}},
  booktitle = {SDM},
  year = {2021},
  doi = {10.1137/1.9781611976700.19},
}
Figure