Lune

ICSE2022Top-tier venue

EREBA: Black-box Energy Testing of Adaptive Neural Networks

Mirazul Haque, Yaswanth Yadlapalli, Wei Yang, Cong Liu

Abstract

Recently, various Deep Neural Network (DNN) models have been proposed for environments like embedded systems with stringent energy constraints. The fundamental problem of determining the robustness of a DNN with respect to its energy consumption (energy robustness) is relatively unexplored compared to accuracy-based robustness. This work investigates the energy robustness of Adaptive Neural Networks (AdNNs), a type of energy-saving DNNs proposed for many energy-sensitive domains and have recently gained traction. We propose EREBA, the first black-box testing method for determining the energy robustness of an AdNN. EREBA explores and infers the relationship between inputs and the energy consumption of AdNNs to generate energy surging samples. Extensive implementation and evaluation using three state-of-the-art AdNNs demonstrate that test inputs generated by EREBA could degrade the performance of the system substantially. The test inputs generated by EREBA can increase the energy consumption of AdNNs by 2,000% compared to the original inputs. Our results also show that test inputs generated via EREBA are valuable in detecting energy surging inputs.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

3 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • SoK: Efficiency Robustness of Dynamic Deep Learning Systems cites A Panda? No, It's a Sloth: Slowdown Attacks on Adaptive Multi-Exit Neural Network Inference
  • SoK: Efficiency Robustness of Dynamic Deep Learning Systems cites ILFO: Adversarial Attack on Adaptive Neural Networks
  • SoK: Efficiency Robustness of Dynamic Deep Learning Systems cites NICGSlowDown: Evaluating the Efficiency Robustness of Neural Image Caption Generation Models
  • A Panda? No, It's a Sloth: Slowdown Attacks on Adaptive Multi-Exit Neural Network Inference cites Towards Evaluating the Robustness of Neural Networks
  • A Panda? No, It's a Sloth: Slowdown Attacks on Adaptive Multi-Exit Neural Network Inference cites ILFO: Adversarial Attack on Adaptive Neural Networks
  • NICGSlowDown: Evaluating the Efficiency Robustness of Neural Image Caption Generation Models cites Towards Evaluating the Robustness of Neural Networks
  • NICGSlowDown: Evaluating the Efficiency Robustness of Neural Image Caption Generation Models cites A Panda? No, It's a Sloth: Slowdown Attacks on Adaptive Multi-Exit Neural Network Inference
  • NICGSlowDown: Evaluating the Efficiency Robustness of Neural Image Caption Generation Models cites ILFO: Adversarial Attack on Adaptive Neural Networks
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers3

  1. NICGSlowDown: Evaluating the Efficiency Robustness of Neural Image Caption Generation ModelsSimin Chen, Zihe Song, Mirazul Haque, Cong Liu et al.CVPR 2022 · 34 citations
  2. VLMInferSlow: Evaluating the Efficiency Robustness of Large Vision-Language Models as a ServiceXiasi Wang, Tianliang Yao, Simin Chen, Runqi Wang et al.ACL 2025 · 3 citations
  3. SoK: Efficiency Robustness of Dynamic Deep Learning SystemsRavishka Rathnasuriya, Tingxi Li, Zexin Xu, Zihe Song et al.USENIX Security 2025

Builds on5

  1. Towards Evaluating the Robustness of Neural NetworksNicholas Carlini, David A. WagnerS&P 2017 · 9,786 citations
  2. A Panda? No, It's a Sloth: Slowdown Attacks on Adaptive Multi-Exit Neural Network InferenceSanghyun Hong, Yigitcan Kaya, Ionut-Vlad Modoranu, Tudor DumitrasICLR 2021 · 85 citations
  3. Resolution Adaptive Networks for Efficient InferenceLe Yang, Yizeng Han, Xi Chen, Shiji Song et al.CVPR 2020
  4. ILFO: Adversarial Attack on Adaptive Neural NetworksMirazul Haque, Anki Chauhan, Cong Liu, Wei YangCVPR 2020
  5. Self-Training With Noisy Student Improves ImageNet ClassificationQizhe Xie, Minh-Thang Luong, Eduard H. Hovy, Quoc V. LeCVPR 2020

Related papers

  1. DeepPerform: An Efficient Approach for Performance Testing of Resource-Constrained Neural NetworksSimin Chen, Mirazul Haque, Cong Liu, Wei YangASE 2022 · 19 citations
  2. Efficiency attacks on spiking neural networksSarada Krithivasan, Sanchari Sen, Nitin Rathi, Kaushik Roy et al.DAC 2022 · 10 citations
  3. BET: black-box efficient testing for convolutional neural networksJialai Wang, Han Qiu, Yi Rong, Hengkai Ye et al.ISSTA 2022 · 18 citations
  4. ADROIT: An Adaptive Dynamic Refresh Optimization Framework for DRAM Energy Saving In DNN TrainingXinhan Lin, Liang Sun, Fengbin Tu, Leibo Liu et al.DAC 2021 · 2 citations
  5. Synthesizing Boxes Preconditions for Deep Neural NetworksZengyu Liu, Liqian Chen, Wanwei Liu, Ji WangISSTA 2024
Dusk over the sea between two cliffs drawn in fine vertical lines