Repository logo
 
Publication

Classification of anomalies in microservices using an XGboost-based approach with data balancing and hyperparameter tuning

dc.contributor.authorBarata, Luís
dc.contributor.authorLopes, Eurico
dc.contributor.authorInácio, Pedro
dc.contributor.authorFreire, Mário
dc.date.accessioned2025-10-27T17:14:57Z
dc.date.available2025-10-27T17:14:57Z
dc.date.issued2025
dc.description.abstractMicroservice architecture has emerged as a leading paradigm for decomposing large monolithic applications into smaller, autonomous services. Although this approach offers many advantages, its complexity, distributed nature, and substantial scale create significant challenges for monitoring and anomaly detection. The vast volume of generated data further exacerbates computational load and detection latency, complicating the identification of anomalies. This study analyses the impact of data balancing and hyperparameter tuning on anomaly classification in microservices and introduces ADMXGB - Anomaly Detection in Microservices using XGBoost, a XGBoost-based framework tailored for anomaly detection in microservices that seamlessly integrates data balancing with hyperparameter tuning. We propose guidelines to determine appropriate threshold values that balance sensitivity with false positives, and show that the framework is model-agnostic, enabling integration with different machine learning algorithms beyond XGBoost. Validation was performed using a four-stage process encompassing preprocessing, training, validation, and testing. ADMXGB demonstrated improvements in both Accuracy and F1-Score, reaching 99.96% in both metrics on the TraceRCA dataset, outperforming the baseline XGBoost method by a margin of 1.46% in Accuracy and 45.62% in F1-Score. Moreover, ADMXGB achieves reductions in execution time (-86.3%) and memory usage (-21.7%), while maintaining an acceptable CPU overhead. These findings highlight the robustness of ADMXGB in delivering high-accuracy classification in a microservice environment.por
dc.identifier.citationBARATA, L.M. [et al.] (2025) - Classification of anomalies in microservices using an XGBoost-based approach with data balancing and hyperparameter tuning. IEEE Open Journal of the Computer Society. DOI: 10.1109/OJCS.2025.3622532
dc.identifier.doi10.1109/OJCS.2025.3622532
dc.identifier.urihttp://hdl.handle.net/10400.11/10342
dc.language.isoeng
dc.peerreviewedyes
dc.publisherIEEE
dc.rights.urihttp://creativecommons.org/licenses/by/4.0/
dc.subjectAnomaly Detection
dc.subjectData Balancing
dc.subjectOversampling
dc.subjectUndersampling
dc.subjectHybridsampling
dc.subjectMicroservices
dc.subjectHyperparameter Optimization
dc.titleClassification of anomalies in microservices using an XGboost-based approach with data balancing and hyperparameter tuningeng
dc.typepreprint
dspace.entity.typePublication
oaire.citation.titleIEEE Open Journal of the Computer Society
oaire.versionhttp://purl.org/coar/version/c_ab4af688f83e57aa
person.familyNameLopes
person.givenNameEurico
person.identifier.ciencia-id281C-B830-CF30
person.identifier.ciencia-idC117-F943-3B96
person.identifier.orcid0000-0002-6471-4681
person.identifier.orcid0000-0002-1818-8203
relation.isAuthorOfPublicationeb1ed459-bdc5-42b3-a6aa-1d79caeabdcc
relation.isAuthorOfPublication9c74d9ee-6c71-4148-b219-2795a71a4d1b
relation.isAuthorOfPublication.latestForDiscoveryeb1ed459-bdc5-42b3-a6aa-1d79caeabdcc

Files

Original bundle
Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
Artigo_2_PhD_Luís_Barata___Anomaly_Detection___FINAL.pdf
Size:
1.67 MB
Format:
Adobe Portable Document Format
License bundle
Now showing 1 - 1 of 1
No Thumbnail Available
Name:
license.txt
Size:
2.02 KB
Format:
Item-specific license agreed upon to submission
Description: