基于随机稠密矩阵的通信下界与Sketching算法
Communication Lower Bounds and Algorithms for Sketching with Random Dense Matrices
AI总结:
研究基于随机稠密矩阵的Sketching通信下界及算法,提出通信最优算法,并扩展至Nystrom近似计算,展示其在超算平台的并行可扩展性。
摘要:
Sketching在随机线性代数中广泛用于低秩矩阵逼近和列子集选择等任务,并在机器学习应用中受到广泛关注。然而,对大规模矩阵进行Sketching通常需要分布式内存算法,其中通信开销成为现代超算集群的关键瓶颈。尽管其重要性日益增加,但分布式内存并行策略仍鲜有探索。本文通过建立基于稠密矩阵的Sketching通信下界,确定并行执行所需的数据移动量。重要发现是,少量处理器无需通信。我们通过展示通信最优算法证明下界是紧致的。此外,我们扩展方法以确定Nystrom近似计算的通信下界,其中Sketching被应用两次。我们还引入了新的并行算法,其通信成本接近下界。最后,我们在现代超算基础设施上实现这些算法,展示其并行可扩展性。
英文摘要:
Sketching is widely used in randomized linear algebra for low-rank matrix approximation, column subset selection, and many other problems, and it has gained significant traction in machine learning applications. However, sketching large matrices often necessitates distributed memory algorithms, where communication overhead becomes a critical bottleneck on modern supercomputing clusters. Despite its growing relevance, distributed-memory parallel strategies for sketching remain largely unexplored. In this work, we establish communication lower bounds for sketching using dense matrices that determine how much data movement is required to perform it in parallel. One important observation of our lower bounds is that no communication is required for a small number of processors. We show that our lower bounds are tight by presenting communication optimal algorithms. Furthermore, we extend our approach to determine communication lower bounds for computations of Nyström approximation where sketching is applied twice. We also introduce novel parallel algorithms whose communication costs are close to the lower bounds. Finally, we implement our algorithms on modern state-of-the-art supercomputing infrastructures which have both CPU- and GPU-equipped systems and demonstrate their parallel scalability.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。