journal article·2026-03-20

Explainable AI frameworks using SHAP and LIME enhance interpretable defect classification in additive manufacturing

Bhawani Sankar Panigrahi, M. Vanitha, Mohd Ashraf, R. V. S. Lalitha, D. Haritha, Ajith Sundaram

Publisher page

Abstract

Although machine learning models can detect additive manufacturing (AM) defects with over 90% accuracy, their black-box nature limits adoption in aerospace, medical, and defence sectors, where transparency, traceability, and regulatory compliance are essential. This study presents a hybrid explainable AI framework that systematically combines SHAP and LIME for interpretable AM defect classification. Using 8,420 samples spanning four defect categories from three AM processes—laser powder bed fusion, fused deposition modelling, and directed energy deposition—the framework integrates SHAP’s stable global explanations for compliance documentation with LIME’s rapid local explanations for real-time quality control. The proposed method achieves 94.3% classification accuracy, outperforming the baseline ensemble of Random Forest, VGG-16, ResNet-50, and a standard non-XAI ensemble by 6.4 percentage points. It also reduces explanation time by 85%, from 2914.5 ms with SHAP alone to 434.1 ms, corresponding to a 6.71× speedup. User studies involving 25 manufacturing engineers and quality operators showed significant improvements in trust and usability (p < 0.01). The framework supports alignment with AS9100, ISO 13485, and FDA expectations, enabling credible and efficient AI deployment in safety-critical AM environments.
Source: openalex_inverted_index · Quality: baseline

Research context

OpenAlex topics: Explainable Artificial Intelligence (XAI) · Generative Adversarial Networks and Image Synthesis · Machine Learning in Materials Science

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

GITAM University

Saveetha Engineering College

Maulana Azad National Urdu University

Aditya University

Koneru Lakshmaiah Education Foundation

Amrita School of Business, Amrita Vishwa Vidyapeetham

References (37)

Show source-provided references
1. 10.1016/j.jmsy.2025.01.00810.1016/j.jmsy.2025.01.008 ↗
2. 10.1016/j.addma.2024.10428710.1016/j.addma.2024.104287 ↗
3. 10.1016/j.matdes.2024.11264510.1016/j.matdes.2024.112645 ↗
4. 10.1007/s00170-024-13892-x10.1007/s00170-024-13892-x ↗
5. 10.1108/RPJ-09-2022-031510.1108/RPJ-09-2022-0315 ↗
6. 10.1007/s10845-024-02287-y10.1007/s10845-024-02287-y ↗
7. Lundberg SM, Lee SI. A unified approach to interpreting model predictions. In: Proceedings of the 31st International Conference on Neural Information Processing Systems (NIPS’17). Red Hook (NY): Curran Associates, Inc; 2017. p. 4765–4774.
8. 10.1145/2939672.293977810.1145/2939672.2939778 ↗
9. 10.1109/CVPR.2016.9010.1109/CVPR.2016.90 ↗
10. Tan M, Le QV. EfficientNet: rethinking model scaling for convolutional neural networks. In: Proceedings of the 36th International Conference on Machine Learning (ICML). PMLR; 2019. p. 6105–6114.
11. Dosovitskiy A, Beyer L, Kolesnikov A, et al. An image is worth 16x16 words: transformers for image recognition at scale. In: ICLR 2021 - 9th International Conference on Learning Representations. ICLR; 2021. Available from: https://openreview.net/forum?id=YicbFdNTTy
12. 10.1080/10589759.2024.235724010.1080/10589759.2024.2357240 ↗
13. 10.1080/10589759.2025.257587710.1080/10589759.2025.2575877 ↗
14. 10.1080/10589759.2025.257049410.1080/10589759.2025.2570494 ↗
15. 10.1080/10589759.2025.250214810.1080/10589759.2025.2502148 ↗
16. 10.1109/ICCV.2017.7410.1109/ICCV.2017.74 ↗
17. 10.1023/A:102262741141110.1023/A:1022627411411 ↗
18. 10.1023/A:101093340432410.1023/A:1010933404324 ↗
19. Kingma DP, Ba J. Adam: a method for stochastic optimization. In: BT - 3rd International Conference on Learning Representations, ICLR 2015; 2015 May 7–9; San Diego, CA, USA. Conference Track Proceedings. International Conference on Learning Representations (ICLR); 2015. Available from: https://arxiv.org/abs/1412.6980
20. 10.1016/j.pmatsci.2017.10.00110.1016/j.pmatsci.2017.10.001 ↗
21. 10.1088/1361-6501/aa5c4f10.1088/1361-6501/aa5c4f ↗
22. 10.1016/j.addma.2019.05.03010.1016/j.addma.2019.05.030 ↗
23. 10.1016/j.inffus.2019.12.01210.1016/j.inffus.2019.12.012 ↗
24. 10.1007/3-540-45014-9_110.1007/3-540-45014-9_1 ↗
25. 10.1109/TKDE.2009.19110.1109/TKDE.2009.191 ↗
26. 10.1177/00131644600200010410.1177/001316446002000104 ↗
27. 10.1186/s40537-019-0197-010.1186/s40537-019-0197-0 ↗
28. 10.1109/TKDE.2008.23910.1109/TKDE.2008.239 ↗
29. Demšar J. Statistical comparisons of classifiers over multiple data sets. J Mach Learn Res. 2006;7:1–30.
30. Paszke A, Gross S, Massa F, et al. PyTorch: an imperative style, high-performance deep learning library. In: Proceedings of the 33rd International Conference on Neural Information Processing Systems. Red Hook (NY): Curran Associates, Inc; 2019. p. 8026–8037.
31. Pedregosa F, Varoquaux G, Gramfort A, et al. Scikit-learn: machine learning in Python. J Mach Learn Res. 2011;12:2825–2830.
32. 10.1080/10589759.2025.258778510.1080/10589759.2025.2587785 ↗
33. 10.1109/CVPR.2005.17710.1109/CVPR.2005.177 ↗
34. 10.1109/TPAMI.2002.101762310.1109/TPAMI.2002.1017623 ↗
35. 10.1023/B:VISI.0000029664.99615.9410.1023/B:VISI.0000029664.99615.94 ↗
36. 10.1145/3173574.317415610.1145/3173574.3174156 ↗
37. Ribeiro MT, Singh S, Guestrin C. Model-agnostic interpretability of machine learning. In: ICML Workshop on Human Interpretability in Machine Learning (WHI 2016); New York, NY. 2016. https://arxiv.org/abs/1606.05386