Papers & Reports Research Briefing •

Explainable AI for Accurate Root Cause Analysis of Injection Molding Product Quality

A comparative study of XAI methodologies for quality control in injection molding processes. This research demonstrates the importance of considering feature interactions by contrasting the root cause analysis capabilities of ICE and SHAP.

J

Jay PARK

Editor & Author

Explainable AI for Accurate Root Cause Analysis of Injection Molding Product Quality
Photo by Campaign Creators on Unsplash
Executive Summary & Core Takeaway (Direct Answer for AI & Decision Makers)

This study compared Explainable AI (XAI) methodologies to analyze the root causes of product deviation by modeling the relationship between machine settings and product quality in injection molding. The results prove that the SHAP method, which accounts for feature interactions, identifies the root causes of quality degradation more accurately than the ICE method.

Introduction

In the modern manufacturing industry, the adoption of AI is moving beyond simple improvements in predictive accuracy toward the stage of ‘Explainability’—providing answers to ‘why these results occurred.’ Particularly in precision processes such as injection molding, minute setting changes can lead to critical quality defects in product weight or planarity; thus, Root Cause Analysis (RCA) is central to optimizing production yield.

However, as many companies adopt black-box models such as deep learning or ensemble models, they often commit the error of interpreting ‘important variables’ presented by the model directly as ‘causes.’ This results from overlooking complex feature interactions within the data and can lead to incorrect process tuning, which may ultimately degrade quality.

Based on actual data from injection molding processes, this research briefing analyzes how the widely used ICE method and the latest SHAP method derive different root cause analysis results. Specifically, it focuses on the fact that even when model predictive accuracy is very high, the guidance provided to field operators can differ completely depending on the choice of explanation methodology.

Ultimately, the success of enterprise AI depends not on benchmark accuracy, but on whether it provides ‘accurate insights’ that field experts can trust and execute. Through this analysis, we aim to present the engineering selection criteria for XAI that must be considered when building manufacturing AI systems.

Analysis of the Original Text

This study proposes a system to automatically identify root causes by analyzing the relationship between machine settings and quality characteristics when product quality deviates from the target in an injection molding process. To achieve this, data were collected using Sumitomo (SHI) Demag Plastics Machinery IntElect 100-250 equipment and Sabic PP 579S material. Using Central Composite Design (CCD), a total of 1,540 product cycle data points were secured by combining six machine setting variables: cooling time, injection speed, melt temperature, mold temperature, holding pressure, and holding time.

In the modeling phase, two black-box regression models were constructed: Random Forest (RF) and Multilayer Perceptron (MLP). According to the analysis results of the original paper (refer to Table 6 of the source paper), RF recorded a MAPE of 0.0312% and MLP recorded a MAPE of 0.0431%, demonstrating high predictive accuracy and appropriate learning of data complexity.

To explain the grounds for the model’s predictions, the researchers comparatively analyzed Individual Conditional Expectation (ICE) plots and SHapley Additive exPlanations (SHAP). Specifically, Friedman’s H-statistic was used to quantify the existence of interactions between variables, confirming that a significant interaction between melt temperature and holding time affected quality (product weight).

Finally, the ability to identify causes when a single variable was changed was evaluated through controlled experiments. The ICE method tended to consistently identify holding time as the primary cause regardless of the variable change, whereas the SHAP method accurately identified the actually changed variable as the root cause. These results were consistent not only for product weight but also for the analysis of product planarity.

#

Executive Key Takeaways

  • 1 1. [Misattribution Risk] When using an explanation methodology that ignores feature interactions, there is a risk of Wrong Root Cause Identification, where a variable with dominant influence is mistaken for the root cause instead of the actual cause.
  • 2 2. [Choosing the Method] In domains with complex interactions between variables, such as manufacturing processes, model-agnostic explanation methodologies like SHAP, which mathematically consider interactions, should be adopted over simple feature importance or ICE methods.
  • 3 3. [Field Verification] When field engineers change process settings based on AI explanations, how will the possibility that the answer is based on simple correlation be verified and managed?

