Flexi-Compression: A Flexible Model Compression Method for Autonomous Driving

Hantao Liu, Ying He, F. Yu, Jeremy James
{"title":"Flexi-Compression: A Flexible Model Compression Method for Autonomous Driving","authors":"Hantao Liu, Ying He, F. Yu, Jeremy James","doi":"10.1145/3479243.3487300","DOIUrl":null,"url":null,"abstract":"Benefiting from the rapid development of convolutional neural networks, computer vision-based autonomous driving technologies are gradually being deployed in vehicles. However, these neural networks typically have a large number of parameters and extremely high computational cost, making them difficult to deploy in autonomous vehicles with limited storage and computational power. In this paper, we propose an innovative model compression approach to compress convolutional neural networks in autonomous driving algorithms, which we call Flexi-Compression. Flexi-Compression first modifies the model structure by replacing the traditional convolutional layers with our proposed Flexi-CP module, thus reducing the computation of the convolutional layers. Then, we leverage knowledge distillation to enable the compressed model to quickly acquire the knowledge of the original model. In addition, we use a Flexi-Batch Normalization layer to prune the model and finally further reduce the model size by model quantization. We compress the VGG-16 network using our proposed model compression algorithm, which is a commonly used backbone network in autonomous driving algorithms. On the CIFAR-10 dataset, our compression method can reduce the parameters of the VGG-16 network by 86% and the computation by 87% with 4% loss of accuracy. To verify the effectiveness of our compression algorithm in real-world applications, we also compress an autonomous driving algorithm and achieve excellent performance.","PeriodicalId":300054,"journal":{"name":"Proceedings of the 11th ACM Symposium on Design and Analysis of Intelligent Vehicular Networks and Applications","volume":"71 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-11-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"4","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the 11th ACM Symposium on Design and Analysis of Intelligent Vehicular Networks and Applications","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3479243.3487300","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 4

Abstract

Benefiting from the rapid development of convolutional neural networks, computer vision-based autonomous driving technologies are gradually being deployed in vehicles. However, these neural networks typically have a large number of parameters and extremely high computational cost, making them difficult to deploy in autonomous vehicles with limited storage and computational power. In this paper, we propose an innovative model compression approach to compress convolutional neural networks in autonomous driving algorithms, which we call Flexi-Compression. Flexi-Compression first modifies the model structure by replacing the traditional convolutional layers with our proposed Flexi-CP module, thus reducing the computation of the convolutional layers. Then, we leverage knowledge distillation to enable the compressed model to quickly acquire the knowledge of the original model. In addition, we use a Flexi-Batch Normalization layer to prune the model and finally further reduce the model size by model quantization. We compress the VGG-16 network using our proposed model compression algorithm, which is a commonly used backbone network in autonomous driving algorithms. On the CIFAR-10 dataset, our compression method can reduce the parameters of the VGG-16 network by 86% and the computation by 87% with 4% loss of accuracy. To verify the effectiveness of our compression algorithm in real-world applications, we also compress an autonomous driving algorithm and achieve excellent performance.
柔性压缩:用于自动驾驶的柔性模型压缩方法
得益于卷积神经网络的快速发展,基于计算机视觉的自动驾驶技术正逐步应用于车辆。然而,这些神经网络通常具有大量的参数和极高的计算成本,这使得它们难以在存储和计算能力有限的自动驾驶汽车中部署。在本文中,我们提出了一种创新的模型压缩方法来压缩自动驾驶算法中的卷积神经网络,我们称之为flexible - compression。flex - compression首先修改了模型结构,用我们提出的flex - cp模块取代了传统的卷积层,从而减少了卷积层的计算量。然后,我们利用知识蒸馏使压缩模型能够快速获取原始模型的知识。此外,我们使用柔性批归一化层对模型进行修剪,最后通过模型量化进一步减小模型尺寸。我们使用我们提出的模型压缩算法压缩VGG-16网络,这是自动驾驶算法中常用的骨干网络。在CIFAR-10数据集上,我们的压缩方法可以将VGG-16网络的参数减少86%,计算量减少87%,精度损失4%。为了验证我们的压缩算法在实际应用中的有效性,我们还压缩了一个自动驾驶算法,并取得了优异的性能。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术官方微信
小红书