arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1904.13373cs.ITcs.DCcs.LGmath.ITstat.ML
收藏

基于分块设计的梯度编码在对抗性掉队中的应用

Gradient Coding Based on Block Designs for Mitigating Adversarial Stragglers

University of California, Berkeley(加州大学伯克利分校)

Swanand Kadhe, O. Ozan Koyluoglu, Kannan Ramchandran

摘要:

基于梯度的方法的分布式实现,其中服务器跨工作机器分布梯度计算,遭受被称为“掉队者”的缓慢运行的机器。梯度编码是一种编码理论框架,通过使服务器能够在存在掉队者的情况下恢复梯度和来减轻掉队者。“近似梯度代码”是梯度代码的变体,其通过允许服务器近似地重构梯度和来减少每个工作者的计算和存储开销。在这项工作中,我们的目标是构建近似梯度码,是弹性的计算无界对手选择的掉队者。我们构建代码以减轻对抗性掉队者的动机源于在大规模弹性和无服务器系统中解决掉队者的挑战,其中很难对掉队者进行统计建模。为此,我们提出了一类基于平衡不完全区组设计(BIBDs)的近似梯度码。我们发现,这些代码的近似误差仅取决于离散的数量,因此,对抗性的离散选择没有优势,随机选择。此外,所提出的代码允许在服务器处的计算上高效的解码。接下来,为了描述对抗性离散的基本限制,我们考虑了“对抗性阈值”的概念-对手必须离散以造成某些近似误差的最小工人数量。我们计算的对抗阈值的下限,并表明,基于对称BIBDs的代码最大限度地提高了这一下限之间的广泛的一类代码,使他们成为优秀的候选人,以减轻对抗掉队。

英文摘要:

Distributed implementations of gradient-based methods, wherein a server distributes gradient computations across worker machines, suffer from slow running machines, called 'stragglers'. Gradient coding is a coding-theoretic framework to mitigate stragglers by enabling the server to recover the gradient sum in the presence of stragglers. 'Approximate gradient codes' are variants of gradient codes that reduce computation and storage overhead per worker by allowing the server to approximately reconstruct the gradient sum. In this work, our goal is to construct approximate gradient codes that are resilient to stragglers selected by a computationally unbounded adversary. Our motivation for constructing codes to mitigate adversarial stragglers stems from the challenge of tackling stragglers in massive-scale elastic and serverless systems, wherein it is difficult to statistically model stragglers. Towards this end, we propose a class of approximate gradient codes based on balanced incomplete block designs (BIBDs). We show that the approximation error for these codes depends only on the number of stragglers, and thus, adversarial straggler selection has no advantage over random selection. In addition, the proposed codes admit computationally efficient decoding at the server. Next, to characterize fundamental limits of adversarial straggling, we consider the notion of 'adversarial threshold' -- the smallest number of workers that an adversary must straggle to inflict certain approximation error. We compute a lower bound on the adversarial threshold, and show that codes based on symmetric BIBDs maximize this lower bound among a wide class of codes, making them excellent candidates for mitigating adversarial stragglers.

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

↑