Device Placement Optimization with Reinforcement Learning

By Azalia Mirhoseini, Hieu Pham, Quoc V. Le, Benoit Steiner, Rasmus Larsen, Yuefeng Zhou, Naveen Kumar, Mohammad Norouzi, Samy Bengio, Joseph Dean. International Conference on Machine Learning, 2017

492 citations recorded by the source corpus.

The past few years have witnessed a growth in size and computational requirements for training and inference with neural networks. Currently, a common approach to address these requirements is to use a heterogeneous distributed environment with a mixture of hardware devices such as CPUs and GPUs. Importantly, the decision of placing parts of the neural models on devices is often made by human experts based on simple heuristics and intuitions. In this paper, we propose a method which learns to optimize device placement for TensorFlow computational graphs. Key to our method is the use of a sequence-to-sequence model to predict which subsets of operations in a TensorFlow graph should run on which of the available devices. The execution time of the predicted placements is then used as the reward signal to optimize the parameters of the sequence-to-sequence model. Our main result is that on Inception-V3 for ImageNet classification, and on RNN LSTM, for language modeling and neural machine translation, our model finds non-trivial device placements that outperform hand-crafted heuristics and traditional algorithmic methods.

Subfields: Artificial Intelligence, Industrial and Manufacturing Engineering, Mechanical Engineering

View Paper: https://www.semanticscholar.org/paper/bfbd10ebffc9494423770a5bd30ebd0f9cbce66d

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. Quoc V. Le
  2. Eric P. Xing
  3. Ruslan Salakhutdinov
  4. Yoshua Bengio
  5. Mohit Bansal
  6. Sergey Levine
  7. Percy Liang
  8. Jianfeng Gao

In Industrial and Manufacturing Engineering

  1. Hongzi Mao
  2. Mohammad Alizadeh
  3. Eric P. Xing
  4. Charles Ruizhongtai Qi
  5. Paul Patras
  6. Ruslan Salakhutdinov
  7. Hamed Haddadi
  8. Junjie Yang

In Mechanical Engineering

  1. Pieter Abbeel
  2. Quoc V. Le

Citations in the corpus