[Paper Review] Explainable AI for tool wear prediction in turning
This study proposes an Explainable AI (XAI) framework using a Random Forest classifier and Shapley values to interpret tool wear predictions in turning processes. By analyzing acceleration, acoustics, temperature, and spindle speed, the method identifies temperature as the most influential feature in classifying tool condition, achieving 92.31% accuracy and enabling operators to understand ML-driven decisions.
This research aims develop an Explainable Artificial Intelligence (XAI) framework to facilitate human-understandable solutions for tool wear prediction during turning. A random forest algorithm was used as the supervised Machine Learning (ML) classifier for training and binary classification using acceleration, acoustics, temperature, and spindle speed during the orthogonal tube turning process as input features. The ML classifier was used to predict the condition of the tool after the cutting process, which was determined in a binary class form indicating if the cutting tool was available or failed. After the training process, the Shapley criterion was used to explain the predictions of the trained ML classifier. Specifically, the significance of each input feature in the decision-making and classification was identified to explain the reasoning of the ML classifier predictions. After implementing the Shapley criterion on all testing datasets, the tool temperature was identified as the most significant feature in determining the classification of available versus failed cutting tools. Hence, this research demonstrates capability of XAI to provide machining operators the ability to diagnose and understand complex ML classifiers in prediction of tool wear.
Motivation & Objective
- Address the lack of interpretability in machine learning models used for tool wear prediction in machining.
- Develop an Explainable AI (XAI) framework to clarify the decision-making process of ML models in tool wear classification.
- Enable manufacturing operators and engineers to understand which input features most influence tool wear predictions.
- Improve trust and usability of ML models in industrial settings by providing transparent, human-understandable explanations.
- Identify the most significant process features affecting tool wear classification to support process optimization.
Proposed method
- Employ a supervised Random Forest Classifier (RFC) for binary classification of tool condition (worn vs. unworn) using real-time sensor data from turning experiments.
- Train the RFC model on preprocessed data collected from acceleration, acoustics, temperature, and spindle speed sensors during orthogonal turning of 1018 steel.
- Apply the Shapley value method from game theory to explain the contribution of each input feature to individual predictions.
- Use Shapley values to generate feature importance rankings and interpret model decisions at the instance level.
- Evaluate model performance using standard metrics including accuracy (92.31%), Matthews Correlation Coefficient (MCC), and ROC-AUC.
- Visualize model explanations using SHAP force plots to illustrate feature impacts on predictions, including false positives and negatives.
Experimental results
Research questions
- RQ1Which input features contribute most significantly to the Random Forest model’s prediction of tool wear status in turning?
- RQ2How effective is the Shapley value-based explanation method in interpreting the decisions of an ML model for tool wear classification?
- RQ3Can the XAI framework identify and explain the reasoning behind incorrect predictions made by the ML model?
- RQ4To what extent does temperature influence the model’s classification of tool condition compared to other features?
- RQ5Can the XAI framework support process engineers in diagnosing tool wear and adjusting process parameters based on interpretable insights?
Key findings
- The Random Forest classifier achieved a test accuracy of 92.31% in distinguishing between worn and unworn cutting tools.
- Shapley value analysis revealed that tool temperature was the most significant input feature in determining the model’s classification decision.
- Even in cases of incorrect predictions, the Shapley values consistently highlighted temperature as the dominant factor influencing the model’s output.
- The XAI framework successfully provided instance-level explanations, enabling operators to interpret model decisions and assess feature contributions.
- False positive and false negative cases were analyzed using SHAP force plots, showing that temperature had the highest impact on misclassifications.
- The study demonstrates that XAI can enhance transparency and trust in ML-based tool wear prediction, supporting real-time decision-making in manufacturing.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.