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 条
  • [21] Evaluation of Early-exit Strategies in Low-cost FPGA-based Binarized Neural Networks
    Kong, Minxuan
    Nikov, Kris
    Nunez-Yanez, Jose Luis
    2022 25TH EUROMICRO CONFERENCE ON DIGITAL SYSTEM DESIGN (DSD), 2022, : 197 - 204
  • [22] Optimal Handover Policy for mmWave Cellular Networks: A Multi-Armed Bandit Approach
    Sun, Li
    Hou, Jing
    Shu, Tao
    2019 IEEE GLOBAL COMMUNICATIONS CONFERENCE (GLOBECOM), 2019,
  • [23] Multiuser Scheduling in Centralized Cognitive Radio Networks: A Multi-Armed Bandit Approach
    Alipour-Fanid, Amir
    Dabaghchian, Monireh
    Arora, Raman
    Zeng, Kai
    IEEE TRANSACTIONS ON COGNITIVE COMMUNICATIONS AND NETWORKING, 2022, 8 (02) : 1074 - 1091
  • [24] Early-Exit meets Model-Distributed Inference at Edge Networks
    Colocrese, Marco
    Koyuncu, Erdem
    Seferoglu, Hulya
    2024 IEEE 30TH INTERNATIONAL SYMPOSIUM ON LOCAL AND METROPOLITAN AREA NETWORKS, LANMAN 2024, 2024, : 39 - 44
  • [25] Online Offloading in Dense Wireless Networks: An Adversary Multi-armed Bandit Approach
    Hua, Cunqing
    Wang, Lingzhi
    Gu, Pengwenlong
    2018 10TH INTERNATIONAL CONFERENCE ON WIRELESS COMMUNICATIONS AND SIGNAL PROCESSING (WCSP), 2018,
  • [26] Adaptive Modulation in Underwater acouStic nEtworks (AMUSE): a Multi-Armed Bandit approach
    Busacca, F.
    Galluccio, L.
    Palazzo, S.
    Panebianco, A.
    Raftopoulos, R.
    ICC 2024 - IEEE INTERNATIONAL CONFERENCE ON COMMUNICATIONS, 2024, : 2336 - 2341
  • [27] Optimal Channel Selection in Hybrid RF/VLC Networks: A Multi-Armed Bandit Approach
    Fouda, Mostafa M.
    Hashima, Sherief
    Sakib, Sadman
    Fadlullah, Zubair Md
    Hatano, Kohei
    Shen, Xuemin
    IEEE TRANSACTIONS ON VEHICULAR TECHNOLOGY, 2022, 71 (06) : 6853 - 6858
  • [28] A Contextual Multi-Armed Bandit approach for NDN forwarding
    Mordjana, Yakoub
    Djamaa, Badis
    Senouci, Mustapha Reda
    Herzallah, Aymen
    JOURNAL OF NETWORK AND COMPUTER APPLICATIONS, 2024, 230
  • [29] Adversarial multi-armed bandit approach to stochastic optimization
    Chang, Hyeong Soo
    Fu, Michael C.
    Marcus, Steven I.
    PROCEEDINGS OF THE 45TH IEEE CONFERENCE ON DECISION AND CONTROL, VOLS 1-14, 2006, : 5684 - +
  • [30] Transfer Learning in Multi-Armed Bandit: A Causal Approach
    Zhang, Junzhe
    Bareinboim, Elias
    AAMAS'17: PROCEEDINGS OF THE 16TH INTERNATIONAL CONFERENCE ON AUTONOMOUS AGENTS AND MULTIAGENT SYSTEMS, 2017, : 1778 - 1780