Powerful yet complex deep neural networks (DNNs) have fueled a booming demand for efficient DNN solutions to bring DNN-powered intelligence into numerous applications. Jointly optimizing the networks and their accelerators are promising in providing optimal performance. However, the great potential of such solutions have yet to be unleashed due to the challenge of simultaneously exploring the vast and entangled, yet different design spaces of the networks and their accelerators. To this end, we propose DNA, a Differentiable Network-Accelerator co-search framework for automatically searching for matched networks and accelerators to maximize both the task accuracy and acceleration efficiency. Specifically, DNA integrates two enablers: (1) a generic design space for DNN accelerators that is applicable to both FPGA- and ASIC-based DNN accelerators and compatible with DNN frameworks such as PyTorch to enable algorithmic exploration for more efficient DNNs and their accelerators; and (2) a joint DNN network and accelerator co-search algorithm that enables simultaneously searching for optimal DNN structures and their accelerators' micro-architectures and mapping methods to maximize both the task accuracy and acceleration efficiency. Experiments and ablation studies based on FPGA measurements and ASIC synthesis show that the matched networks and accelerators generated by DNA consistently outperform state-of-the-art (SOTA) DNNs and DNN accelerators (e.g., 3.04x better FPS with a 5.46% higher accuracy on ImageNet), while requiring notably reduced search time (up to 1234.3x) over SOTA co-exploration methods, when evaluated over ten SOTA baselines on three datasets. All codes will be released upon acceptance.
School of Systems Science, Beijing Normal University(北京师范大学系统科学学院);School of Automation and Intelligent Manufacturing, Southern University of Science and Technology(南方科技大学自动化与智能制造学院);Department of Electrical and Computer Engineering, University of Illinois Chicago(伊利诺伊大学芝加哥分校电气与计算机工程系)
Stella Nera: A Differentiable Maddness-Based Hardware Accelerator for Efficient Approximate Matrix Multiplication
Integrated Systems Laboratory ETH Zurich(ETH Zurich 系统整合实验室);Computing Systems Lab Zurich Research Center, Huawei Technologies(华为技术 Zurich 研究中心计算系统实验室);University of Bologna(博洛尼亚大学)
Multi-Complexity-Loss DNAS for Energy-Efficient and Memory-Constrained Deep Neural Networks
University of Bologna(博洛尼亚大学);Politecnico di Torino(都灵理工大学)
神经架构搜索(NAS)越来越受欢迎,以自动探索深度学习(DL)架构的准确性与计算复杂性的权衡。当针对微小的边缘设备时,DL部署的主要挑战是匹配严格的内存约束,因此大多数NAS算法将模型大小视为复杂性度量。其他方法通过权衡推理操作的准确性和数量来减少DL模型的能量或延迟。能量和内存很少被同时考虑,特别是低搜索成本的差分NAS(DNAS)解决方案。我们克服了这一限制,提出了第一个DNAS,直接解决最现实的情况下,从设计师的角度来看:共同优化的准确性和能源(或延迟)的内存约束下,由目标硬件。我们通过在训练期间将两个复杂度相关的损失函数与独立强度相结合来做到这一点。通过对MLPerf Tiny基准测试套件中的三个边缘相关任务进行测试,我们在能量与精度空间中获得了丰富的Pareto架构集,内存占用限制范围为基线网络的75%至6.25%。当部署在商业边缘设备STM NUCLEO-H743 ZI 2上时,我们的网络在相同的内存限制下,能耗范围为2.18倍,准确度为4.04%,并将能耗降低高达2.2倍,相对于基线的准确度下降可以忽略不计。
Effective Algorithm-Accelerator Co-design for AI Solutions on Edge Devices
University of Illinois at Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);Advanced Digital Sciences Center(高级数字科学中心);IBM T. J. Watson Research Center(IBM T. J.沃森研究中心)
HiMA: A Fast and Scalable History-based Memory Access Engine for Differentiable Neural Computer
University of Michigan(密歇根大学)
记忆增强神经网络(MANN)在外部记忆的帮助下,在许多任务中提供更好的推理性能。最近开发的可微神经计算机(DNC)是一种MANN,已被证明在表示复杂的数据结构和学习长期依赖关系方面表现出色。DNC的更高的性能来自于新的基于历史的注意力机制,除了以前使用的基于内容的注意力机制。基于历史的机制需要各种新的计算原语和状态存储器,这是不支持现有的神经网络(NN)或MANN加速器。我们提出了HiMA,一个平铺的,基于历史的内存访问引擎与分布式存储器在瓷砖。HiMA采用多模式片上网络(NoC)来减少通信延迟并提高可扩展性。一个最佳的子矩阵明智的内存分区策略,以减少的NoC流量的量,和一个两阶段的使用排序方法,利用分布式瓦片,以提高计算速度。为了使HiMA从根本上可扩展,我们创建了一个分布式版本的DNC,称为DNC-D,允许几乎所有的内存操作都应用于本地内存,并通过可训练的加权求和来产生全局内存输出。两个近似技术,使用撇取和softmax近似,提出了进一步提高硬件效率。HiMA原型在RTL中创建,并在40 nm技术中合成。通过模拟,HiMA运行DNC和DNC-D的速度比最先进的MANN加速器高6.47倍和39.1倍,面积效率高22.8倍和164.3倍,能源效率高6.1倍和61.2倍。与Nvidia 3080 Ti GPU相比,HiMA在运行DNC和DNC-D时的加速分别高达437倍和2,646倍…
MicroNets: Neural Network Architectures for Deploying TinyML Applications on Commodity Microcontrollers
Arm ML Research(Arm机器学习研究院);Harvard University(哈佛大学);SambaNova Systems
在资源受限的微控制器(MCU)上本地执行机器学习工作负载有望大幅扩展物联网的应用空间。然而,所谓的TinyML提出了严峻的技术挑战,因为深度神经网络推理需要大量的计算和内存预算。为了应对这一挑战,神经架构搜索(NAS)有望帮助设计出精确的ML模型,以满足MCU内存、延迟和能量的严格限制。NAS算法的一个关键组成部分是它们的延迟/能量模型,即,从给定的神经网络架构到其在MCU上的推理延迟/能量的映射。在本文中,我们观察到一个有趣的性质NAS搜索空间的MCU模型设计:平均而言,模型延迟与模型操作(op)计数线性变化下,一个统一的先验模型在搜索空间。利用这一洞察力,我们采用可区分NAS(DNAS)来搜索具有低内存使用和低操作数的模型,其中操作数被视为延迟的可行代理。实验结果验证了我们的方法,产生了我们的MicroNet模型,我们使用Tensorflow Lite Micro(TinyML社区中广泛使用的标准开源NN推理运行时)将其部署在MCU上。MicroNets展示了所有三个TinyMLperf行业标准基准任务的最新结果:视觉唤醒词,音频关键字定位和异常检测。模型和培训脚本可以在github.com/ARM-software/ML-zoo上找到。