arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2206.02450cs.ITcs.LGmath.IT

用于缓解分布式学习中部分掉队者的基于优化的块坐标梯度编码

Optimization-based Block Coordinate Gradient Coding for Mitigating Partial Stragglers in Distributed Learning

Shanghai Jiao Tong University(上海交通大学)

Qi Wang, Ying Cui, Chenglin Li, Junni Zou, Hongkai Xiong

AI总结:

针对分布式学习中部分掉队者导致不完整计算无法利用的问题,提出块坐标梯度编码及低复杂度优化算法,以最小化预期运行时间并最大化完成概率。

摘要:

梯度编码方案通过在对应于所有模型参数的编码局部偏导数中引入相同的冗余,有效缓解了分布式学习中的完全掉队者。然而,它们对于部分掉队者不再有效,因为其无法利用来自部分掉队者的不完整计算结果。本文旨在设计一种新的梯度编码方案,以缓解分布式学习中的部分掉队者。具体而言,我们考虑一个由一个主节点和N个工作节点组成的分布式系统,其特征是通用的部分掉队者模型,并专注于利用梯度编码求解具有L个模型参数的通用大规模机器学习问题。首先,我们提出一种坐标梯度编码方案,该方案具有L个编码参数,表示L个坐标的L种可能不同的多样性,可生成大多数梯度编码方案。然后,我们考虑针对坐标的L个编码参数最小化预期总运行时间和最大化完成概率,这些是具有挑战性的离散优化问题。为降低计算复杂度,我们首先将每个问题转化为等价但简单得多的、具有N≪L个变量的离散问题,这些变量表示将L个坐标划分为N个块,每个块具有相同的冗余。这表明存在一种等价但更易实现的块坐标梯度编码方案,对块具有N个编码参数。随后,我们采用连续松弛进一步降低计算复杂度。对于所得的预期总运行时间最小化问题,我们开发了一种计算复杂度为O(N^2)的迭代算法以获得最优解,并推导了两个计算复杂度均为O(N)的闭式近似解。对于所得的完成概率最大化问题,我们开发了一种迭代算法……

英文摘要:

Gradient coding schemes effectively mitigate full stragglers in distributed learning by introducing identical redundancy in coded local partial derivatives corresponding to all model parameters. However, they are no longer effective for partial stragglers as they cannot utilize incomplete computation results from partial stragglers. This paper aims to design a new gradient coding scheme for mitigating partial stragglers in distributed learning. Specifically, we consider a distributed system consisting of one master and N workers, characterized by a general partial straggler model and focuses on solving a general large-scale machine learning problem with L model parameters using gradient coding. First, we propose a coordinate gradient coding scheme with L coding parameters representing L possibly different diversities for the L coordinates, which generates most gradient coding schemes. Then, we consider the minimization of the expected overall runtime and the maximization of the completion probability with respect to the L coding parameters for coordinates, which are challenging discrete optimization problems. To reduce computational complexity, we first transform each to an equivalent but much simpler discrete problem with N\llL variables representing the partition of the L coordinates into N blocks, each with identical redundancy. This indicates an equivalent but more easily implemented block coordinate gradient coding scheme with N coding parameters for blocks. Then, we adopt continuous relaxation to further reduce computational complexity. For the resulting minimization of expected overall runtime, we develop an iterative algorithm of computational complexity O(N^2) to obtain an optimal solution and derive two closed-form approximate solutions both with computational complexity O(N). For the resultant maximization of the completion probability, we develop an iterative algorithm of...

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

↑