Recursive Function Definitions in Static Dataflow Graphs and their Implementation in TensorFlow
Not on the map. Why?
Abstract (arXiv)
Modern machine learning systems represent their computations as dataflow graphs. The increasingly complex neural network architectures crave for more powerful yet efficient programming abstractions. In this paper we propose an efficient technique for supporting recursive function definitions in dataflow-based systems such as TensorFlow. The proposed approach transforms the given recursive definitions into a static dataflow graph that is enriched with two simple yet powerful dataflow operations. Since static graphs do not change during execution, they can be easily partitioned and executed efficiently in distributed and heterogeneous environments. The proposed technique makes heavy use of the idea of tagging, which was one of the cornerstones of dataflow systems since their inception. We demonstrate that our technique is compatible with the idea of automatic differentiation, a notion that is crucial for dataflow systems that focus on deep learning applications. We describe the principles of an actual implementation of the technique in the TensorFlow framework, and present experimental results that demonstrate that the use of tagging is of paramount importance for developing efficient high-level abstractions for modern dataflow systems.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 6 of its 29 references that are in the map. First posted on arXiv 26 Oct 2024.
Builds on
6 of 29 references.
References · 6
- 2016Theano: A Python framework for fast computation of mathematical expressionscited by 64
- 2017DyNet: The Dynamic Neural Network Toolkitcited by 21
- 2017Deep Learning with Dynamic Computation Graphscited by 15
- 2015Top-down Tree Long Short-Term Memory Networkscited by 12
- 2018Dynamic Control Flow in Large-Scale Machine Learningcited by 8
- 2018Improving the Expressiveness of Deep Learning Frameworks with Recursioncited by 2
Built on by
Not cited yet.