Hogwild: A Lock-Free Approach to Parallelizing Stochastic Gradient Descent 论文

2011Neural Information Processing Systems引用 1101
Stochastic Gradient Optimization TechniquesAdvanced Neural Network ApplicationsPrivacy-Preserving Technologies in Data

详细信息

发表期刊/会议
Neural Information Processing Systems
发表日期
2011-12-12
发表年份
2011

关键词

Stochastic Gradient Optimization TechniquesAdvanced Neural Network ApplicationsPrivacy-Preserving Technologies in Data

摘要

Stochastic Gradient Descent (SGD) is a popular algorithm that can achieve state-of-the-art performance on a variety of machine learning tasks. Several researchers have recently proposed schemes to parallelize SGD, but all require performance-destroying memory locking and synchronization. This work aims to show using novel theoretical analysis, algorithms, and implementation that SGD can be implemented without any locking. We present an update scheme called HOGWILD! which allows processors access to shared memory with the possibility of overwriting each other's work. We show that when the associated optimization problem is sparse, meaning most gradient updates only modify small parts of the decision variable, then HOGWILD! achieves a nearly optimal rate of convergence. We demonstrate experimentally that HOGWILD! outperforms alternative schemes that use locking by an order of magnitude.