RT3D: Achieving Real-Time Execution of 3D Convolutional Neural Networks on Mobile Devices

被引:0
|
作者
Niu, Wei [1 ]
Sun, Mengshu [2 ]
Li, Zhengang [2 ]
Chen, Jou-An [3 ]
Guan, Jiexiong [1 ]
Shen, Xipeng [3 ]
Wang, Yanzhi [2 ]
Liu, Sijia [4 ]
Lin, Xue [2 ]
Ren, Bin [1 ]
机构
[1] William & Mary, Williamsburg, VA 23185 USA
[2] Northeastern Univ, Boston, MA 02115 USA
[3] North Carolina State Univ, Raleigh, NC 27695 USA
[4] Michigan State Univ, E Lansing, MI 48824 USA
基金
美国国家科学基金会;
关键词
D O I
暂无
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Mobile devices are becoming an important carrier for deep learning tasks, as they are being equipped with powerful, high-end mobile CPUs and GPUs. However, it is still a challenging task to execute 3D Convolutional Neural Networks (CNNs) targeting for real-time performance, besides high inference accuracy. The reason is more complex model structure and higher model dimensionality overwhelm the available computation/storage resources on mobile devices. A natural way may be turning to deep learning weight pruning techniques. However, the direct generalization of existing 2D CNN weight pruning methods to 3D CNNs is not ideal for fully exploiting mobile parallelism while achieving high inference accuracy. This paper proposes RT3D, a model compression and mobile acceleration framework for 3D CNNs, seamlessly integrating neural network weight pruning and compiler code generation techniques. We propose and investigate two structured sparsity schemes i.e., the vanilla structured sparsity and kernel group structured (KGS) sparsity that are mobile acceleration friendly. The vanilla sparsity removes whole kernel groups, while KGS sparsity is a more fine-grained structured sparsity that enjoys higher flexibility while exploiting full on-device parallelism. We propose a reweighted regularization pruning algorithm to achieve the proposed sparsity schemes. The inference time speedup due to sparsity is approaching the pruning rate of the whole model FLOPs (floating point operations). RT3D demonstrates up to 29.1 x speedup in end-to-end inference time comparing with current mobile frameworks supporting 3D CNNs, with moderate 1% similar to 1.5% accuracy loss. The endto-end inference time for 16 video frames could be within 150 ms, when executing representative C3D and R(2+1)D models on a cellphone. For the first time, real-time execution of 3D CNNs is achieved on off-the-shelf mobiles.
引用
收藏
页码:9179 / 9187
页数:9
相关论文
共 50 条
  • [31] Real-Time Video Saliency Prediction Via 3D Residual Convolutional Neural Network
    Sun, Zhenhao
    Wang, Xu
    Zhang, Qiudan
    Jiang, Jianmin
    IEEE ACCESS, 2019, 7 : 147743 - 147754
  • [32] 3D Parallel Fully Convolutional Networks for Real-Time Video Wildfire Smoke Detection
    Li, Xiuqing
    Chen, Zhenxue
    Wu, Q. M. Jonathan
    Liu, Chengyun
    IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS FOR VIDEO TECHNOLOGY, 2020, 30 (01) : 89 - 103
  • [33] Real-Time 3D Indoor Positioning with Human Activity Transition Recognition on Mobile Devices
    Liang, Wendi
    Wang, Zewei
    Guo, Sheng
    Pun, Man-On
    ICC 2024 - IEEE INTERNATIONAL CONFERENCE ON COMMUNICATIONS, 2024, : 873 - 878
  • [34] Sequentially-trained, Shallow Neural Networks for Real-time 3D Odometry
    Rodriguez, Frank
    Muminov, Baurzhan
    Vuong, Luat T.
    ARTIFICIAL INTELLIGENCE FOR SECURITY AND DEFENCE APPLICATIONS, 2023, 12742
  • [35] Optimal control for real-time visualization and 3D rendering using neural networks
    Yuan, YW
    Zhan, HH
    Yan, LM
    PROCEEDINGS OF THE 2004 INTERNATIONAL CONFERENCE ON MACHINE LEARNING AND CYBERNETICS, VOLS 1-7, 2004, : 3460 - 3463
  • [36] Mobile3DRecon: Real-time Monocular 3D Reconstruction on a Mobile Phone
    Yang, Xingbin
    Zhou, Liyang
    Jiang, Hanqing
    Tang, Zhongliang
    Wang, Yuanbo
    Bao, Hujun
    Zhang, Guofeng
    IEEE TRANSACTIONS ON VISUALIZATION AND COMPUTER GRAPHICS, 2020, 26 (12) : 3446 - 3456
  • [37] 3D CONVOLUTIONAL NEURAL NETWORKS BY MODAL FUSION
    Yoshiyasu, Yusuke
    Yoshida, Eiichi
    Pirk, Soeren
    Guibas, Leonidas
    2017 24TH IEEE INTERNATIONAL CONFERENCE ON IMAGE PROCESSING (ICIP), 2017, : 1777 - 1781
  • [38] Disparity Filtering with 3D Convolutional Neural Networks
    Mao, Wendong
    Gong, Minglun
    2018 15TH CONFERENCE ON COMPUTER AND ROBOT VISION (CRV), 2018, : 246 - 253
  • [39] TOWARDS 3D CONVOLUTIONAL NEURAL NETWORKS WITH MESHES
    Dominguez, Miguel
    Such, Felipe Petroski
    Sah, Shagan
    Ptucha, Raymond
    2017 24TH IEEE INTERNATIONAL CONFERENCE ON IMAGE PROCESSING (ICIP), 2017, : 3929 - 3933
  • [40] 3D GESTURE CLASSIFICATION WITH CONVOLUTIONAL NEURAL NETWORKS
    Duffner, Stefan
    Berlemont, Samuel
    Lefebvre, Gregoire
    Garcia, Christophe
    2014 IEEE INTERNATIONAL CONFERENCE ON ACOUSTICS, SPEECH AND SIGNAL PROCESSING (ICASSP), 2014,