arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2206.00302cs.LG
收藏

能量有效和内存受限的深度神经网络的多复杂度损失DNAS

Multi-Complexity-Loss DNAS for Energy-Efficient and Memory-Constrained Deep Neural Networks

University of Bologna(博洛尼亚大学);Politecnico di Torino(都灵理工大学)

Matteo Risso, Alessio Burrello, Luca Benini, Enrico Macii, Massimo Poncino, Daniele Jahier Pagliari

摘要:

神经架构搜索(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倍,相对于基线的准确度下降可以忽略不计。

英文摘要:

Neural Architecture Search (NAS) is increasingly popular to automatically explore the accuracy versus computational complexity trade-off of Deep Learning (DL) architectures. When targeting tiny edge devices, the main challenge for DL deployment is matching the tight memory constraints, hence most NAS algorithms consider model size as the complexity metric. Other methods reduce the energy or latency of DL models by trading off accuracy and number of inference operations. Energy and memory are rarely considered simultaneously, in particular by low-search-cost Differentiable NAS (DNAS) solutions. We overcome this limitation proposing the first DNAS that directly addresses the most realistic scenario from a designer's perspective: the co-optimization of accuracy and energy (or latency) under a memory constraint, determined by the target HW. We do so by combining two complexity-dependent loss functions during training, with independent strength. Testing on three edge-relevant tasks from the MLPerf Tiny benchmark suite, we obtain rich Pareto sets of architectures in the energy vs. accuracy space, with memory footprints constraints spanning from 75% to 6.25% of the baseline networks. When deployed on a commercial edge device, the STM NUCLEO-H743ZI2, our networks span a range of 2.18x in energy consumption and 4.04% in accuracy for the same memory constraint, and reduce energy by up to 2.2x with negligible accuracy drop with respect to the baseline.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