arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2308.10022cs.SE
收藏

CUPID:利用ChatGPT实现更准确的重复缺陷报告检测

CUPID: Leveraging ChatGPT for More Accurate Duplicate Bug Report Detection

Ting Zhang, Ivana Clairine Irsan, Ferdian Thung, David Lo

AI总结:

针对小规模缺陷库中现有方法性能不佳的问题,提出CUPID方法,结合传统REP与ChatGPT,在三个数据集上实现最先进的重复缺陷报告检测性能,Recall Rate@10提升5%-8%。

摘要:

重复缺陷报告检测(DBRD)是学术界和工业界长期面临的挑战。在过去几十年中,研究人员提出了各种方法来更准确地检测重复缺陷报告。随着深度学习的最新进展,研究人员也提出了几种基于深度学习的方法来处理DBRD任务。在包含大量缺陷报告的缺陷库中,基于深度学习的方法表现出了良好的性能。然而,在缺陷报告数量较少(即约10k)的缺陷库中,现有的深度学习方法表现不如传统方法。传统方法也有局限性,例如,它们通常基于词袋模型,无法捕获缺陷报告的语义。为了解决上述挑战,我们寻求利用最先进的大型语言模型(LLM)来提高传统DBRD方法的性能。在本文中,我们提出了一种名为CUPID的方法,它将性能最佳的传统DBRD方法(即REP)与最先进的LLM(即ChatGPT)相结合。我们通过在三个数据集上将CUPID与三种现有方法进行比较来评估。实验结果表明,CUPID达到了最先进的结果,在所有分析的数据集上,Recall Rate@10得分在0.602到0.654之间。特别是,在数据集中,CUPID在Recall Rate@10方面比先前最先进的方法提高了5%至8%。CUPID还超过了最先进的基于深度学习的DBRD方法,最高可达82%。

英文摘要:

Duplicate bug report detection (DBRD) is a long-standing challenge in both academia and industry. Over the past decades, researchers have proposed various approaches to detect duplicate bug reports more accurately. With the recent advancement of deep learning, researchers have also proposed several deep learning-based approaches to address the DBRD task. In the bug repositories with many bug reports, deep learning-based approaches have shown promising performance. However, in the bug repositories with a smaller number of bug reports, i.e., around 10k, the existing deep learning approaches show worse performance than the traditional approaches. Traditional approaches have limitations, too, e.g., they are usually based on the bag-of-words model, which cannot capture the semantics of bug reports. To address these aforementioned challenges, we seek to leverage a state-of-the-art large language model (LLM) to improve the performance of the traditional DBRD approach. In this paper, we propose an approach called CUPID, which combines the bestperforming traditional DBRD approach (i.e., REP) with the state-of-the-art LLM (i.e., ChatGPT). We conducted an evaluation by comparing CUPID with three existing approaches on three datasets. The experimental results show that CUPID achieves state-of-theart results, reaching Recall Rate@10 scores ranging from 0.602 to 0.654 across all the datasets analyzed. In particular, CUPID improves over the prior state-ofthe-art approach by 5% - 8% in terms of Recall Rate@10 in the datasets. CUPID also surpassed the state-of-the-art deep learning-based DBRD approach by up to 82%.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