Device Placement Optimization with Reinforcement Learning
Azalia Mirhoseini, Hieu Pham, Quoc V. Le, Benoit Steiner and, Rasmus Larsen, Yuefeng Zhou, Naveen Kumar, Mohammad Norouzi, Samy, Bengio, Jeff Dean

TL;DR
This paper introduces a reinforcement learning approach using sequence-to-sequence models to optimize device placement in neural network training, outperforming heuristics and traditional methods on standard benchmarks.
Contribution
It presents a novel RL-based method for automatic device placement optimization in TensorFlow graphs, replacing manual heuristics with learned strategies.
Findings
Outperforms hand-crafted heuristics on Inception-V3 and RNN LSTM tasks.
Learns non-trivial device placements that reduce execution time.
Demonstrates effectiveness across multiple neural network architectures.
Abstract
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…
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
TopicsIndustrial Vision Systems and Defect Detection · Modular Robots and Swarm Intelligence · Reinforcement Learning in Robotics
MethodsSigmoid Activation · Tanh Activation · Long Short-Term Memory
