Software defect prediction is essential for ensuring the reliability and robustness of software prototypes during development. The current study has proposed a novel strategy that integrates explainable artificial intelligence (XAI) techniques with adaptive feature engineering and autoencoder neural networks to improve defect prediction accuracy and interpretability. Adaptive feature engineering processes input data to identify critical features, while autoencoders handle non-linear datasets, reduce noise, and generate meaningful latent representations by learning underlying data patterns. A Multi-Layer Perceptron (MLP) is employed to classify code snippets and localize defects, leveraging its ability to manage complex data patterns and diverse input features. To enhance transparency and trust in model predictions, the XAI component provides insights into feature significance and classification outcomes. Empirical evaluations were conducted on the PROMISE dataset, with performance assessed using metrics such as sensitivity, specificity, F1-score, and the Matthews correlation coefficient. The proposed approach has demonstrated superior accuracy compared to other defect prediction methods, highlighting its effectiveness in identifying defective code snippets and enhancing software quality.

XAI driven software defect prediction using adaptive fature engineering coupled with autoencoder and multi-layer perceptron: an empirical study

Barsocchi P.;
2025

Abstract

Software defect prediction is essential for ensuring the reliability and robustness of software prototypes during development. The current study has proposed a novel strategy that integrates explainable artificial intelligence (XAI) techniques with adaptive feature engineering and autoencoder neural networks to improve defect prediction accuracy and interpretability. Adaptive feature engineering processes input data to identify critical features, while autoencoders handle non-linear datasets, reduce noise, and generate meaningful latent representations by learning underlying data patterns. A Multi-Layer Perceptron (MLP) is employed to classify code snippets and localize defects, leveraging its ability to manage complex data patterns and diverse input features. To enhance transparency and trust in model predictions, the XAI component provides insights into feature significance and classification outcomes. Empirical evaluations were conducted on the PROMISE dataset, with performance assessed using metrics such as sensitivity, specificity, F1-score, and the Matthews correlation coefficient. The proposed approach has demonstrated superior accuracy compared to other defect prediction methods, highlighting its effectiveness in identifying defective code snippets and enhancing software quality.
2025
Istituto di Scienza e Tecnologie dell'Informazione "Alessandro Faedo" - ISTI
Autoencoders
Explainable AI
Feature engineering
Multi-layer perceptron
Software defect prediction
File in questo prodotto:
File Dimensione Formato  
Barsocchi et al_XAI_Driven_Software_Defect_Prediction_Using_Adaptive_Feature_Engineering_2025_VoR.pdf

accesso aperto

Descrizione: XAI Driven Software Defect Prediction Using Adaptive Feature Engineering Coupled With Autoencoder and Multi-Layer Perceptron: An Empirical Study
Tipologia: Versione Editoriale (PDF)
Licenza: Creative commons
Dimensione 3.19 MB
Formato Adobe PDF
3.19 MB Adobe PDF Visualizza/Apri

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/20.500.14243/569682
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 1
  • ???jsp.display-item.citation.isi??? 0
social impact