Affiliation:
1. Seoul National University, Seoul, South Korea
Abstract
The rapid evolution of deep neural networks is demanding deep learning (DL) frameworks not only to satisfy the requirement of quickly executing large computations, but also to support straightforward programming models for quickly implementing and experimenting with complex network structures. However, existing frameworks fail to excel in both departments simultaneously, leading to diverged efforts for optimizing performance and improving usability.
This paper presents JANUS, a system that combines the advantages from both sides by transparently converting an imperative DL program written in Python, a de-facto scripting language for DL, into an efficiently executable symbolic dataflow graph. JANUS can convert various dynamic features of Python, including dynamic control flow, dynamic types, and impure functions, into elements of a symbolic dataflow graph. Our experiments show that JANUS can achieve fast DL training by exploiting the techniques imposed by symbolic graph-based DL frameworks, while maintaining the simple and flexible programmability of imperative DL frameworks at the same time.
Publisher
Association for Computing Machinery (ACM)
Reference36 articles.
1. Martín Abadi et al. 2016. TensorFlow: A System for Large-scale Machine Learning. In OSDI. Martín Abadi et al. 2016. TensorFlow: A System for Large-scale Machine Learning. In OSDI.
2. Greg Brockman Vicki Cheung Ludwig Pettersson Jonas Schneider John Schulman Jie Tang and Wojciech Zaremba. 2016. OpenAI Gym. CoRR abs/1606.01540 (2016). arXiv:1606.01540 http://arxiv.org/abs/1606.01540 Greg Brockman Vicki Cheung Ludwig Pettersson Jonas Schneider John Schulman Jie Tang and Wojciech Zaremba. 2016. OpenAI Gym. CoRR abs/1606.01540 (2016). arXiv:1606.01540 http://arxiv.org/abs/1606.01540
3. Ian Goodfellow Jean Pouget-Abadie Mehdi Mirza Bing Xu David Warde- Farley Sherjil Ozair Aaron Courville and Yoshua Bengio. 2014. Generative Adversarial Nets. In NIPS. Ian Goodfellow Jean Pouget-Abadie Mehdi Mirza Bing Xu David Warde- Farley Sherjil Ozair Aaron Courville and Yoshua Bengio. 2014. Generative Adversarial Nets. In NIPS.
Cited by
9 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Towards Safe Automated Refactoring of Imperative Deep Learning Programs to Graph Execution;2023 38th IEEE/ACM International Conference on Automated Software Engineering (ASE);2023-09-11
2. Torchy: A Tracing JIT Compiler for PyTorch;Proceedings of the 32nd ACM SIGPLAN International Conference on Compiler Construction;2023-02-17
3. Handling Iterations in Distributed Dataflow Systems;ACM Computing Surveys;2022-12-31
4. A Reverse Modification Method for Binary Code and Data;Sensors;2022-10-11
5. Challenges in migrating imperative deep learning programs to graph execution;Proceedings of the 19th International Conference on Mining Software Repositories;2022-05-23