Journal of Smart Computing ISSN 2979-8752 · Biannual
Research Article · Vol. 2, No. 1 (2026)

Explainable AI for Predictive Maintenance in Industry 4.0

Dinesh Bhagwan Hanchate*

Computer Science and Engineering, Dnyanshree Institute Engineering and Technology, Satara, Maharashtra, 415013, India

* Corresponding author: dinesh.hanchate@dnyanshree.edu.in

Abstract Predictive maintenance has become a cornerstone of Industry 4.0, where machine learning models analyze sensor data to anticipate equipment failures and reduce unplanned downtime. The most accurate models, however, are often opaque, and maintenance engineers are reluctant to act on predictions they cannot interpret. This tension between accuracy and interpretability limits industrial adoption of data-driven maintenance. This paper presents an explainable predictive maintenance framework that couples high-performing ensemble classifiers with post-hoc explanation methods—SHAP for global and local feature attribution and LIME for instance-level explanations—within a layered Industry 4.0 pipeline. The framework is specified formally and as pseudocode, covering data acquisition, preprocessing with class-imbalance handling, model training, and an explanation layer that exposes the drivers of each failure prediction to the engineer. Using an illustrative synthetic dataset modeled after industrial milling-machine telemetry, five classifiers are compared, and the selected gradient-boosting model is interpreted via global and local explanations. The results indicate strong predictive performance together with human-readable attributions, supporting explainable AI as a practical route to trustworthy predictive maintenance.

Keywords: Explainable AI, Predictive maintenance, Industry 4.0, SHAP, Machine learning

DOI
10.5281/zenodo.23257920
Pages
22-32
Published
20 Feb 2026
Download PDF

To cite this article: Hanchate, D.B. (2026). Explainable AI for Predictive Maintenance in Industry 4.0. Journal of Smart Computing , 2(1) , 22-32. https://doi.org/10.5281/zenodo.23257920

