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 条
  • [41] A Multi-Armed Bandit Approach to Wireless Information and Power Transfer
    Xing, Yuan
    Qian, Yuchen
    Dong, Liang
    IEEE COMMUNICATIONS LETTERS, 2020, 24 (04) : 886 - 889
  • [42] A Bayesian Multi-armed Bandit Approach for Identifying Human Vulnerabilities
    Miehling, Erik
    Xiao, Baicen
    Poovendran, Radha
    Basar, Tamer
    DECISION AND GAME THEORY FOR SECURITY, GAMESEC 2018, 2018, 11199 : 521 - 539
  • [43] Multi-Armed Bandit for Species Discovery: A Bayesian Nonparametric Approach
    Battiston, Marco
    Favaro, Stefano
    Teh, Yee Whye
    JOURNAL OF THE AMERICAN STATISTICAL ASSOCIATION, 2018, 113 (521) : 455 - 466
  • [44] A Batched Multi-Armed Bandit Approach to News Headline Testing
    Mao, Yizhi
    Chen, Miao
    Wagle, Abhinav
    Pan, Junwei
    Natkovich, Michael
    Matheson, Don
    2018 IEEE INTERNATIONAL CONFERENCE ON BIG DATA (BIG DATA), 2018, : 1966 - 1973
  • [45] A Multi-armed Bandit Approach to Online Spatial Task Assignment
    Hassan, Umair ul
    Curry, Edward
    2014 IEEE 11TH INTL CONF ON UBIQUITOUS INTELLIGENCE AND COMPUTING AND 2014 IEEE 11TH INTL CONF ON AUTONOMIC AND TRUSTED COMPUTING AND 2014 IEEE 14TH INTL CONF ON SCALABLE COMPUTING AND COMMUNICATIONS AND ITS ASSOCIATED WORKSHOPS, 2014, : 212 - 219
  • [46] Positioning and power optimisation for UAV-assisted networks in the presence of eavesdroppers: a multi-armed bandit approach
    Cabezas, Xavier Alejandro Flores
    Osorio, Diana Pamela Moya
    Latva-aho, Matti
    EURASIP JOURNAL ON WIRELESS COMMUNICATIONS AND NETWORKING, 2022, 2022 (01)
  • [47] Spectrum Decision in Cognitive Radio Networks using Multi-Armed Bandit
    Rashed, Salma Kazemi
    Shahbazian, Reza
    Ghorashi, Seyed Ali
    2015 5TH INTERNATIONAL CONFERENCE ON COMPUTER AND KNOWLEDGE ENGINEERING (ICCKE), 2015, : 143 - 146
  • [48] Autonomous Resource Allocation for dense LTE networks: A Multi Armed Bandit formulation
    Feki, Afef
    Capdevielle, Veronique
    2011 IEEE 22ND INTERNATIONAL SYMPOSIUM ON PERSONAL INDOOR AND MOBILE RADIO COMMUNICATIONS (PIMRC), 2011, : 66 - 70
  • [49] Multiagent Multi-Armed Bandit Schemes for Gateway Selection in UAV Networks
    Hashima, Sherief
    Hatano, Kohei
    Mohamed, Ehab Mahmoud
    2020 IEEE GLOBECOM WORKSHOPS (GC WKSHPS), 2020,
  • [50] Distributed NOMA-Based Multi-Armed Bandit Approach for Channel Access in Cognitive Radio Networks
    Tian, Zhong
    Wang, Jun
    Wang, Jintao
    Song, Jian
    IEEE WIRELESS COMMUNICATIONS LETTERS, 2019, 8 (04) : 1112 - 1115