Latent error prediction and fault localization for microservice applications by learning from system trace logs
Open accessThe DOI matches its Crossref record; 46 of the 46 references it cites were found in a registry or an index.
Abstract
In the production environment, a large part of microservice failures are related to the complex and dynamic interactions and runtime environments, such as those related to multiple instances, environmental configurations, and asynchronous interactions of microservices. Due to the complexity and dynamism of these failures, it is often hard to reproduce and diagnose them in testing environments. It is desirable yet still challenging that these failures can be detected and the faults can be located at runtime of the production environment to allow developers to resolve them efficiently. To address this challenge, in this paper, we propose MEPFL, an approach of latent error prediction and fault localization for microservice applications by learning from system trace logs. Based on a set of features defined on the system trace logs, MEPFL trains prediction models at both the trace level and the microservice level using the system trace logs collected from automatic executions of the target application and its faulty versions produced by fault injection. The prediction models thus can be used in the production environment to predict latent errors, faulty microservices, and fault types for trace instances captured at runtime. We implement MEPFL based on the infrastructure systems of container orchestrator and service mesh, and conduct a series of experimental studies with two opensource microservice applications (one of them being the largest open-source microservice application to our best knowledge). The results indicate that MEPFL can achieve high accuracy in intraapplication prediction of latent errors, faulty microservices, and fault types, and outperforms a state-of-the-art approach of failure diagnosis for distributed systems. The results also show that MEPFL can effectively predict latent errors caused by real-world fault cases.
Overview
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The text we found for this paper looks like another document, so the self-check wasn’t run.
Citations
Cites
A Survey on Software Fault Localization
Wong, W. E., Gao, R., Li, Y., Abreu, R., & Wotawa, F. (2016) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2016.2521368 · Cited by 1,110 · cited 2×
“Traditional fault localization approaches include slice-based fault localization (e.g., [3, 4, 6, 7, 55]), spectrum-based fault localization (e.g., [2, 18, 21, 23, 29, 38, 45], fault localization based on analyzing program states (e.g., [58–60]), fault localization based on data mining (e.g., [15,…”
BackgroundSimplifying and isolating failure-inducing input
Zeller, A., & Hildebrandt, R. (2002) · IEEE Transactions on Software Engineering · doi:10.1109/32.988498 · Cited by 1,079
Agrawal, H., & Horgan, J. R. (1990) · Proceedings of the ACM SIGPLAN 1990 conference on Programming language design and implementation - PLDI '90 · doi:10.1145/93542.93576 · Cited by 867 · cited 1×
“Traditional fault localization approaches include slice-based fault localization (e.g., [3, 4, 6, 7, 55]), spectrum-based fault localization (e.g., [2, 18, 21, 23, 29, 38, 45], fault localization based on analyzing program states (e.g., [58–60]), fault localization based on data mining (e.g., [15,…”
BackgroundExperience Report: System Log Analysis for Anomaly Detection
He, S., Zhu, J., He, P., & Lyu, M. R. (2016) · 2016 IEEE 27th International Symposium on Software Reliability Engineering (ISSRE) · doi:10.1109/issre.2016.21 · Cited by 593 · cited 1×
“However, these approaches can only uncover anomalies or failures within the cloud infrastructure such as computing nodes [32] and storage [24].”
BackgroundFault Localization with Nearest Neighbor Queries
Renieris, M., & Reiss, S. P. (2003) · Cited by 587
An Evaluation of Similarity Coefficients for Software Fault Localization
Abreu, R., Zoeteweij, P., & Van Gemund, A. (2006) · 2006 12th Pacific Rim International Symposium on Dependable Computing (PRDC'06) · doi:10.1109/prdc.2006.18 · Cited by 563 · cited 1×
“Traditional fault localization approaches include slice-based fault localization (e.g., [3, 4, 6, 7, 55]), spectrum-based fault localization (e.g., [2, 18, 21, 23, 29, 38, 45], fault localization based on analyzing program states (e.g., [58–60]), fault localization based on data mining (e.g., [15,…”
BackgroundMicroservices: The Journey So Far and Challenges Ahead
Jamshidi, P., Pahl, C., Mendonca, N. C., Lewis, J., & Tilkov, S. (2018) · IEEE Software · doi:10.1109/ms.2018.2141039 · Cited by 554 · cited 1×
“In the production environment, microservice applications typically are fragile [26], often failing due to infrastructure (e.”
BackgroundA model for spectra-based software diagnosis
Naish, L., Lee, H. J., & Ramamohanarao, K. (2011) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/2000791.2000795 · Cited by 536 · cited 1×
“…approaches include slice-based fault localization (e.g., [3, 4, 6, 7, 55]), spectrum-based fault localization (e.g., [2, 18, 21, 23, 29, 38, 45], fault localization based on analyzing program states (e.g., [58–60]), fault localization based on data mining (e.g., [15, 16, 39]), and…”
BackgroundIsolating cause-effect chains from computer programs
Zeller, A. (2002) · Proceedings of the 10th ACM SIGSOFT symposium on Foundations of software engineering · doi:10.1145/587051.587053 · Cited by 530 · cited 1×
“…localization (e.g., [3, 4, 6, 7, 55]), spectrum-based fault localization (e.g., [2, 18, 21, 23, 29, 38, 45], fault localization based on analyzing program states (e.g., [58–60]), fault localization based on data mining (e.g., [15, 16, 39]), and model-based fault localization (e.g. [1, 9, 19, 35]).”
BackgroundZhou, X., Peng, X., Xie, T., Sun, J., Ji, C., Li, W., & Ding, D. (2021) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2018.2887384 · Cited by 410 · cited 4×
“According to an existing empirical study [61], almost half of all studied microservice application faults are of these three types.”
BackgroundMethodInfluentialSelf-citation
Research works printed but not linked: 29
- Abreu Rui, Proc. 8th Symposium on Abstraction, Reformulation, and Approximation.
- Benchmark TrainTicket, 2018, Retrieved
- Borthakur Dhruba, 2019, Retrieved
- 10.5555/1337691.1338380 · doi:10.5555/1337691.1338380
- Brun Yuriy, Proc. 26th International Conference on Software Engineering. 480–490
- 10.5555/1787746.1787766 · doi:10.5555/1787746.1787766
- Cellier Peggy, 2011, Proc. 23rd International Conference on Software Engineering & Knowledge Engineering. 238–243
- DeMillo Richard A., Proc. 21st International Computer Software and Applications Conference. 515–521
- 10.5555/3220880.3220971 · doi:10.5555/3220880.3220971
- 2018, Retrieved
- He Shilin, Proc. 27th IEEE International Symposium on Software Reliability Engineering. 207–218
- 2018, Retrieved
- 2018, Retrieved
- 2018, Retrieved
- 2018, Retrieved
- 10.5555/3006433.3006470 · doi:10.5555/3006433.3006470
- 2018, Retrieved
- Morgan William, 2017, Retrieved
- Project The, 2019, Retrieved
- 10.5220/0006683804000408 · doi:10.5220/0006683804000408
- 2016, Retrieved
- Renieris Manos, Proc. 18th IEEE International Conference on Automated Software Engineering. 30–39
- 2019, Retrieved
- 2018, Retrieved
- 2018, Retrieved
- 2018, Retrieved
- 2018, Retrieved
- 10.5555/2337223.2337236 · doi:10.5555/2337223.2337236
- Zhou Xiang, 2018, Benchmark System, and Empirical Study
Cited by
Items 301–349 of 349
MADM: Microservice Anomaly Detection Based on Multi-source Data
Li, Y., & Ding, Y. (2025) · Communications in computer and information science · doi:10.1007/978-981-96-6966-0_27
“OPTIMIZING CI/CD PROCESSES FOR AI MICROSERVICES WITH PKONFIG”
(2025) · International Research Journal of Modernization in Engineering Technology and Science · doi:10.56726/irjmets76724
Efficient Fault Localization in a Cloud Stack Using End-to-End Application Service TopologyPreprint
Mathews, D. R., Verma, M., Aggarwal, P., & Lakshmi, J. (2025) · arXiv (Cornell University) · doi:10.48550/arxiv.2509.05511
“Similarly, data-center and VM-level predictors, including [32], PREPARE [33], and UBL [11], rely on OS or hypervisor-level resource traffic, whereas [34] integrates resource data with configuration and instance interaction metrics for latent error prediction.”
Εντοπισμός ανωμαλιών με χρήση δεδομένων παρατηρησιμότητας κατανεμημένων εφαρμογών
Mountakis, G. (2025) · DSpace - NTUA (National Technical University of Athens) · doi:10.26240/heal.ntua.29036
Gholamian, S. (2022) · UWSpace (University of Waterloo)
Hussain, H. (2024) · YorkSpace (York University)
Grasp - A Graph-Based SLA Breach Prediction Framework at the Service Level in Neural Inference
Fehresti, S. (2025) · YorkSpace (York University)
Ekhlasi, M. (2025) · PolyPublie (École Polytechnique de Montréal)
Mikroservislerin sürdürülebilirliğinin ölçülmesi ve değerlendirilmesi
Yılmaz, R. (2024) · Istanbul Technical University Academic Open Archive (Istanbul Technical University)
Fault taxonomy for microservice-based applications
Filho, F. F. D. D. S. (2023) · LA Referencia (Red Federada de Repositorios Institucionales de Publicaciones Científicas)
Static analysis learning of annotations in microservices
Mendez, F. M. R. (2024) · University of Birmingham Institutional Research Archive (University of Birmingham)
Framework for SLA-Breach Prediction in Cloud-Native Microservices
Fehresti, S., Kaleibar, F. J., & Litoiu, M. (2025) · IEEE International Conference on Collaborative Advances in Software and Computing (CASCON) · doi:10.1109/cascon66301.2025.00033
“A 2-seconds window achieved a balanced distribution 60% breach, 40% non-breach, enabling effective learning of breach vs. non-breach characteristics [27].”
Müller, S., & Torres, I. (2026) · Multidisciplinary Research in Computing Information Systems · doi:10.71465/mrcis202
Semi-Supervised and Disentangled Causal Discovery for Analyzing Fault Propagation in Microservices
Fukuda, N., Nozue, H., Oishi, H., Wu, C., Horiuchi, S., & Tayama, K. (2026) · IEEE Access · doi:10.1109/access.2026.3667143
Nourollahi, M. (2025) · PolyPublie (École Polytechnique de Montréal)
An Approach for Considering Human Factors in Root Cause Analysis of Network Systems
Xun, L. I., Zhang, F., & Wang, Y. (2026) · Romanian Journal of Information Science and Technology · doi:10.59277/romjist.2026.1.03
“Even in systems that appear to be largely an IT infrastructure [6–8] rather than a human, human factors are involved in the majority of anomalies.”
Towards effective performance diagnosis for distributed applications
Xin, R. (2023) · UvA-DARE (University of Amsterdam)
Toward Fine-Grained Unknown Anomaly Detection in Microservice Systems based on Multimodal Data
Wang, Z., Wei, Y., Chen, S., Jin, D., Tan, J., & Zhang, T. (2025) · International Conference on Information Communication and Software Engineering (ICICSE) · doi:10.1109/icicse66971.2025.11429925
“As for log-based methods, [5] constructs log event dependency graph to extract log sequential patterns and determines anomaly types using Gated Graph Neural Networks (GGNN), while [6] learns behavior patterns from service log data to build a random forest model for real-time anomaly classification.”
Xu, Y., & He, G. (2026) · International Conference on Artificial Intelligence and Social Network Systems (AISNS) · doi:10.1109/aisns67921.2026.11440435
“To mitigate this, the field is shifting toward unified multi-task modeling [11]– [14].”
Adaptive Anomaly Detection for Multi-Dimensional Issue Reports
Wang, X., Chu, M., Yu, H., Luo, C. W., & Hu, C. (2026) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3801155
Enhancing Spectrum-Based Fault Localization Using Contextual Knowledge
Szatmári, A. (2025) · SZTE Repository of Dissertations (University of Szeged) · doi:10.14232/phd.12635
Emerging Paradigms in Distributed Computing: A Systematic Review of Serverless Edge Technologies
Bharti, S., Gill, R., Harnal, S., & Bharany, S. (2026) · Recent Patents on Engineering · doi:10.2174/0118722121424408251204210812
Liu, M., Li, Y., Wang, H., Li, M., Tang, F., & Yang, W. (2026) · IEEE Transactions on Reliability · doi:10.1109/tr.2026.3680212
“Initially, approaches rely on the single-modal data, evidenced by trace-based root cause localization [2], [3], log-based fault detection [4], [5], [6], and metric-based anomaly analysis [7], [8], [9].”
Tian, X., Ying, S., Li, T., Li, N., Shi, C., & Xiao, D. (2026) · IEEE Transactions on Dependable and Secure Computing · doi:10.1109/tdsc.2026.3687558
“To address these challenges, many studies have been done, such as [3], [4], [7], [8], [9].”
CelerLog: Fast Log Parsing via Dynamic RoutingPreprint
Shan, S., Huo, Y., Wang, M., Wu, Z., Su, Y., & Zheng, Z. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2605.26005
“Log messages are generated at runtime by developer-embedded logging statements to record system behaviors [6, 20, 36], serving as a crucial data source for automated tasks such as error diagnosis [38, 44, 51, 54] and anomaly detection [11, 12, 23, 40, 53].”
A graph-based file-level anomaly detection framework for system logs
Tang, Y., Xiong, W., Zhang, Z., Zhao, K., Liu, J., Liu, K., & CHEN, W. (2026) · Engineering Applications of Artificial Intelligence · doi:10.1016/j.engappai.2026.115345
HGA: Heterogeneity-Aware Graph Collaborative AutoScaler for MicroservicesPreprint
Liu, D., Liu, C., Zheng, H. R., Zhou, X., & Peng, M. (2026) · Research Square · doi:10.21203/rs.3.rs-9854706/v1
Self-citationZhang, X., Wang, Z., Wang, P., Cao, Z., & Liu, M. (2026) · KSII Transactions on Internet and Information Systems · doi:10.3837/tiis.2026.06.014
Can Large Language Models Generate Observability-Aware Code?Preprint
Tao, Y., Zhang, H., Gao, P., Ma, M., Fan, Z., Kang, Y., Zhang, J., Qin, S., Li, L., Lin, Q., et al. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2607.05785
“We do not require logs to fully diagnose root causes or support complete Root Cause Analysis [15], [16], [17], [18], [19], [20] (RCA).”
Anomaly Detection in Large-Scale Distributed Systems Using Graph-Based Deep Learning
Bayani, S. V. (2026) · International Conference on Artificial Intelligence Systems (AIS) · doi:10.1109/ais69919.2026.11621361
“The development of communication systems and Internet Networks poses a continuous challenge to information technology professionals [1].”
Context-Aware Multi-Agent Root Cause Analysis for Distributed Transaction Failures
Divi, V. R. (2026) · International Journal of Computer Applications · doi:10.5120/ijcaa68c5de71c8c
World of Logs: A Dataset of Logs from Online Documents
Wang, X., Yao, K., Liao, L., Nie, P., Zhang, X., & Shang, W. (2026) · International Conference on Mining Software Repositories (MSR) · doi:10.1145/3793302.3793319
“Specifically, logs are widely used in software maintenance, including debugging [7, 30, 31], anomaly detection [8, 10, 13], failure diagnosis [5, 15, 33], performance diagnosis and improvement [4, 24, 25].”
An AI-Driven Autonomous Self-Healing System for Cloud-Native Microservice Applications
Mendes, J. P. S. (2026) · Portuguese National Funding Agency for Science, Research and Technology (RCAAP Project by FCT)
TS3D: A Temporal Multimodal Dataset for Distributed Database System Analysis
Yao, Y., Shi, Y., Wei, Y., Chen, L., Khayati, M., Long, C., & Li, T. (2026) · IEEE International Conference on Data Engineering (ICDE) · doi:10.1109/icde65706.2026.00218
“Although several existing public datasets in the AIOps domain [6]–[8] contain database-related information (e.g., Oracle performance metrics), they primarily focus on system-level tasks such as service monitoring [9], KPI failure detection [10], and fault diagnosis [11].”
Feng, J., Zheng, J., Duan, H., & Liu, J. (2026) · Research Square · doi:10.21203/rs.3.rs-10813901/v1
Adapting and Validating GNN Fault Forecaster with Real-World Cloud Traces
Varma, P. B. M., Raju, P. R., & Rao, A. A. (2026) · International Journal for Research in Applied Science and Engineering Technology · doi:10.22214/ijraset.2026.84984
LogNexus: Effective Log Compression via Unified Redundancy Encoding
Liu, Y., Zhang, K., Chen, Z., & Zheng, Z. (2026) · Proceedings of the ACM on software engineering. · doi:10.1145/3832263
“Software systems generate logs to record runtime events, errors, and operational states, which are indispensable for system maintenance [3, 4, 12, 17, 30, 36, 41, 42, 44] and performance optimization [2, 6, 16, 43].”
Sketch-based In-Network Monitoring of Data Centers and Programmable Networks
Cornacchia, A. (2024) · PORTO@Iris
Tucci, M. (n.d.) · Archivio Istituzionale della Ricerca - Università degli Studi dell Aquila
Empowering automated mobile UI testing with external support
Wang, W. (2022) · Illinois Digital Environment for Access to Learning and Scholarship (University of Illinois at Urbana-Champaign)
OpsLens: Runbook-Free Root Cause Analysis via Multi-agent Collaboration and Tool Management
Huang, H., Lyu, J., Tan, G., Chen, P., Jiang, Z., Yu, G., Mi, P., Wang, F., Jian, H., Tan, C., et al. (2026) · IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1145/3832783.3834501
“Toautomatethisprocess,data-drivenRCAmeth-ods [9, 13, 22, 28, 31, 37, 40, 45, 46, 52] have been widely studied.”
Enhancing Trace-Based Root Cause Analysis for Microservice Systems via Code Change Understanding
Zhang, M., Zhang, C., Xie, S., Chen, S., Wu, L., & Peng, X. (2026) · IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1145/3832783.3837424
Self-citationRangari, A. J., Mishra, L. N., & Senapati, B. (2026) · Technologies · doi:10.3390/technologies14100657
Large Language Model-Assisted Root Cause Analysis for Complex Distributed Microservice Architectures
Chinnam, N. B. (2025) · International Journal of Future Innovative Science and Technology · doi:10.15662/ijfist.2025.0801003
Sun, L., RongKai, Z., & Wu, X. (2026) · International Workshop on Human-centric Multimedia Analysis (HCMA) · doi:10.1145/3841192.3841751
Arquitetura de Aplicações para a Cloud
Perdigão, J. M. T. F. C. (2021) · Portuguese National Funding Agency for Science, Research and Technology (RCAAP Project by FCT)
An RPS-Guided Concept Drift-Aware Prediction Paradigm for Microservice Metrics
Yan, Z., Zhang, H., & Zeng, S. (2026) · IEEE International Conference on Software Maintenance (ICSM) · doi:10.1109/icsme67971.2026.00026
Fault-Free Profiles and Decision-Level Training for Root Cause Analysis via Small Language ModelsPreprint
Lee, K., Park, W., Kim, T., Baik, S., & Lee, K. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2611.02416
Balasubramanian, S. A. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2611.11040
Metadata
- Authors
- Zhou, X., Peng, X., Xie, T., Sun, J., Ji, C., Liu, D., Xiang, Q., & He, C.
- Affiliations
- Fudan University (CN)
- University of Illinois Urbana-Champaign (US)
- Singapore Management University (SG)
- Venue
- Proceedings of the 2019 27th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering
- Publisher
- ACM
- Published
- 2019-08-12
- Pages
- 683-694
- OpenAlex
- W2966971704
- Cited by
- 277
- References
- 46
- Citations by year
- 2026: 26 · 2025: 55 · 2024: 50 · 2023: 51 · 2022: 41 · 2021: 40 · 2020: 13 · 2019: 1
- FWCI
- 20.53
- Type
- conference paper
- Language
- en
- Open access
- Locations
- ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) (publishedVersion)
- Singapore Management University Institutional Knowledge (InK) (Singapore Management University) (submittedVersion, other-oa)
- Topics
- Physical Sciences › Computer Science › Computer Networks and Communications › Software System Performance and Reliability
- Physical Sciences › Computer Science › Software › Software Testing and Debugging Techniques
- Physical Sciences › Computer Science › Information Systems › Software Engineering Research
- Keywords
- microservice applications, fault location, fault injection, distributed systems, container orchestration, service mesh
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.