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 条
  • [31] A combinatorial multi-armed bandit approach to correlation clustering
    Gullo, F.
    Mandaglio, D.
    Tagarelli, A.
    DATA MINING AND KNOWLEDGE DISCOVERY, 2023, 37 (04) : 1630 - 1691
  • [32] A combinatorial multi-armed bandit approach to correlation clustering
    F. Gullo
    D. Mandaglio
    A. Tagarelli
    Data Mining and Knowledge Discovery, 2023, 37 : 1630 - 1691
  • [33] Repeated Dollar Auctions: A Multi-Armed Bandit Approach
    Waniek, Marcin
    Long Tran-Tranh
    Michalak, Tomasz
    AAMAS'16: PROCEEDINGS OF THE 2016 INTERNATIONAL CONFERENCE ON AUTONOMOUS AGENTS & MULTIAGENT SYSTEMS, 2016, : 579 - 587
  • [34] Neural Architecture Search via Combinatorial Multi-Armed Bandit
    Huang, Hanxun
    Ma, Xingjun
    Erfani, Sarah M.
    Bailey, James
    2021 INTERNATIONAL JOINT CONFERENCE ON NEURAL NETWORKS (IJCNN), 2021,
  • [35] Multi-Armed Bandit for Edge Computing in Dynamic Networks with Uncertainty
    Ghoorchian, Saeed
    Maghsudi, Setareh
    PROCEEDINGS OF THE 21ST IEEE INTERNATIONAL WORKSHOP ON SIGNAL PROCESSING ADVANCES IN WIRELESS COMMUNICATIONS (IEEE SPAWC2020), 2020,
  • [36] Learning the Truth in Social Networks Using Multi-Armed Bandit
    Odeyomi, Olusola T.
    IEEE ACCESS, 2020, 8 : 137692 - 137701
  • [37] Differential Privacy in Social Networks Using Multi-Armed Bandit
    Odeyomi, Olusola T.
    IEEE ACCESS, 2022, 10 : 11817 - 11829
  • [38] Multi-user lax communications: a multi-armed bandit approach
    Avner, Orly
    Mannor, Shie
    IEEE INFOCOM 2016 - THE 35TH ANNUAL IEEE INTERNATIONAL CONFERENCE ON COMPUTER COMMUNICATIONS, 2016,
  • [39] EExNAS: Early-Exit Neural Architecture Search Solutions for Low-Power Wearable Devices
    Odema, Mohanad
    Rashid, Nafiul
    Al Faruque, Mohammad Abdullah
    2021 IEEE/ACM INTERNATIONAL SYMPOSIUM ON LOW POWER ELECTRONICS AND DESIGN (ISLPED), 2021,
  • [40] MABAT: A Multi-Armed Bandit Approach for Threat-Hunting
    Dekel, Liad
    Leybovich, Ilia
    Zilberman, Polina
    Puzis, Rami
    IEEE TRANSACTIONS ON INFORMATION FORENSICS AND SECURITY, 2023, 18 : 477 - 490