arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2008.04699cs.LGcs.DCstat.ML
收藏

使用随机梯度下降(SGD)和基于范数的比较梯度消除(CGE)的拜占庭容错分布式机器学习

Byzantine Fault-Tolerant Distributed Machine Learning Using Stochastic Gradient Descent (SGD) and Norm-Based Comparative Gradient Elimination (CGE)

EPFL(洛桑联邦理工学院);Georgetown University(乔治城大学)

Nirupam Gupta, Shuo Liu, Nitin H. Vaidya

摘要:

本文研究了分布式随机梯度下降(D-SGD)方法中的拜占庭容错问题,D-SGD是分布式多智能体机器学习的一种流行算法。在这个问题中,每个代理独立于某个数据生成分布对数据点进行采样。在无故障的情况下,D-SGD方法允许所有代理学习最适合所有代理集体采样的数据的数学模型。我们考虑的情况下,当一小部分的代理可能是拜占庭式的故障。这种错误的代理可能不会正确地遵循规定的算法,并且可能通过共享任意不正确的随机梯度而使传统的D-SGD方法无效。我们提出了一个基于范数的梯度过滤器,命名为比较梯度消除(CGE),robustifies D-SGD方法对拜占庭代理。我们表明,CGE梯度过滤器保证容错对拜占庭代理的有界分数在标准的随机假设下,是计算上更简单的许多现有的梯度过滤器,如多KRUM,几何平均值,和频谱过滤器。我们的经验表明,通过模拟分布式学习神经网络,CGE的容错性与现有的梯度过滤器。我们还经验表明,随机梯度的指数平均提高了通用梯度滤波器的容错性。

英文摘要:

This paper considers the Byzantine fault-tolerance problem in distributed stochastic gradient descent (D-SGD) method - a popular algorithm for distributed multi-agent machine learning. In this problem, each agent samples data points independently from a certain data-generating distribution. In the fault-free case, the D-SGD method allows all the agents to learn a mathematical model best fitting the data collectively sampled by all agents. We consider the case when a fraction of agents may be Byzantine faulty. Such faulty agents may not follow a prescribed algorithm correctly, and may render traditional D-SGD method ineffective by sharing arbitrary incorrect stochastic gradients. We propose a norm-based gradient-filter, named comparative gradient elimination (CGE), that robustifies the D-SGD method against Byzantine agents. We show that the CGE gradient-filter guarantees fault-tolerance against a bounded fraction of Byzantine agents under standard stochastic assumptions, and is computationally simpler compared to many existing gradient-filters such as multi-KRUM, geometric median-of-means, and the spectral filters. We empirically show, by simulating distributed learning on neural networks, that the fault-tolerance of CGE is comparable to that of existing gradient-filters. We also empirically show that exponential averaging of stochastic gradients improves the fault-tolerance of a generic gradient-filter.

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

↑