Pruning Filters and Classes: Towards On-Device Customization of Convolutional Neural Networks

EMDL '17 Pub Date : 2017-06-23 DOI:10.1145/3089801.3089806
Jia Guo, M. Potkonjak
{"title":"Pruning Filters and Classes: Towards On-Device Customization of Convolutional Neural Networks","authors":"Jia Guo, M. Potkonjak","doi":"10.1145/3089801.3089806","DOIUrl":null,"url":null,"abstract":"In recent years, we have witnessed more and more mobile applications based on deep learning. Widely used as they may be, those applications provide little flexibility to cater to the diversified needs of different groups of users. For users facing a classification problem, it is natural that some classes are more important to them, while the rest are not. We thus propose a lightweight method that allows users to prune the unneeded classes together with associated filters from convolutional neural networks (CNNs). Such customization can result in substantial reduction in computational costs at test time. Early results have shown that after pruning the Network-in-Network (NIN) model on CIFAR-10 dataset\\cite{lim2013network} down to a 5-class classifier, we can trade a 3\\% loss in accuracy for a 1.63$\\times$ gain in energy consumption and a 1.24$\\times$ improvement in latency when experimenting on an off-the-shelf smartphone, while the procedure incurs with very little overhead. After pruning, the custom-tailored model can still achieve a higher classification accuracy than the unmodified classifier because of a smaller problem space that more accurately reflects users' needs.","PeriodicalId":125567,"journal":{"name":"EMDL '17","volume":"14 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2017-06-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"14","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"EMDL '17","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3089801.3089806","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 14

Abstract

In recent years, we have witnessed more and more mobile applications based on deep learning. Widely used as they may be, those applications provide little flexibility to cater to the diversified needs of different groups of users. For users facing a classification problem, it is natural that some classes are more important to them, while the rest are not. We thus propose a lightweight method that allows users to prune the unneeded classes together with associated filters from convolutional neural networks (CNNs). Such customization can result in substantial reduction in computational costs at test time. Early results have shown that after pruning the Network-in-Network (NIN) model on CIFAR-10 dataset\cite{lim2013network} down to a 5-class classifier, we can trade a 3\% loss in accuracy for a 1.63$\times$ gain in energy consumption and a 1.24$\times$ improvement in latency when experimenting on an off-the-shelf smartphone, while the procedure incurs with very little overhead. After pruning, the custom-tailored model can still achieve a higher classification accuracy than the unmodified classifier because of a smaller problem space that more accurately reflects users' needs.
修剪滤波器和类:面向设备上定制的卷积神经网络
近年来,我们见证了越来越多基于深度学习的移动应用。尽管这些应用程序可能被广泛使用,但它们在满足不同用户群体的多样化需求方面提供的灵活性很小。对于面临分类问题的用户来说,有些类对他们来说更重要,而其他类则不是。因此,我们提出了一种轻量级的方法,允许用户从卷积神经网络(cnn)中修剪不需要的类以及相关的过滤器。这样的定制可以大大降低测试时的计算成本。早期的结果表明,在CIFAR-10数据集\cite{lim2013network}上将Network-in-Network (NIN)模型修剪为5类分类器后,在现成的智能手机上进行实验时,我们可以以3%的准确性损失换取1.63 $\times$的能耗增益和1.24 $\times$的延迟改进,而该过程的开销非常小。裁剪后的定制模型,由于问题空间更小,更准确地反映了用户的需求,因此仍然可以获得比未修改的分类器更高的分类精度。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信