跳到主要导航 跳到搜索 跳到主要内容

FOFL: Dynamic Function Output-Based Software Fault Localization via Deep Learning

  • Beijing Institute of Technology

科研成果: 书/报告/会议事项章节会议稿件同行评审

摘要

Learning-based fault localization has become a prominent research direction in software engineering due to its ability to leverage diverse program artifacts such as execution traces and coverage data for precise fault identification. However, current techniques face two fundamental limitations: (1) oversimplified representations of program behavior through basic coverage metrics, and (2) high computational cost associated with collecting fine-grained runtime data. In this work, we present FOFL, a novel function output-based fault localization approach. Our intuition is that programs can be modeled as complex dynamical systems, where faults manifest as perturbations observable through function outputs. Our method first captures function-level output patterns during execution, then encodes them into a structured matrix representation that preserves system-level behavioral signatures. These matrices are analyzed through a hybrid deep learning architecture combining convolutional neural networks for spatial feature extraction and attention mechanisms for critical pattern recognition, ultimately producing a ranked list of suspicious locations. Experiments on the widely used Defects4J benchmark show that FOFL outperforms existing techniques by localizing 204 bugs in the Top-1 ranking, which corresponds to a 25-bug improvement over state-of-the-art methods, while also enhancing MFR and MAR by 4.5% and 4.3%, respectively. Furthermore, ablation studies confirm the positive contribution of listwise loss function and feature aggregation design. The results establish FOFL as an effective solution that advances fault localization through principled system modeling and targeted learning of informative data representations.

源语言英语
主期刊名2025 IEEE International Conference on Systems, Man, and Cybernetics
主期刊副标题Navigating Frontiers: Smart Systems for a Dynamic World, SMC 2025 - Proceedings
出版商Institute of Electrical and Electronics Engineers Inc.
5393-5398
页数6
ISBN(电子版)9798331533588
DOI
出版状态已出版 - 2025
已对外发布
活动2025 IEEE International Conference on Systems, Man, and Cybernetics, SMC 2025 - Hybrid, Vienna, 奥地利
期限: 5 10月 20258 10月 2025

出版系列

姓名Conference Proceedings - IEEE International Conference on Systems, Man and Cybernetics
ISSN(印刷版)1062-922X
ISSN(电子版)2577-1655

会议

会议2025 IEEE International Conference on Systems, Man, and Cybernetics, SMC 2025
国家/地区奥地利
Hybrid, Vienna
时期5/10/258/10/25

指纹

探究 'FOFL: Dynamic Function Output-Based Software Fault Localization via Deep Learning' 的科研主题。它们共同构成独一无二的指纹。

引用此