arXiv:2610.40449cs.LGOct 2026

Manuscript Offprint

arXiv:2610.40449

Reinforcement learning for control of partial differential equations

Nicolò Botteghi, Matteo Tomasetto, Andrea Manzoni

ABSTRACT

Controlling dynamical systems governed by partial differential equations (PDEs) remains a challenging task in scientific computing, owing to high-dimensional state spaces, distributed actuation, nonlinear dynamics, and stringent real-time constraints. Reinforcement learning (RL) has emerged as a promising paradigm for synthesizing feedback controllers that adapt to varying operating conditions and can be deployed efficiently in real-time. This review provides a unified perspective on RL and PDE-constrained optimization, and surveys model-free, model-based, and multi-agent RL approaches to PDE control, with particular emphasis on sample efficiency, generalization across parametric variations, and scalability to high-dimensional problems. Two demonstrative examples, the stabilization of a chaotic system and a flow control problem, illustrate the performance and pitfalls of RL agents in practice. Finally, we discuss evaluation and benchmarking practices, current limitations, and open research directions toward reliable, data-efficient, and scalable RL for scientific computing.

1 Introduction

Controlling dynamical systems governed by partial differential equations (PDEs) is one of the most challenging and widespread tasks in applied sciences and engineering, with applications ranging from fluid mechanics and heat transfer to structural mechanics and environmental modeling. In these systems, a control strategy aim to manipulate the evolution of spatially distributed physical quantities, such as velocity, pressure, and temperature, to achieve desired dynamical behaviors or target configurations. Relevant examples include suppressing turbulence and reducing drag in fluid flows, optimizing heat transfer in thermal systems, and mitigating pollutant dispersion in urban environments. In many applications, the control must react in real-time or quasi-real-time to changes in the system state to ensure the desired physical behavior, while minimizing operational costs, maintaining stability and system performances, and preventing damages, accidents, unsafe operations or failures. For instance, continuous adjustment of speed and orientation is required to avoid dangerous maneuvers or collisions when steering autonomous vehicles. Similarly, aircraft flight control systems constantly update control surfaces, that are ailerons, elevators and rudder, to maintain flight stability and trajectory. Instead, in the context of metamaterial design, real-time cloaking strategies are fundamental to hide an object from an external observer trying to locate it and to maintain the stealth always active over time. Optimal control strategies are typically determined through optimization procedures minimizing a problem-specific cost functional, where the governing PDEs and physical constraints restrict the set of admissible solutions [Lewis et al. 2012; Manzoni et al. 2021a].

Whenever an accurate and high-fidelity model of the dynamical system is available, optimal control can be formulated through the Hamilton-Jacobi-Bellman (HJB) equation [Fleming and Soner 2006; Kirk 2004], a nonlinear PDE that characterizes the optimal value function and provides a framework for deriving the corresponding optimal control strategy. Specifically, the HJB equation relates the instantaneous cost and the system dynamics to the evolution of the value function, which quantifies the minimum expected cumulative cost achievable from each state. Dynamic programming [Bellman 1954, 1957; Bertsekas 2012; Sutton and Barto 2018] refers to the collection of algorithms that iteratively solve the HJB equation to compute the value function and consequently derive the optimal control policies. However, computing the value function becomes increasingly challenging as the state-space dimension grows, thus hindering the application of conventional numerical methods to high-dimensional dynamical systems. Despite attempts to mitigate the problem complexity in this framework – see, e.g., Alla and Hinze [2016]; Kunisch et al. [2004]; Schmidt and Haasdonk [2018] – numerical schemes, relying on grid-based discretization of space and time Peterson [1992], suffer from the curse of dimensionality and become computationally intractable as the state and control dimensions increase, thus limiting their applicability in high-dimensional and real-time control settings.

Instead of directly solving the HJB equation, the controller for challenging dynamical systems may be determined by exploiting the Pontryagin maximum principle (PMP) [Kopp 1962] and model predictive control (MPC) [Camacho and Bordons 2004]. The PMP introduces adjoint (or co-state) variables, which evolve backward in time and quantify the sensitivity of the objective functional to perturbations in the system state. The adjoint variables, together with the state and control trajectories, define a set of first-order necessary conditions for optimality. In contrast, MPC repeatedly solves a finite-horizon optimal control problem as the system evolves, updating the control actions based on newly acquired state measurements. In practice, at each time step, MPC determines optimal control actions by solving an optimization problem over a finite prediction horizon, applies only the first control action to instantaneously steer the dynamics, and then repeats the procedure to update the control strategy as new state measurements are observed. To reduce computational costs, MPC typically employs computationally efficient surrogate models to predict the system dynamics over the prediction horizon, rather than repeatedly evaluating expensive high-fidelity models. Several techniques have been exploited to identify (possibly low-rank) surrogate models for the system dynamics – such as (recurrent, physics-informed, input convex, or echo state) neural networks [Aggelogiannaki and Sarimveis 2008; Amos et al. 2018; Antonelo et al. 2024; Bieker et al. 2020; Chen et al. 2018b; Draeger et al. 1995; Drgoña et al. 2022; Peitz and Bieker 2023; Williams et al. 2026], proper orthogonal decomposition and reduced order modeling [Alla and Volkwein 2015; Ghiglieri and Ulbrich 2014; Kartmann et al. 2026; Marra et al. 2026], and SINDy [Kaiser et al. 2018] – or to approximate the dynamics of low-dimensional observables, that is the so-called Koopman operator – such as dynamic mode decomposition [Klus et al. 2020; Korda and Mezić 2018; Peitz and Klus 2019, 2020]. However, the computational burden of solving these optimization problems can hinder the application of MPC to high-dimensional systems and real-time control scenarios.

