IDEAS home Printed from https://ideas.repec.org/a/gam/jmathe/v13y2025i15p2436-d1712345.html
   My bibliography  Save this article

Comparative Analysis of Explainable AI Methods for Manufacturing Defect Prediction: A Mathematical Perspective

Author

Listed:
  • Gabriel Marín Díaz

    (Faculty of Statistics, Complutense University, Puerta de Hierro, 28040 Madrid, Spain
    Science and Aerospace Department, Universidad Europea de Madrid, Villaviciosa de Odón, 28670 Madrid, Spain)

Abstract

The increasing complexity of manufacturing processes demands accurate defect prediction and interpretable insights into the causes of quality issues. This study proposes a methodology integrating machine learning, clustering, and Explainable Artificial Intelligence (XAI) to support defect analysis and quality control in industrial environments. Using a dataset based on empirical industrial distributions, we train an XGBoost model to classify high- and low-defect scenarios from multidimensional production and quality metrics. The model demonstrates high predictive performance and is analyzed using five XAI techniques (SHAP, LIME, ELI5, PDP, and ICE) to identify the most influential variables linked to defective outcomes. In parallel, we apply Fuzzy C-Means and K-means to segment production data into latent operational profiles, which are also interpreted using XAI to uncover process-level patterns. This approach provides both global and local interpretability, revealing consistent variables across predictive and structural perspectives. After a thorough review, no prior studies have combined supervised learning, unsupervised clustering, and XAI within a unified framework for manufacturing defect analysis. The results demonstrate that this integration enables a transparent, data-driven understanding of production dynamics. The proposed hybrid approach supports the development of intelligent, explainable Industry 4.0 systems.

Suggested Citation

  • Gabriel Marín Díaz, 2025. "Comparative Analysis of Explainable AI Methods for Manufacturing Defect Prediction: A Mathematical Perspective," Mathematics, MDPI, vol. 13(15), pages 1-33, July.
  • Handle: RePEc:gam:jmathe:v:13:y:2025:i:15:p:2436-:d:1712345
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2227-7390/13/15/2436/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2227-7390/13/15/2436/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Jie Yang & Jiafu Su & Lijun Song, 2019. "Selection of Manufacturing Enterprise Innovation Design Project Based on Consumer’s Green Preferences," Sustainability, MDPI, vol. 11(5), pages 1-16, March.
    2. Gabriel Marín Díaz & Raquel Gómez Medina & José Alberto Aijón Jiménez, 2024. "Integrating Fuzzy C-Means Clustering and Explainable AI for Robust Galaxy Classification," Mathematics, MDPI, vol. 12(18), pages 1-27, September.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Jiafu Su & Chi Li & Qingjun Zeng & Jiaquan Yang & Jie Zhang, 2019. "A Green Closed-Loop Supply Chain Coordination Mechanism Based on Third-Party Recycling," Sustainability, MDPI, vol. 11(19), pages 1-14, September.
    2. Hui Xu & Shuxiu Li & Yongtao Tan & Bin Xing, 2022. "Comprehensive Resilience Assessment of Complex Urban Public Spaces: A Perspective of Promoting Sustainability," Land, MDPI, vol. 11(6), pages 1-23, June.
    3. Xingwei Li & Jinrong He & Yicheng Huang & Jingru Li & Xiang Liu & Jiachi Dai, 2022. "Predicting the factors influencing construction enterprises’ adoption of green development behaviors using artificial neural network," Palgrave Communications, Palgrave Macmillan, vol. 9(1), pages 1-12, December.
    4. Libiao Bai & Kanyin Zheng & Zhiguo Wang & Jiale Liu, 2022. "Service provider portfolio selection for project management using a BP neural network," Annals of Operations Research, Springer, vol. 308(1), pages 41-62, January.
    5. Jinjin Zhang & Xiaoxia Zhou & Yan Zhang & Lixing Tan, 2025. "Fuzzy Epistemic Logic: Fuzzy Logic of Doxastic Attitudes," Mathematics, MDPI, vol. 13(7), pages 1-14, March.
    6. Yuanyuan Luo & Da Ren, 2021. "Influence of the enterprise’s intelligent performance evaluation model using neural network and genetic algorithm on the performance compensation of the merger and acquisition parties in the commitmen," PLOS ONE, Public Library of Science, vol. 16(3), pages 1-16, March.
    7. Xi Yang & Maozeng Xu & Wanleng Zhang, 2020. "Can Design for the Environment be Worthwhile? Green Design for Manufacturers Brands When Confronted with Competition from Store Brands," Sustainability, MDPI, vol. 12(3), pages 1-18, February.
    8. Jie Jian & Yu Guo & Lin Jiang & Yanyan An & Jiafu Su, 2019. "A Multi-Objective Optimization Model for Green Supply Chain Considering Environmental Benefits," Sustainability, MDPI, vol. 11(21), pages 1-20, October.
    9. Wenfei Xia & Baizhou Li & Shi Yin, 2020. "Identification of Influencing Factors for Sustainable Development: Evaluation and Management of Regional Innovation Performance in Heilongjiang, China," Sustainability, MDPI, vol. 12(7), pages 1-55, March.
    10. Baodong Li & Yu Yang & Jiafu Su & Zhichao Liang & Sheng Wang, 2020. "Two-sided matching decision-making model with hesitant fuzzy preference information for configuring cloud manufacturing tasks and resources," Journal of Intelligent Manufacturing, Springer, vol. 31(8), pages 2033-2047, December.
    11. Gabriel Marín Díaz, 2025. "Fuzzy C-Means and Explainable AI for Quantum Entanglement Classification and Noise Analysis," Mathematics, MDPI, vol. 13(7), pages 1-23, March.
    12. Gabriel Marín Díaz, 2025. "A Fuzzy-XAI Framework for Customer Segmentation and Risk Detection: Integrating RFM, 2-Tuple Modeling, and Strategic Scoring," Mathematics, MDPI, vol. 13(13), pages 1-28, June.

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jmathe:v:13:y:2025:i:15:p:2436-:d:1712345. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.