Fast and Accurate Network Embeddings via Very Sparse Random Projection

Haochen Chen, Syed Fahad Sultan, Yingtao Tian, Muhao Chen, Steven Skiena
8/30/2019
cs.SIcs.LG

Official code: GTmac/FastRP (59 stars, MIT, last commit 2019-11-04).

Abstract

We present FastRP, a scalable and performant algorithm for learning distributed node representations in a graph. FastRP is over 4,000 times faster than state-of-the-art methods such as DeepWalk and node2vec, while achieving comparable or even better performance as evaluated on several real-world networks on various downstream tasks. We observe that most network embedding methods consist of two components: construct a node similarity matrix and then apply dimension reduction techniques to this matrix. We show that the success of these methods should be attributed to the proper construction of this similarity matrix, rather than the dimension reduction method employed. FastRP is proposed as a scalable algorithm for network embeddings. Two key features of FastRP are: 1) it explicitly constructs a node similarity matrix that captures transitive relationships in a graph and normalizes matrix entries based on node degrees; 2) it utilizes very sparse random projection, which is a scalable optimization-free method for dimension reduction. An extra benefit from combining these two design choices is that it allows the iterative computation of node embeddings so that the similarity matrix need not be explicitly constructed, which further speeds up FastRP. FastRP is also advantageous for its ease of implementation, parallelization and hyperparameter tuning. The source code is available at https://github.com/GTmac/FastRP.

View on arXivView PDF

Code Implementations(1)

GTmac/FastRPOfficial100%
MIT

Code for the CIKM 2019 Paper "Fast and Accurate Network Embeddings via Very Sparse Random Projection"

597Python, Jupyter NotebookAug 23, 20196 years agoMIT

Cite this paper

@article{chen2019fast,
  title  = {Fast and Accurate Network Embeddings via Very Sparse Random Projection},
  author = {Haochen Chen and Syed Fahad Sultan and Yingtao Tian and Muhao Chen and Steven Skiena},
  year   = {2019},
  eprint = {1908.11512},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1908.11512}
}

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/1908.11512.svg)](https://codeofpaper.com/paper/1908.11512)

Discussion