Auto-NBA:在网络、位宽和加速器联合空间上的高效且有效搜索
Auto-NBA: Efficient and Effective Search Over the Joint Space of Networks, Bitwidths, and Accelerators
AI总结:
本文提出 Auto-NBA 框架,通过异构采样与可微加速器搜索引擎,在网络、位宽和加速器的巨大联合空间中实现恒定内存的高效搜索,并在搜索时间、精度和加速效率上超越现有方法。
摘要:
最大化深度神经网络(DNN)加速效率需要对三个不同但高度耦合的方面进行联合搜索/设计,包括网络、位宽和加速器,然而与这种联合搜索相关的挑战尚未得到充分理解和解决。关键挑战包括:(1)是因巨大联合空间而导致内存消耗爆炸,还是获得次优设计的两难困境;(2)加速器设计空间的离散性质,它与网络和位宽的设计空间相耦合但又有所不同;(3)网络-加速器联合搜索相关的“先有鸡还是先有蛋”问题,即联合搜索需要按操作划分的硬件成本,而在搜索期间该成本是缺失的,因为依赖整个网络的最优加速器在搜索期间仍然未知。为了在最优且快速的 DNN 加速器开发中应对这些严峻挑战,我们提出了一个名为 Auto-NBA 的框架,通过针对每个目标数据集和加速规范在巨大的联合设计空间中高效定位最优设计,实现对网络、位宽和加速器的联合搜索。我们的 Auto-NBA 集成了一种异构采样策略,以恒定内存消耗实现无偏搜索,并集成了配备通用可微加速器搜索引擎的新型联合搜索流程。大量实验和消融研究验证,Auto-NBA 生成的网络和加速器在搜索时间、任务精度和加速器效率方面,始终优于最先进设计(包括联合搜索/探索技术、硬件感知 NAS 方法和 DNN 加速器)。我们的代码可在 https://github.com/RICE-EIC/Auto-NBA 获取。
英文摘要:
While maximizing deep neural networks' (DNNs') acceleration efficiency requires a joint search/design of three different yet highly coupled aspects, including the networks, bitwidths, and accelerators, the challenges associated with such a joint search have not yet been fully understood and addressed. The key challenges include (1) the dilemma of whether to explode the memory consumption due to the huge joint space or achieve sub-optimal designs, (2) the discrete nature of the accelerator design space that is coupled yet different from that of the networks and bitwidths, and (3) the chicken and egg problem associated with network-accelerator co-search, i.e., co-search requires operation-wise hardware cost, which is lacking during search as the optimal accelerator depending on the whole network is still unknown during search. To tackle these daunting challenges towards optimal and fast development of DNN accelerators, we propose a framework dubbed Auto-NBA to enable jointly searching for the Networks, Bitwidths, and Accelerators, by efficiently localizing the optimal design within the huge joint design space for each target dataset and acceleration specification. Our Auto-NBA integrates a heterogeneous sampling strategy to achieve unbiased search with constant memory consumption, and a novel joint-search pipeline equipped with a generic differentiable accelerator search engine. Extensive experiments and ablation studies validate that both Auto-NBA generated networks and accelerators consistently outperform state-of-the-art designs (including co-search/exploration techniques, hardware-aware NAS methods, and DNN accelerators), in terms of search time, task accuracy, and accelerator efficiency. Our codes are available at: https://github.com/RICE-EIC/Auto-NBA.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。