References

  1. Adadi, A., & Berrada, M. (2018). Peeking inside the black box: A survey on explainable artificial intelligence (XAI). IEEE Access, 6, 52138–52160. https://doi.org/10.1109/access.2018.2870052
  2. Ahmed, I., Jeon, G., & Piccialli, F. (2022). From artificial intelligence to explainable artificial intelligence in Industry 4.0: A survey on what, how, and where. IEEE Transactions on Industrial Informatics, 18(8), 5031–5042. https://doi.org/10.1109/tii.2022.3146552
  3. Barredo Arrieta, A., Díaz-Rodríguez, N., Del Ser, J., Bennetot, A., Tabik, S., Barbado, A., García, S., Gil-Lopez, S., Molina, D., Benjamins, R., Chatila, R., & Herrera, F. (2020). Explainable Artificial Intelligence (XAI): Concepts, taxonomies, opportunities and challenges toward responsible AI. Information Fusion, 58, 82–115. https://doi.org/10.1016/j.inffus.2019.12.012
  4. Breiman, L. (2001). Random forests. Machine Learning, 45(1), 5–32. https://doi.org/10.1023/a:1010933404324
  5. Brito, L. C., Susto, G. A., Brito, J. N., & Duarte, M. A. V. (2022). An explainable artificial intelligence approach for unsupervised fault detection and diagnosis in rotating machinery. Mechanical Systems and Signal Processing, 163, 108105. https://doi.org/10.1016/j.ymssp.2021.108105
  6. Brusa, E., Cibrario, L., Delprete, C., & Di Maggio, L. G. (2023). Explainable AI for machine fault diagnosis: Understanding features’ contribution in machine learning models for industrial condition monitoring. Applied Sciences, 13(4), 2038. https://doi.org/10.3390/app13042038
  7. Carvalho, T. P., Soares, F. A. A. M. N., Vita, R., Francisco, R. da P., Basto, J. P., & Alcalá, S. G. S. (2019). A systematic literature review of machine learning methods applied to predictive maintenance. Computers & Industrial Engineering, 137, 106024. https://doi.org/10.1016/j.cie.2019.106024
  8. Chawla, N. V., Bowyer, K. W., Hall, L. O., & Kegelmeyer, W. P. (2002). SMOTE: Synthetic minority over-sampling technique. Journal of Artificial Intelligence Research, 16, 321–357. https://doi.org/10.1613/jair.953
  9. Chen, T., & Guestrin, C. (2016). XGBoost: A scalable tree boosting system. In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (pp. 785–794). ACM. https://doi.org/10.1145/2939672
  10. Gawde, S., Patil, S., Kumar, S., Kamat, P., Kotecha, K., & Alfarhood, S. (2024). Explainable predictive maintenance of rotating machines using LIME, SHAP, PDP, ICE. IEEE Access, 12, 29345–29361. https://doi.org/10.1109/access.2024.3367110
  11. Lee, J., Bagheri, B., & Kao, H.-A. (2015). A cyber-physical systems architecture for Industry 4.0-based manufacturing systems. Manufacturing Letters, 3, 18–23. https://doi.org/10.1016/j.mfglet.2014.12.001
  12. Lei, Y., Li, N., Guo, L., Li, N., Yan, T., & Lin, J. (2018). Machinery health prognostics: A systematic review from data acquisition to RUL prediction. Mechanical Systems and Signal Processing, 104, 799–834. https://doi.org/10.1016/j.ymssp.2017.11.016
  13. Lundberg, S. M., & Lee, S.-I. (2017). A unified approach to interpreting model predictions. In Advances in Neural Information Processing Systems (Vol. 30, pp. 4765–4774). Curran Associates.
  14. Matzka, S. (2020). Explainable artificial intelligence for predictive maintenance applications. In 2020 Third International Conference on Artificial Intelligence for Industries (AI4I) (pp. 69–74). IEEE. https://doi.org/10.1109/ai4i49448.2020.00023
  15. Mothilal, R. K., Sharma, A., & Tan, C. (2020). Explaining machine learning classifiers through diverse counterfactual explanations. In Proceedings of the 2020 Conference on Fairness, Accountability, and Transparency (pp. 607–617). ACM. https://doi.org/10.1145/3351095.3372850
  16. Ribeiro, M. T., Singh, S., & Guestrin, C. (2016). “Why should I trust you?”: Explaining the predictions of any classifier. In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (pp. 1135–1144). ACM. https://doi.org/10.18653/v1/n16-3020
  17. Rudin, C. (2019). Stop explaining black box machine learning models for high stakes decisions and use interpretable models instead. Nature Machine Intelligence, 1(5), 206–215. https://doi.org/10.1038/s42256-019-0048-x
  18. Selvaraju, R. R., Cogswell, M., Das, A., Vedantam, R., Parikh, D., & Batra, D. (2017). Grad-CAM: Visual explanations from deep networks via gradient-based localization. In Proceedings of the IEEE International Conference on Computer Vision (ICCV) (pp. 618–626). IEEE. https://doi.org/10.1109/iccv.2017.74
  19. Serradilla, O., Zugasti, E., Ramirez de Okariz, J., Rodriguez, J., & Zurutuza, U. (2021). Adaptable and explainable predictive maintenance: Semi-supervised deep learning for anomaly detection and diagnosis in press machine data. Applied Sciences, 11(16), 7376. https://doi.org/10.3390/app11167376
  20. Serradilla, O., Zugasti, E., Rodriguez, J., & Zurutuza, U. (2022). Deep learning models for predictive maintenance: A survey, comparison, challenges and prospects. Applied Intelligence, 52(10), 10934–10964. https://doi.org/10.1007/s10489-021-03004-y
  21. Zonta, T., da Costa, C. A., da Rosa Righi, R., de Lima, M. J., da Trindade, E. S., & Li, G. P. (2020). Predictive maintenance in the Industry 4.0: A systematic literature review. Computers & Industrial Engineering, 150, 106889. https://doi.org/10.1016/j.cie.2020.106889
CC BY Creative Commons Attribution 4.0
Creative Commons Attribution 4.0 International CC BY 4.0

This work is licensed under a Creative Commons Attribution 4.0 International License.

Read the full CC BY 4.0 license →