arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2102.05610cs.CVeess.IV
收藏

在数据中心加速器上搜索快速模型族

Searching for Fast Model Families on Datacenter Accelerators

Google(谷歌)

Sheng Li, Mingxing Tan, Ruoming Pang, Andrew Li, Liqun Cheng, Quoc Le, Norman P. Jouppi

摘要:

神经架构搜索(NAS)与模型缩放一起,在设计高精度和快速卷积架构家族方面取得了显着进展。然而,由于NAS和模型扩展都没有考虑足够的硬件架构细节,因此它们没有充分利用新兴的数据中心(DC)加速器。在本文中,我们寻找快速和准确的CNN模型族的DC加速器上的有效推理。我们首先分析了DC加速器,发现现有的CNN存在操作强度、并行性和执行效率不足的问题。这些见解让我们创建了一个DC加速器优化的搜索空间,具有空间到深度,空间到批处理,混合融合卷积结构,具有香草卷积和去卷积卷积,以及逐块激活函数。在我们的DC加速器优化的神经架构搜索空间之上,我们进一步提出了一种延迟感知复合缩放(LACS),这是第一种同时优化准确性和延迟的多目标复合缩放方法。我们的LACS发现,网络深度的增长速度应该比图像大小和网络宽度快得多,这与以前的复合缩放结果有很大不同。借助新的搜索空间和LACS,我们在数据中心加速器上的搜索和扩展产生了名为EfficientNet-X的新模型系列。EfficientNet-X在TPUv 3和GPUv 100上的速度比EfficientNet(一个在FLOP和准确性方面具有最先进折衷的模型系列)快2倍以上,精度相当。EfficientNet-X在TPUv 3和GPUv 100上的速度也比最近的RegNet和ResNeSt快7倍。

英文摘要:

Neural Architecture Search (NAS), together with model scaling, has shown remarkable progress in designing high accuracy and fast convolutional architecture families. However, as neither NAS nor model scaling considers sufficient hardware architecture details, they do not take full advantage of the emerging datacenter (DC) accelerators. In this paper, we search for fast and accurate CNN model families for efficient inference on DC accelerators. We first analyze DC accelerators and find that existing CNNs suffer from insufficient operational intensity, parallelism, and execution efficiency. These insights let us create a DC-accelerator-optimized search space, with space-to-depth, space-to-batch, hybrid fused convolution structures with vanilla and depthwise convolutions, and block-wise activation functions. On top of our DC accelerator optimized neural architecture search space, we further propose a latency-aware compound scaling (LACS), the first multi-objective compound scaling method optimizing both accuracy and latency. Our LACS discovers that network depth should grow much faster than image size and network width, which is quite different from previous compound scaling results. With the new search space and LACS, our search and scaling on datacenter accelerators results in a new model series named EfficientNet-X. EfficientNet-X is up to more than 2X faster than EfficientNet (a model series with state-of-the-art trade-off on FLOPs and accuracy) on TPUv3 and GPUv100, with comparable accuracy. EfficientNet-X is also up to 7X faster than recent RegNet and ResNeSt on TPUv3 and GPUv100.

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

↑