arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1812.01329cs.PLcs.LG
收藏

JANUS:通过命令式程序的符号图执行实现快速灵活的深度学习

JANUS: Fast and Flexible Deep Learning via Symbolic Graph Execution of Imperative Programs

Seoul National University(首尔国立大学)

Eunji Jeong, Sungwoo Cho, Gyeong-In Yu, Joo Seong Jeong, Dong-Jin Shin, Byung-Gon Chun

摘要:

深度神经网络的快速发展要求深度学习(DL)框架不仅要满足快速执行大型计算的要求,还要支持简单的编程模型,以快速实现和试验复杂的网络结构。然而,现有的框架无法同时在这两个部门中表现出色,导致优化性能和提高可用性的努力出现分歧。本文介绍了JANUS,一个系统,它结合了双方的优势,透明地转换成一个有效的可执行的符号化图的命令式DL程序编写的Python,事实上的脚本语言DL。JANUS可以将Python的各种动态特性,包括动态控制流、动态类型和不纯函数,转换为符号化的递归图的元素。实验表明,JANUS可以实现快速DL训练,利用基于符号图的DL框架所施加的技术,同时保持命令式DL框架的简单和灵活的可编程性在同一时间。

英文摘要:

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, the 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. Experiments demonstrate 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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