How Ignored Feature Interactions and Dominant-Variable Bias Lead to Misidentified Causes

First is the risk of misidentifying the cause due to overlooking feature interactions. In injection molding, interactions where multiple variables combine to affect quality—such as melt temperature and holding time—occur frequently. According to the original research analysis (refer to Figure 4 and Figure 5 of the source paper), the influence of a specific variable varies depending on the values of other variables. Interpreting variables independently while ignoring this is a key mechanism that leads the system to make incorrect diagnoses.

Second is the issue of Dominant Feature Bias in explanations. In the case of the ICE method, as shown in the analysis results (refer to Figure 6 and Figure 7 of the source paper), there was a tendency to always point to ‘holding time’—the variable with the greatest overall influence—as the primary cause, even when all other variables were fixed or only a specific variable was changed. This is not an error of the model itself but a limitation of the explanation methodology; it poses a high risk of inducing operator error by identifying a ‘usually influential variable’ rather than the variable that actually caused the defect.

Third is the risk of cascading quality degradation when modeling multiple quality characteristics. The researchers warn of the risks associated with incorrect root cause analysis when simultaneously modeling other quality characteristics, such as planarity, in addition to product weight. If the AI misidentifies the cause of weight deviation and the operator modifies the wrong setting, the weight might be temporarily corrected, but other key quality indicators, such as planarity, could be further compromised.

person using macbook pro on black table
Source: Photo by Myriam Jessier on Unsplash
[CAUTION] High predictive accuracy does not guarantee correct root cause analysis

Both the RF and MLP models used in this study exhibited excellent predictive performance, recording very low MAPEs of less than 0.05%. However, even on these ‘accurate models,’ the application of an inappropriate explanation methodology like ICE resulted in a complete misidentification of the root cause.

This is a typical mistake made by many companies: believing that if the model’s performance metrics (Accuracy, MAE, etc.) are high, the explanations provided by that model must also be correct. Predictive models and explanation models operate on different mathematical mechanisms. Therefore, regardless of model accuracy, it is essential to verify whether the XAI methodology in use sufficiently reflects the feature interactions of the domain.

Root Cause Identification Mechanism and Empirical Comparative Analysis: SHAP vs. ICE

Among XAI methodologies, ICE and SHAP differ fundamentally in the mathematical mechanisms used to interpret the internal workings of black-box models. Individual Conditional Expectation (ICE) observes changes in the model’s predicted value by varying only one feature value for a specific instance. According to the original paper (refer to Equations 9 and 10), ICE calculates influence through the standard deviation of predicted values according to the change in that feature value. In other words, it is based on simple sensitivity analysis, where a large fluctuation in the predicted value upon changing a specific variable is regarded as high influence.

Conversely, SHapley Additive exPlanations (SHAP) quantifies the contribution of each feature by applying Cooperative Game Theory. Examining the formulas presented by the researchers (refer to Equations 7 and 8), SHAP calculates the average difference in predicted values when a specific feature is included versus when it is excluded across all possible feature permutations. This is a method of fairly distributing the total contribution, including interactions with other variables, rather than simply changing one variable.

This mathematical difference is starkly evident in the root cause identification results of actual injection molding processes. According to the empirical analysis in the original paper (refer to Figures 6 and 7), in both RF and MLP models, ICE identified ‘holding time’—which has the greatest overall effect on product weight—as the top cause in almost all samples. This reveals a limitation where the system repeatedly suggests only the dominant feature with the highest inherent influence, regardless of which variable actually changed to cause the quality deviation.

However, SHAP demonstrated the ability to accurately track actual variable changes. In controlled experiments where a single machine setting was altered, SHAP measured a high contribution for the actually changed variable and identified it as the root cause. As seen in the researchers’ analysis (refer to Figures 6 and 7), SHAP proposed holding time as the priority variable when holding time was changed, and melt temperature when melt temperature was changed, faithfully reflecting the actual causal relationship between input and output.

