Learning node embeddings via summary graphs: a brief theoretical analysis

Houquan Zhou, Shenghua Liu, Danai Koutra, Huawei Shen, Xueqi ChengarXiv 2022 · DOI

Abstract

Graph representation learning faces significant scalability challenges as networks grow to millions or billions of nodes. Graph summarization—coarsening a graph into supernodes—is a common heuristic to address this, yet it has lacked a rigorous theoretical foundation. This paper bridges this gap by proving that learning on a summary graph is mathematically equivalent to learning on a specific approximation of the original graph. We introduce a generalized kernel matrix framework that unifies methods like DeepWalk, LINE, and GCN, and derive optimal restoration matrices for mapping embeddings back to the original nodes.

Introduction

Graph representation learning is essential for modern network analysis, but the computational cost of embedding large-scale graphs is often prohibitive. Practitioners frequently employ graph summarization: a large graph $\mathcal{G}$ is reduced to a smaller summary graph $\mathcal{G}_s$, embeddings are learned on $\mathcal{G}_s$, and then "restored" to the original nodes. While effective in systems like HARP, MILE, and GraphZoom, these methods have largely relied on heuristics.

Table 2: Summary of symbols and definitions used in the theoretical analysis.

This paper provides the first formal analysis of this process, explaining why these heuristics work and how to optimize them. As a theoretical work, it focuses on mathematical proofs and derivations to explain the "why" behind empirical results observed in previous literature.

Theoretical Framework: The Generalized Kernel Matrix

The authors demonstrate that several prominent embedding methods can be unified under a single generalized kernel matrix framework. They define the kernel matrix as: $$K_\tau(\mathcal{G}) := (D^{-c}AD^{-1+c})^\tau D^{1-2c}$$

By adjusting parameters $c$ and $\tau$, this framework captures the underlying mechanics of different algorithms. For instance, DeepWalk and LINE correspond to $c=1$, while Graph Convolutional Networks (GCN) correspond to $c=1/2$.

Table 1: Unified kernel matrix framework and restoration schemes for popular embedding methods.

Restoration and Key Insights

The core contribution is the derivation of the Restoration Matrix ($R$), which defines how to project embeddings from the summary graph back to the original nodes to minimize approximation error.

The "Aha!" Moment for DeepWalk and LINE

For years, researchers simply assigned the same embedding to every node within a supernode for DeepWalk and LINE. This paper proves that for these models, a restoration matrix of all 1s is mathematically optimal. This confirms that the common practice of "copying" embeddings is not just a heuristic but a theoretically sound approach for these specific models.

Degree-Weighted Restoration for GCNs

In contrast, the analysis reveals that GCNs require a different approach. To achieve the best approximation, an original node's embedding should be the supernode's embedding scaled by the square root of the ratio between the node's degree and the supernode's total degree. This degree-weighted restoration is crucial for maintaining accuracy in GCN-based summarization pipelines.

Error Bounding and the Configuration Model

The paper reveals that graph summarization implicitly assumes a "configuration model" for the underlying graph structure. This means it assumes that within a cluster (supernode), edges are distributed randomly based on node degrees.

The authors provide a formal upper bound on the approximation error, showing it is tied to the distance between the original adjacency matrix and a reconstructed version. This provides a clear metric for future research: summarization algorithms should aim to minimize the difference between the original and reconstructed normalized adjacency matrices.

Conclusion and Future Work

This theoretical analysis transforms graph summarization from a collection of heuristics into a grounded mathematical discipline. While the current work focuses on unsupervised methods, it sets the stage for extending these proofs to supervised Graph Neural Networks (GNNs). Future work will likely focus on developing "theory-driven" summarization algorithms that explicitly optimize the derived error bounds to guarantee higher embedding fidelity.

Summary updated

BibTeX
@misc{zhou2022learning,
  author = {Houquan Zhou and Shenghua Liu and Danai Koutra and Huawei Shen and Xueqi Cheng},
  title = {{Learning node embeddings via summary graphs: a brief theoretical analysis}},
  year = {2022},
  eprint = {2207.01189},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2207.01189},
}
Figure