深度网络的流式部署-走向完全模型并行执行
The streaming rollout of deep networks - towards fully model-parallel execution
摘要:
深度神经网络,特别是循环网络,是控制与物理世界实时交互的自主代理的有希望的候选者。然而,这需要将时间特征无缝集成到网络的架构中。对于循环神经网络的训练和推理,它们通常随着时间的推移而推出,并且存在不同的推出。传统上,在推理过程中,网络的层以顺序的方式计算,导致信息的稀疏时间积分和较长的响应时间。在这项研究中,我们提出了一个理论框架来描述推出,他们诱导的模型并行化的水平,并证明在解决特定任务的差异。我们证明,某些推出,也只有跳过,没有经常性的连接,使网络更早,更频繁的反应,并经验表明,这些早期的反应有更好的性能。流媒体展示最大化了这些属性,并实现了网络的完全并行执行,减少了大规模并行设备上的运行时间。最后,我们提供了一个开源工具箱,用于设计、训练、评估和与流部署交互。
英文摘要:
Deep neural networks, and in particular recurrent networks, are promising candidates to control autonomous agents that interact in real-time with the physical world. However, this requires a seamless integration of temporal features into the network's architecture. For the training of and inference with recurrent neural networks, they are usually rolled out over time, and different rollouts exist. Conventionally during inference, the layers of a network are computed in a sequential manner resulting in sparse temporal integration of information and long response times. In this study, we present a theoretical framework to describe rollouts, the level of model-parallelization they induce, and demonstrate differences in solving specific tasks. We prove that certain rollouts, also for networks with only skip and no recurrent connections, enable earlier and more frequent responses, and show empirically that these early responses have better performance. The streaming rollout maximizes these properties and enables a fully parallel execution of the network reducing runtime on massively parallel devices. Finally, we provide an open-source toolbox to design, train, evaluate, and interact with streaming rollouts.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。