CLeBPI: Contrastive Learning for Bug Priority Inference

被引:2
|
作者
Wang, Wen-Yao [1 ]
Wu, Chen-Hao [1 ]
He, Jie [2 ,3 ]
机构
[1] Macau Univ Sci & Technol, Fac Innovat Engn, Taipa, Macao, Peoples R China
[2] Hunan Univ, Coll Comp Sci & Elect Engn, Changsha, Hunan, Peoples R China
[3] Wuzhou Univ, Guangxi Key Lab Machine Vis & Intelligent Control, Wuzhou, Guangxi, Peoples R China
基金
中国国家自然科学基金;
关键词
Contrastive learning; Bug report; Bug priority inference; Software maintenance; INFORMATION-RETRIEVAL; PREDICTION;
D O I
10.1016/j.infsof.2023.107302
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Context: Automated bug priority inference (BPI) can reduce the time overhead of bug triagers for priority assignments, improving the efficiency of software maintenance. Objective: There are two orthogonal lines for this task, i.e., traditional machine learning based (TML-based) and neural network based (NN-based) approaches. Although these approaches achieve competitive performance, our observation finds that existing approaches face the following two issues: 1) TML-based approaches require much manual feature engineering and cannot learn the semantic information of bug reports; 2) Both TML-based and NN-based approaches cannot effectively address the label imbalance problem because they are difficult to distinguish the semantic difference between bug reports with different priorities. Method: We propose CLeBPI (Contrastive Learning for Bug Priority Inference), which leverages pre-trained language model and contrastive learning to tackle the above-mentioned two issues. Specifically, CLeBPI is first pre-trained on a large-scale bug report corpus in a self-supervised way, thus it can automatically learn contextual representations of bug reports without manual feature engineering. Afterward, it is further pre-trained by a contrastive learning objective, which enables it to distinguish semantic differences between bug reports, learning more precise contextual representations for each bug report. When finishing pre-training, we can connect a classification layer to CLeBPI and fine-tune it for BPI in a supervised way. Results: We choose four baseline approaches and conduct comparison experiments on a public dataset. The experimental results show that CLeBPI outperforms all baseline approaches by 23.86%-77.80% in terms of weighted average F1-score, showing its effectiveness. Conclusion: This paper propose CLeBPI, a pre-trained model combining contrastive learning that can auto-matically predict bug priority. Experimental results show that It achieves new result in BPI and can effectively alleviate label imbalance problem.
引用
收藏
页数:14
相关论文
共 50 条
  • [1] Improving Bug Localization With Effective Contrastive Learning Representation
    Luo, Zhengmao
    Wang, Wenyao
    Cen, Caichun
    IEEE ACCESS, 2023, 11 : 32523 - 32533
  • [2] On Contrastive Learning for Likelihood-free Inference
    Durkan, Conor
    Murray, Iain
    Papamakarios, George
    25TH AMERICAS CONFERENCE ON INFORMATION SYSTEMS (AMCIS 2019), 2019,
  • [3] On Contrastive Learning for Likelihood-free Inference
    Durkan, Conor
    Murray, Iain
    Papamakarios, George
    INTERNATIONAL CONFERENCE ON MACHINE LEARNING, VOL 119, 2020, 119
  • [4] Fixer-level supervised contrastive learning for bug assignment
    Rongcun Wang
    Xingyu Ji
    Yuan Tian
    Senlei Xu
    Xiaobing Sun
    Shujuan Jiang
    Empirical Software Engineering, 2025, 30 (3)
  • [5] Poster: Membership Inference Attacks via Contrastive Learning
    Chen, Depeng
    Liu, Xiao
    Cui, Jie
    Zhong, Hong
    PROCEEDINGS OF THE 2023 ACM SIGSAC CONFERENCE ON COMPUTER AND COMMUNICATIONS SECURITY, CCS 2023, 2023, : 3555 - 3557
  • [6] Supervised Contrastive Learning With Structure Inference for Graph Classification
    Ji, Junzhong
    Jia, Hao
    Ren, Yating
    Lei, Minglong
    IEEE TRANSACTIONS ON NETWORK SCIENCE AND ENGINEERING, 2023, 10 (03): : 1684 - 1695
  • [7] Contrastive Predictive Embedding for learning and inference in knowledge graph
    Liu, Chen
    Wei, Zihan
    Zhou, Lixin
    Knowledge-Based Systems, 2025, 307
  • [8] A Study on Machine Learning Applied to Software Bug Priority Prediction
    Malhotra, Ruchika
    Dabas, Ajay
    Hariharasudhan, A. S.
    Pant, Manish
    2021 11TH INTERNATIONAL CONFERENCE ON CLOUD COMPUTING, DATA SCIENCE & ENGINEERING (CONFLUENCE 2021), 2021, : 965 - 970
  • [9] Neighborhood contrastive learning-based graph neural network for bug triaging
    Dong, Haozhen
    Ren, Hongmin
    Shi, Jialiang
    Xie, Yichen
    Hu, Xudong
    SCIENCE OF COMPUTER PROGRAMMING, 2024, 235
  • [10] A Comparative Study of Contemporary Learning Paradigms in Bug Report Priority Detection
    Halit Yilmaz, Eyup
    Hakki Toroslu, Ismail
    Koksal, Omer
    IEEE ACCESS, 2024, 12 : 126577 - 126586