Proceedings

A Fast Adaptive Randomized PCA Algorithm

Download BibTeX Cite

Proceedings of the Thirty-Second International Joint Conference on Artificial Intelligence. Main Track. Pages 3695-3704.

https://doi.org/10.24963/ijcai.2023/411

Abstract

It is desirable to adaptively determine the number of dimensions (rank) for PCA according to a given tolerance of low-rank approximation error. In this work, we aim to develop a fast algorithm solving this adaptive PCA problem. We propose to replace the QR factorization in randQB_EI algorithm with matrix multiplication and inversion of small matrices, and propose a new error indicator to incrementally evaluate approximation error in Frobenius norm. Combining the shifted power iteration technique for better accuracy, we finally build up an algorithm named farPCA. Experimental results show that farPCA is much faster than the baseline methods (randQB_EI, randUBV and svds) in practical setting of multi-thread computing, while producing nearly optimal results of adpative PCA.

  1. [Ailon and Chazelle, 2006] Nir Ailon and Bernard Chazelle. Approximate nearest neighbors and the fast johnson- lindenstrauss transform. In Proceedings of the thirty- eighth annual ACM symposium on Theory of computing, pages 557-563, 2006.
  2. [Allen-Zhu and Li, 2016] Zeyuan Allen-Zhu and Yuanzhi Li. LazySVD: Even faster SVD decomposition yet with- out agonizing pain. In Advances in Neural Information Processing Systems, pages 974-982, 2016.
  3. [Benjamin Erichson et al., 2017] N. Benjamin Erichson, Steven L. Brunton, and J. Nathan Kutz. Compressed singular value decomposition for image and video pro- cessing. In Proc. IEEE International Conference on Computer Vision (ICCV), pages 1880-1888, Oct. 2017.
  4. [Bjarkason, 2019] Elvar K Bjarkason. Pass-efficient ran- domized algorithms for low-rank matrix approximation using any number of views. SIAM Journal on Scientific Computing, 41(4):A2355-A2383, 2019.
  5. [Demmel et al., 2012] James Demmel, Laura Grigori, Mark Hoemmen, and Julien Langou. Communication-optimal parallel and sequential qr and lu factorizations. SIAM Jour- nal on Scientific Computing, 34(1):A206-A239, 2012.
  6. [Ding et al., 2020] Xiangyun Ding, Wenjian Yu, Yuyang Xie, and Shenghua Liu. Efficient model-based collabo- rative filtering with fast adaptive PCA. In 2020 IEEE 32nd International Conference on Tools with Artificial Intelli- gence (ICTAI), pages 955-960. IEEE, 2020.
  7. [Drineas and Mahoney, 2016] Petros Drineas and Michael W Mahoney. Randnla: Randomized nu- merical linear algebra. Communications of the ACM, 59(6):80-90, 2016.
  8. [Eckart and Young, 1936] Carl Eckart and Gale Young. The approximation of one matrix by another of lower rank. Psychometrika, 1(3):211-218, 1936.
  9. [Feng et al., 2018a] Xu Feng, Yuyang Xie, Mingye Song, Wenjian Yu, and Jie Tang. Fast randomized PCA for sparse data. In Proc. the 10th Asian Conference on Machine Learning (ACML), pages 710-725, 14-16 Nov 2018.
  10. [Feng et al., 2018b] Xu Feng, Wenjian Yu, and Yaohang Li. Faster matrix completion using randomized svd. In Proc. the 30th IEEE International Conference on Tools with Ar- tificial Intelligence (ICTAI), pages 608-615, 2018.
  11. [Feng et al., 2022] Xu Feng, Wenjian Yu, and Yuyang Xie. Pass-efficient randomized SVD with boosted accuracy. In Proc. the European Conference on Machine Learning and Principles and Practice of Knowledge Discovery in Databases (ECML-PKDD), 19-23 Sep. 2022.
  12. [Golub et al., 1981] Gene H Golub, Franklin T Luk, and Michael L Overton. A block lanczos method for comput- ing the singular values and corresponding singular vectors of a matrix. ACM Transactions on Mathematical Software (TOMS), 7(2):149-169, 1981.
  13. [Halko et al., 2011] N. Halko, P. G. Martinsson, and J. A. Tropp. Finding structure with randomness: Probabilistic algorithms for constructing approximate matrix decompo- sitions. SIAM Review, 53(2):217-288, 2011.
  14. [Hallman, 2022] Eric Hallman. A block bidiagonalization method for fixed-accuracy low-rank matrix approxima- tion. SIAM Journal on Matrix Analysis and Applications, 43(2):661-680, 2022.
  15. [Harper and Konstan, 2016] F. Maxwell Harper and Joseph A. Konstan. The Movielens datasets: His- tory and context. ACM Transactions on Interactive Intelligent Systems (TiiS), 5(4):19, 2016.
  16. [Leskovec and Krevl, 2014] Jure Leskovec and Andrej Krevl. SNAP datasets: Stanford large network dataset collection. http://snap.stanford.edu/data, June 2014. Link
  17. [Li et al., 2017] H. Li, G. C. Linderman, A. Szlam, K. P. Stanton, Y. Kluger, and M. Tygert. Algorithm 971: An implementation of a randomized algorithm for principal component analysis. ACM Transactions on Mathematical Software, 43(3):1-14, 2017.
  18. [Martinsson and Tropp, 2020] Per-Gunnar Martinsson and Joel A. Tropp. Randomized numerical linear algebra: Foundations and algorithms. Acta Numerica, 29:403-572, 2020.
  19. [Martinsson and Voronin, 2016] P. G. Martinsson and S. Voronin. A randomized blocked algorithm for ef- ficiently computing rank-revealing factorizations of matrices. SIAM J. Sci. Comput, 38:S485--S507, 2016.
  20. [Musco and Musco, 2015] Cameron Musco and Christopher Musco. Randomized block Krylov methods for stronger and faster approximate singular value decomposition. In Advances in Neural Information Processing Systems, pages 1396-1404, 2015.
  21. [Qiu et al., 2021] Jiezhong Qiu, Laxman Dhulipala, Jie Tang, Richard Peng, and Chi Wang. Lightne: A lightweight graph processing system for network embed- ding. In Proc. the 2021 ACM SIGMOD international con- ference on Management of data, pages 2281-2289, 2021.
  22. [Voronin and Martinsson, 2015] Sergey Voronin and Per- Gunnar Martinsson. RSVDPACK: An implementation of randomized algorithms for computing the singular value, interpolative, and CUR decompositions of matri- ces on multi-core and GPU architectures. arXiv preprint arXiv:1502.05366, 2015.
  23. [Woolfe et al., 2008] Franco Woolfe, Edo Liberty, Vladimir Rokhlin, and Mark Tygert. A fast randomized algorithm for the approximation of matrices. Applied and Computa- tional Harmonic Analysis, 25(3):335-366, 2008.
  24. [Yu et al., 2017] Wenjian Yu, Yu Gu, Jian Li, Shenghua Liu, and Yaohang Li. Single-pass PCA of large high- dimensional data. In Proc. International Joint Conference on Artificial Intelligence (IJCAI), pages 3350-3356, Aug. 2017.
  25. [Yu et al., 2018] Wenjian Yu, Yu Gu, and Yaohang Li. Ef- ficient randomized algorithms for the fixed-precision low- rank matrix approximation. SIAM Journal on Matrix Anal- ysis and Applications, 39(3):1339-1359, 2018.
  26. [Zhang et al., 2019a] Jiabao Zhang, Shenghua Liu, Wenjian Yu, Wenjie Feng, and Xueqi Cheng. Eigenpulse: detecting surges in large streaming graphs with row augmentation. In Proc. the 23rd Pacific-Asia Conference on Knowledge Discovery and Data Mining, pages 501-513, 2019.
  27. [Zhang et al., 2019b] Jie Zhang, Yuxiao Dong, Yan Wang, Jie Tang, and Ming Ding. Prone: Fast and scalable net- work representation learning. In Proc. the 28th Inter- national Joint Conference on Artificial Intelligence, vol- ume 19, pages 4278-4284, 2019. IJCAI

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards