arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1907.02664cs.DCcs.CRcs.LG
收藏

拜占庭弹性分布式优化的数据编码

Data Encoding for Byzantine-Resilient Distributed Optimization

University of California, Los Angeles(加州大学洛杉矶分校);City University of Hong Kong(香港城市大学)

Deepesh Data, Linqi Song, Suhas Diggavi

摘要:

我们研究分布式优化中存在的拜占庭对手,其中数据和计算分布在$m$工作机器,其中$t$可能会损坏。受损节点可以协作地并且任意地偏离其预先指定的程序,并且指定(主)节点迭代地计算广义线性模型的模型/参数向量。在这项工作中,我们主要集中在两个迭代算法:近端梯度下降(PGD)和坐标下降(CD)。梯度下降(GD)是这些算法的一个特例。PGD通常用于数据并行设置,其中数据在不同的样本之间分区,而CD用于模型并行设置,其中数据在参数空间之间分区。在本文中,我们提出了一种基于实数上的数据编码和纠错的方法来对抗对抗攻击。我们可以容忍最多$t\leq \lfloor\frac{m-1}{2}\rfloor$损坏的工作节点,这在信息理论上是最佳的。我们给出确定性保证,并且我们的方法不假设数据的任何概率分布。我们开发了一个{ \em稀疏}编码方案,使计算效率的数据编码和解码。我们证明了腐败阈值和资源需求(存储,计算和通信复杂性)之间的权衡。作为一个例子,对于$t\leq\frac{m}{3}$,我们的方案只会在这些资源上产生{ \em常数}开销,超过了不提供对抗保护的普通分布式PGD/CD算法所需的开销。据我们所知,我们的论文是第一篇使CD安全抵御对抗攻击的论文。我们的编码方案有效地扩展到数据流模型和随机梯度下降(SGD)。我们也给出了实验结果,以显示我们所提出的计划的有效性。

英文摘要:

We study distributed optimization in the presence of Byzantine adversaries, where both data and computation are distributed among $m$ worker machines, $t$ of which may be corrupt. The compromised nodes may collaboratively and arbitrarily deviate from their pre-specified programs, and a designated (master) node iteratively computes the model/parameter vector for generalized linear models. In this work, we primarily focus on two iterative algorithms: Proximal Gradient Descent (PGD) and Coordinate Descent (CD). Gradient descent (GD) is a special case of these algorithms. PGD is typically used in the data-parallel setting, where data is partitioned across different samples, whereas, CD is used in the model-parallelism setting, where data is partitioned across the parameter space. In this paper, we propose a method based on data encoding and error correction over real numbers to combat adversarial attacks. We can tolerate up to $t\leq \lfloor\frac{m-1}{2}\rfloor$ corrupt worker nodes, which is information-theoretically optimal. We give deterministic guarantees, and our method does not assume any probability distribution on the data. We develop a {\em sparse} encoding scheme which enables computationally efficient data encoding and decoding. We demonstrate a trade-off between the corruption threshold and the resource requirements (storage, computational, and communication complexity). As an example, for $t\leq\frac{m}{3}$, our scheme incurs only a {\em constant} overhead on these resources, over that required by the plain distributed PGD/CD algorithms which provide no adversarial protection. To the best of our knowledge, ours is the first paper that makes CD secure against adversarial attacks. Our encoding scheme extends efficiently to the data streaming model and for stochastic gradient descent (SGD). We also give experimental results to show the efficacy of our proposed schemes.

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

↑