English

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

Software Engineering 2024-04-24 v1

Abstract

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.

Keywords

Cite

@article{arxiv.2404.14877,
  title  = {Combining Retrieval and Classification: Balancing Efficiency and Accuracy in Duplicate Bug Report Detection},
  author = {Qianru Meng and Xiao Zhang and Guus Ramackers and Visser Joost},
  journal= {arXiv preprint arXiv:2404.14877},
  year   = {2024}
}

Comments

In Proceedings of the Eighteenth International Conference on Software Engineering Advances (ICSEA 2023) (pp. 75-84). IARIA. ISBN: 978-1-68558-098-8. Valencia, Spain, November 13-17, 2023

R2 v1 2026-06-28T16:03:24.858Z