Online Algorithms for Hierarchical Inference in Deep Learning applications at the Edge
Not on the map. Why?
Abstract (arXiv)
We consider a resource-constrained Edge Device (ED), such as an IoT sensor or a microcontroller unit, embedded with a small-size ML model (S-ML) for a generic classification application and an Edge Server (ES) that hosts a large-size ML model (L-ML). Since the inference accuracy of S-ML is lower than that of the L-ML, offloading all the data samples to the ES results in high inference accuracy, but it defeats the purpose of embedding S-ML on the ED and deprives the benefits of reduced latency, bandwidth savings, and energy efficiency of doing local inference. In order to get the best out of both worlds, i.e., the benefits of doing inference on the ED and the benefits of doing inference on ES, we explore the idea of Hierarchical Inference (HI), wherein S-ML inference is only accepted when it is correct, otherwise the data sample is offloaded for L-ML inference. However, the ideal implementation of HI is infeasible as the correctness of the S-ML inference is not known to the ED. We propose an online meta-learning framework that the ED can use to predict the correctness of the S-ML inference. In particular, we propose to use the maximum softmax value output by S-ML for a data sample and decide whether to offload it or not. The resulting online learning problem turns out to be a Prediction with Expert Advice (PEA) problem with continuous expert space. We propose two different algorithms and prove sublinear regret bounds for them without any assumption on the smoothness of the loss function. We evaluate and benchmark the performance of the proposed algorithms for image classification application using four datasets, namely, Imagenette and Imagewoof, MNIST, and CIFAR-10.
Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Builds on 13 of its 62 references that are in the map. First posted on arXiv 3 Apr 2023.
Builds on
13 of 62 references.
References · 13
- 2017MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applicationscited by 3,845
- 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,385
- 2015Learning both Weights and Connections for Efficient Neural Networkscited by 2,031
- 2022Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference timecited by 1,396
- 2016XNOR-Net: ImageNet Classification Using Binary Convolutional Neural Networkscited by 849
- 2017BranchyNet: Fast Inference via Early Exiting from Deep Neural Networkscited by 596
- 2014Exploiting Linear Structure Within Convolutional Networks for Efficient Evaluationcited by 306
- 2020fastai: A Layered API for Deep Learningcited by 183
- 2019Edge AI: On-Demand Accelerating Deep Neural Network Inference via Edge Computingcited by 152
- 2019Convergence of Edge Computing and Deep Learning: A Comprehensive Surveycited by 120
- 2020Classification with Rejection Based on Cost-sensitive Classificationcited by 55
- 2020Continuum-Armed Bandits: A Function Space Perspectivecited by 8
Built on by
Citing papers per year: 2023: 2; 2024: 1; 2025: 2.
5 papers.
- 2023The Case for Hierarchical Deep Learning Inference at the Network Edgecited by 4
- 2023Adaptive Workload Distribution for Accuracy-aware DNN Inference on Collaborative Edge Platformscited by 1
- 2024SoK: Towards Security and Safety of Edge AIcited by 1
- 2025Inference Offloading for Cost-Sensitive Binary Classification at the Edgecited by 1
- 2025Low-Regret and Low-Complexity Learning for Hierarchical Inferencecited by 0
- 2025Inference Offloading for Cost-Sensitive Binary Classification at the Edge19 Sep 2025
- 2025Low-Regret and Low-Complexity Learning for Hierarchical Inference12 Aug 2025
- 2024SoK: Towards Security and Safety of Edge AI7 Oct 2024
- 2023Adaptive Workload Distribution for Accuracy-aware DNN Inference on Collaborative Edge Platforms16 Oct 2023
- 2023The Case for Hierarchical Deep Learning Inference at the Network Edge23 Apr 2023