arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2208.08562cs.CVcs.AIstat.ML
收藏

可重构激活网络

Restructurable Activation Networks

Arm Inc.(安谋公司);Purdue University(普渡大学);Amazon(亚马逊公司);Meta

Kartikeya Bhardwaj, James Ward, Caleb Tung, Dibakar Gope, Lingchuan Meng, Igor Fedorov, Alex Chalfin, Paul Whatmough, Danny Loh

摘要:

是否有可能在深度网络中重构非线性激活函数,以创建硬件高效的模型?为了解决这个问题,我们提出了一个新的范例,称为可重构激活网络(RAN),操纵模型中的非线性量,以提高其硬件感知和效率。首先,我们提出RAN-显式(RAN-e)-一个新的硬件感知的搜索空间和半自动搜索算法-取代低效的块与硬件感知的块。接下来,我们提出了一种无需训练的模型缩放方法,称为RAN隐式(RAN-i),我们在理论上证明了网络拓扑结构与其非线性单元数量之间的联系。我们证明了我们的网络在ImageNet上以不同的规模和几种类型的硬件实现了最先进的结果。例如,与EfficientNet-Lite-B 0相比,RAN-e实现了类似的精度,同时将Arm micro-NPU的每秒帧数(FPS)提高了1.5倍。另一方面,RAN-i在ConvNexts上的MAC数量减少了2倍,具有类似或更好的准确性。我们还表明,RAN-i在基于Arm的数据中心CPU上实现的FPS比ConvNext高出近40%。最后,与基于ConvNext的模型相比,基于RAN-i的目标检测网络在数据中心CPU上实现了类似或更高的mAP和高达33%的FPS。训练和评估RAN的代码以及预训练的网络可在https://github.com/ARM-software/ML-restructurable-activation-networks获得。

英文摘要:

Is it possible to restructure the non-linear activation functions in a deep network to create hardware-efficient models? To address this question, we propose a new paradigm called Restructurable Activation Networks (RANs) that manipulate the amount of non-linearity in models to improve their hardware-awareness and efficiency. First, we propose RAN-explicit (RAN-e) -- a new hardware-aware search space and a semi-automatic search algorithm -- to replace inefficient blocks with hardware-aware blocks. Next, we propose a training-free model scaling method called RAN-implicit (RAN-i) where we theoretically prove the link between network topology and its expressivity in terms of number of non-linear units. We demonstrate that our networks achieve state-of-the-art results on ImageNet at different scales and for several types of hardware. For example, compared to EfficientNet-Lite-B0, RAN-e achieves a similar accuracy while improving Frames-Per-Second (FPS) by 1.5x on Arm micro-NPUs. On the other hand, RAN-i demonstrates up to 2x reduction in #MACs over ConvNexts with a similar or better accuracy. We also show that RAN-i achieves nearly 40% higher FPS than ConvNext on Arm-based datacenter CPUs. Finally, RAN-i based object detection networks achieve a similar or higher mAP and up to 33% higher FPS on datacenter CPUs compared to ConvNext based models. The code to train and evaluate RANs and the pretrained networks are available at https://github.com/ARM-software/ML-restructurable-activation-networks.

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

↑