arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1904.03302cs.DC
收藏

测量用于NLP应用的RNN的调度效率

Measuring scheduling efficiency of RNNs for NLP applications

Urmish Thakker, Ganesh Dasika, Jesse Beu, Matthew Mattina

摘要:

递归神经网络(RNN)已经显示出用于语音识别、自然语言处理、图像描述和视频摘要应用的最新结果。这些应用程序中的许多都运行在低功耗平台上,因此它们的能效非常重要。我们观察到,在推理过程中,缓存无关的RNN调度通常会导致CPU上和CPU外传输的数据比应用程序的工作集大小多30- 50倍。这可能会影响其能源效率。本文提出了一个新的度量标准,称为数据重用效率,以衡量平台的RNN调度效率,并显示了影响DRE值的因素。此外,本文还讨论了一种提高RNN重用的优化方法,并强调了这种优化对移动SoC执行RNN应用程序期间从内存控制器读取或写入内存控制器的内存总量(以及DRE值)的积极影响。

英文摘要:

Recurrent neural networks (RNNs) have shown state of the art results for speech recognition, natural language processing, image captioning and video summarizing applications. Many of these applications run on low-power platforms, so their energy efficiency is extremely important. We observed that cache-oblivious RNN scheduling during inference typically results in 30-50x more data transferred on and off the CPU than the application's working set size. This can potentially impact its energy efficiency. This paper presents a new metric called Data Reuse Efficiency to gauge the RNN scheduling efficiency of a platform and shows the factors that influence the DRE value. Additionally, this paper discusses an optimization to improve reuse in RNNs and highlights the positive impact of this optimization on the total amount of memory read from or written to the memory controller (and, hence, the DRE value) during the execution of an RNN application for a mobile SoC.

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

↑