arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.00101cs.LGcs.AIcs.CCcs.DCcs.NE
收藏

并行随机梯度下降的混合方法

Hybrid Approach to Parallel Stochastic Gradient Descent

School of Computing;Augmented Intelligence Arizona State University Tempe AZ USA;Augmented Intelligence Arizona State University

Aakash Sudhirbhai Vora, Dhrumil Chetankumar Joshi, Aksh Kantibhai Patel

AI总结:

本文提出一种结合同步与异步的数据并行混合方法,通过阈值函数逐步切换参数聚合方式,在相同时间内取得优于纯同步和纯异步的训练性能。

摘要:

随机梯度下降被用于大型数据集以训练模型,从而减少训练时间。在此基础上,数据并行被广泛用作一种利用多个工作节点并行高效训练神经网络的方法。大多数系统采用同步和异步的数据并行方法来并行训练模型。然而,这两种方法都有各自的缺点。我们提出了第三种数据并行方法,它是同步和异步方法之间的混合方法,同时使用这两种方法来训练神经网络。当适当选择阈值函数以逐步将所有参数聚合从异步转变为同步时,我们表明,在给定的时间段内,我们的混合方法优于异步和同步方法。

英文摘要:

Stochastic Gradient Descent is used for large datasets to train models to reduce the training time. On top of that data parallelism is widely used as a method to efficiently train neural networks using multiple worker nodes in parallel. Synchronous and asynchronous approach to data parallelism is used by most systems to train the model in parallel. However, both of them have their drawbacks. We propose a third approach to data parallelism which is a hybrid between synchronous and asynchronous approaches, using both approaches to train the neural network. When the threshold function is selected appropriately to gradually shift all parameter aggregation from asynchronous to synchronous, we show that in a given time period our hybrid approach outperforms both asynchronous and synchronous approaches.

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

↑