arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.18001cs.DCstat.ML
收藏

面向核方法的可扩展对偶坐标下降法

Scalable Dual Coordinate Descent for Kernel Methods

Zishan Shao, Aditya Devarakonda

AI总结:

针对核支持向量机和核岭回归中DCD和BDCD方法的通信瓶颈,提出$s$-step变体以降低通信频率,在保证数值稳定性的同时,最高实现了9.8倍的强扩展加速。

摘要:

Dual Coordinate Descent (DCD) 和 Block Dual Coordinate Descent (BDCD) 是求解凸优化问题的重要迭代方法。在本研究中,我们为核支持向量机 (K-SVM) 和核岭回归 (K-RR) 问题开发了可扩展的 DCD 和 BDCD 方法。在分布式内存并行计算机上,这些方法的可扩展性受限于每次迭代都需要通信的需求。在现代硬件上,通信的开销要高出数个数量级,DCD 和 BDCD 方法的运行时间主要由通信成本决定。我们通过分别推导用于求解 K-SVM 和 K-RR 问题的 DCD 和 BDCD 的 $s$-step 变体来解决这一通信瓶颈。这些 $s$-step 变体以额外的带宽和计算为代价,通过可调因子 $s$ 降低了通信频率。在精确算术下,$s$-step 变体计算出的解与现有方法相同。我们进行了数值实验,结果表明即使在 $s$ 值较大的情况下,$s$-step 变体在有限算术下也具有数值稳定性。我们进行了理论分析,以最高阶为限界定了新设计的变体的计算和通信成本。最后,我们开发了用 C 和 MPI 编写的高性能实现,并展示了在 Cray EX 集群上进行的扩展实验。新的 $s$-step 变体在使用多达 $512$ 个核心的情况下,比现有方法实现了高达 $9.8\ imes$ 的强扩展加速。

英文摘要:

Dual Coordinate Descent (DCD) and Block Dual Coordinate Descent (BDCD) are important iterative methods for solving convex optimization problems. In this work, we develop scalable DCD and BDCD methods for the kernel support vector machines (K-SVM) and kernel ridge regression (K-RR) problems. On distributed-memory parallel machines the scalability of these methods is limited by the need to communicate every iteration. On modern hardware where communication is orders of magnitude more expensive, the running time of the DCD and BDCD methods is dominated by communication cost. We address this communication bottleneck by deriving $s$-step variants of DCD and BDCD for solving the K-SVM and K-RR problems, respectively. The $s$-step variants reduce the frequency of communication by a tunable factor of $s$ at the expense of additional bandwidth and computation. The $s$-step variants compute the same solution as the existing methods in exact arithmetic. We perform numerical experiments to illustrate that the $s$-step variants are also numerically stable in finite-arithmetic, even for large values of $s$. We perform theoretical analysis to bound the computation and communication costs of the newly designed variants, up to leading order. Finally, we develop high performance implementations written in C and MPI and present scaling experiments performed on a Cray EX cluster. The new $s$-step variants achieved strong scaling speedups of up to $9.8\times$ over existing methods using up to $512$ cores.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