Introduction
Deep learning has demonstrated significant success in predicting material properties from complex imagery, such as Scanning Electron Microscope (SEM) scans. However, these models often operate as "black boxes," providing little insight into the physical mechanisms driving their predictions. Traditional explainability (XAI) tools, such as Grad-CAM, typically generate pixel-level heatmaps that highlight influential regions in an image. For material scientists, these heatmaps are often insufficient; knowing which pixels influenced a "peak stress" prediction does not provide the actionable information needed to synthesize a superior material. This research addresses the gap between pixel-level importance and domain-specific concepts like porosity and crystal size by introducing a framework for actionable scientific explanations.
Methodology
The proposed framework moves beyond passive observation to interventional explanation by integrating generative models into the predictive pipeline. The system consists of three primary components:
- Predictive Model: A WideResNet Convolutional Neural Network (CNN) trained to predict the "peak stress" of a material lot based on SEM image tiles.
- Attribute-Guided Image Generation: Utilizing AttGAN, an image-editing generative adversarial network, the researchers defined four domain-specific "knobs": size, porosity, polydispersity, and facetness. This allows the system to take a real SEM image and manipulate specific physical attributes while maintaining overall realism.
- Explanation Pipeline: This includes Forward Explanation, a sensitivity analysis that observes how varying a single attribute affects the predictive model's output, and Backward Explanation, a counterfactual optimization that determines the minimal attribute changes required to reach a target performance metric.
Dataset and Implementation
The study focused on TATB (2,4,6-triamino-1,3,5-trinitrobenzene), a specialized explosive material. The dataset comprised 59,690 grayscale SEM images derived from 30 unique synthesis batches (lots). Each lot was labeled with ground-truth "peak stress" values from laboratory compression tests. Due to the impossibility of labeling every individual image, material scientists provided lot-level estimates for the four key attributes, creating a challenging "label sparsity" environment for training the GAN.
Key Insights and Results
The predictive regression model achieved high accuracy, with a Root Mean Square Error (RMSE) of 66.0 and a Mean Absolute Percentage Error (MAPE) of 3.07%. Beyond accuracy, the framework provided several critical scientific insights:
- Validation of Domain Knowledge: The model's forward sensitivity analysis revealed that smaller crystal sizes generally lead to higher peak stress. This finding aligns with the established "grinding" practices used by subject matter experts (SMEs) to strengthen materials, validating that the model captured underlying physical principles.
- Actionable Interventions: Unlike pixel-based heatmaps, the GAN-based explanations allow scientists to visualize hypothetical material structures. By manipulating attributes like facetness or porosity, researchers can see exactly how the material's appearance would change and how those changes would impact mechanical performance.
- Multi-Attribute Synergy: The backward explanation revealed that reaching high-performance targets often requires simultaneous adjustments across multiple attributes, such as decreasing size while increasing facetness.
Conclusion and Future Work
By bridging the gap between deep learning and domain-specific scientific language, this framework provides a path toward truly actionable XAI in materials science. While the current model faces challenges such as attribute entanglement—where changing one feature inadvertently affects another—and label sparsity, it represents a significant step toward using AI not just for prediction, but for discovery. Future work will focus on improving attribute isolation and building more robust regression models to handle synthetic variations without distribution shift.
Summary updated