Abstract
In many areas, such as the physical sciences, life sciences, and finance, control approaches are used to achieve a desired goal in complex dynamical systems governed by differential equations. In this work we formulate the problem of controlling stochastic partial differential equations (SPDE) as a reinforcement learning problem. We present a learning-based, distributed control approach for online control of a system of SPDEs with high dimensional state-action space using deep deterministic policy gradient method. We tested the performance of our method on the problem of controlling the stochastic Burgers' equation, describing a turbulent fluid flow in an infinitely large domain.
Introduction
Many critical systems in physics, engineering, and finance are governed by Partial Differential Equations (PDEs). However, real-world systems often involve inherent randomness—such as turbulence in airflows—which requires the use of Stochastic PDEs (SPDEs). Controlling these systems is notoriously difficult because traditional "white-box" control methods usually require a complete, mathematically perfect model of the system. Such models are computationally expensive to solve in real-time and often fail if environmental conditions change slightly.
This work demonstrates how Deep Reinforcement Learning (DRL) can be used for the online control of SPDEs. By applying the Deep Deterministic Policy Gradient (DDPG) algorithm to the 1D Stochastic Burgers’ Equation, we show that an agent can successfully learn to damp out destructive shock waves, outperforming traditional suboptimal control methods without requiring a perfect prior model of the physics.
Methodology
The control of an SPDE is framed as a Reinforcement Learning problem by discretizing the continuous space-time equation into a Markov Decision Process (MDP). The interaction between the agent and the environment is illustrated in the schematic below.
Algorithm and State Space
We utilize the Deep Deterministic Policy Gradient (DDPG) algorithm, an actor-critic framework well-suited for the continuous state and action spaces inherent in physics simulations.
- State ($u_t$): The current velocity field of the fluid.
- Action ($f_t$): A distributed control forcing function. To maintain physical realism, the action space is limited to piecewise constant functions, simulating a set of physical actuators.
- Reward ($r_t$): The agent is rewarded for minimizing the "shock" (the variance of the fluid velocity) while being penalized for excessive control energy usage.
Numerical Simulation
The environment is simulated using the 1D Stochastic Burgers’ Equation (SBE) on a grid of 151 spatial points over a $2\pi$ length cell with periodic boundary conditions. The system is perturbed by space-time white noise to create chaotic behavior. A Crank-Nicolson method is used for time discretization, with second-order centered differences for space.
Experimental Results
The DRL approach successfully bridged the gap between physics and RL, demonstrating robust shock wave damping and adaptability to stochastic environments.
Key Findings
- Shock Wave Damping: As shown in Figure 5(a), the RL agent successfully "squashed" shock waves, significantly reducing velocity gradients compared to the uncontrolled system.
- Benchmarking: In head-to-head comparisons (Figure 5c), the DDPG agent achieved higher average returns than the traditional suboptimal control approach proposed by Choi et al. (1993).
- Expressivity and Scaling: The researchers found that increasing the dimensionality of the action space (from 4 to 10 piecewise intervals) improved performance (Figure 5d). This proves the framework can scale effectively with more complex actuator setups.
- Model-Free Robustness: Unlike classical controllers, the RL approach learns from interaction, making it potentially more adaptable to real-world scenarios where exact PDE parameters or noise profiles may be unknown.
Conclusion and Future Work
While this study successfully demonstrates the potential of DRL for SPDE control in 1D, several challenges remain for practical application. Real-world turbulence is 3D, which introduces a massive increase in computational complexity for the RL state space. Additionally, while this work used distributed control, many engineering tasks require "boundary control" (applying force only at the edges). Future research will focus on extending these learning-based methods to higher dimensions and boundary control configurations to further close the sim-to-real gap.
Summary updated