The effectiveness of Recurrent Neural Networks (RNNs) for tasks such as Automatic Speech Recognition has fostered interest in RNN inference acceleration. Due to the recurrent nature and data dependencies of RNN computations, prior work has designed customized architectures specifically tailored to the computation pattern of RNN, getting high computation efficiency for certain chosen model sizes. However, given that the dimensionality of RNNs varies a lot for different tasks, it is crucial to generalize this efficiency to diverse configurations. In this work, we identify adaptiveness as a key feature that is missing from today's RNN accelerators. In particular, we first show the problem of low resource-utilization and low adaptiveness for the state-of-the-art RNN implementations on GPU, FPGA and ASIC architectures. To solve these issues, we propose an intelligent tiled-based dispatching mechanism for increasing the adaptiveness of RNN computation, in order to efficiently handle the data dependencies. To do so, we propose Sharp as a hardware accelerator, which pipelines RNN computation using an effective scheduling scheme to hide most of the dependent serialization. Furthermore, Sharp employs dynamic reconfigurable architecture to adapt to the model's characteristics. Sharp achieves 2x, 2.8x, and 82x speedups on average, considering different RNN models and resource budgets, compared to the state-of-the-art ASIC, FPGA, and GPU implementations, respectively. Furthermore, we provide significant energy-reduction with respect to the previous solutions, due to the low power dissipation of Sharp (321 GFLOPS/Watt).
Energy-Efficient Inference Accelerator for Memory-Augmented Neural Networks on an FPGA
Seoul National University(首尔国立大学)
记忆增强神经网络(MANN)是为问答任务而设计的。很难在为其他神经网络(NN)设计的加速器上有效地运行MANN,特别是在移动设备上,因为MANN需要循环数据路径和与外部存储器访问相关的各种类型的操作。我们实现了一个基于数据流架构的现场可编程门阵列(FPGA)的人工神经网络加速器。推理时间也减少了推理阈值,这是一个基于数据的最大内积搜索专用于自然语言的任务。对bAbI数据的测量显示,加速器的能量效率(FLOPS/kJ)比NVIDIA TITAN V GPU高出约125倍,在推理阈值化的情况下增加到140倍
Adaptable Butterfly Accelerator for Attention-based NNs via Hardware and Algorithm Co-design
Imperial College London(帝国理工学院);Samsung AI Center(三星人工智能中心);University of Cambridge(剑桥大学);Cornell University(康奈尔大学)
基于注意力的神经网络在许多人工智能任务中已经变得普遍。尽管它们具有出色的算法性能,但使用注意力机制和前馈网络(FFN)需要过多的计算和存储器资源,这通常会损害它们的硬件性能。虽然已经引入了各种稀疏变体,但大多数方法仅关注于减轻算法级别上的注意力的二次缩放,而没有明确考虑将其方法映射到实际硬件设计上的效率。此外,大多数努力只集中在注意力机制或FFN,但没有联合优化这两个部分,导致大多数当前的设计缺乏可扩展性时,处理不同的输入长度。本文从硬件的角度系统地考虑了不同变体中的稀疏模式。在算法层面上,我们提出了FABNet,一个硬件友好的变体,采用统一的蝴蝶稀疏模式来近似注意力机制和FFN。在硬件层面上,提出了一种新的自适应蝶形加速器,可以在运行时通过专用的硬件控制配置,以加速不同的蝶形层使用一个统一的硬件引擎。在Long-Range-Arena数据集上,FABNet实现了与普通Transformer相同的精度,同时将计算量减少了10到66倍,参数数量减少了2到22倍。通过联合优化算法和硬件,我们基于FPGA的蝶形加速器实现了14.2到23.2倍的加速比,超过了标准化为相同计算预算的最先进的加速器。与Raspberry Pi 4和Jetson Nano上优化的CPU和GPU设计相比,在相同的功耗预算下,我们的系统速度分别提高了273.8和15.1倍。
A Runtime-Adaptive Transformer Neural Network Accelerator on FPGAs
Department of Electrical Engineering and Computer Science, University of Arkansas(电气工程与计算机科学系,亚拉巴马大学);Department of Computer Science and Engineering, University of South Carolina(计算机科学与工程系,南卡罗来纳大学)
M2RU: Memristive Minion Recurrent Unit for On-Chip Continual Learning at the Edge
NUAI Lab, Department of Electrical and Computer Engineering, University of Texas at San Antonio and Department of Electrical Engineering, University of Baghdad(NUAI实验室,电子与计算机工程系,德克萨斯大学圣安东尼奥分校和电子工程系,巴格达大学)
Prediction of the motion of chest internal points using a recurrent neural network trained with real-time recurrent learning for latency compensation in lung cancer radiotherapy
The University of Tokyo(东京大学);National Institute for Quantum and Radiological Science and Technology(国立量子与放射科学技术研究所)
在肺癌患者的放射治疗期间,需要最小化递送到肿瘤周围的健康组织的辐射,由于呼吸运动和线性加速器系统的延迟,这是困难的。在这项研究中,我们首先使用Lucas-Kanade金字塔光流算法进行变形图像配准的胸部计算机断层扫描图像的四个肺癌患者。然后,我们根据先前计算的变形场跟踪靠近肺肿瘤的三个内部点,并使用使用实时递归学习(RTRL)和梯度裁剪训练的递归神经网络(RNN)预测它们的位置。呼吸数据是相当规则的,以大约2.5Hz采样,并且包括脊柱方向上的人工漂移。追踪点的运动幅度范围为12.0 mm ~ 22.7 mm。最后,我们提出了一种简单的方法,用于恢复和预测三维肿瘤图像的跟踪点和初始肿瘤图像的基础上的线性对应模型和Nadaraya-Watson非线性回归。测试集上RNN预测对应的均方根误差,最大误差和抖动小于线性预测和最小均方(LMS)获得的相同性能指标。特别地,与RNN相关联的最大预测误差等于1.51mm,分别比与线性预测和LMS相关联的最大误差低16.1%和5.0%。RTRL的每个时间步长的平均预测时间等于119 ms,这小于400 ms标记位置采样时间。预测图像中的肿瘤位置在视觉上看起来是正确的,这通过原始图像和预测图像之间的高平均互相关(等于0.955)来确认。
Latent Variable Sequence Identification for Cognitive Models with Neural Network Estimators
Department of Psychology, University of California, Berkeley,Helen Wills Neuroscience Institute, University of California, Berkeley(心理学系,加州大学伯克利分校,Helen Wills神经科学研究所,加州大学伯克利分校)
Exploiting Symmetric Temporally Sparse BPTT for Efficient RNN Training
Institute of Neuroinformatics, University of Zurich and ETH Zurich(苏黎世大学和苏黎世联邦理工学院神经信息学研究所);Department of Microelectronics, Delft University of Technology(代尔夫特理工大学微电子系)
A Review on Sound Source Localization in Robotics: Focusing on Deep Learning Methods
Department of Management, Economics and Industrial Engineering, Politecnico di Milano, Via Lambruschini 24/b, 20156, Milan, Italy(管理、经济与工业工程系,米兰理工学院);Department of Materials and Mechanical Engineering, University of Turku, Vesilinnantie 5, Turku, 20014, Finland(材料与机械工程系,图尔库大学);Department of Electrical and Computer Engineering, University of Victoria, Victoria, BC V8P 5C2, Canada(电气与计算机工程系,维多利亚大学)