Efficient Neural Network Pruning Using Model-Based Reinforcement Learning

被引:2
作者
Bencsik, Blanka [1 ]
Szemenyei, Marton [1 ]
机构
[1] Budapest Univ Technol & Econ, Dept Control Engn & Informat Technol, Budapest, Hungary
来源
2022 INTERNATIONAL SYMPOSIUM ON MEASUREMENT AND CONTROL IN ROBOTICS (ISMCR) | 2022年
关键词
Computer Vision; Neural Networks; Pruning; Object Detection; Reinforcement Learning;
D O I
10.1109/ISMCR56534.2022.9950598
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Model compression plays a vital role in the deployment of neural networks (NNs) in resource-constrained devices. Rule-based conventional NN pruning is sub-optimal due to the enormous design space that cannot be examined entirely by hand. To overcome this issue, automated NN pruning leverages a reinforcement learning agent to automatically find the best combination of parameters to be removed from a given model. We propose a novel RL-based automated pruning algorithm that, unlike existing RL-based methods, determines the environmental variables using a State Predictor Network as a simulated environment instead of validating the pruned model in run time. Testing our method on the YOLOv4 detector, a model with 49 % sparsity was produced with 7.2 % higher mAP. This result outperforms our handcrafted pruning methods for YOLOv4 by 2.3 % mAP and 17.1 % sparsity. Regarding total development time, our method is 146.2 times faster than the state-of-the-art PuRL method using NVIDIA Titan X GPU. The implementation of the proposed solution is available at: https://github.com/bencsikb/Efficient RLPruning
引用
收藏
页码:130 / 137
页数:8
相关论文
共 18 条
[1]  
Blalock Davis, 2020, 4 C MACHINE LEARNING
[2]  
Bochkovskiy A, 2020, Arxiv, DOI arXiv:2004.10934
[3]  
Cai Yuxuan, 2021, YOLOBILE REAL TIME O
[4]   Vision meets robotics: The KITTI dataset [J].
Geiger, A. ;
Lenz, P. ;
Stiller, C. ;
Urtasun, R. .
INTERNATIONAL JOURNAL OF ROBOTICS RESEARCH, 2013, 32 (11) :1231-1237
[5]  
Gupta Manas, 2020, LEARNING PRUNE DEEP
[6]  
Han S, 2015, ADV NEUR IN, V28
[7]   Bag of Tricks for Image Classification with Convolutional Neural Networks [J].
He, Tong ;
Zhang, Zhi ;
Zhang, Hang ;
Zhang, Zhongyue ;
Xie, Junyuan ;
Li, Mu .
2019 IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR 2019), 2019, :558-567
[8]  
He Y., 2018, EUROPEAN C COMPUTER
[9]   Channel Pruning for Accelerating Very Deep Neural Networks [J].
He, Yihui ;
Zhang, Xiangyu ;
Sun, Jian .
2017 IEEE INTERNATIONAL CONFERENCE ON COMPUTER VISION (ICCV), 2017, :1398-1406
[10]  
King DB, 2015, ACS SYM SER, V1214, P1, DOI 10.1021/bk-2015-1214.ch001