Lune

ICSE2022顶会

Improving Fault Localization and Program Repair with Deep Semantic Features and Transferred Knowledge

Xiangxin Meng, Xu Wang, Hongyu Zhang, Hailong Sun, Xudong Liu

摘要

Automatic software debugging mainly includes two tasks of fault localization and automated program repair. Compared with the traditional spectrum-based and mutation-based methods, deep learning-based methods are proposed to achieve better performance for fault localization. However, the existing methods ignore the deep semantic features or only consider simple code representations. They do not leverage the existing bug-related knowledge from large-scale open-source projects either. In addition, existing template-based program repair techniques can incorporate project specific information better than deep-learning approaches. However, they are weak in selecting the fix templates for efficient program repair. In this work, we propose a novel approach called TRANSFER, which leverages the deep semantic features and transferred knowledge from open-source data to improve fault localization and program repair. First, we build two large-scale open-source bug datasets and design 11 BiLSTM-based binary classifiers and a BiLSTM-based multi-classifier to learn deep semantic features of statements for fault localization and program repair, respectively. Second, we combine semantic-based, spectrum-based and mutation-based features and use an MLP-based model for fault localization. Third, the semantic-based features are leveraged to rank the fix templates for program repair. Our extensive experiments on widely-used benchmark De-fects4J show that TRANSFER outperforms all baselines in fault localization, and is better than existing deep-learning methods in automated program repair. Compared with the typical template-based work TBar, TRANSFER can correctly repair 6 more bugs (47 in total) on Defects4J.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 19 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • CoCoNuT: combining context-aware neural translation models using ensemble for program repair 引用了 DLFix: context-based code transformation learning for automated program repair
  • Large Language Models for Test-Free Fault Localization 引用了 Boosting coverage-based fault localization via graph-based representation learning
  • One Size Does Not Fit All: Multi-granularity Patch Generation for Better Automated Program Repair 引用了 CoCoNuT: combining context-aware neural translation models using ensemble for program repair
  • One Size Does Not Fit All: Multi-granularity Patch Generation for Better Automated Program Repair 引用了 CURE: Code-Aware Neural Machine Translation for Automatic Program Repair
  • One Size Does Not Fit All: Multi-granularity Patch Generation for Better Automated Program Repair 引用了 DLFix: context-based code transformation learning for automated program repair
  • One Size Does Not Fit All: Multi-granularity Patch Generation for Better Automated Program Repair 引用了 A syntax-guided edit decoder for neural program repair
  • One Size Does Not Fit All: Multi-granularity Patch Generation for Better Automated Program Repair 引用了 An Empirical Study on Fine-Tuning Large Language Models of Code for Automated Program Repair
  • Demystifying LLM-Based Software Engineering Agents 引用了 Large Language Models for Test-Free Fault Localization
  • Demystifying LLM-Based Software Engineering Agents 引用了 CURE: Code-Aware Neural Machine Translation for Automatic Program Repair
  • Demystifying LLM-Based Software Engineering Agents 引用了 DLFix: context-based code transformation learning for automated program repair
  • Demystifying LLM-Based Software Engineering Agents 引用了 A syntax-guided edit decoder for neural program repair
  • CURE: Code-Aware Neural Machine Translation for Automatic Program Repair 引用了 CoCoNuT: combining context-aware neural translation models using ensemble for program repair
  • CURE: Code-Aware Neural Machine Translation for Automatic Program Repair 引用了 DLFix: context-based code transformation learning for automated program repair
  • A syntax-guided edit decoder for neural program repair 引用了 CoCoNuT: combining context-aware neural translation models using ensemble for program repair
  • A syntax-guided edit decoder for neural program repair 引用了 DLFix: context-based code transformation learning for automated program repair
  • An Empirical Study on Fine-Tuning Large Language Models of Code for Automated Program Repair 引用了 CoCoNuT: combining context-aware neural translation models using ensemble for program repair
  • An Empirical Study on Fine-Tuning Large Language Models of Code for Automated Program Repair 引用了 CURE: Code-Aware Neural Machine Translation for Automatic Program Repair
  • An Empirical Study on Fine-Tuning Large Language Models of Code for Automated Program Repair 引用了 DLFix: context-based code transformation learning for automated program repair
  • An Empirical Study on Fine-Tuning Large Language Models of Code for Automated Program Repair 引用了 A syntax-guided edit decoder for neural program repair
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper19

  1. Large Language Models for Test-Free Fault LocalizationAidan Z. H. Yang, Claire Le Goues, Ruben Martins, Vincent J. HellendoornICSE 2024 · 98 次引用
  2. An Empirical Study on Fine-Tuning Large Language Models of Code for Automated Program RepairKai Huang, Xiangxin Meng, Jian Zhang, Yang Liu 等ASE 2023 · 91 次引用
  3. Demystifying LLM-Based Software Engineering AgentsChunqiu Steven Xia, Yinlin Deng, Soren Dunn, Lingming ZhangFSE 2025 · 36 次引用
  4. One Size Does Not Fit All: Multi-granularity Patch Generation for Better Automated Program RepairBo Lin, Shangwen Wang, Ming Wen, Liqian Chen 等ISSTA 2024 · 10 次引用
  5. DeFort: Automatic Detection and Analysis of Price Manipulation Attacks in DeFi ApplicationsMaoyi Xie, Ming Hu, Ziqiao Kong, Cen Zhang 等ISSTA 2024 · 9 次引用

它引用的 Paper8

  1. CoCoNuT: combining context-aware neural translation models using ensemble for program repairThibaud Lutellier, Hung Viet Pham, Lawrence Pang, Yitong Li 等ISSTA 2020 · 325 次引用
  2. CURE: Code-Aware Neural Machine Translation for Automatic Program RepairNan Jiang, Thibaud Lutellier, Lin TanICSE 2021 · 267 次引用
  3. A syntax-guided edit decoder for neural program repairQihao Zhu, Zeyu Sun, Yuan-an Xiao, Wenjie Zhang 等FSE 2021 · 214 次引用
  4. DLFix: context-based code transformation learning for automated program repairYi Li, Shaohua Wang, Tien N. NguyenICSE 2020 · 201 次引用
  5. Boosting coverage-based fault localization via graph-based representation learningYiling Lou, Qihao Zhu, Jinhao Dong, Xia Li 等FSE 2021 · 157 次引用

相关 Paper

  1. Template-based Neural Program RepairXiangxin Meng, Xu Wang, Hongyu Zhang, Hailong Sun 等ICSE 2023 · 29 次引用
  2. DEAR: A Novel Deep Learning-based Approach for Automated Program RepairYi Li, Shaohua Wang, Tien N. NguyenICSE 2022 · 91 次引用
  3. Can automated program repair refine fault localization? a unified debugging approachYiling Lou, Ali Ghanbari, Xia Li, Lingming Zhang 等ISSTA 2020 · 99 次引用
  4. Less training, more repairing please: revisiting automated program repair via zero-shot learningChunqiu Steven Xia, Lingming ZhangFSE 2022 · 223 次引用
  5. KNOD: Domain Knowledge Distilled Tree Decoder for Automated Program RepairNan Jiang, Thibaud Lutellier, Yiling Lou, Lin Tan 等ICSE 2023 · 55 次引用
黄昏的海面,两侧是细线勾勒的悬崖