Enhanced Bug Priority Prediction via Priority-Sensitive Long Short-Term Memory–Attention Mechanism

The rapid expansion of software applications has led to an increase in the frequency of bugs, which are typically reported through user-submitted bug reports. Developers prioritize these reports based on severity and project schedules. However, the manual process of assigning bug priorities is time-...

Full description

Saved in:
Bibliographic Details
Main Authors: Geunseok Yang, Jinfeng Ji, Jaehee Kim
Format: Article
Language:English
Published: MDPI AG 2025-01-01
Series:Applied Sciences
Subjects:
Online Access:https://www.mdpi.com/2076-3417/15/2/633
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1832589260819005440
author Geunseok Yang
Jinfeng Ji
Jaehee Kim
author_facet Geunseok Yang
Jinfeng Ji
Jaehee Kim
author_sort Geunseok Yang
collection DOAJ
description The rapid expansion of software applications has led to an increase in the frequency of bugs, which are typically reported through user-submitted bug reports. Developers prioritize these reports based on severity and project schedules. However, the manual process of assigning bug priorities is time-consuming and prone to inconsistencies. To address these limitations, this study presents a Priority-Sensitive LSTM–Attention mechanism for automating bug priority prediction. The proposed approach extracts features such as product and component details from bug repositories and preprocesses the data to ensure consistency. Priority-based feature selection is applied to align the input data with the task of bug prioritization. These features are processed through a Long Short-Term Memory (LSTM) network to capture sequential dependencies, and the outputs are further refined using an Attention mechanism to focus on the most relevant information for prediction. The effectiveness of the proposed model was evaluated using datasets from the Eclipse and Mozilla open-source projects. Compared to baseline models such as Naïve Bayes, Random Forest, Decision Tree, SVM, CNN, LSTM, and CNN-LSTM, the proposed model achieved a superior performance. It recorded an accuracy of 93.00% for Eclipse and 84.11% for Mozilla, representing improvements of 31.11% and 40.39%, respectively, over the baseline models. Statistical verification confirmed that these performance gains were significant. This study distinguishes itself by integrating priority-based feature selection with a hybrid LSTM–Attention architecture, which enhances prediction accuracy and robustness compared to existing methods. The results demonstrate the potential of this approach to streamline bug prioritization, improve project management efficiency, and assist developers in resolving high-priority issues.
format Article
id doaj-art-5e05f542d02547dba60219d5b68a550f
institution Kabale University
issn 2076-3417
language English
publishDate 2025-01-01
publisher MDPI AG
record_format Article
series Applied Sciences
spelling doaj-art-5e05f542d02547dba60219d5b68a550f2025-01-24T13:20:11ZengMDPI AGApplied Sciences2076-34172025-01-0115263310.3390/app15020633Enhanced Bug Priority Prediction via Priority-Sensitive Long Short-Term Memory–Attention MechanismGeunseok Yang0Jinfeng Ji1Jaehee Kim2Department of Computer Applied Mathematics (Computer System Institute), Hankyong National University, Anseong-si 17579, Republic of KoreaDepartment of Computer Applied Mathematics, Hankyong National University, Anseong-si 17579, Republic of KoreaDepartment of Computer Engineering, Kyungnam University, Changwon-si 51767, Republic of KoreaThe rapid expansion of software applications has led to an increase in the frequency of bugs, which are typically reported through user-submitted bug reports. Developers prioritize these reports based on severity and project schedules. However, the manual process of assigning bug priorities is time-consuming and prone to inconsistencies. To address these limitations, this study presents a Priority-Sensitive LSTM–Attention mechanism for automating bug priority prediction. The proposed approach extracts features such as product and component details from bug repositories and preprocesses the data to ensure consistency. Priority-based feature selection is applied to align the input data with the task of bug prioritization. These features are processed through a Long Short-Term Memory (LSTM) network to capture sequential dependencies, and the outputs are further refined using an Attention mechanism to focus on the most relevant information for prediction. The effectiveness of the proposed model was evaluated using datasets from the Eclipse and Mozilla open-source projects. Compared to baseline models such as Naïve Bayes, Random Forest, Decision Tree, SVM, CNN, LSTM, and CNN-LSTM, the proposed model achieved a superior performance. It recorded an accuracy of 93.00% for Eclipse and 84.11% for Mozilla, representing improvements of 31.11% and 40.39%, respectively, over the baseline models. Statistical verification confirmed that these performance gains were significant. This study distinguishes itself by integrating priority-based feature selection with a hybrid LSTM–Attention architecture, which enhances prediction accuracy and robustness compared to existing methods. The results demonstrate the potential of this approach to streamline bug prioritization, improve project management efficiency, and assist developers in resolving high-priority issues.https://www.mdpi.com/2076-3417/15/2/633bug priority predictionLSTM–attention mechanismpriority-based feature selectionsoftware maintenanceautomated bug prioritization
spellingShingle Geunseok Yang
Jinfeng Ji
Jaehee Kim
Enhanced Bug Priority Prediction via Priority-Sensitive Long Short-Term Memory–Attention Mechanism
Applied Sciences
bug priority prediction
LSTM–attention mechanism
priority-based feature selection
software maintenance
automated bug prioritization
title Enhanced Bug Priority Prediction via Priority-Sensitive Long Short-Term Memory–Attention Mechanism
title_full Enhanced Bug Priority Prediction via Priority-Sensitive Long Short-Term Memory–Attention Mechanism
title_fullStr Enhanced Bug Priority Prediction via Priority-Sensitive Long Short-Term Memory–Attention Mechanism
title_full_unstemmed Enhanced Bug Priority Prediction via Priority-Sensitive Long Short-Term Memory–Attention Mechanism
title_short Enhanced Bug Priority Prediction via Priority-Sensitive Long Short-Term Memory–Attention Mechanism
title_sort enhanced bug priority prediction via priority sensitive long short term memory attention mechanism
topic bug priority prediction
LSTM–attention mechanism
priority-based feature selection
software maintenance
automated bug prioritization
url https://www.mdpi.com/2076-3417/15/2/633
work_keys_str_mv AT geunseokyang enhancedbugprioritypredictionviaprioritysensitivelongshorttermmemoryattentionmechanism
AT jinfengji enhancedbugprioritypredictionviaprioritysensitivelongshorttermmemoryattentionmechanism
AT jaeheekim enhancedbugprioritypredictionviaprioritysensitivelongshorttermmemoryattentionmechanism