[Paper Review] A Bug or a Suggestion? An Automatic Way to Label Issues
This paper proposes an attention-based bi-directional LSTM (ABLSTM) model combined with k-NN-based misclassification correction to automatically classify issues as bugs or non-bugs across diverse Issue Tracking Systems (ITSs). Trained on over 1.2 million labeled issues from Jira and GitHub, the approach achieves an F-measure of 85.6%, significantly outperforming state-of-the-art methods in bug identification accuracy across heterogeneous ITS platforms.
More and more users and developers are using Issue Tracking Systems (ITSs) to report issues, including bugs, feature requests, enhancement suggestions, etc. Different information, however, is gathered from users when issues are reported on different ITSs, which presents considerable challenges for issue classification tools to work effectively across the ITSs. Besides, bugs often take higher priority when it comes to classifying the issues, while existing approaches to issue classification seldom focus on distinguishing bugs and the other non-bug issues, leading to suboptimal accuracy in bug identification. In this paper, we propose a deep learning-based approach to automatically identify bug-reporting issues across various ITSs. The approach implements the k-NN algorithm to detect and correct misclassifications in data extracted from the ITSs, and trains an attention-based bi-directional long short-term memory (ABLSTM) network using a dataset of over 1.2 million labelled issues to identify bug reports. Experimental evaluation shows that our approach achieved an F-measure of 85.6\% in distinguishing bugs and other issues, significantly outperforming the other benchmark and state-of-the-art approaches examined in the experiment.
Motivation & Objective
- To address the challenge of inconsistent and noisy issue labeling across different Issue Tracking Systems (ITSs), especially misclassified bugs.
- To improve the accuracy of bug identification in issue classification, which is often overlooked in existing approaches.
- To develop a cross-platform, scalable solution that requires only issue titles as input, enabling broad applicability across diverse ITSs.
- To correct misclassifications in large-scale issue datasets using k-NN, enhancing model robustness and discrimination power.
Proposed method
- Collects a large-scale dataset of over 1.2 million labeled issues from Jira (Apache, JBoss, Spring) and 23 high-quality GitHub projects with >170k issues.
- Applies k-NN algorithm to detect and correct misclassified issues in the dataset, reducing noise and improving training data quality.
- Trains an attention-based bi-directional LSTM (ABLSTM) network on the cleaned dataset to classify issues as 'bug' or 'non-bug'.
- Uses only issue titles as input features, enabling generalization across different ITS platforms without requiring structural metadata.
- Employs a two-stage pipeline: (1) data cleaning via k-NN, (2) end-to-end deep learning classification using ABLSTM.
- Validates the approach on a combined dataset from Jira and GitHub, comparing performance against benchmark and state-of-the-art methods.
Experimental results
Research questions
- RQ1Can a deep learning model effectively distinguish bug reports from non-bug issues across heterogeneous Issue Tracking Systems?
- RQ2How effective is k-NN-based misclassification correction in improving the quality of training data for issue classification?
- RQ3Does the ABLSTM model outperform existing state-of-the-art and traditional machine learning approaches in bug identification F-measure?
- RQ4To what extent can a model trained on issue titles alone achieve high performance across diverse ITS platforms?
Key findings
- The proposed ABLSTM model achieved an F-measure of 85.6% in distinguishing bugs from non-bug issues, significantly outperforming benchmark and state-of-the-art approaches.
- The k-NN-based misclassification correction step effectively reduced noise in the training data, contributing to improved model discrimination and generalization.
- The model demonstrated strong cross-platform generalization, requiring only issue titles as input and performing well across Jira and GitHub ITSs.
- The approach achieved superior performance compared to prior works, including those using complex feature engineering or additional metadata such as reporter background or issue severity.
- The empirical evaluation confirmed that the model’s performance is robust and consistent across different project types and issue labeling qualities.
- The study highlights the importance of data quality in issue classification, showing that correcting mislabeled issues leads to measurable gains in F-measure.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.