The superiority of SHAP was equally proven in additional experiments measuring product planarity. According to the experimental results (refer to Figure 9 of the source paper), ICE still exhibited bias by identifying holding time as the primary cause even when planarity deviations occurred. In contrast, SHAP dynamically shifted the influence ranking according to the manipulated variable, demonstrating the ability to accurately pinpoint the variable that caused the defect.

Consequently, the standard deviation-based analysis of the ICE method has a fatal flaw in manufacturing processes with complex feature interactions: it cannot distinguish between a ‘usually influential variable’ and the ‘actual cause of the current defect.’ Conversely, by mathematically considering interdependencies between features, SHAP ensures engineering validity, preventing the risk of operators tuning the wrong variables and damaging other quality metrics, and providing an accurate direction for corrective action.

Reliability Verification Checklist for Manufacturing Process XAI Root Cause Analysis

  • Verification of Feature Interactions: Has a quantitative analysis (e.g., using H-statistics) been performed to determine if significant interactions exist between input variables?
  • Evaluation of Explanation Methodology Suitability: If interactions are strong due to domain characteristics, has a cooperative game theory-based methodology like SHAP been adopted instead of independent analysis like ICE?
  • Model-agnostic Verification: Has it been verified that the system provides consistent explanations across various model architectures, rather than an explanation method dependent on a specific algorithm (e.g., Tree-based)?
  • Root Cause Identification Testing via Controlled Experiments: When a single variable is intentionally changed to cause a quality deviation, does the XAI accurately identify that variable as the #1 cause?
  • Dominant Variable Bias Check: Is the system free from ‘explanation bias,’ where a specific highly influential variable is pointed to as the cause in all scenarios?
  • Multi-metric Impact Analysis: Have the side effects of a specific root cause correction directive on other quality characteristics (e.g., the effect on planarity when correcting weight) been simulated?
  • Real-time Inference Latency Check: Can complex explanation calculations, such as those in SHAP, be completed within the actual production cycle time (e.g., 10 seconds) to enable real-time feedback?
  • Alignment Review with Domain Experts: Does the root cause identified by the AI align with the intuition of experienced engineers and the physical principles of the process?

MLP Hyperparameters

The Multilayer Perceptron (MLP) model utilized in this study was precisely designed to learn the complex nonlinear relationships of the injection molding process. According to the hyperparameter settings in the original paper (refer to Table 3 of the source paper), the model architecture consisted of two hidden layers with a shallow configuration of 8 and 4 neurons, respectively. This was an engineering choice to prevent optimization problems that could arise from excessive model complexity and to ensure stability suitable for the injection molding dataset.

For efficiency and convergence stability during training, the batch size was set to 8, and the maximum iterations were limited to 200. Specifically, the hyperbolic tangent (tanh) function was used as the activation function, and an regularization coefficient of 0.0001 was applied to control overfitting and improve the generalization performance of the model. These settings help the model capture core quality characteristics without overreacting to noise in the training data.

The L-BFGS (Limited-memory BFGS) solver was used as the optimization algorithm. After a comparative analysis with the Adam solver, the researchers confirmed that L-BFGS was more effective in lowering the Mean Absolute Error (MAE). Additionally, the learning rate was set to to minimize loss function oscillation and induce stable convergence. The random state was fixed at 42 to ensure reproducibility.

Standard scaling was applied during the input data preprocessing stage of the MLP model. This was to evaluate the influence of machine settings with different units and scales—such as injection speed, melt temperature, and holding pressure—on the same scale. Scaling prevented the absolute numerical size of specific variables from dominating weight updates, ensuring all features were fairly reflected in the learning process.

