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

通过初始化时的结构化剪枝实现面向边缘计算的深度神经网络快速部署

Rapid Deployment of DNNs for Edge Computing via Structured Pruning at Initialization

School of Computer Science, University of St Andrews(圣安德鲁斯大学计算机学院);Rakuten Mobile, Inc.(乐天移动公司)

Bailey J. Eccles, Leon Wong, Blesson Varghese

AI总结:

本文提出初始化时结构化剪枝系统Reconvene,通过识别并剪除对结构化剪枝最不敏感的卷积层,在数秒内生成体积缩小最高16.21倍、速度提升2倍且精度不变的边缘部署DNN模型。

摘要:

边缘机器学习(ML)能够在设备上对数据进行本地化处理,并以深度神经网络(DNN)为基础。然而,由于DNN在提供与云端机器学习相当的性能时需要大量的计算、内存和能耗,因此难以直接在设备上运行。为此,人们考虑了模型压缩技术,例如剪枝。现有的剪枝方法在边缘机器学习中存在以下问题:(1)生成的压缩模型要么在运行时性能收益有限(使用非结构化剪枝),要么损害最终模型精度(使用结构化剪枝);(2)需要大量计算资源和时间来寻找合适的压缩DNN模型(使用神经架构搜索)。在本文中,我们探索了一条新途径,称为初始化时剪枝(Pruning-at-Initialization,PaI),利用结构化剪枝来缓解上述问题。我们开发了Reconvene,这是一个利用结构化PaI快速生成适用于边缘部署的剪枝模型的系统。Reconvene系统性地识别并剪枝对结构化剪枝最不敏感的DNN卷积层。Reconvene能够在数秒内快速生成剪枝后的DNN,其体积最多可缩小16.21倍,速度提升2倍,同时保持与非结构化PaI对应方法相同的精度。

英文摘要:

Edge machine learning (ML) enables localized processing of data on devices and is underpinned by deep neural networks (DNNs). However, DNNs cannot be easily run on devices due to their substantial computing, memory and energy requirements for delivering performance that is comparable to cloud-based ML. Therefore, model compression techniques, such as pruning, have been considered. Existing pruning methods are problematic for edge ML since they: (1) Create compressed models that have limited runtime performance benefits (using unstructured pruning) or compromise the final model accuracy (using structured pruning), and (2) Require substantial compute resources and time for identifying a suitable compressed DNN model (using neural architecture search). In this paper, we explore a new avenue, referred to as Pruning-at-Initialization (PaI), using structured pruning to mitigate the above problems. We develop Reconvene, a system for rapidly generating pruned models suited for edge deployments using structured PaI. Reconvene systematically identifies and prunes DNN convolution layers that are least sensitive to structured pruning. Reconvene rapidly creates pruned DNNs within seconds that are up to 16.21x smaller and 2x faster while maintaining the same accuracy as an unstructured PaI counterpart.

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

↑