Approximate Multiplication of Sparse Matrices with Limited Space
Yuanyu Wan, Lijun Zhang
Abstract
Approximate matrix multiplication with limited space has received ever-increasing attention due to the emergence of large-scale applications. Recently, based on a popular matrix sketching algorithm---frequent directions, previous work has introduced co-occuring directions (COD) to reduce the approximation error for this problem. Although it enjoys the space complexity of O((m_x+m_y)l) for two input matrices X∈ℝ^m_x ╳ n and Y∈ℝ^m_y ╳ n where l is the sketch size, its time complexity is O(n(m_x+m_y+l)l), which is still very high for large input matrices. In this paper, we propose to reduce the time complexity by exploiting the sparsity of the input matrices. The key idea is to employ an approximate singular value decomposition (SVD) method which can utilize the sparsity, to reduce the number of QR decompositions required by COD. In this way, we develop sparse co-occuring directions, which reduces the time complexity to Õ((nnz(X)+nnz(Y))l+nl^2) in expectation while keeps the same space complexity as O((m_x+m_y)l), where nnz(X) denotes the number of non-zero entries in X and the Õ notation hides constant factors as well as polylogarithmic factors. Theoretical analysis reveals that the approximation error of our algorithm is almost the same as that of COD. Furthermore, we empirically verify the efficiency and effectiveness of our algorithm.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
1 top-tier paper has cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
Cited by top-tier papers1
Builds on1
Related papers
- Approximate Matrix Multiplication over Sliding WindowsZiqi Yao, Lianzhi Li, Mingsong Chen, Xian Wei et al.KDD 2024 · 2 citations
- Optimal Matrix Sketching over Sliding WindowsHanyan Yin, Dongxie Wen, Jiajun Li, Zhewei Wei et al.VLDB 2024 · 5 citations
- Optimal Approximate Matrix Multiplication over Sliding WindowsHaoming Xian, Qintian Guo, Jun Zhang, Sibo WangVLDB 2026 · 1 citation
- Matrix Compression via Randomized Low Rank and Low Precision FactorizationRajarshi Saha, Varun Srivastava, Mert PilanciNeurIPS 2023 · 44 citations
- FREDE: Anytime Graph EmbeddingsAnton Tsitsulin, Marina Munkhoeva, Davide Mottin, Panagiotis Karras et al.VLDB 2021 · 40 citations
