Optimal Control of Material Microstructures

Aayushman Sharma, Zirui Mao, Haiying Yang, Suman Chakravorty, Michael J. Demkowicz, Dileep KalathilJournal of Dynamic Systems Measurement and Control 2024

TL;DR

This paper introduces a novel data-driven control strategy, Decoupled Data-Based Control (D2C), for optimizing the evolution of material microstructures governed by complex partial differential equations (PDEs). D2C significantly outperforms state-of-the-art reinforcement learning methods like DDPG in terms of data efficiency and convergence speed, offering a more practical approach to controlling these intricate material processes.

What Problem Does This Paper Address?

Controlling the formation and evolution of material microstructures is crucial for tailoring material properties. These microstructures are often modeled using complex, nonlinear, and high-dimensional partial differential equations (PDEs), such as the Allen-Cahn and Cahn-Hilliard equations. Traditional control methods struggle with such systems due to their inherent complexity and lack of analytical solutions. While reinforcement learning (RL) has shown promise in controlling dynamical systems, existing RL algorithms are often data-intensive and computationally expensive, making them impractical for the high-dimensional nature of microstructure control. This paper aims to bridge this gap by proposing a data-based control approach that is both efficient and effective for these challenging systems.

Methods

The core of this paper is the Decoupled Data-Based Control (D2C) algorithm. D2C tackles the control problem in two main stages:

  1. Open-Loop Trajectory Optimization: This stage uses an Iterative Linear Quadratic Regulator (ILQR) method to find an optimal control sequence that drives the system towards a desired state without considering feedback. To make this model-free, D2C estimates system Jacobians using a "Linear Least Squares by Central Difference" (LLS-CD) technique, which is sample-efficient.
  2. Closed-Loop Control Design: After obtaining the optimal open-loop trajectory, D2C linearizes the system dynamics around this trajectory to identify a time-varying linear system. A standard Linear Quadratic Regulator (LQR) controller is then designed for this linearized system to provide feedback control.

This decoupling of planning (open-loop) and feedback (closed-loop) allows D2C to be more data-efficient and computationally tractable than end-to-end RL methods. The paper also explores how to exploit the physics of the microstructure dynamics to optimize the control actuation architecture.

Datasets

The paper does not explicitly mention pre-existing datasets. Instead, it uses a simulated black-box phase-field model as its "dataset" for training and evaluation. This model is implemented in Python, calling an explicit second-order solver subroutine in FORTRAN. The simulations are performed on 2D grids of varying dimensions (10x10, 20x20, and 50x50), representing different numbers of state variables and control channels. The control inputs (temperature and external field) are actuated at each grid point.

Key Insights and Ideas

  • D2C's Efficiency: The D2C algorithm demonstrates significantly superior data efficiency and training speed compared to DDPG, making it a more practical choice for controlling complex PDEs.
  • Decoupling is Key: Separating the open-loop planning from closed-loop feedback is a powerful strategy for managing the complexity of high-dimensional systems.
  • Physics-Informed Control: Exploiting the underlying physics of microstructure dynamics can lead to more efficient control actuation architectures.
  • Robustness to Noise: The D2C approach shows robustness to noise, and its performance can be further enhanced by incorporating replanning strategies like Model-Predictive Control (MPC) for high-noise regimes.
  • Limitations of DDPG: For high-dimensional systems like the 50x50 microstructure, DDPG struggles to converge to the desired goal state, highlighting the limitations of current deep RL methods in such scenarios.

Key Results

  • Faster Training: D2C achieved significantly faster training times than DDPG across various simulation sizes and PDE models (Allen-Cahn and Cahn-Hilliard). For example, for the 50x50 Allen-Cahn model, D2C's open-loop training took approximately 3289 seconds, while DDPG either failed to converge or ran out of memory.
  • Convergence: D2C successfully converged to the desired goal states for all tested configurations, including complex phase distributions.
  • Robustness: The closed-loop D2C policy showed good performance and robustness to noise, outperforming the open-loop policy in noisy environments. Figure 7 illustrates this performance comparison.
  • Scalability: The D2C approach demonstrated better scalability to higher-dimensional systems compared to DDPG.

Limitations and Future Work

  • Noise Sensitivity: While D2C is robust to noise, its performance can degrade in high-noise regimes. The authors suggest using Model-Predictive Control (MPC) with rapid open-loop solvers as a potential solution to recover global optimality in such cases.
  • Hybrid Approaches: The authors plan to develop hybrid model-data based methods that leverage a priori knowledge of dynamics to further reduce computation time.
  • Smarter Actuation: Future work includes implementing smarter actuator-selection schemes to reduce the action space, potentially improving the viability of DDPG and enhancing D2C's performance.
  • Higher Dimensions: Extending the methodology to higher-dimensional materials and realistic full-scale models is a key future direction.

Summary updated

BibTeX
@article{sharma2024optimal,
  author = {Aayushman Sharma and Zirui Mao and Haiying Yang and Suman Chakravorty and Michael J. Demkowicz and Dileep Kalathil},
  title = {{Optimal Control of Material Microstructures}},
  journal = {Journal of Dynamic Systems Measurement and Control},
  year = {2024},
  doi = {10.1115/1.4065801},
}
Figure