Combining Retrieval and Classification: Balancing Efficiency and Accuracy in Duplicate Bug Report Detection

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Meng, Qianru, Zhang, Xiao, Ramackers, Guus, Joost, Visser
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916219605483520
author Meng, Qianru
Zhang, Xiao
Ramackers, Guus
Joost, Visser
author_facet Meng, Qianru
Zhang, Xiao
Ramackers, Guus
Joost, Visser
contents In the realm of Duplicate Bug Report Detection (DBRD), conventional methods primarily focus on statically analyzing bug databases, often disregarding the running time of the model. In this context, complex models, despite their high accuracy potential, can be time-consuming, while more efficient models may compromise on accuracy. To address this issue, we propose a transformer-based system designed to strike a balance between time efficiency and accuracy performance. The existing methods primarily address it as either a retrieval or classification task. However, our hybrid approach leverages the strengths of both models. By utilizing the retrieval model, we can perform initial sorting to reduce the candidate set, while the classification model allows for more precise and accurate classification. In our assessment of commonly used models for retrieval and classification tasks, sentence BERT and RoBERTa outperform other baseline models in retrieval and classification, respectively. To provide a comprehensive evaluation of performance and efficiency, we conduct rigorous experimentation on five public datasets. The results reveal that our system maintains accuracy comparable to a classification model, significantly outperforming it in time efficiency and only slightly behind a retrieval model in time, thereby achieving an effective trade-off between accuracy and efficiency.
format Preprint
id arxiv_https___arxiv_org_abs_2404_14877
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Combining Retrieval and Classification: Balancing Efficiency and Accuracy in Duplicate Bug Report Detection
Meng, Qianru
Zhang, Xiao
Ramackers, Guus
Joost, Visser
Software Engineering
In the realm of Duplicate Bug Report Detection (DBRD), conventional methods primarily focus on statically analyzing bug databases, often disregarding the running time of the model. In this context, complex models, despite their high accuracy potential, can be time-consuming, while more efficient models may compromise on accuracy. To address this issue, we propose a transformer-based system designed to strike a balance between time efficiency and accuracy performance. The existing methods primarily address it as either a retrieval or classification task. However, our hybrid approach leverages the strengths of both models. By utilizing the retrieval model, we can perform initial sorting to reduce the candidate set, while the classification model allows for more precise and accurate classification. In our assessment of commonly used models for retrieval and classification tasks, sentence BERT and RoBERTa outperform other baseline models in retrieval and classification, respectively. To provide a comprehensive evaluation of performance and efficiency, we conduct rigorous experimentation on five public datasets. The results reveal that our system maintains accuracy comparable to a classification model, significantly outperforming it in time efficiency and only slightly behind a retrieval model in time, thereby achieving an effective trade-off between accuracy and efficiency.
title Combining Retrieval and Classification: Balancing Efficiency and Accuracy in Duplicate Bug Report Detection
topic Software Engineering
url https://arxiv.org/abs/2404.14877