NetSMF: Large-Scale Network Embedding as Sparse Matrix Factorization

Jiezhong Qiu, Yuxiao Dong, Hao Ma, Jian Li, Chi Wang +2 more
6/26/2019
cs.SIcs.LGstat.ML

Official code: xptree/NetSMF (133 stars, C++, MIT, last commit 2022-05-05).

Abstract

We study the problem of large-scale network embedding, which aims to learn latent representations for network mining applications. Previous research shows that 1) popular network embedding benchmarks, such as DeepWalk, are in essence implicitly factorizing a matrix with a closed form, and 2)the explicit factorization of such matrix generates more powerful embeddings than existing methods.

Show full abstract

However, directly constructing and factorizing this matrix---which is dense---is prohibitively expensive in terms of both time and space, making it not scalable for large networks. In this work, we present the algorithm of large-scale network embedding as sparse matrix factorization (NetSMF). NetSMF leverages theories from spectral sparsification to efficiently sparsify the aforementioned dense matrix, enabling significantly improved efficiency in embedding learning. The sparsified matrix is spectrally close to the original dense one with a theoretically bounded approximation error, which helps maintain the representation power of the learned embeddings. We conduct experiments on networks of various scales and types. Results show that among both popular benchmarks and factorization based methods, NetSMF is the only method that achieves both high efficiency and effectiveness. We show that NetSMF requires only 24 hours to generate effective embeddings for a large-scale academic collaboration network with tens of millions of nodes, while it would cost DeepWalk months and is computationally infeasible for the dense matrix factorization solution. The source code of NetSMF is publicly available (https://github.com/xptree/NetSMF).

View on arXivView PDF

Code Implementations(1)

xptree/NetSMFOfficial100%
MIT

NetSMF: Large-Scale Network Embedding as Sparse Matrix Factorization

13325C++, PythonFeb 25, 20194 years agoMIT
network-embeddingsocial-network-analysiswebconf

Similar Papers

Cite this paper

@article{qiu2019netsmf,
  title  = {NetSMF: Large-Scale Network Embedding as Sparse Matrix Factorization},
  author = {Jiezhong Qiu and Yuxiao Dong and Hao Ma and Jian Li and Chi Wang and Kuansan Wang and Jie Tang},
  year   = {2019},
  eprint = {1906.11156},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1906.11156}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1906.11156.svg)](https://codeofpaper.com/paper/1906.11156)

Discussion