Dynamic Control Flow in Large-Scale Machine Learning
Yuan Yu, Mart\'in Abadi, Paul Barham, Eugene Brevdo, Mike Burrows,, Andy Davis, Jeff Dean, Sanjay Ghemawat, Tim Harley, Peter Hawkins, Michael, Isard, Manjunath Kudlur, Rajat Monga, Derek Murray, Xiaoqiang Zheng

TL;DR
This paper introduces a distributed programming model supporting dynamic control flow in machine learning, enabling efficient execution across heterogeneous devices and facilitating training with complex models like RNNs and reinforcement learning.
Contribution
It extends TensorFlow's dataflow graph model to support distributed dynamic control flow, including conditionals and loops, with parallel execution and automatic differentiation capabilities.
Findings
Supports heterogeneous device execution of control flow
Enables parallel loop iterations across machines
Demonstrates scalability in real-world applications
Abstract
Many recent machine learning models rely on fine-grained dynamic control flow for training and inference. In particular, models based on recurrent neural networks and on reinforcement learning depend on recurrence relations, data-dependent conditional execution, and other features that call for dynamic control flow. These applications benefit from the ability to make rapid control-flow decisions across a set of computing devices in a distributed system. For performance, scalability, and expressiveness, a machine learning system must support dynamic control flow in distributed and heterogeneous environments. This paper presents a programming model for distributed machine learning that supports dynamic control flow. We describe the design of the programming model, and its implementation in TensorFlow, a distributed machine learning system. Our approach extends the use of dataflow graphs…
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.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
