HOGWILD!: A Lock-Free Approach to Parallelizing Stochastic Gradient Descent
Feng Niu, Benjamin Recht, Christopher Re, Stephen J. Wright

TL;DR
HOGWILD! introduces a lock-free parallelization method for stochastic gradient descent that exploits sparsity in problems, achieving faster convergence and outperforming locking schemes significantly.
Contribution
The paper presents a novel lock-free parallel SGD algorithm, HOGWILD!, with theoretical analysis and empirical results showing its efficiency in sparse settings.
Findings
HOGWILD! converges nearly as fast as serial SGD in sparse problems.
HOGWILD! outperforms locking-based schemes by an order of magnitude.
The approach is scalable and effective for large-scale machine learning tasks.
Abstract
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.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsStochastic Gradient Optimization Techniques · Sparse and Compressive Sensing Techniques · Machine Learning and Algorithms
MethodsStochastic Gradient Descent
