Introduction
In high-precision manufacturing, particularly injection moulding, maintaining product quality is a complex challenge. While machine learning (ML) models like Random Forests and Neural Networks have become highly effective at predicting defects, their "black-box" nature often leaves engineers without a clear understanding of why a part failed. This lack of interpretability can lead to incorrect adjustments on the factory floor, potentially exacerbating quality issues.
Explainable AI (XAI) aims to bridge this gap. However, as this research demonstrates, not all XAI methods are created equal. Popular techniques like Individual Conditional Expectation (ICE) can fail in non-linear environments where machine settings interact significantly. This paper evaluates XAI methods to ensure that the identified "root cause" of a defect is the actual parameter requiring correction.
Experimental Methodology
The researchers conducted a systematic study using a Sumitomo (SHI) Demag IntElect 100-250 injection moulding machine. The goal was to predict product weight and planarity based on six operator-controllable settings.
Data Collection and Modeling
A Central Composite Design (CCD) was employed to vary machine settings across a defined range, ensuring a comprehensive dataset for training and validation. The study utilized 1,540 product cycles across 77 different combinations of these settings.
Two distinct model architectures were trained: Random Forest (RF) and a Multilayer Perceptron (MLP). By using both, the researchers could verify that their findings regarding XAI were model-agnostic rather than a quirk of a specific algorithm. Both models achieved high accuracy, with a Mean Absolute Percentage Error (MAPE) below 0.05%.
XAI Comparison: ICE vs. SHAP
The core of the research involved a head-to-head comparison between two XAI techniques:
- Individual Conditional Expectation (ICE): A local method that varies one feature while keeping others constant.
- SHapley Additive exPlanations (SHAP): A method based on cooperative game theory that distributes "credit" for a prediction across all features, explicitly accounting for feature interactions.
Key Insights: The Interaction Trap
The most significant finding is the "Dominant Feature" trap. In injection moulding, parameters like melt temperature and packing pressure are highly interdependent. Using Friedman’s H-statistic, the authors mathematically confirmed these interactions.
When interactions are present, ICE plots often suffer from a bias toward the most globally influential parameter. In this dataset, ICE consistently identified "packing time" as the root cause of weight deviations, even when the researchers had intentionally altered a different variable, such as melt temperature. This occurs because ICE fails to account for how the change in melt temperature affects the influence of packing time.
In contrast, SHAP correctly identified the specific parameter that was modified in controlled experiments. If only the melt temperature was changed, SHAP accurately pointed to it as the primary cause of the quality shift, whereas ICE incorrectly blamed packing time.
Results and Real-World Application
The study's results highlight that SHAP is a more reliable "truth-teller" for root cause analysis in complex manufacturing processes. While SHAP is mathematically more intensive than ICE, the authors found that for models with a small number of features (like the six used here), explanations can be generated in milliseconds. This makes SHAP viable for real-time deployment, providing operators with accurate, actionable insights on the factory floor.
Conclusion and Future Directions
While this research proves the mathematical superiority of SHAP for identifying root causes in injection moulding, several areas remain for future exploration. The current study focused on six primary settings; real-world environments involve dozens of additional variables, such as environmental humidity and material variations. Furthermore, while the mathematical correctness is established, future work should investigate how human operators interact with these AI-driven recommendations to ensure they lead to better decision-making in practice.
Summary updated