arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2102.08619cs.LGcs.AR
收藏

重新思考神经架构和硬件加速器的协同设计

Rethinking Co-design of Neural Architectures and Hardware Accelerators

Google(谷歌)

Yanqi Zhou, Xuanyi Dong, Berkin Akin, Mingxing Tan, Daiyi Peng, Tianjian Meng, Amir Yazdanbakhsh, Da Huang, Ravi Narayanaswami, James Laudon

摘要:

神经架构和硬件加速器一直是深度学习进步的两大驱动力。以前的工作通常试图优化给定固定模型架构的硬件或给定固定硬件的模型架构。在之前的工作中探索的主要硬件架构是FPGA。在我们的工作中,我们的目标是在行业标准的边缘加速器上优化硬件和软件配置。我们系统地研究了共同设计神经架构和硬件加速器的重要性和策略。我们提出三点意见:1)软件搜索空间必须被定制以充分利用目标硬件架构,2)对模型架构和硬件架构的搜索应该联合进行以实现两全其美,以及3)不同的用例导致非常不同的搜索结果。我们的实验表明,联合搜索方法在ImageNet top-1准确率上始终优于之前的平台感知神经架构搜索,手动构建的模型和最先进的EfficientNet。我们的方法可以在相同的精度约束下将边缘加速器的能耗降低高达2倍,同时适应模型架构和硬件加速器配置。

英文摘要:

Neural architectures and hardware accelerators have been two driving forces for the progress in deep learning. Previous works typically attempt to optimize hardware given a fixed model architecture or model architecture given fixed hardware. And the dominant hardware architecture explored in this prior work is FPGAs. In our work, we target the optimization of hardware and software configurations on an industry-standard edge accelerator. We systematically study the importance and strategies of co-designing neural architectures and hardware accelerators. We make three observations: 1) the software search space has to be customized to fully leverage the targeted hardware architecture, 2) the search for the model architecture and hardware architecture should be done jointly to achieve the best of both worlds, and 3) different use cases lead to very different search outcomes. Our experiments show that the joint search method consistently outperforms previous platform-aware neural architecture search, manually crafted models, and the state-of-the-art EfficientNet on all latency targets by around 1% on ImageNet top-1 accuracy. Our method can reduce energy consumption of an edge accelerator by up to 2x under the same accuracy constraint, when co-adapting the model architecture and hardware accelerator configurations.

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

↑