NeFut Logo NeFut
Admin Login

[CS.AI] Physics-Informed Attention Mechanism Enhances Generalization in Grain Growth Prediction

Published at: 2026-06-18 22:00 Last updated: 2026-06-20 13:47
#algorithm #Machine Learning #optimization

Machine learning models for grain growth prediction are typically trained on idealized synthetic data, yet practical applications require generalization to conditions outside the training distribution. This study evaluated the Out-Of-Distribution (OOD) generalization capability of the trained model from our previous study across three test cases, including experimental microstructures, microstructures characterized by a bimodal grain size distribution, and abnormal grain growth.

To further probe whether physics-informed architectural design could improve robustness under these different conditions, a boundary-masked attention mechanism was proposed specifically for grain growth, constraining attention to grain boundary pixels. Both the baseline and the proposed physics-informed attention model were evaluated without retraining or fine-tuning on the OOD data. Both models successfully generalized to all three test cases, yet the boundary-masked attention mechanism provided substantial improvements, with the most notable gains for microstructures characterized by a bimodal grain size distribution, where Structural Similarity Index Measure (SSIM) improved from 0.6221 to 0.7609 and mean grain size ($\bar{R}$) error decreased from 8.75% to 3.57%.

The attention heatmap analysis revealed that the boundary-masked attention model learned to concentrate attention on large grain boundaries in a manner consistent with curvature-driven grain growth physics, emerging from training without being explicitly encoded into the architecture. These results indicate that models trained on synthetic data can generalize to diverse OOD conditions without retraining, and that physics-informed attention may improve accuracy when the boundary morphology matches the training domain.

Blogger's Review: This study highlights the potential of integrating physics-informed approaches with deep learning, particularly in complex materials science. The introduction of the boundary-masked attention mechanism not only enhances prediction accuracy but also paves the way for future research in this area, making it a noteworthy contribution worth following.

Original Source: https://arxiv.org/abs/2606.17235

[h] Back to Home