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

面向同质边缘设备的DNN压缩

Hardware-Aware DNN Compression for Homogeneous Edge Devices

Department of Computer Science and Engineering, Southern University of Science and Technology(南方科技大学计算机科学与工程系);Pengcheng Laboratory(鹏城实验室)

Kunlong Zhang, Guiying Li, Ning Lu, Peng Yang, Ke Tang

AI总结:

HDAP通过硬件感知方法优化同质边缘设备的DNN压缩,实现更高效的模型部署和更低的推理延迟。

摘要:

在同质边缘设备上部署深度神经网络(DNN)通常假设设备性能相同。然而,一旦设备模型被广泛部署,经过一段时间运行后,每个设备的性能会因用户配置、环境条件、制造差异、电池老化等因素而不同。现有的DNN压缩方法没有考虑这一场景,无法在所有同质边缘设备上保证良好的压缩效果。为此,我们提出了面向同质设备的剪枝(Homogeneous-Device Aware Pruning,HDAP),这是一个专门为同质边缘设备设计的硬件感知DNN压缩框架,旨在实现压缩模型在所有设备上的最优平均性能。为了解决对数万或数百万同质边缘设备进行硬件感知评估耗时的问题,HDAP将所有设备分成几个设备集群,这可以显著减少需要评估的设备数量,并在实时情况下使用替代评估而不是硬件评估。在ResNet50和MobileNetV1与ImageNet数据集上的实验表明,HDAP在同质设备集群上 consistently 实现了比最先进方法更低的平均推理延迟,具有显著的加速收益(例如,ResNet50在1.0G FLOPs时的加速收益为2.86×)。HDAP为同质边缘设备的可扩展、高性能DNN部署方法提供了有效解决方案。

英文摘要:

Deploying deep neural networks (DNNs) across homogeneous edge devices (the devices with the same SKU labeled by the manufacturer) often assumes identical performance among them. However, once a device model is widely deployed, the performance of each device becomes different after a period of running. This is caused by the differences in user configurations, environmental conditions, manufacturing variances, battery degradation, etc. Existing DNN compression methods have not taken this scenario into consideration and can not guarantee good compression results in all homogeneous edge devices. To address this, we propose Homogeneous-Device Aware Pruning (HDAP), a hardware-aware DNN compression framework explicitly designed for homogeneous edge devices, aiming to achieve optimal average performance of the compressed model across all devices. To deal with the difficulty of time-consuming hardware-aware evaluations for thousands or millions of homogeneous edge devices, HDAP partitions all the devices into several device clusters, which can dramatically reduce the number of devices to evaluate and use the surrogate-based evaluation instead of hardware evaluation in real-time. Experiments on ResNet50 and MobileNetV1 with the ImageNet dataset show that HDAP consistently achieves lower average inference latency compared with state-of-the-art methods, with substantial speedup gains (e.g., 2.86 $\times$ speedup at 1.0G FLOPs for ResNet50) on the homogeneous device clusters. HDAP offers an effective solution for scalable, high-performance DNN deployment methods for homogeneous edge devices.

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

↑