mlsanityData to 7 Oct 2026

Demystifying and Extracting Fault-indicating Information from Logs for Failure Diagnosis

arXiv 2409.13561 ↗First posted 20 Sep 2024cs.SE cs.CLcited by 6

Not on the map. Why?

Abstract (arXiv)

Logs are imperative in the maintenance of online service systems, which often encompass important information for effective failure mitigation. While existing anomaly detection methodologies facilitate the identification of anomalous logs within extensive runtime data, manual investigation of log messages by engineers remains essential to comprehend faults, which is labor-intensive and error-prone. Upon examining the log-based troubleshooting practices at CloudA, we find that engineers typically prioritize two categories of log information for diagnosis. These include fault-indicating descriptions, which record abnormal system events, and fault-indicating parameters, which specify the associated entities. Motivated by this finding, we propose an approach to automatically extract such faultindicating information from logs for fault diagnosis, named LoFI. LoFI comprises two key stages. In the first stage, LoFI performs coarse-grained filtering to collect logs related to the faults based on semantic similarity. In the second stage, LoFI leverages a pre-trained language model with a novel prompt-based tuning method to extract fine-grained information of interest from the collected logs. We evaluate LoFI on logs collected from Apache Spark and an industrial dataset from CloudA. The experimental results demonstrate that LoFI outperforms all baseline methods by a significant margin, achieving an absolute improvement of 25.8~37.9 in F1 over the best baseline method, ChatGPT. This highlights the effectiveness of LoFI in recognizing fault-indicating information. Furthermore, the successful deployment of LoFI at CloudA and user studies validate the utility of our method. The code and data are available at https://github.com/Jun-jie-Huang/LoFI.

Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 35 of its 86 references that are in the map. First posted on arXiv 20 Sep 2024.

Builds on

35 of 86 references.

References · 35

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  3. 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
  4. 2020Longformer: The Long-Document Transformercited by 3,362
  5. 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,898
  6. 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,222
  7. 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,286
  8. 2020Making Pre-trained Language Models Better Few-shot Learnerscited by 1,255
  9. 2021CodeXGLUE: A Machine Learning Benchmark Dataset for Code Understanding and Generationcited by 732
  10. 2022UniXcoder: Unified Cross-Modal Pre-training for Code Representationcited by 355
  11. 2021Log-based Anomaly Detection Without Log Parsingcited by 59
  12. 2018Tools and Benchmarks for Automated Log Parsingcited by 56
23 more
  1. 2022Log-based Anomaly Detection with Deep Learning: How Far Are We?cited by 56
  2. 2020A Survey on Automated Log Analysis for Reliability Engineeringcited by 50
  3. 2021Experience Report: Deep Learning-based System Log Analysis for Anomaly Detectioncited by 37
  4. 2019Span Selection Pre-training for Question Answeringcited by 36
  5. 2020Self-Attentive Classification-Based Anomaly Detection in Unstructured Logscited by 36
  6. 2023LILAC: Log Parsing using LLMs with Adaptive Parsing Cachecited by 30
  7. 2023Log Parsing with Prompt-based Few-shot Learningcited by 28
  8. 2022UniParser: A Unified Log Parser for Heterogeneous Log Datacited by 25
  9. 2023A Large-Scale Evaluation for Log Parsing Techniques: How Far Are We?cited by 25
  10. 2023Did We Miss Something Important? Studying and Exploring Variable-Aware Log Abstractioncited by 19
  11. 2021SemParser: A Semantic Parser for Log Analysiscited by 15
  12. 2021Robust and Transferable Anomaly Detection in Log Data using Pre-Trained Language Modelscited by 12
  13. 2022System Log Parsing: A Surveycited by 10
  14. 2023Exploring the Effectiveness of LLMs in Automated Logging Generation: An Empirical Studycited by 9
  15. 2021Automatically Matching Bug Reports With Related App Reviewscited by 8
  16. 2023Heterogeneous Anomaly Detection for Software Systems via Semi-supervised Cross-modal Attentioncited by 8
  17. 2024Go Static: Contextualized Logging Statement Generationcited by 8
  18. 2022LogStamp: Automatic Online Log Parsing Based on Sequence Labellingcited by 6
  19. 2021AID: Efficient Prediction of Aggregated Intensity of Dependency in Large-scale Cloud Systemscited by 4
  20. 2024Knowledge-aware Alert Aggregation in Large-scale Cloud Systems: a Hybrid Approachcited by 4
  21. 2022Characterizing and Mitigating Anti-patterns of Alerts in Industrial Cloud Systemscited by 2
  22. 2024FaultProfIT: Hierarchical Fault Profiling of Incident Tickets in Large-scale Cloud Systemscited by 2
  23. 2024TraceMesh: Scalable and Streaming Sampling for Distributed Tracescited by 1

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 4; 2026: 2.

6 papers.