arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1909.00948cs.CV
收藏

HarDNet:一种低内存流量网络

HarDNet: A Low Memory Traffic Network

National Tsing Hua University(国立清华大学);University of Michigan(密歇根大学)

Ping Chao, Chao-Yang Kao, Yu-Shan Ruan, Chien-Hsiang Huang, Youn-Long Lin

摘要:

最先进的神经网络架构,如ResNet、MobileNet和DenseNet,在低MAC和小模型大小的对等体上实现了出色的准确性。然而,这些度量对于预测推断时间可能不准确。我们认为,访问中间特征图的内存流量可以是一个因素主导的推理延迟,特别是在这样的任务,如实时目标检测和高分辨率视频的语义分割。我们提出了一个谐波密集连接网络,以实现高效率的低MAC和内存流量。与FC-DenseNet-103、DenseNet-264、ResNet-50、ResNet-152和SSD-VGG相比,新网络的推理时间分别减少了35%、36%、30%、32%和45%。我们使用包括Nvidia profiler和ARM Scale-Sim在内的工具来测量内存流量,并验证推理延迟确实与内存流量消耗成正比,并且所提出的网络消耗低内存流量。我们的结论是,在为边缘的高分辨率应用设计神经网络架构时,应该考虑内存流量。

英文摘要:

State-of-the-art neural network architectures such as ResNet, MobileNet, and DenseNet have achieved outstanding accuracy over low MACs and small model size counterparts. However, these metrics might not be accurate for predicting the inference time. We suggest that memory traffic for accessing intermediate feature maps can be a factor dominating the inference latency, especially in such tasks as real-time object detection and semantic segmentation of high-resolution video. We propose a Harmonic Densely Connected Network to achieve high efficiency in terms of both low MACs and memory traffic. The new network achieves 35%, 36%, 30%, 32%, and 45% inference time reduction compared with FC-DenseNet-103, DenseNet-264, ResNet-50, ResNet-152, and SSD-VGG, respectively. We use tools including Nvidia profiler and ARM Scale-Sim to measure the memory traffic and verify that the inference latency is indeed proportional to the memory traffic consumption and the proposed network consumes low memory traffic. We conclude that one should take memory traffic into consideration when designing neural network architectures for high-resolution applications at the edge.

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

↑