ADApt : Edge Device Anomaly Detection and Microservice Replica Prediction
Narges Mehran 1 2, Nikolay Nikolov 3, Radu Prodan 4 5, Dumitru Roman 3, Dragi Kimovski 5 · 2025
Read ADApt : Edge Device Anomaly Detection and Microservice Replica Prediction by Narges Mehran 1 2, Nikolay Nikolov 3, Radu Prodan 4 5, Dumitru Roman 3, Dragi Kimovski 5 (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2504-03698.txt.
Introduction
Edge devices that run microservices can spot overload and predict how many copies a service needs, Narges Mehran and co-authors show in a 2025 paper. Their system is called ADApt, an extension of an earlier tool from the DataCloud project. Growth in connected devices and microservice apps creates orchestration challenges at the network edge for operators.
ADApt monitors edge devices and detects anomalies in processor or memory use. It scores overutilization events across time slots, then predicts the processing needs of the microservices involved. From memory needs it estimates the number of replicas that should run on strained devices. That forecast lets the system adapt executions before overload hurts users. The head byline lists more authors than the catalog record.
Catalog record
| CREATOR | Narges Mehran 1 2, Nikolay Nikolov 3, Radu Prodan 4 5, Dumitru Roman 3, Dragi Kimovski 5 |
|---|---|
| YEAR | 2025 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 37 KB |
| VERSION | 1.0 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2504-03698
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
ADApt : Edge Device Anomaly Detection and Microservice Replica Prediction Narges Mehran 1 2, Nikolay Nikolov 3, Radu Prodan 4 5, Dumitru Roman 3, Dragi Kimovski 5 Abstract The increased usage of Internet of Things devices at the network edge and the proliferation of microservice-based applications create new orchestration challenges in Edge computing. These include detecting overutilized resources and scaling out overloaded microservices in response to surging requests. This work presents ADApt , an extension of the ADA-PIPE tool developed in the DataCloud project, by monitoring Edge devices, detecting the utilization-based anomalies of processor or memory, investigating the scalability in microservices, and adapting the application executions. To reduce the overutilization bottleneck, we first explore monitored devices executing microservices over various time slots, detecting overutilization-based processing events, and scoring them. Thereafter, based on the memory requirements, ADApt predicts the processing requirements of the microservices and estimates the number of replicas running on the overutilized devices. The prediction results show that the gradient boosting regression-based replica prediction reduces the M A E \mathrm{\mathchar 29005\mathchar 28993\mathchar 28997} , M A P E \mathrm{\mathchar 29005\mathchar 28993\mathchar 29008\mathchar 28997} , and R M S E \mathrm{\mathchar 29010\mathchar 29005\mathchar 29011\mathchar 28997} compared to others. Moreover, ADApt can estimate the number of replicas close to the actual data and reduce the 𝙲 𝙿 𝚄 \mathtt{\mathchar 28995\mathchar 29008\mathchar 29013} utilization of the device by 1 4 % – 2 8 % \text{\,}\mathrm{\%}\text{\,}\mathrm{\%} . 2025 IEEE. Personal use of this material is permitted. Permission from IEEE must be obtained for reprinting/republishing/redistributing/reusing this work in other works. I Introduction Effective management of microservice applications comes with unique orchestration challenges, such as utilization-based anomaly detection and scaling out overloaded microservices in response to increasing load [ 1 ] . The rapid proliferation of the Internet of Things (IoT) devices is anticipated to exceed [formula] billion by [formula] 1 1 1 https://statista.com/statistics/1183457/iot-connected-devices-worldwide , which fuels the expanded use of Edge devices for the execution of distributed microservices. Moreover, monitoring the utilization of virtual machines on the Cloud is more challenging than monitoring dedicated physical machines on the Edge due to the extensive use of virtualization [ 2 ] . Nevertheless, using Edge computing for microservices requires efficiently utilizing large numbers of heterogeneous, resource-constrained computing resources. Previous work [ 3 ] explored microservice scaling on provisioned resources but did not consider Edge device anomalies or perform resource requirements prediction considering the application and infrastructure online monitoring data. Moreover, traditional anomaly detection [ 4 ] or scaling methods [ 5 , 6 ] focus on resource predictions and rarely explore the case of clustering the resources and detecting the overloaded devices before estimating requirements. Therefore, we investigate overutilization -based Edge device anomaly detection and the horizontal scaling of containerized microservices on underutilized devices. Example: Table shows three microservices running on two devices and their requirements of processing cores \mathtt{\mathchar 28995\mathchar 29007\mathchar 29010\mathchar 28997} and memory \mathtt{\mathchar 29005\mathchar 28997\mathchar 29005} (in \mathrm{\mathchar 28999\mathchar 28994} ). Figure 1 presents a device’s \mathchar 29028_{\mathchar 28720} \mathtt{\mathchar 28995\mathchar 29007\mathchar 29010\mathchar 28997} and \mathtt{\mathchar 29005\mathchar 28997\mathchar 29005} resources experiencing varying utilization. Over the ten time slots, its processor is not anomalous, but memory presents overutilization anomalies (denoted as [formula] ) in \text{\,}\mathrm{\%} of the instances. We observe a direct correlation between the microservices’ \mathtt{\mathchar 28995\mathchar 29007\mathchar 29010\mathchar 28997} and \mathtt{\mathchar 29005\mathchar 28997\mathchar 29005} requirements, motivating the need to explore a prediction model addressing their horizontal scaling [ 7 ] to balance the varying request rates on the devices \left\{\mathchar 29028_{\mathchar 28720}\mathchar 24891\mathchar 29028_{\mathchar 28721}\right\} . Thus, we replicate the microservice \mathchar 29037_{\mathchar 28720} running on the anomalous device \mathchar 29028_{\mathchar 28720} to satisfy peaks in user requests based on the ratio between the initial ( \mathtt{\mathchar 28995\mathchar 29007\mathchar 29010\mathchar 28997}\delimiter 67273472\mathchar 29037_{\mathchar 28720}\mathchar 24891\mathchar 29044\delimiter 84054785\mathchar 12349\mathchar 28724 ) and required computational requirements ( \mathtt{\mathchar 28995\mathchar 29007\mathchar 29010\mathchar 28997}\delimiter 67273472\mathchar 29037_{\mathchar 28720}\mathchar 24891\mathchar 29044^{\mathchar 560}\delimiter 84054785\mathchar 12349\mathchar 28723 ): \mathchar 29037_{\mathchar 28720}\mathchar 12346\left\delimiter 0{{{$\text{\,}$\over$\text{\,}$}}}\right\delimiter 0$$\mathchar 24635\ \mathchar 29037_{\mathchar 28721}\mathchar 12346\left\delimiter 0{{$\text{\,}$\over$\text{\,}$}}\right\delimiter 0$$\mathchar 24635\ \mathchar 29037_{\mathchar 28722}\mathchar 12346\left\delimiter 0{{$\text{\,}$\over$\text{\,}$}}\right\delimiter 0$$\mathchar 314 TABLE I : Exemplified microservices, devices, and resource requirements. Micro- service Device \mathtt{\mathchar 28995\mathchar 29007\mathchar 29010\mathchar 28997}\ \mathtt{\mathchar 29042\mathchar 29029\mathchar 29041} ( \# ) \mathtt{\mathchar 29005\mathchar 28997\mathchar 29005} \mathtt{\mathchar 29042\mathchar 29029\mathchar 29041} ( \mathrm{\mathchar 28999\mathchar 28994} ) \mathchar 29037_{\mathchar 28720} \mathchar 29028_{\mathchar 28720} \mathchar 29037_{\mathchar 28721} \mathchar 29028_{\mathchar 28721} \mathchar 29037_{\mathchar 28722} \mathchar 29028_{\mathchar 28720} Fig. 1 : Device \mathchar 29028_{\mathchar 28720} overutilization anomaly in ten time slots. Method: We address the device anomaly detection through \mathtt{\mathchar 28995\mathchar 29007\mathchar 29010\mathchar 28997} and \mathtt{\mathchar 29005\mathchar 28997\mathchar 29005} utilization of the Edge device. Thereafter, we investigate the scalability problem through \mathtt{\mathchar 28995\mathchar 29007\mathchar 29010\mathchar 28997} requirement predictions employing a machine learning (ML) model involving two features: 1) \mathtt{\mathchar 29005\mathchar 28997\mathchar 29005} requirement defining the amount of \mathtt{\mathchar 29005\mathchar 28997\mathchar 29005} needed by each containerized microservice on the Edge machines; and 2) \mathtt{\mathchar 28995\mathchar 29007\mathchar 29010\mathchar 28997} requirement defining the processing needed for each containerized microservice on the Edge machines. We apply ML models to predict \mathtt{\mathchar 28995\mathchar 29007\mathchar 29010\mathchar 28997} requirements based on the \mathtt{\mathchar 29005\mathchar 28997\mathchar 29005} and estimate the number of microservice replicas to support stochastic changes due to the dynamic user requirements. Recently, there has been a growing interest in the potential of using learning models for tabular data [ 8 ] . However, as explored in this work, tree-based ML models, such as gradient boosting regression (GBR), which is often used with tabular data, can outperform other learning methods [ 9 ] . Contributions: In this eight-section work, we present ADApt as an extension of the ADA-PIPE tool developed throughout the DataCloud project [ 10 ] with the following contributions: • Design of an Edge device anomaly detection model based on k-means clustering model for overutilization detection; • Design of GBR, bagging regression (BR), and multilayer perceptron (MLP) models for predicting the number of microservice replicas running on overutilized devices; • Empirical analysis of the ADApt in terms of its device utilization anomaly detection and accuracy improvement of the gradient boosting model for replica prediction; • GBR-based ADApt reduces \mathrm{\mathchar 29005\mathchar 28993\mathchar 28997} = [formula] , \mathrm{\mathchar 29005\mathchar 28993\mathchar 29008\mathchar 28997} = [formula] , and \mathrm{\mathchar 29010\mathchar 29005\mathchar 29011\mathchar 28997} = [formula] compared to the BR and MLP. II Related Work This section reviews the state-of-the-art infrastructure monitoring, anomaly detection, and autoscaling analysis. Monitoring Prometheus extracts time-series data and leverages the PromQL query language to track metrics [ 11 ] . Netdata provides the pre-built dashboards facilitating issue identification and data-driven decision-making [ 12 ] . For Google Cloud users, Stackdriver offers a tightly integrated logging and monitoring method. cAdvisor [ 13 ] , an open-source development by Google, collects and processes key metrics such as CPU, memory, storage, and network usage of containers. Prometheus has integrated support for cAdvisor [ 14 ] , enabling users to configure Prometheus to scrape cAdvisor metrics. Anomaly detection Ahmad and Lavin [ 15 ] introduced the Numenta anomaly benchmark, designed to offer a controlled and reproducible environment with open-source tools for evaluating and measuring anomaly detection in streaming data. This method aims to adequately test and score real-time