Enhancing Fault Localization in Industrial Software Systems via Contrastive Learning
Chun Li, Hui Li, Zhong Li, Minxue Pan, Xuandong Li
Abstract
Engineers utilize logs as a primary resource for fault localization in large-scale software and system testing, a process that is notoriously time-consuming, costly, and labor-intensive. Despite considerable progress in automated fault localization approaches, their applicability remains limited in such settings, due to the unavailability of fine-grained features in logs essential for most existing fault localization methods. In response, we introduce Falcon,a novel log-based fault localization framework. Falconorganizes complex semantic log information into graphical representations and employs contrastive learning to capture the differences between passed and failed logs, enabling the identification of crucial fault-related features. It also incorporates a specifically designed transitive analysis-based adaptive graph augmentation to minimize the influence of fault-unrelated log information on contrastive learning. Through extensive evaluations against 34 spectrum-based and 4 learning-based fault localization methods, Falcondemonstrates superior performance by out-performing all the methods in comparison. In addition, Falcondemonstrated its practical value by successfully identifying 71 out of 90 faults with a file-level Top-1 accuracy rate during a one-month deployment within a global company's testing system.
Ask about this paper
Ask your agent about it.
Lune has read the top-tier papers around this one, so every answer names the papers it rests on.
Cited by top-tier papers1
Ask how each one uses itRelated papers
- Learning without Forgetting: Towards Continual learning of Fault Localization Models in Industrial Software SystemsChun Li, Hui Li, Zhong Li, Minxue Pan et al.ICSE 2026
- Project-Scale Statement-Level Fault Localization via Multi-view Semantic Learning and Pairwise RerankingHongwei Yu, Xu Wang, Jian Zhang, Xiangxin Meng et al.ISSTA 2026
- Improving Graph Learning-Based Fault Localization with Tailored Semi-supervised LearningChun Li, Hui Li, Zhong Li, Minxue Pan et al.FSE 2025 · 2 citations
- TraceCRL: contrastive representation learning for microservice trace analysisChenxi Zhang, Xin Peng, Tong Zhou, Chaofeng Sha et al.FSE 2022 · 36 citations
- Sifting Truth from Coincidences: A Two-Stage Positive and Unlabeled Learning Model for Coincidental Correctness DetectionChunyan Liu, Huan Xie, Yan Lei, Zhenyu Wu et al.ASE 2025