Verification of the initialization sensitivity characteristic of neural network models was also performed. Based on 10 independent random runs, approximately 80% of the executions showed stable convergence with an MAE level of 0.0051–0.0078, while approximately 20% of cases exhibited premature stagnation, causing the MAE to rise to about 0.086. This is a common challenge in neural network optimization; despite this variability, the researchers ultimately secured a robust test performance with an MAE of 0.0051.

As a result, the MLP model in this study achieved an optimal balance between performance and computational efficiency through hyperparameter grid search. By selecting a stable shallow network structure rather than a complex architecture, the model effectively reflected the characteristics of injection molding process data, providing a reliable black-box foundation for verifying XAI methodologies alongside Random Forest.

What the Choice of XAI Method Means for Trust on the Factory Floor

This study precisely targets the ‘collapse of trust,’ which is the most typical point of failure for AI projects in the field. Many companies pride themselves on success based solely on high accuracy during the PoC stage; however, if an engineer follows AI guidance during actual operation and ruins a product even once, that system is permanently discarded. The issue here stems not from the model’s predictive power, but from the ‘distortion of the explanation.’

The contrast between ICE and SHAP is particularly telling. Because ICE is akin to ‘sensitivity analysis,’ it always points to the most sensitive variable as the cause. Conversely, because SHAP calculates the ‘contribution’ of each variable, it captures what actually caused the change in the current situation. This means that when adopting XAI, executives must decide what mathematical basis of explanatory power to secure, rather than simply looking for a ‘visualization tool.’

Furthermore, the trade-off between ‘multiple quality characteristics’ mentioned in the research is a major challenge in manufacturing AI. The phenomenon where adjusting one variable to fix one metric causes another metric to deviate is at the core of engineering optimization. To solve this, XAI must evolve beyond the influence of a single variable toward providing correlation maps between variables.

In conclusion, the ROI of manufacturing AI comes not from ‘prediction,’ but from ‘accurate prescription.’ For accurate prescriptions, it is essential to move beyond the illusion of model performance metrics and establish an MLOps framework that ensures the rigor of explainability.

Principles for Adopting XAI Root Cause Analysis in Manufacturing

Bringing XAI-based root cause analysis into a process with strong variable interactions, such as injection moulding, calls for the following principles, which treat explanation reliability separately from predictive accuracy:

  1. Principle of Domain Alignment for Explanation Methodologies: Select XAI algorithms that mathematically reflect the feature interactions of the physical process, rather than simple importance rankings.
  2. Principle of Empirical Verification of Root Cause Analysis: Cross-verify the root causes suggested by AI through actual controlled experiments in the process before applying them to the operational environment.
  3. Principle of Separation between Predictive Accuracy and Explanatory Reliability: Recognize that high predictive performance (MAPE, MAE, etc.) does not automatically guarantee the correctness of the explanation and manage separate explanatory reliability metrics.
  4. Principle of Integrated Management of Multiple Quality Indicators: Establish an integrated impact assessment system to analyze the cascading effects on other quality characteristics when correcting the cause of a specific quality degradation.
  5. Principle of Establishing Field Expert Feedback Loops: Record discrepancies between AI’s root cause analysis and the judgment of field experts, and operate governance to continuously fine-tune the explanation model through this data.

References and Original Analysis Materials

Analyzed Paper 2025

Explainable AI for Correct Root Cause Analysis of Product Quality in Injection Moulding

Authors: Muhammad Muaz, Sameed Sajid, Tobias Schulze, Chang Liu, Nils Klasen, Benny Drescher

Venue / Publisher: arXiv

This research briefing was written from the source paper with the help of AI tools. Reviewed by Jay PARK, who is responsible for it.

Related Tags: #XAI #Injection Molding #Root Cause Analysis #Manufacturing AI

Read more

J

Jay PARK

Editor & Author

Reads papers, reports and incident records on how AI is used in practice and where it fails, and writes about them. AI agents help with the drafts; every article is checked against its source and published by Jay.