DeepIoT: Compressing Deep Neural Network Structures for Sensing Systems with a Compressor-Critic Framework

Shuochao Yao, Yiran Zhao, Aston Zhang, Lu Su, T. Abdelzaher
{"title":"DeepIoT: Compressing Deep Neural Network Structures for Sensing Systems with a Compressor-Critic Framework","authors":"Shuochao Yao, Yiran Zhao, Aston Zhang, Lu Su, T. Abdelzaher","doi":"10.1145/3131672.3131675","DOIUrl":null,"url":null,"abstract":"Recent advances in deep learning motivate the use of deep neutral networks in sensing applications, but their excessive resource needs on constrained embedded devices remain an important impediment. A recently explored solution space lies in compressing (approximating or simplifying) deep neural networks in some manner before use on the device. We propose a new compression solution, called DeepIoT, that makes two key contributions in that space. First, unlike current solutions geared for compressing specific types of neural networks, DeepIoT presents a unified approach that compresses all commonly used deep learning structures for sensing applications, including fully-connected, convolutional, and recurrent neural networks, as well as their combinations. Second, unlike solutions that either sparsify weight matrices or assume linear structure within weight matrices, DeepIoT compresses neural network structures into smaller dense matrices by finding the minimum number of non-redundant hidden elements, such as filters and dimensions required by each layer, while keeping the performance of sensing applications the same. Importantly, it does so using an approach that obtains a global view of parameter redundancies, which is shown to produce superior compression. The compressed model generated by DeepIoT can directly use existing deep learning libraries that run on embedded and mobile systems without further modifications. We conduct experiments with five different sensing-related tasks on Intel Edison devices. DeepIoT outperforms all compared baseline algorithms with respect to execution time and energy consumption by a significant margin. It reduces the size of deep neural networks by 90% to 98.9%. It is thus able to shorten execution time by 71.4% to 94.5%, and decrease energy consumption by 72.2% to 95.7%. These improvements are achieved without loss of accuracy. The results underscore the potential of DeepIoT for advancing the exploitation of deep neural networks on resource-constrained embedded devices.","PeriodicalId":424262,"journal":{"name":"Proceedings of the 15th ACM Conference on Embedded Network Sensor Systems","volume":"61 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2017-06-05","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"163","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the 15th ACM Conference on Embedded Network Sensor Systems","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3131672.3131675","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 163

Abstract

Recent advances in deep learning motivate the use of deep neutral networks in sensing applications, but their excessive resource needs on constrained embedded devices remain an important impediment. A recently explored solution space lies in compressing (approximating or simplifying) deep neural networks in some manner before use on the device. We propose a new compression solution, called DeepIoT, that makes two key contributions in that space. First, unlike current solutions geared for compressing specific types of neural networks, DeepIoT presents a unified approach that compresses all commonly used deep learning structures for sensing applications, including fully-connected, convolutional, and recurrent neural networks, as well as their combinations. Second, unlike solutions that either sparsify weight matrices or assume linear structure within weight matrices, DeepIoT compresses neural network structures into smaller dense matrices by finding the minimum number of non-redundant hidden elements, such as filters and dimensions required by each layer, while keeping the performance of sensing applications the same. Importantly, it does so using an approach that obtains a global view of parameter redundancies, which is shown to produce superior compression. The compressed model generated by DeepIoT can directly use existing deep learning libraries that run on embedded and mobile systems without further modifications. We conduct experiments with five different sensing-related tasks on Intel Edison devices. DeepIoT outperforms all compared baseline algorithms with respect to execution time and energy consumption by a significant margin. It reduces the size of deep neural networks by 90% to 98.9%. It is thus able to shorten execution time by 71.4% to 94.5%, and decrease energy consumption by 72.2% to 95.7%. These improvements are achieved without loss of accuracy. The results underscore the potential of DeepIoT for advancing the exploitation of deep neural networks on resource-constrained embedded devices.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
DeepIoT:压缩传感器系统的深度神经网络结构与压缩临界框架
深度学习的最新进展推动了深度神经网络在传感应用中的应用,但它们对受限嵌入式设备的过度资源需求仍然是一个重要的障碍。最近探索的解决方案空间在于在设备上使用之前以某种方式压缩(近似或简化)深度神经网络。我们提出了一种新的压缩解决方案,称为DeepIoT,它在该领域做出了两个关键贡献。首先,与目前用于压缩特定类型神经网络的解决方案不同,DeepIoT提供了一种统一的方法,可以压缩所有用于传感应用的常用深度学习结构,包括全连接、卷积和循环神经网络,以及它们的组合。其次,与稀疏化权重矩阵或在权重矩阵中假设线性结构的解决方案不同,DeepIoT通过寻找最小数量的非冗余隐藏元素(如滤波器和每层所需的维度)将神经网络结构压缩成更小的密集矩阵,同时保持传感应用的性能相同。重要的是,它使用了一种方法来获得参数冗余的全局视图,这被证明可以产生更好的压缩。DeepIoT生成的压缩模型可以直接使用在嵌入式和移动系统上运行的现有深度学习库,无需进一步修改。我们在英特尔爱迪生设备上进行了五种不同的传感相关任务的实验。在执行时间和能耗方面,DeepIoT大大优于所有比较的基线算法。它将深度神经网络的大小减少了90%到98.9%。因此,它能够将执行时间缩短71.4%至94.5%,并将能耗降低72.2%至95.7%。这些改进是在不损失准确性的情况下实现的。研究结果强调了DeepIoT在资源受限的嵌入式设备上推进深度神经网络开发的潜力。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Stalwart: a Predictable Reliable Adaptive and Low-latency Real-time Wireless Protocol SmartLight: Light-weight 3D Indoor Localization Using a Single LED Lamp UWB-based Single-anchor Low-cost Indoor Localization System Hierarchical Subchannel Allocation for Mode-3 Vehicle-to-Vehicle Sidelink Communications Taming Link-layer Heterogeneity in IoT through Interleaving Multiple Link-Layers over a Single Radio
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1