Adaptive Neural Networks for Efficient Inference

被引:0
|
作者
Bolukbasi, Tolga [1 ]
Wang, Joseph [2 ]
Dekel, Ofer [3 ]
Saligrama, Venkatesh [1 ]
机构
[1] Boston Univ, Boston, MA 02215 USA
[2] Amazon, Cambridge, MA USA
[3] Microsoft Res, Redmond, WA USA
关键词
D O I
暂无
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
We present an approach to adaptively utilize deep neural networks in order to reduce the evaluation time on new examples without loss of accuracy. Rather than attempting to redesign or approximate existing networks, we propose two schemes that adaptively utilize networks. We first pose an adaptive network evaluation scheme, where we learn a system to adaptively choose the components of a deep network to be evaluated for each example. By allowing examples correctly classified using early layers of the system to exit, we avoid the computational time associated with full evaluation of the network. We extend this to learn a network selection system that adaptively selects the network to be evaluated for each example. We show that computational time can be dramatically reduced by exploiting the fact that many examples can be correctly classified using relatively efficient networks and that complex, computationally costly networks are only necessary for a small fraction of examples. We pose a global objective for learning an adaptive early exit or network selection policy and solve it by reducing the policy learning problem to a layerby-layer weighted binary classification problem. Empirically, these approaches yield dramatic reductions in computational cost, with up to a 2.8x speedup on state-of-the-art networks from the ImageNet image recognition challenge with minimal (< 1%) loss of top5 accuracy.
引用
收藏
页数:10
相关论文
共 50 条
  • [1] Private Inference for Deep Neural Networks: A Secure, Adaptive, and Efficient Realization
    Cheng, Ke
    Xi, Ning
    Liu, Ximeng
    Zhu, Xinghui
    Gao, Haichang
    Zhang, Zhiwei
    Shen, Yulong
    [J]. IEEE TRANSACTIONS ON COMPUTERS, 2023, 72 (12) : 3519 - 3531
  • [2] Efficient bayes inference in neural networks through adaptive importance sampling
    Huang, Yunshi
    Chouzenoux, Emilie
    Elvira, Victor
    Pesquet, Jean-Christophe
    [J]. JOURNAL OF THE FRANKLIN INSTITUTE-ENGINEERING AND APPLIED MATHEMATICS, 2023, 360 (16): : 12125 - 12149
  • [3] Resolution Adaptive Networks for Efficient Inference
    Yang, Le
    Han, Yizeng
    Chen, Xi
    Song, Shiji
    Dai, Jifeng
    Huang, Gao
    [J]. 2020 IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR), 2020, : 2366 - 2375
  • [4] Efficient adaptive inference for deep convolutional neural networks using hierarchical early exits
    Passalis, Nikolaos
    Raitoharju, Jenni
    Tefas, Anastasios
    Gabbouj, Moncef
    [J]. PATTERN RECOGNITION, 2020, 105
  • [5] Probabilistic Bayesian Neural Networks for Efficient Inference
    Ishak, Md
    Alawad, Mohammed
    [J]. PROCEEDING OF THE GREAT LAKES SYMPOSIUM ON VLSI 2024, GLSVLSI 2024, 2024, : 724 - 729
  • [6] Weightless Neural Networks for Efficient Edge Inference
    Susskind, Zachary
    Arora, Aman
    Miranda, Igor D. S.
    Villon, Luis A. Q.
    Katopodis, Rafael F.
    de Araujo, Leandro S.
    Dutra, Diego L. C.
    Lima, Priscila M. V.
    Franca, Felipe M. G.
    Breternitz, Mauricio, Jr.
    John, Lizy K.
    [J]. PROCEEDINGS OF THE 2022 31ST INTERNATIONAL CONFERENCE ON PARALLEL ARCHITECTURES AND COMPILATION TECHNIQUES, PACT 2022, 2022, : 279 - 290
  • [7] Multi-scale adaptive networks for efficient inference
    Li, Linfeng
    Su, Weixing
    Liu, Fang
    He, Maowei
    Liang, Xiaodan
    [J]. INTERNATIONAL JOURNAL OF MACHINE LEARNING AND CYBERNETICS, 2024, 15 (02) : 267 - 282
  • [8] Multi-scale adaptive networks for efficient inference
    Linfeng Li
    Weixing Su
    Fang Liu
    Maowei He
    Xiaodan Liang
    [J]. International Journal of Machine Learning and Cybernetics, 2024, 15 : 267 - 282
  • [9] Binarized Convolutional Neural Networks for Efficient Inference on GPUs
    Khan, Mir
    Huttunen, Heikki
    Boutellier, Jani
    [J]. 2018 26TH EUROPEAN SIGNAL PROCESSING CONFERENCE (EUSIPCO), 2018, : 682 - 686
  • [10] COMPRESSING DEEP NEURAL NETWORKS FOR EFFICIENT VISUAL INFERENCE
    Ge, Shiming
    Luo, Zhao
    Zhao, Shengwei
    Jin, Xin
    Zhang, Xiao-Yu
    [J]. 2017 IEEE INTERNATIONAL CONFERENCE ON MULTIMEDIA AND EXPO (ICME), 2017, : 667 - 672