Spectral Network Embedding: A Fast and Scalable Method via Sparsity

Jie Zhang, Yan Wang, Jie Tang, Ming DingarXiv 2018

Abstract

Network embedding is a critical task in graph analysis, yet existing methods often struggle with a trade-off between accuracy and scalability. We present Progle (PROpagated Graph Learning Embedding), a novel unsupervised method that leverages sparse matrix decomposition and spectral propagation. Progle achieves state-of-the-art accuracy while being 10× to 100× faster than popular word2vec-based approaches like node2vec and DeepWalk. Its linear scalability allows for the embedding of massive graphs with millions of nodes on a single thread.

Introduction

Mapping nodes in a graph to low-dimensional vectors—network embedding—is essential for downstream tasks such as social network analysis, recommendation systems, and biological function prediction. Current methodologies generally fall into three categories: spectral methods, word2vec-based methods, and convolution-based methods. Spectral methods offer high accuracy but suffer from high computational costs. Word2vec-based methods like DeepWalk and node2vec are more scalable but rely on expensive random walk sampling and non-convex optimization. Progle addresses these challenges by providing an unsupervised, highly accurate, and linearly scalable framework.

Methodology: The Progle Framework

Progle consists of three primary stages designed to maintain computational efficiency without sacrificing structural information.

  1. Sparse Proximity Matrix Construction: To avoid the memory overhead of dense matrices, Progle employs an "edge dropout" technique. This maintains sparsity while capturing higher-order structural relationships within the graph.
  2. Sparse Matrix Decomposition: The embedding task is formulated as a matrix factorization problem. By utilizing the Sparse Truncated Lanczos SVD algorithm, Progle generates a raw embedding in $O(|E|d^2)$ time, where $|E|$ is the number of edges and $d$ is the embedding dimension.
  3. Spectral Propagation: This core innovation treats the raw embedding as a signal on the graph. A band-pass filter, implemented via Chebyshev expansion, modulates the network spectrum. This process smooths local embeddings and preserves global community structures, effectively refining the sparse embedding without a full eigendecomposition.
Overview of the Progle framework, illustrating the transition from a sparse proximity matrix to a modulated spectral network embedding.

Experimental Evaluation

The performance of Progle was evaluated across several benchmarks, including labeled datasets for classification (BlogCatalog, Wikipedia, PPI, DBLP) and large-scale unlabeled datasets (Flickr, Youtube, wiki-topcats) with up to 1.7 million nodes and 25 million edges. Synthetic networks were also used to verify linear scaling up to 10 million nodes.

Results and Discussion

Performance and Accuracy

Progle consistently matched or outperformed state-of-the-art models like DeepWalk, LINE, and node2vec in multi-label classification tasks. Furthermore, the "spectral propagation" step can be applied as a general enhancement to other models, consistently boosting their accuracy by incorporating better global and local structural information.

Computational Efficiency

The most striking result is Progle's speed. It is consistently 10× to 100× faster than word2vec-based methods. For instance, on the DBLP dataset, Progle completed the embedding in 24 seconds, compared to nearly 80 minutes for node2vec.

Training time comparison across four datasets, demonstrating Progle's significant speed advantage over traditional methods.

Scalability

Progle demonstrates linear scalability with respect to the number of nodes and edges. The authors successfully embedded a 10-million-node synthetic graph in approximately 3 hours using a single thread—a task that typically causes memory failures in traditional spectral methods.

Conclusion and Future Work

Progle bridges the gap between the mathematical rigor of spectral methods and the scalability of random-walk-based approaches. While highly effective, future work could address parameter sensitivity in unusual topologies, the incorporation of node features for supervised tasks, and extensions to dynamic, time-evolving graphs.

Summary updated

BibTeX
@misc{zhang2018spectral,
  author = {Jie Zhang and Yan Wang and Jie Tang and Ming Ding},
  title = {{Spectral Network Embedding: A Fast and Scalable Method via Sparsity}},
  year = {2018},
  eprint = {1806.02623},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1806.02623},
}
Figure