Improving the Robustness of Control of Chaotic Convective Flows with Domain-Informed Reinforcement Learning

Michiel Straat, Thorben Markmann, Sebastian Peitz, Barbara HammerarXiv 2025 · DOI

TL;DR

Researchers have developed a "domain-informed" Reinforcement Learning (RL) approach to stabilize chaotic fluid flows, specifically Rayleigh-Bénard Convection. By incorporating physical intuition—specifically the merging of convective cells—into the RL reward function, they achieved significantly more robust control and better generalization across different flow regimes than standard "black-box" RL or traditional controllers.

The Challenge: Controlling Chaos

Controlling chaotic systems, like the swirling fluids in chemical reactors or microfluidic devices, is notoriously difficult. Traditional control methods, such as Proportional-Derivative (PD) control, often fail when the flow transitions from smooth (laminar) to chaotic.

While Reinforcement Learning has shown potential in fluid dynamics, it faces a "robustness gap." An RL agent trained to control a specific flow often fails if the initial conditions change slightly or if the system becomes more turbulent. This lack of generalization makes it risky to deploy RL in real-world engineering. The authors tackle this by asking: Can we use physical domain knowledge to guide RL agents toward more stable, universal control strategies?

Methods: Physics-Guided Reinforcement Learning

The authors focus on Rayleigh-Bénard Convection (RBC), a classic model where a fluid is heated from below and cooled from above. As the temperature difference (represented by the Rayleigh number, Ra) increases, the fluid moves from a steady state to a chaotic one.

The RL framework integrates a 2D Rayleigh-Bénard Convection domain with a policy network and a domain-informed reward function.

The key technical contributions include:

  • Proximal Policy Optimization (PPO): A standard, robust RL algorithm used as the baseline.
  • Domain-Informed Reward Shaping: Instead of just rewarding the agent for reducing heat transport (measured by the Nusselt number, Nu), the authors added a term that encourages Bénard cell merging. Physically, fewer, larger cells lead to more stable, slower-moving flows.
  • Sensor and Actuator Setup: The agent observes the system through a grid of 1,152 sensors measuring temperature and velocity. The controller manages 12 heating elements at the bottom of the domain to counteract upward and downward fluid plumes.

Key Insights: Why Domain Knowledge Matters

  • Physics as a Compass: Simply telling an agent to "reduce heat transport" isn't enough in chaotic regimes; the agent often gets stuck in local optima. By rewarding the physical mechanism of stability (cell merging), the agent finds global strategies that are much more resilient.
  • Stability over Brute Force: Uninformed RL agents often try to "fight" every small swirl, leading to jittery, unstable control. Domain-informed agents learn to transform the entire flow structure into a single, large, stable cell.
  • The Generalization Paradox: Interestingly, the authors found that an agent trained on a moderately chaotic regime ($Ra = 10^5$) actually performed better on highly chaotic flows ($Ra = 10^6$) than an agent trained on the high-chaos regime directly. This suggests that learning fundamental physical strategies in simpler settings provides a better foundation for complex tasks.

Results: Achieving Stability in Chaotic Regimes

The study relies on high-fidelity numerical simulations across Rayleigh numbers ranging from $10^4$ (laminar) to $10^6$ (highly chaotic).

Flow visualizations and Nusselt number (Nu) evolution for laminar (Ra=10^4) and chaotic (Ra=10^6) regimes.
  • Heat Transport Reduction: In laminar regimes, the domain-informed agent reduced convective heat transport by 33%. In chaotic regimes ($Ra = 10^5$), it achieved a 10% reduction, significantly outperforming standard PD controllers which barely made a dent.
  • Consistency: The domain-informed agent achieved a steady state (constant Nusselt number) in regimes where the uncontrolled flow is naturally chaotic. Uninformed agents failed to maintain this stability, often seeing the flow "break" back into chaos.
  • Faster Convergence: Adding the domain-informed reward term allowed the agents to reach high performance much earlier in the training process compared to the "uninformed" baseline.

Looking Ahead

While promising, the current study is limited to 2D simulations. Real-world turbulence is inherently 3D, where flow structures are more complex than simple "cells." Furthermore, the "cell merging" reward is highly specific to convective flows; finding similar "elegant priors" for other fluid problems (like aerodynamics or pipe flow) remains a challenge. The next big step is moving from the spectral solver to a physical laboratory setup to see if these strategies hold up against real-world sensor noise and hardware lag.

Summary updated

BibTeX
@misc{straat2025improving,
  author = {Michiel Straat and Thorben Markmann and Sebastian Peitz and Barbara Hammer},
  title = {{Improving the Robustness of Control of Chaotic Convective Flows with Domain-Informed Reinforcement Learning}},
  year = {2025},
  eprint = {2511.00272},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2511.00272},
}
Figure