A physics informed bayesian optimization approach for material design: application to NiTi shape memory alloys

Danial Khatamsaz, Raymond Neuberger, Arunabha M. Roy, Sina Hossein Zadeh, Richard Otis, Raymundo ArróyaveNpj 2023

Abstract

The design of materials and identification of optimal processing parameters constitute a complex and challenging task, necessitating efficient utilization of available data. Bayesian Optimization (BO) has gained popularity in materials design due to its ability to work with minimal data. However, many BO-based frameworks predominantly rely on statistical information, in the form of input-output data, and assume black-box objective functions. In practice, designers often possess knowledge of the underlying physical laws governing a material system, rendering the objective function not entirely black-box, as some information is partially observable. In this study, we propose a physics-informed BO approach that integrates physics-infused kernels to effectively leverage both statistical and physical information in the decision-making process. We demonstrate that this method significantly improves decision-making efficiency and enables more data-efficient BO. The applicability of this approach is showcased through the design of NiTi shape memory alloys, where the optimal processing parameters are identified to maximize the transformation temperature.

Introduction: From Black Boxes to Gray Boxes

Designing new materials is often a high-stakes search for optimal properties. Whether through physical experiments or high-fidelity simulations, every "query"—such as testing a specific chemical composition or heat treatment—is expensive and time-consuming.

Bayesian Optimization (BO) has become a standard tool in this field because it excels at finding optima with minimal data. However, traditional BO is typically "physics-blind." It treats the material system as a black box, relying solely on statistical correlations between inputs and outputs. This approach ignores the fact that scientists often possess partial knowledge of the underlying physical laws, such as diffusion scaling with the square root of time or reaction rates following Arrhenius behavior. This research introduces a Physics-Informed Bayesian Optimization (PIBO) framework that transforms the optimization process into a gray-box approach by leveraging this existing physical knowledge.

Methods: Physics-Infused Kernels

The core innovation of the PIBO framework lies in Kernel Manipulation. In a standard Gaussian Process (the surrogate model for BO), the kernel function determines how the model correlates different points in the design space based on their distance. The authors propose physics-infused kernels that incorporate domain knowledge through several strategies:

  1. Input Transformation: Instead of calculating distance in raw input space (e.g., time $t$), the space is transformed using physical laws (e.g., $\sqrt{t}$ for diffusion-controlled processes).
  2. Space Compression: By warping the input space, complex, non-linear physical responses can be "flattened" into simpler functions that are easier for a Gaussian Process to learn with fewer data points.
  3. NiTi Application: For NiTi shape memory alloys, the kernel was modified to account for time (scaled by $\sqrt{t}$), temperature (scaled by $1/T$ for solubility trends), and composition.
Overview of the Physics-Informed Bayesian Optimization (PIBO) framework compared to standard black-box BO.

Key Insights: Precision over Smoothness

A significant finding of this study relates to model "smoothness." In standard black-box BO, researchers often attempt to improve performance by increasing the "length-scale," which makes the model smoother. However, the authors demonstrate that excessive smoothing can lead to underfitting.

In contrast, a physics-informed kernel captures the inherent trend of the variability. This allows the model to be both precise and data-efficient. Furthermore, while black-box BO assumes correlation depends only on distance, PIBO recognizes that location matters—the model "knows," for instance, that a system may be more sensitive to changes at low temperatures than at high temperatures.

Results and Discussion

The PIBO framework was validated using synthetic benchmarks and a simulated NiTi dataset. The results highlight several key advantages:

  • Efficiency Gain: In the NiTi case study, the physics-informed approach reached the peak theoretical transformation temperature (~340K) in just 15 iterations. In comparison, the standard black-box BO failed to reach this peak even after 30 iterations, often becoming trapped in sub-optimal regions.
  • Rapid Uncertainty Reduction: The PIBO framework demonstrated a significantly faster reduction in modeling uncertainty. This allows researchers to trust the model's predictions much earlier in the experimental process.
  • Wider Exploration: PIBO discovered a more diverse set of optimal processing "recipes"—combinations of time, temperature, and chemistry—that purely statistical models missed.
Comparison of modeling uncertainty reduction between standard BO (blue) and physics-informed BO (red).

Conclusion

While PIBO requires domain expertise to identify relevant physical laws for kernel design, the payoff in data efficiency is substantial. Future work aims to move toward autonomous discovery, where algorithms might eventually learn which physical transformations to apply to their own kernels without human intervention. By turning black boxes into gray boxes, PIBO offers a powerful path forward for accelerated materials discovery.

Reference: Khatamsaz, D., Neuberger, R., Roy, A.M. et al. A physics informed bayesian optimization approach for material design: application to NiTi shape memory alloys. npj Comput Mater 9, 221 (2023). https://doi.org/10.1038/s41524-023-01173-7

Summary updated

BibTeX
@inproceedings{khatamsaz2023physics,
  author = {Danial Khatamsaz and Raymond Neuberger and Arunabha M. Roy and Sina Hossein Zadeh and Richard Otis and Raymundo Arróyave},
  title = {{A physics informed bayesian optimization approach for material design: application to NiTi shape memory alloys}},
  booktitle = {Npj},
  year = {2023},
  doi = {10.1038/s41524-023-01173-7},
}
Figure