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

By B. Recht, Christopher R'e, Stephen J. Wright, Feng Niu. 2011

2,372 citations recorded by the source corpus.

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.

Subfields: Artificial Intelligence, Computational Mechanics, Optimization & Training

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Yoshua Bengio
  2. Quoc V. Le
  3. Mohit Bansal
  4. Percy Liang
  5. Jianfeng Gao
  6. Ruslan Salakhutdinov
  7. Luke S. Zettlemoyer
  8. Sergey Levine

In Computational Mechanics

  1. Peter Richtárik
  2. Jakub Konecný
  3. Sebastian U. Stich
  4. Nicolas Loizou
  5. Francis R. Bach
  6. Martin Jaggi
  7. Martin Takác
  8. Michael I. Jordan

In Optimization & Training

  1. Peter Richtárik
  2. Sebastian U. Stich
  3. Jakub Konecný
  4. Martin Jaggi
  5. Simon Lacoste-Julien
  6. Nicolas Loizou
  7. Francis R. Bach
  8. Michael I. Jordan

Citations in the corpus