SparkNet: Training Deep Networks in Spark

By Philipp Moritz, Robert Nishihara, Ion Stoica, Michael I. Jordan. 2015

178 citations recorded by the source corpus.

Training deep networks is a time-consuming process, with networks for object recognition often requiring multiple days to train. For this reason, leveraging the resources of a cluster to speed up training is an important area of work. However, widely-popular batch-processing computational frameworks like MapReduce and Spark were not designed to support the asynchronous and communication-intensive workloads of existing distributed deep learning systems. We introduce SparkNet, a framework for training deep networks in Spark. Our implementation includes a convenient interface for reading data from Spark RDDs, a Scala interface to the Caffe deep learning framework, and a lightweight multi-dimensional tensor library. Using a simple parallelization scheme for stochastic gradient descent, SparkNet scales well with the cluster size and tolerates very high-latency communication. Furthermore, it is easy to deploy and use with no parameter tuning, and it is compatible with existing Caffe models. We quantify the dependence of the speedup obtained by SparkNet on the number of machines, the communication frequency, and the cluster's communication overhead, and we benchmark our system's performance on the ImageNet dataset.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, ML Systems & Hardware

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. Martin Jaggi
  2. Song Han
  3. Eric P. Xing
  4. Xiaodan Liang
  5. Peter Richtárik
  6. Amir Salman Avestimehr
  7. Sergey Levine
  8. Sebastian U. Stich

In Computer Vision and Pattern Recognition

  1. Luc Van Gool
  2. Yi Yang
  3. Dacheng Tao
  4. Trevor Darrell
  5. Ming-Hsuan Yang
  6. Xiaogang Wang
  7. Song Han
  8. Alan L. Yuille

In ML Systems & Hardware

  1. Jianyu Wang
  2. Gauri Joshi
  3. Jiaming Xu
  4. Lili Su
  5. Yudong Chen
  6. Wei Dai
  7. Ameet Talwalkar
  8. Eric P. Xing

Citations in the corpus