arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1809.00832cs.LGcs.AIcs.CLstat.ML
收藏

使用递归提高深度学习框架的表达性

Improving the Expressiveness of Deep Learning Frameworks with Recursion

Seoul National University(首尔国立大学)

Eunji Jeong, Joo Seong Jeong, Soojeong Kim, Gyeong-In Yu, Byung-Gon Chun

摘要:

递归神经网络已被研究人员广泛用于处理具有递归或层次结构化数据的应用。然而,嵌入式控制流深度学习框架,如TensorFlow、Theano、Caffe2和MXNet,由于缺乏对递归的支持,无法有效地表示和执行这样的神经网络。在本文中,我们添加递归到现有框架的编程模型,通过补充他们的设计与递归执行的递归图以及递归定义的额外API。与迭代实现不同,迭代实现只能理解递归数据结构中每个节点的拓扑索引,我们的递归实现能够利用节点之间的递归关系,以实现基于并行计算的高效执行。我们在TensorFlow上实现了一个递归神经网络模型,并对各种递归神经网络模型进行了评估,结果表明,我们的递归实现不仅比其他实现更好地传达了递归神经网络的递归性质,而且更有效地使用给定的资源来减少训练和推理时间。

英文摘要:

Recursive neural networks have widely been used by researchers to handle applications with recursively or hierarchically structured data. However, embedded control flow deep learning frameworks such as TensorFlow, Theano, Caffe2, and MXNet fail to efficiently represent and execute such neural networks, due to lack of support for recursion. In this paper, we add recursion to the programming model of existing frameworks by complementing their design with recursive execution of dataflow graphs as well as additional APIs for recursive definitions. Unlike iterative implementations, which can only understand the topological index of each node in recursive data structures, our recursive implementation is able to exploit the recursive relationships between nodes for efficient execution based on parallel computation. We present an implementation on TensorFlow and evaluation results with various recursive neural network models, showing that our recursive implementation not only conveys the recursive nature of recursive neural networks better than other implementations, but also uses given resources more effectively to reduce training and inference time.

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

↑