arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2009.02009cs.LGcs.CVstat.ML
收藏

S3NAS:一种基于NPU的神经网络结构快速搜索方法

S3NAS: Fast NPU-aware Neural Architecture Search Methodology

Seoul National University(首尔大学)

Jaeseong Lee, Duseok Kang, Soonhoi Ha

摘要:

随着卷积神经网络(CNN)在嵌入式设备中的应用领域不断增长,使用称为神经处理单元(NPU)的硬件CNN加速器来实现比CPU或GPU更高的性能功耗比变得流行。最近,自动神经架构搜索(NAS)作为默认技术出现,以找到比手动设计的图像分类架构具有更高精度的最先进的CNN架构。在本文中,我们提出了一种快速的NPU感知的NAS方法,称为S3 NAS,找到一个CNN架构具有更高的准确性比现有的在给定的延迟约束。它由三个步骤组成:超网设计,用于快速架构探索的单路径NAS和扩展。为了拓宽由阶段组成的超网结构的搜索空间,我们允许阶段具有不同数量的块,并且允许块具有不同内核大小的并行层。为了快速的神经结构搜索,我们采用了修改后的单路径NAS技术建议的超网结构。在这一步中,我们假设一个比减少搜索空间和搜索时间所需的更短的延迟约束。最后一步是在延迟约束内最大限度地扩展网络。为了准确的延迟估计,设计了一个分析延迟估计器,基于周期级NPU模拟器,该模拟器运行整个CNN,准确地考虑存储器访问开销。使用所提出的方法,我们能够使用TPUv 3在3小时内找到一个网络,在ImageNet上显示出82.72%的top-1准确率,延迟为11.66 ms。代码发布于https://github.com/cap-lab/S3NAS

英文摘要:

As the application area of convolutional neural networks (CNN) is growing in embedded devices, it becomes popular to use a hardware CNN accelerator, called neural processing unit (NPU), to achieve higher performance per watt than CPUs or GPUs. Recently, automated neural architecture search (NAS) emerges as the default technique to find a state-of-the-art CNN architecture with higher accuracy than manually-designed architectures for image classification. In this paper, we present a fast NPU-aware NAS methodology, called S3NAS, to find a CNN architecture with higher accuracy than the existing ones under a given latency constraint. It consists of three steps: supernet design, Single-Path NAS for fast architecture exploration, and scaling. To widen the search space of the supernet structure that consists of stages, we allow stages to have a different number of blocks and blocks to have parallel layers of different kernel sizes. For a fast neural architecture search, we apply a modified Single-Path NAS technique to the proposed supernet structure. In this step, we assume a shorter latency constraint than the required to reduce the search space and the search time. The last step is to scale up the network maximally within the latency constraint. For accurate latency estimation, an analytical latency estimator is devised, based on a cycle-level NPU simulator that runs an entire CNN considering the memory access overhead accurately. With the proposed methodology, we are able to find a network in 3 hours using TPUv3, which shows 82.72% top-1 accuracy on ImageNet with 11.66 ms latency. Code are released at https://github.com/cap-lab/S3NAS

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

↑