We consider a scenario involving computations over a massive dataset stored distributedly across multiple workers, which is at the core of distributed learning algorithms. We propose Lagrange Coded Computing (LCC), a new framework to simultaneously provide (1) resiliency against stragglers that may prolong computations; (2) security against Byzantine (or malicious) workers that deliberately modify the computation for their benefit; and (3) (information-theoretic) privacy of the dataset amidst possible collusion of workers. LCC, which leverages the well-known Lagrange polynomial to create computation redundancy in a novel coded form across workers, can be applied to any computation scenario in which the function of interest is an arbitrary multivariate polynomial of the input dataset, hence covering many computations of interest in machine learning. LCC significantly generalizes prior works to go beyond linear computations. It also enables secure and private computing in distributed settings, improving the computation and communication efficiency of the state-of-the-art. Furthermore, we prove the optimality of LCC by showing that it achieves the optimal tradeoff between resiliency, security, and privacy, i.e., in terms of tolerating the maximum number of stragglers and adversaries, and providing data privacy against the maximum number of colluding workers. Finally, we show via experiments on Amazon EC2 that LCC speeds up the conventional uncoded implementation of distributed least-squares linear regression by up to $13.43\times$, and also achieves a $2.36\times$-$12.65\times$ speedup over the state-of-the-art straggler mitigation strategies.
A Learning-Based Approach to Approximate Coded Computation
Technische Universität Berlin(柏林工业大学);Fraunhofer Heinrich Hertz Institute(弗劳恩霍夫海因里希·赫兹研究所);University of Tübingen(图宾根大学);University of Melbourne(墨尔本大学)
现代数据集的规模不断增长,需要将大规模计算拆分为较小的计算,并以分布式方式进行操作。分布式系统中的攻击者故意发送错误数据,以影响计算。布尔函数是许多应用的关键组件,例如,区块链系统中的验证功能和加密算法的设计。我们考虑在分布式计算系统中计算布尔函数的问题,特别关注\emph{security against Byzantine workers}。任何布尔函数一般都可以建模为一个高次的多元多项式。然而,安全阈值(即,可以容忍最大数量的对抗工作者,使得可以获得正确的结果),如果多项式的次数高,则由最近提出的拉格朗日编码计算(LCC)提供的计算可能非常低。我们提出了三种不同的方案,称为\emph{coded Algebraic normal form (ANF)},\emph{coded Disjunctive normal form (DNF)}和\emph{coded polynomial threshold function (PTF)}。所提出的方案的核心思想是将其建模为一些低次多项式和阈值函数的级联。在安全阈值方面,我们表明,建议的编码ANF和编码DNF是最佳的,通过提供一个匹配的外边界。