An alternative and promising approach to synthesize feedback controllers is reinforcement learning (RL) [Sutton and Barto 2018]. RL is a computational framework for sequential decision-making, in which an agent learns a control strategy through multiple interactions with an environment. Instead of solving an explicit constrained optimization problem, a RL agent – i.e., the controller in this context – learns to maximize task-dependent reward signals by evaluating the system responses to different actions. Importantly, in contrast to traditional settings, RL does not rely on, nor require, a high-fidelity model describing the evolution of the underlying dynamical system to synthesize the optimal controller, but solely relies on sample data collected through multiple interactions with the environment. See Figure 1 for a general overview on a RL strategy. In recent years, advances in function approximation and, particularly, deep neural networks, have substantially enhanced RL capabilities, enabling it to address high-dimensional and complex problems that were previously intractable [Arulkumaran et al. 2017; Li 2017; Vincent et al. 2018]. As a result, deep RL has achieved remarkable success across a wide range of domains, including robotics [Botteghi et al. 2021; Gu et al. 2017; Kober et al. 2013; Lin 1992; Polydoros and Nalpantidis 2017; Zhang et al. 2015; Zhao et al. 2020], strategic game play [Lample and Chaplot 2017; Mnih et al. 2013, 2015; Shao et al. 2019; Van Hasselt et al. 2016; Ye et al. 2020], alignment and fine-tuning of large language models [Bill and Eriksson 2023; Ma et al. 2024], learning closure models [Bae and Koumoutsakos 2022; Fischer et al. 2025; Heimbach et al. 2026; Mowlavi and Benosman 2024; Novati et al. 2021], optimal navigation in unsteady flows [Gunnarson et al. 2021; Verma et al. 2018], and flow control [Beintema et al. 2020; Botteghi and Fasel 2024; Botteghi et al. 2025a; Bucci et al. 2019b; Buzzicotti et al. 2021; Fan et al. 2020b; Peitz et al. 2024b; Rabault and Kuhnle 2019; Xia et al. 2024; Zolman et al. 2025].

The goal of this work is to provide a unifying perspective that connects RL to PDE-constrained optimal control problems arising in scientific computing, highlighting mathematical foundations, practical implementation challenges, and emerging research directions. Several review articles have investigated the potential of RL in computational fluid dynamics, with particular emphasize to active flow control [Brunton et al. 2020; Garnier et al. 2021; Kim et al. 2024; Semeraro 2025; Vignon et al. 2023b; Viquerat et al. 2022], while a general-purpose survey on methods and applications of physics-informed RL to physical systems is presented in Banerjee et al. [2025]. However, differently from these works, our review considers not only applications of RL to fluid mechanics, but also the broader class of high-dimensional parametric dynamical systems, such as those arising from the space-time discretization of PDEs,

Figure

Figure 1: Reinforcement learning for control of partial differential equations. An agent or controller determines the control action ut\mathbf{u}_t relying on the observed state xt\mathbf{x}_t. As a result, the environment or dynamical systems evolves over time and return the subsequent state xt+1\mathbf{x}_{t+1} and the reward signal rtr_t. Multiple reinforcement learning frameworks may be considered to enhance sample efficiency and cope with high-dimensional problems, such as model-free, model-based and multi-agent reinforcement learning. Moreover, different environments may be taken into account, such as optimal navigation, flow control, shape design, plasma control, material design or swarm control.

which are ubiquitous in scientific computing. In addition, we include the latest methodological trends and provide academic and educational examples of RL applied to benchmark problems exemplifying typical settings that often arise in scientific computing.

The rest of this paper is organized as follows. Section 2 introduces optimal control problems and the foundations of RL, while classifying the most prominent classes of methods. Section 3 reviews the main RL methodologies in the context of scientific computing problems, with emphasis on data efficiency, stability, and scalability, and surveys representative applications across computational physics, engineering, and large-scale simulation environments. Section 4 presents two numerical examples where RL is applied to control a one-dimensional Kuramoto-Sivashinsky equation and a two-dimensional flow around a cylinder. Section 5 discusses performance metrics, evaluation strategies, and benchmarking practices for RL approaches. Section 6 outlines open challenges and promising research directions at the interface of RL and scientific computing. Eventually, Section 7 concludes the review paper.

References (100)

Couldn't load all references. Reload the page to try again.