UCBEE: A Multi Armed Bandit Approach for Early-Exit in Neural Networks

被引:0
|
作者
Pacheco, Roberto G. [1 ]
Bajpai, Divya J. [2 ]
Shifrin, Mark [3 ]
Couto, Rodrigo S. [4 ]
Menasche, Daniel Sadoc [5 ]
Hanawal, Manjesh K. [2 ]
Campista, Miguel Elias M. [4 ]
机构
[1] Univ Fed Fluminense, Comp Sci Dept, BR-28895532 Rio das Ostras, Brazil
[2] Indian Inst Technol, Dept Ind Engn & Operat Res, Mumbai 400076, India
[3] Ben Gurion Univ Negev, Sch Elect & Comp Engn, IL-8410501 Beer Sheva, Israel
[4] Univ Fed Rio de Janeiro, Elect & Comp Engn Dept, BR-21941901 Rio De Janeiro, Brazil
[5] Univ Fed Rio de Janeiro, Inst Comp, BR-21941901 Rio De Janeiro, Brazil
基金
巴西圣保罗研究基金会;
关键词
Image classification; Image edge detection; Distortion; Accuracy; Performance evaluation; Classification algorithms; Delays; Proposals; Neural networks; Natural language processing; Multi armed bandits; early-exit; natural language processing; image classification;
D O I
10.1109/TNSM.2024.3479076
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Deep Neural Networks (DNNs) have demonstrated exceptional performance in diverse tasks. However, deploying DNNs on resource-constrained devices presents challenges due to energy consumption and delay overheads. To mitigate these issues, early-exit DNNs (EE-DNNs) incorporate exit branches within intermediate layers to enable early inferences. These branches estimate prediction confidence and employ a fixed threshold to determine early termination. Nonetheless, fixed thresholds yield suboptimal performance in dynamic contexts, where context refers to distortions caused by environmental conditions, in image classification, or variations in input distribution due to concept drift, in NLP. In this article, we introduce Upper Confidence Bound in EE-DNNs (UCBEE), an online algorithm that dynamically adjusts early exit thresholds based on context. UCBEE leverages confidence levels at intermediate layers and learns without the need for true labels. Through extensive experiments in image classification and NLP, we demonstrate that UCBEE achieves logarithmic regret, converging after just a few thousand observations across multiple contexts. We evaluate UCBEE for image classification and text mining. In the latter, we show that UCBEE can reduce cumulative regret and lower latency by approximately 10%-20% without compromising accuracy when compared to fixed threshold alternatives. Our findings highlight UCBEE as an effective method for enhancing EE-DNN efficiency.
引用
收藏
页码:107 / 120
页数:14
相关论文
共 50 条
  • [1] Early-Exit Neural Networks with Nested Prediction Sets
    Jazbec, Metod
    Forre, Patrick
    Mandt, Stephan
    Zhang, Dan
    Nalisnick, Eric
    UNCERTAINTY IN ARTIFICIAL INTELLIGENCE, 2024, 244 : 1780 - 1796
  • [2] Early-Exit with Class Exclusion for Efficient Inference of Neural Networks
    Wang, Jingcun
    Li, Bing
    Zhang, Grace Li
    2024 IEEE 6TH INTERNATIONAL CONFERENCE ON AI CIRCUITS AND SYSTEMS, AICAS 2024, 2024, : 263 - 267
  • [3] SEENN: Towards Temporal Spiking Early-Exit Neural Networks
    Li, Yuhang
    Geller, Tamar
    Kim, Youngeun
    Panda, Priyadarshini
    ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS 36 (NEURIPS 2023), 2023,
  • [4] Towards Edge Computing Using Early-Exit Convolutional Neural Networks
    Pacheco, Roberto G.
    Bochie, Kaylani
    Gilbert, Mateus S.
    Couto, Rodrigo S.
    Campista, Miguel Elias M.
    INFORMATION, 2021, 12 (10)
  • [5] AdaEE: Adaptive Early-Exit DNN Inference Through Multi-Armed Bandits
    Pacheco, Roberto G.
    Shifrin, Mark
    Couto, Rodrigo S.
    Menasche, Daniel S.
    Hanawal, Manjesh K.
    Campista, Miguel Elias M.
    ICC 2023-IEEE INTERNATIONAL CONFERENCE ON COMMUNICATIONS, 2023, : 3726 - 3731
  • [6] AdaDet: An Adaptive Object Detection System Based on Early-Exit Neural Networks
    Yang, Le
    Zheng, Ziwei
    Wang, Jian
    Song, Shiji
    Huang, Gao
    Li, Fan
    IEEE TRANSACTIONS ON COGNITIVE AND DEVELOPMENTAL SYSTEMS, 2024, 16 (01) : 332 - 345
  • [7] ClassyNet: Class-Aware Early-Exit Neural Networks for Edge Devices
    Ayyat, Mohammed
    Nadeem, Tamer
    Krawczyk, Bartosz
    IEEE INTERNET OF THINGS JOURNAL, 2024, 11 (09): : 15113 - 15127
  • [8] Early-exit deep neural networks for distorted images: providing an efficient edge offloading
    Pacheco, Roberto G.
    Oliveira, Fernanda D. V. R.
    Couto, Rodrigo S.
    2021 IEEE GLOBAL COMMUNICATIONS CONFERENCE (GLOBECOM), 2021,
  • [9] A multi-armed bandit approach for exploring partially observed networks
    Kaushalya Madhawa
    Tsuyoshi Murata
    Applied Network Science, 4
  • [10] A multi-armed bandit approach for exploring partially observed networks
    Madhawa, Kaushalya
    Murata, Tsuyoshi
    APPLIED NETWORK SCIENCE, 2019, 4 (01)