Fast Randomized PCA for Sparse Data

Xu Feng, Yuyang Xie, Mingye Song, Wenjian Yu, Jie Tang
10/16/2018
36 citations
cs.LGstat.ML

Official code: XuFengthucs/frPCA_sparse (14 stars, C, MIT, last commit 2023-03-14).

Abstract

Principal component analysis (PCA) is widely used for dimension reduction and embedding of real data in social network analysis, information retrieval, and natural language processing, etc. In this work we propose a fast randomized PCA algorithm for processing large sparse data.

Show full abstract

The algorithm has similar accuracy to the basic randomized SVD (rPCA) algorithm (Halko et al., 2011), but is largely optimized for sparse data. It also has good flexibility to trade off runtime against accuracy for practical usage. Experiments on real data show that the proposed algorithm is up to 9.1X faster than the basic rPCA algorithm without accuracy loss, and is up to 20X faster than the svds in Matlab with little error. The algorithm computes the first 100 principal components of a large information retrieval data with 12,869,521 persons and 323,899 keywords in less than 400 seconds on a 24-core machine, while all conventional methods fail due to the out-of-memory issue.

View on arXivView PDF

Code Implementations(1)

MIT

fast randomized PCA for sparse data

142C, MATLABSep 25, 20183 years agoMIT

Similar Papers

Cite this paper

@article{feng2018fast,
  title  = {Fast Randomized PCA for Sparse Data},
  author = {Xu Feng and Yuyang Xie and Mingye Song and Wenjian Yu and Jie Tang},
  year   = {2018},
  eprint = {1810.06825},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1810.06825}
}

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

Discussion