NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Learning a model is paramount for sample efficiency in reinforcement learning control of PDEs

Stefan Werner, Sebastian PeitzarXiv 2023 · DOI

Abstract

Reinforcement learning (RL) for physical systems governed by Partial Differential Equations (PDEs) is often hindered by extreme data requirements and a lack of stability guarantees. This paper presents a model-based RL framework that utilizes a convolutional LSTM surrogate to learn the underlying physics of chaotic systems. By integrating this surrogate into a Dyna-style architecture, the authors achieve a 9x improvement in sample efficiency over state-of-the-art model-free methods when controlling the Kuramoto-Sivashinsky equation. The resulting controller reduces system dissipation and power consumption by over 63% compared to random baselines.

Introduction

Applying reinforcement learning to engineering systems like wind turbines or combustion engines is notoriously difficult because these systems are governed by complex PDEs. Model-free RL typically requires millions of samples, which is prohibitive when data must come from high-fidelity simulations or physical experiments. This work aims to bridge the gap by using a data-driven surrogate model to allow an agent to "plan" or "dream" ahead, significantly reducing the need for expensive real-world interactions.

Methodology

The authors implement a Dyna-style model-based RL framework where the agent learns from both real environment interactions and "rollouts" generated by its internal physics model.

The high-level model-based RL framework, showing the interaction between the agent, the environment, and the learned dynamics model.

Key technical components include:

  • Convolutional LSTM (ConvLSTM): Captures spatial patterns and temporal dependencies of the PDE.
  • Residual Learning: The model predicts the change in state ($\Delta s$) rather than the absolute state, ensuring temporal smoothness and stability in data-scarce regimes.
  • Soft Actor-Critic (SAC): The underlying RL algorithm optimized using both real and fictitious data.
  • Ensembles: Multiple models are used to estimate epistemic uncertainty, preventing the agent from exploiting model inaccuracies.

Experimental Setup: The Kuramoto-Sivashinsky Equation

The primary benchmark is the Kuramoto-Sivashinsky (KS) equation, a 1D PDE known for chaotic, turbulent-like behavior. The system is discretized into 64 spatial points, and the agent controls it via four Gaussian-shaped actuators. In the online RL phase, the agent starts with zero prior knowledge and collects data iteratively.

Key Results and Insights

The model-based approach demonstrates a massive leap in performance and efficiency:

  • 9x Sample Efficiency: The proposed method reached a high-performing policy in just 50,000 samples, whereas the model-free SAC required 430,000 samples to achieve the same level. Popular algorithms like PPO failed to match this performance even after 1,000,000 samples.
  • Architectural Necessity: Convolutions were found to be mandatory for capturing the local nature of physics; fully connected networks failed to scale. Additionally, predicting residuals (state changes) acted as a "cheat code" for long-term stability.
Comparison of rewards, system velocity (state), and control actions for various agents. The model-based approach ("Ours") achieves stable, high-reward control much faster than baselines.

Conclusion

By shifting from model-free to model-based reinforcement learning, the authors demonstrate that complex, chaotic physical systems can be controlled with a fraction of the data previously required. While this adds computational overhead per iteration, the savings in environment interactions make RL a much more viable tool for real-world engineering and fluid dynamics applications. Future work will explore incorporating physical symmetries directly into the network architectures to further enhance efficiency.

Summary updated

BibTeX
@misc{werner2023learning,
  author = {Stefan Werner and Sebastian Peitz},
  title = {{Learning a model is paramount for sample efficiency in reinforcement learning control of PDEs}},
  year = {2023},
  eprint = {2302.07160},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2302.07160},
}
Figure