arrow
返回

Improving Bug Localization With Effective Contrastive Learning Representation

delete2023-01-01
delete0
delete
OA
AI
Z
Zhengmao Luo
W
Wenyao Wang
C
Caichun Cen *
DOI:10.1109/ACCESS.2022.3228802delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Automated localization of buggy files can accelerate developers' efficiency of software maintenance, improving the quality of software products. State-of-the-art approaches for bug localization is based on neural networks, e.g., RNN or CNN, and can learn semantic feature from the given bug report. However, these simple neural architectures are difficult to learn the deep contextual feature from bug reports, which hurts the semantic mapping between bug reports and their corresponding buggy files. To resolve the above problem, in this paper we propose a bug localization approach that combines pre-trained language models and contrastive learning, namely CoLoc. Specifically, CoLoc first is pre-trained on a large-scale bug report corpus in an unsupervised way, to learn the deep contextual feature of each token in the bug report according to its context. Afterward, CoLoc is further pre-trained by a contrastive learning objective to learn the contrastive learning representations both of bug reports and buggy files. Contrastive learning can help CoLoc to learn the semantic differences between different bug reports and buggy files. To evaluate the effectiveness of CoLoc, we choose five baseline approaches and compare their performance on a public dataset. The experimental results show that CoLoc outperforms all baseline approaches by up to 76.00% in terms of MRR, achieving new results for bug localization.
Keyword:
Computer bugs
Location awareness
Semantics
Source coding
Transformers
Learning systems
Task analysis
Software maintenance
Contrastive learning representation
bug localization
pre-trained language model
software maintenance

期刊

IEEE Access 封面图
IEEE Access
IF:
3.6
论文数:
9.8W
被引数:
29.4W

机构

W
Wuzhou University
学者数:
326
论文数: 312
被引数: 454
引用论文

引用论文

Deep Learning-based Text Classification: A Comprehensive Review基于深度学习的文本分类综述
err2021-04-17
err587
PREAI
errMinaee, Shervin; Kalchbrenner, Nal; Cambria, Erik; Nikzad, Narjes; Chenaghlu, Meysam; Gao, Jianfeng
err分享
err收藏
Biomedical Question Answering: A Survey of Approaches and Challenges生物医学问题回答: 方法和挑战的调查
err2022-01-18
err54
errOAAI
errJin, Qiao; Yuan, Zheng; Xiong, Guangzhi; Yu, Qianlan; Ying, Huaiyuan; Tan, Chuanqi; Chen, Mosha; Huang, Songfang; Liu, Xiaozhong; Yu, Sheng
err分享
err收藏
err分享
err收藏
A survey of transfer learning迁移学习研究综述
err2016-05-28
err0
errOAAI
errKarl Weiss; Taghi M. Khoshgoftaar; DingDing Wang
err分享
err收藏
Towards more accurate severity prediction and fixer recommendation of software bugs
err2016-07-01
err112
PREAI
errZhang, Tao; Chen, Jiachi; Yang, Geunseok; Lee, Byungjeong; Luo, Xiapu
err分享
err收藏
Deep Learning With Customized Abstract Syntax Tree for Bug Localization
err2019-01-01
err36
errOAAI
errLiang, Hongliang; Sun, Lu; Wang, Meilin; Yang, Yuxing
err分享
err收藏
学者 查看更多内容