Submitted:
25 September 2025
Posted:
25 September 2025
You are already at the latest version
Abstract
Keywords:
1. Introduction
2. Related Work
3. Methodology
4. Algorithm and Model
4.1. HERALD Framework Architecture
4.2. Cascading Anomaly Isolation Model (CAIM)
4.2.1. Self-Duration Computation with Concurrency Handling
4.2.2. Hierarchical Anomaly Propagation
4.3. Adaptive Statistical Boundary Engine (ASBE)
4.3.1. Context-Aware Threshold Computation
4.3.2. Multi-Resolution Statistical Profiling
4.4. Enhanced Tree Construction and Analysis
4.4.1. Intelligent Trace Completion
4.4.2. Depth-Aware Normalization
4.5. Statistical Aggregation with Robust Estimators
4.6. Hierarchical Root Cause Ranking
4.7. Implementation Optimizations and Practical Insights
5. Data Preprocessing
5.1. Trace Reconstruction and Validation
5.2. Feature Engineering and Normalization
6. Evaluation Metrics
7. Experiment Results
8. Conclusion
References
- Liu, D.; He, C.; Peng, X.; Lin, F.; Zhang, C.; Gong, S.; Li, Z.; Ou, J.; Wu, Z. Microhecl: High-efficient root cause localization in large-scale microservice systems. In Proceedings of the 2021 IEEE/ACM 43rd International Conference on Software Engineering: Software Engineering in Practice (ICSE-SEIP). IEEE; 2021; pp. 338–347. [Google Scholar]
- Zhang, C.; Dong, Z.; Peng, X.; Zhang, B.; Chen, M. Trace-based multi-dimensional root cause localization of performance issues in microservice systems. In Proceedings of the Proceedings of the IEEE/ACM 46th International Conference on Software Engineering, 2024, pp.
- Xie, R.; Yang, J.; Li, J.; Wang, L. Impacttracer: root cause localization in microservices based on fault propagation modeling. In Proceedings of the 2023 Design, Automation & Test in Europe Conference & Exhibition (DATE). IEEE; 2023; pp. 1–6. [Google Scholar]
- Tian, W.; Zhang, H.; Yang, N.; Zhang, Y. Graph-Based Root Cause Localization in Microservice Systems with Protection Mechanisms. International Journal of Software Engineering and Knowledge Engineering 2023, 33, 1211–1238. [Google Scholar] [CrossRef]
- Yu, G.; Chen, P.; Chen, H.; Guan, Z.; Huang, Z.; Jing, L.; Weng, T.; Sun, X.; Li, X. Microrank: End-to-end latency issue localization with extended spectrum analysis in microservice environments. In Proceedings of the Proceedings of the Web Conference 2021, 2021, pp. [Google Scholar]
- Yao, Z.; Ye, H.; Pei, C.; Cheng, G.; Wang, G.; Liu, Z.; Chen, H.; Cui, H.; Li, Z.; Li, J.; et al. SparseRCA: Unsupervised Root Cause Analysis in Sparse Microservice Testing Traces. In Proceedings of the 2024 IEEE 35th International Symposium on Software Reliability Engineering (ISSRE). IEEE; 2024; pp. 391–402. [Google Scholar]
- Pham, L.; Ha, H.; Zhang, H. Baro: Robust root cause analysis for microservices via multivariate bayesian online change point detection. Proceedings of the ACM on Software Engineering 2024, 1, 2214–2237. [Google Scholar] [CrossRef]
- Zhuo, J.; Han, Y.; Wen, H.; Tong, K. An Intelligent-Aware Transformer with Domain Adaptation and Contextual Reasoning for Question Answering. In Proceedings of the 2025 IEEE 6th International Seminar on Artificial Intelligence, Networking and Information Technology (AINIT). IEEE; 2025; pp. 1920–1924. [Google Scholar]
- Guan, S. Predicting Medical Claim Denial Using Logistic Regression and Decision Tree Algorithm. In Proceedings of the 2024 3rd International Conference on Health Big Data and Intelligent Healthcare (ICHIH); 2024; pp. 7–10. [Google Scholar] [CrossRef]
- Zhu, Y.; Liu, Y. LLM-NER: Advancing Named Entity Recognition with LoRA+ Fine-Tuned Large Language Models. In Proceedings of the 2025 11th International Conference on Computing and Artificial Intelligence (ICCAI); 2025; pp. 364–368. [Google Scholar] [CrossRef]





| Method | Overall Performance | Performance by Trace Depth (F1) | Runtime | Cross-Domain | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Prec. | Rec. | F1 | MRR | Acc@3 | 1-3 | 4-6 | 7-10 | >10 | Traces/s | p99 (ms) | Avg. F1 | |
| TraceAnomaly | 0.742 | 0.698 | 0.719 | 0.623 | 0.761 | 0.794 | 0.721 | 0.652 | 0.563 | 1,842 | 2.31 | 0.615 |
| MicroRCA | 0.781 | 0.723 | 0.751 | 0.684 | 0.798 | 0.832 | 0.756 | 0.684 | 0.597 | 1,523 | 3.82 | 0.657 |
| CloudRanger | 0.823 | 0.756 | 0.788 | 0.721 | 0.834 | 0.887 | 0.803 | 0.731 | 0.658 | 967 | 5.73 | 0.696 |
| DyCause | 0.847 | 0.792 | 0.819 | 0.758 | 0.862 | 0.918 | 0.851 | 0.782 | 0.723 | 1,204 | 4.21 | 0.733 |
| HERALD | 0.891 | 0.847 | 0.868 | 0.812 | 0.903 | 0.942 | 0.897 | 0.854 | 0.821 | 1,627 | 2.84 | 0.796 |
| Ablation Study (HERALD variants) | ||||||||||||
| w/o CAIM | 0.761 | 0.726 | 0.743 | 0.682 | 0.812 | 0.823 | 0.751 | 0.698 | 0.642 | 1,894 | 2.12 | 0.701 |
| w/o ASBE | 0.812 | 0.771 | 0.791 | 0.724 | 0.851 | 0.871 | 0.802 | 0.756 | 0.703 | 1,753 | 2.48 | 0.738 |
| w/o Self-Duration | 0.783 | 0.742 | 0.762 | 0.698 | 0.826 | 0.846 | 0.773 | 0.712 | 0.658 | 1,821 | 2.31 | 0.712 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).