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

CPrune:用于高效目标感知DNN执行的决策者通知模型修剪

CPrune: Compiler-Informed Model Pruning for Efficient Target-Aware DNN Execution

University of Colorado Boulder(科罗拉多大学博尔德分校);Electronics and Telecommunications Research Institute(电子与电信研究所)

Taeho Kim, Yongin Kwon, Jemin Lee, Taeho Kim, Sangtae Ha

摘要:

移动设备出于各种目的运行深度学习模型,例如图像分类和语音识别。由于移动设备的资源限制,研究人员专注于使用模型修剪来制作轻量级深度神经网络(DNN)模型,或者使用编译器优化来生成高效的代码。令人惊讶的是,我们发现模型压缩和编译器自动调优之间的直接集成通常不会为目标设备生成最有效的模型。我们提出了CPrune,这是一种编译器通知的模型修剪,用于高效的目标感知DNN执行,以支持具有所需目标精度的应用程序。CPrune基于编译器调优过程中构建的子图的结构信息,通过知情修剪来构建轻量级DNN模型。我们的实验结果表明,与最先进的TVM自动调整相比,CPrune将DNN的执行速度提高了2.73倍,同时满足精度要求。

英文摘要:

Mobile devices run deep learning models for various purposes, such as image classification and speech recognition. Due to the resource constraints of mobile devices, researchers have focused on either making a lightweight deep neural network (DNN) model using model pruning or generating an efficient code using compiler optimization. Surprisingly, we found that the straightforward integration between model compression and compiler auto-tuning often does not produce the most efficient model for a target device. We propose CPrune, a compiler-informed model pruning for efficient target-aware DNN execution to support an application with a required target accuracy. CPrune makes a lightweight DNN model through informed pruning based on the structural information of subgraphs built during the compiler tuning process. Our experimental results show that CPrune increases the DNN execution speed up to 2.73x compared to the state-of-the-art TVM auto-tune while satisfying the accuracy requirement.

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

↑