RAPIDNN:内存中深度神经网络加速框架
RAPIDNN: In-Memory Deep Neural Network Acceleration Framework
摘要:
深度神经网络(DNN)已经证明了对于各种应用的有效性,例如图像处理、视频分割和语音识别。在当前系统上运行最先进的DNN主要依赖于通用处理器、ASIC设计或FPGA加速器,由于有限的片上存储器和数据传输带宽,所有这些都受到数据移动的影响。在这项工作中,我们提出了一个新的框架,称为RAPIDNN,它处理内存中的所有DNN操作,以最大限度地减少数据移动的成本。为了实现内存处理,RAPIDNN重新解释DNN模型并将其映射到专用加速器中,该加速器使用非易失性存储器块设计,该非易失性存储器块对四个基本DNN操作进行建模,即,乘法、加法、激活函数和池化。该框架提取DNN模型的代表性操作数,例如,权重和输入值,使用聚类方法优化模型以进行内存处理。然后,它将提取的操作数及其预先计算的结果映射到加速器内存块中。在运行时,加速器基于高效的内存搜索能力来识别计算结果,这也提供了近似的可调性,以进一步提高计算效率。我们的评估表明,与最先进的DNN加速器ISAAC和PipeLayer相比,RAPIDNN实现了68.4倍、49.5倍的能效提升和48.1倍、10.9倍的加速,同时确保质量损失小于0.3%。
英文摘要:
Deep neural networks (DNN) have demonstrated effectiveness for various applications such as image processing, video segmentation, and speech recognition. Running state-of-the-art DNNs on current systems mostly relies on either generalpurpose processors, ASIC designs, or FPGA accelerators, all of which suffer from data movements due to the limited onchip memory and data transfer bandwidth. In this work, we propose a novel framework, called RAPIDNN, which processes all DNN operations within the memory to minimize the cost of data movement. To enable in-memory processing, RAPIDNN reinterprets a DNN model and maps it into a specialized accelerator, which is designed using non-volatile memory blocks that model four fundamental DNN operations, i.e., multiplication, addition, activation functions, and pooling. The framework extracts representative operands of a DNN model, e.g., weights and input values, using clustering methods to optimize the model for in-memory processing. Then, it maps the extracted operands and their precomputed results into the accelerator memory blocks. At runtime, the accelerator identifies computation results based on efficient in-memory search capability which also provides tunability of approximation to further improve computation efficiency. Our evaluation shows that RAPIDNN achieves 68.4x, 49.5x energy efficiency improvement and 48.1x, 10.9x speedup as compared to ISAAC and PipeLayer, the state-of-the-art DNN accelerators, while ensuring less than 0.3% of quality loss.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。