低功耗快速推理的循环神经网络单流并行化
Single Stream Parallelization of Recurrent Neural Networks for Low Power and Fast Inference
摘要:
由于神经网络算法在许多应用中表现出了很高的性能,因此在移动和嵌入式系统上进行有效的推理具有重要的意义。当在嵌入式系统中为个人用户执行单流递归神经网络(RNN)时,它需要大量的DRAM访问,因为网络大小通常比缓存大小大得多,并且RNN的权重在每个时间步仅使用一次。我们克服了这个问题,并行化的算法,并执行它多个时间步骤的时间。这种方法还通过降低DRAM访问的次数来降低功耗。基于QRNN(Quasi循环神经网络)和SRU(Simple Recurrent Unit)的循环神经网络被用于实现。在基于ARM处理器的系统中,当多时间步数分别为4和16时,SRU的加速比分别为300%和930%。
英文摘要:
As neural network algorithms show high performance in many applications, their efficient inference on mobile and embedded systems are of great interests. When a single stream recurrent neural network (RNN) is executed for a personal user in embedded systems, it demands a large amount of DRAM accesses because the network size is usually much bigger than the cache size and the weights of an RNN are used only once at each time step. We overcome this problem by parallelizing the algorithm and executing it multiple time steps at a time. This approach also reduces the power consumption by lowering the number of DRAM accesses. QRNN (Quasi Recurrent Neural Networks) and SRU (Simple Recurrent Unit) based recurrent neural networks are used for implementation. The experiments for SRU showed about 300% and 930% of speed-up when the numbers of multi time steps are 4 and 16, respectively, in an ARM CPU based system.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。