JOURNAL ARTICLE

Transformer-Based Framework for Enhancing Software Defect Prediction: Integration with LSTM and Hybrid Learning

Prashant Sahatiya

Year: 2025 Journal:   Journal of Information Systems Engineering & Management Vol: 10 (38s)Pages: 170-181   Publisher: Lectito Journals

Abstract

Software defect prediction (SDP) represents an essential facet of software quality assurance, facilitating the early identification of potential defects minimizing development costs and optimizing efficiency. This paper advances current work by applying transformer-based deep learning architectures for defect prediction and overcoming the limitations of structures such as Long Short-Term Memory (LSTM) neural networks. By recognizing transformers' powerful attention mechanism, we introduce a novel SDP model capable of capturing complex dependencies that exist in software code. The proposed model will use datasets from the PROMISE repository and further evaluated in contrast to LSTM and hybrid machine learning (ML) models. This paper will also investigate cross-project defect prediction employing heterogeneous datasets and the use of transfer learning methods to generalize learning across software projects. Results from the experimental tasks demonstrate that both transformer-based models outperformed LSTM and traditional ML algorithms regarding precision, recall, and F1 scores, particularly for tasks based on large-scale and imbalanced datasets. The current study illustrates the possibility of using transformers for not only static defect prediction but also demonstrates the feasibility for dynamic and real time tracking for defect prediction in evolving software systems. This study identifies new directions for future research development regarding the application of transformers for automated software quality assurance.

Keywords:
Computer science Transformer Artificial intelligence Software Machine learning Computer architecture Engineering Programming language Electrical engineering Voltage

Metrics

0
Cited By
0.00
FWCI (Field Weighted Citation Impact)
0
Refs
0.15
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Topics

Software Engineering Research
Physical Sciences →  Computer Science →  Information Systems
Software Reliability and Analysis Research
Physical Sciences →  Computer Science →  Software
Software System Performance and Reliability
Physical Sciences →  Computer Science →  Computer Networks and Communications

Related Documents

JOURNAL ARTICLE

Enhancing Flood Prediction Using Hybrid LSTM-Transformer Deep Learning Approach

A P FadillahMuhammad RizalMursalim Mursalim

Journal:   Journal of System and Computer Engineering (JSCE) Year: 2025 Vol: 6 (3)Pages: 281-295
JOURNAL ARTICLE

Deep Learning for Software Defect Prediction: An LSTM-based Approach

Et al. Prashant Sahatiya

Journal:   International Journal on Recent and Innovation Trends in Computing and Communication Year: 2023 Vol: 11 (9)Pages: 3786-3796
JOURNAL ARTICLE

Deep Learning for Software Defect Prediction: An LSTM-based Approach

Et al. Prashant Sahatiya

Journal:   International Journal on Recent and Innovation Trends in Computing and Communication Year: 2023 Vol: 11 (9)Pages: 4347-4357
JOURNAL ARTICLE

Software Defect Prediction Framework Using Hybrid Software Metric

Amirul ZaimJohanna AhmadNoor Hidayah ZakariaGoh Eg SuHidra Amnur

Journal:   JOIV International Journal on Informatics Visualization Year: 2022 Vol: 6 (4)Pages: 921-921
© 2026 ScienceGate Book Chapters — All rights reserved.