In hardware-aware Differentiable Neural Architecture Search (DNAS), it is challenging to compute gradients of hardware metrics to perform architecture search. Existing works rely on linear approximations with limited support to customized hardware accelerators. In this work, we propose End-to-end Hardware-aware DNAS (EH-DNAS), a seamless integration of end-to-end hardware benchmarking, and fully automated DNAS to deliver hardware-efficient deep neural networks on various platforms, including Edge GPUs, Edge TPUs, Mobile CPUs, and customized accelerators. Given a desired hardware platform, we propose to learn a differentiable model predicting the end-to-end hardware performance of neural network architectures for DNAS. We also introduce E2E-Perf, an end-to-end hardware benchmarking tool for customized accelerators. Experiments on CIFAR10 and ImageNet show that EH-DNAS improves the hardware performance by an average of $1.4\times$ on customized accelerators and $1.6\times$ on existing hardware processors while maintaining the classification accuracy.
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倍,相对于基线的准确度下降可以忽略不计。
Hardware-Aware Neural Feature Extraction for Resource-Constrained Devices
Department of Electronics, Information and Bioengineering (DEIB), Politecnico di Milano(电子、信息与生物工程系(DEIB),米兰理工学院);Smart Eyewear Lab, EssilorLuxottica(智能眼镜实验室,EssilorLuxottica)
You Only Search Once: On Lightweight Differentiable Architecture Search for Resource-Constrained Embedded Platforms
Nanyang Technological University(南洋理工大学)
受益于搜索效率,可区分神经架构搜索(NAS)已发展成为自动设计竞争性深度神经网络(DNN)的最主要替代方案。我们注意到,DNN必须在现实世界场景中严格的硬性能约束下执行,例如,自动驾驶汽车上的运行时延迟。然而,为了获得满足给定性能约束的架构,先前的硬件感知可区分NAS方法必须重复过多的搜索运行以通过试错来手动调整超参数,因此总设计成本成比例地增加。为了解决这个问题,我们引入了一个轻量级的硬件感知的可区分NAS框架,称为LightNAS,努力通过一次性搜索找到满足各种性能约束的所需架构(即,\underline{\textit{you only search once}})。进行了大量的实验,以显示LightNAS比以前的国家的最先进的方法的优越性。
EDD: Efficient Differentiable DNN Architecture and Implementation Co-search for Embedded AI Solutions
University of Illinois at Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);Advanced Digital Sciences Center(先进数字科学中心);IBM T. J. Watson Research Center(IBM托马斯·J·沃森研究中心)
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上找到。
Search Multilayer Perceptron-Based Fusion for Efficient and Accurate Siamese Tracking
Institute of Mining Artificial Intelligence, Chinese Institute of Coal Science(采矿人工智能研究所,中国煤炭科学研究院);Department of Computer Science, City University of Hong Kong(计算机科学系,香港城市大学);Image Processing Center, School of Astronautics, Beihang University(图像处理中心,航天学院,北航);State Key Laboratory of Intelligent Coal Mining and Strata Control(智能煤炭开采与岩层控制国家重点实验室)
Towards Cardiac Intervention Assistance: Hardware-aware Neural Architecture Exploration for Real-Time 3D Cardiac Cine MRI Segmentation
University of Notre Dame(圣母大学);Guangdong Cardiovascular Institute(广东省心血管病研究所);Guangdong Provincial People’s Hospital(广东省人民医院);Boston Children’s Hospital(波士顿儿童医院);Harvard Medical School(哈佛医学院);University of Pittsburgh(匹兹堡大学)
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倍…
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(博洛尼亚大学)
Scalable Training of Continuous-Time Spiking Neural Networks with Differentiable Spike-Time Discretization
Research Center for Mathematical Engineering, Chiba Institute of Technology(千叶工业大学数学工程研究中心);International Research Center for Neurointelligence (WPI-IRCN), The University of Tokyo(东京大学国际神经智能研究中心(WPI-IRCN));NEC Corporation(日本电气公司)
Low-rank surrogate modeling and stochastic zero-order optimization for training of neural networks with black-box layers
Artificial Intelligence Research Institute (AIRI)(人工智能研究 institute);Skolkovo Institute of Science and Technology(斯克尔科沃科学与技术研究所);Sber Quantum Technology Center(Sber 量子技术中心)
NeRC: Neural Ranging Correction through Differentiable Moving Horizon Location Estimation
Nanyang Technological University(南洋理工大学);National University of Singapore(国立新加坡大学);Tongji University(同济大学);the Shanghai Institute of Intelligent Science and Technology(上海智能科学研究院);National Key Laboratory of Autonomous Intelligent Unmanned Systems(自主智能无人机系统国家重点实验室);Frontiers Science Center for Intelligent Autonomous Systems, Ministry of Education, Beijing, China(智能自主系统前沿科学中心,教育部,北京,中国)
SDQ: Stochastic Differentiable Quantization with Mixed Precision
Hong Kong University of Science and Technology(香港科技大学);Mohamed bin Zayed University of Artificial Intelligence(穆罕默德·本·扎耶德人工智能大学);Jockey Club Institute for Advanced Study, HKUST(香港科技大学赛马会高等研究院);Reality Labs, Meta Inc(Meta公司现实实验室);ACCESS - AI Chip Center for Emerging Smart Systems(新兴智能系统AI芯片中心(ACCESS));Carnegie Mellon University(卡内基梅隆大学)
Differentiable Quantum Architecture Search in Quantum-Enhanced Neural Network Parameter Generation
Wells Fargo(摩根大通);Graduate Institute of Applied Physics(应用物理研究所);Imperial College London(帝国理工学院);Centre for Quantum Engineering, Science and Technology (QuEST)(量子工程、科学与技术中心);Hon Hai (Foxconn) Research Institute(鸿海(富士康)研究院);Quantum Information Center(量子信息中心);Master Program in Intelligent Computing and Big Data(智能计算与大数据硕士项目);Jij inc.(Jij公司)