A Provable Framework of Learning Graph Embeddings via Summarization

Houquan Zhou, Shenghua Liu, Danai Koutra, Huawei Shen, Xueqi Cheng

Abstract

Graph representation learning on massive networks faces significant computational and memory challenges. We present GELSumm, a novel framework that enables learning high-quality node embeddings by training on a condensed "summary" graph. Unlike previous heuristic-based coarsening methods, GELSumm is grounded in a mathematical proof demonstrating that embeddings from summarized graphs can accurately approximate those of the original graph. Our approach yields substantial speedups and reduced memory footprints with minimal impact on accuracy, and in some cases, even improving performance through structural denoising.

Introduction

Generating dense vector representations (embeddings) for nodes in complex networks is a cornerstone of modern graph analysis, supporting tasks such as node classification and link prediction. However, as datasets scale to millions or billions of nodes, standard algorithms like DeepWalk or Graph Convolutional Networks (GCNs) often encounter out-of-memory (OOM) errors or prohibitive computational costs.

Graph summarization, or coarsening, offers a potential solution by grouping nodes into "supernodes" to create a smaller proxy graph. While empirically successful, these methods have historically lacked a rigorous theoretical foundation explaining why embeddings learned on a summary graph should generalize to the original structure. GELSumm addresses this gap by providing a provable framework for embedding restoration.

The GELSumm Framework

GELSumm utilizes a four-step process grounded in matrix factorization theory:

  1. Summarization: The original graph $G$ is condensed into a summary graph $G_s$ using a degree-preserving summarization method (DPGS).
  2. Embedding Learning: A standard embedding algorithm (e.g., DeepWalk, LINE, or GCN) is executed on the reduced graph $G_s$.
  3. Restoration: To map supernode embeddings back to the original nodes, GELSumm employs a specific restoration matrix $R$. The derivation shows that the optimal restoration strategy depends on the underlying algorithm: DeepWalk utilizes simple membership mapping, whereas GCN requires degree-weighted mapping ($d_i / d_p^{(s)}$) to maintain theoretical error bounds.
  4. Refinement: A low-pass smoothing filter is applied to the restored embeddings to remove noise and ensure local structural consistency.

The theoretical core of GELSumm proves that executing these algorithms on a summary graph is mathematically equivalent to running them on a reconstructed graph based on a configuration model—a random graph model that preserves the original degree sequence.

Experimental Evaluation

The framework was evaluated across six diverse datasets, ranging from citation networks (Cora, Citeseer, Pubmed) to large-scale social and co-purchasing networks (Flickr, Reddit, Amazon2M). Amazon2M, the largest dataset with 2.4 million nodes and 61 million edges, served as a primary test for scalability.

Efficiency and Accuracy Trade-offs

GELSumm consistently achieves a superior balance between computational time and predictive performance. On the Flickr dataset, GELSumm-DeepWalk provided a 4.2x speedup over the baseline with comparable accuracy. On Citeseer, GELSumm-LINE achieved a 5x speedup alongside a 4.77% improvement in accuracy.

Accuracy vs. Time trade-off for the Cora dataset. GELSumm (blue circles) consistently achieves high accuracy with significantly lower computation time compared to baselines.

Key Insights

  • Unified Kernel Structure: A major discovery is that DeepWalk, LINE, and GCN share a common "generalized kernel matrix" structure, allowing for a unified theoretical treatment.
  • Structural Denoising: GELSumm often outperforms embeddings trained on the full graph. This suggests that the summarization process acts as a filter, removing spurious edges and highlighting essential structural features.
  • Scalability: While standard methods often fail on the Amazon2M dataset due to memory constraints, GELSumm successfully processes the graph by summarizing it to 10-20% of its original size.

Conclusion and Future Work

GELSumm provides a theoretically sound and practically efficient method for scaling graph embeddings. By moving from heuristic coarsening to provable restoration, it ensures that the efficiency gains of summarization do not come at the cost of representation quality. Future research will focus on extending this framework to more complex architectures, such as Graph Attention Networks (GAT), and exploring its utility in tasks beyond node classification, including community detection.

Summary updated

BibTeX
@inproceedings{zhou2023provable,
  author = {Houquan Zhou and Shenghua Liu and Danai Koutra and Huawei Shen and Xueqi Cheng},
  title = {{A Provable Framework of Learning Graph Embeddings via Summarization}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2023},
  doi = {10.1609/aaai.v37i4.25621},
}
Figure