paper-with-me

Papers

Fault Localization via Fine-tuning Large Language Models with Mutation Generated Stack Traces

2025-01-29 · Neetha Jambigi, Bartosz Bogacz, Moritz Mueller, Thomas Bach, Michael Felderer

Abrupt and unexpected terminations of software are termed as software crashes. They can be challenging to analyze. Finding the root cause requires extensive manual effort and expertise to connect information sources like stack traces, source code, and logs. Typical approaches to fault localization require either test failures or source code. Crashes occurring in production environments, such as that of SAP HANA, provide solely crash logs and stack traces. We present a novel approach to localize faults based only on the stack trace information and no additional runtime information, by fine-tuning large language models (LLMs). We address complex cases where the root cause of a crash differs from the technical cause, and is not located in the innermost frame of the stack trace. As the number of historic crashes is insufficient to fine-tune LLMs, we augment our dataset by leveraging code mutators to inject synthetic crashes into the code base. By fine-tuning on 64,369 crashes resulting from 4.1 million mutations of the HANA code base, we can correctly predict the root cause location of a crash with an accuracy of 66.9\% while baselines only achieve 12.6% and 10.6%. We substantiate the generalizability of our approach by evaluating on two additional open-source databases, SQLite and DuckDB, achieving accuracies of 63% and 74%, respectively. Across all our experiments, fine-tuning consistently outperformed prompting non-finetuned LLMs for localizing faults in our datasets.

📄 PDF Abstract BibTeX arXiv:2501.18005

Code (0)

등록된 구현이 없습니다.

Tasks

Fault localization

Similar Papers 제목 키워드 기반

Large Language Models for Test-Free Fault Localization

2023-10-03 · Aidan Z. H. Yang, Ruben Martins, Claire Le Goues, Vincent J. Hellendoorn

Fault Localization (FL) aims to automatically localize buggy lines of code, a key first step in many manual and automatic debugging tasks. Previous FL techniques assume the provision of input tests, and often require ext…

Fault localizationLanguage ModelingLanguage Modelling

BitFlipScope: Scalable Fault Localization and Recovery for Bit-Flip Corruptions in LLMs

2025-12-18 · Muhammad Zeeshan Karamat, Sadman Saif, Christiana Chamon Garcia arxiv

Large Language Models (LLMs) deployed in practical and safety-critical settings are increasingly susceptible to bit-flip faults caused by hardware degradation, cosmic radiation, or deliberate fault-injection attacks such…

Fault Diagnosis

Bug-Report-Driven Fault Localization: Industrial Benchmarking and Lesson Learned at ABB Robotics

2026-04-28 · Pernilla Hall, Anton Ununger, Riccardo Rubei, Alessio Bucaioni arxiv

Software quality assurance remains a major challenge in industrial environments, where large-scale and long-lived systems inevitably accumulate defects. Identifying the location of a fault is often time-consuming and cos…

Text ClassificationData Augmentation

Towards Robust LLM Post-Training: Automatic Failure Management for Reinforcement Fine-Tuning

2026-05-06 · Lingzhe Zhang, Tong Jia, Yunpeng Zhai, Liancheng Fang 외 arxiv

Reinforcement fine-tuning (RFT) has become a core paradigm for post-training large language models, yet its training process remains highly fragile. Existing efforts mainly improve reliability at the system level or addr…

Anomaly Detection

ConDefects: A New Dataset to Address the Data Leakage Concern for LLM-based Fault Localization and Program Repair

2023-10-25 · Yonghao Wu, Zheng Li, Jie M. Zhang, Yong liu

With the growing interest on Large Language Models (LLMs) for fault localization and program repair, ensuring the integrity and generalizability of the LLM-based methods becomes paramount. The code in existing widely-ado…

BenchmarkingFault localizationProgram Repair