Surrogate Modeling of 3D Rayleigh-Benard Convection with Equivariant Autoencoders

Fynn Fromme, Christine Allen-Blanchette, Hans Harder, Sebastian Peitz · DOI

Abstract

Simulating 3D fluid dynamics is computationally intensive, necessitating efficient surrogate models. This paper presents an equivariant surrogate model for 3D Rayleigh-Bénard convection that incorporates physical symmetries directly into its architecture. By utilizing horizontally equivariant layers while accounting for vertical asymmetry, the proposed model achieves a 10x improvement in parameter efficiency and an 8x improvement in data efficiency over standard 3D convolutional neural networks. The model maintains high accuracy even as fluid flow transitions into more turbulent regimes, offering a significant speedup over traditional numerical solvers.

Introduction

Simulating complex 3D physics, such as Rayleigh-Bénard convection—the movement of heat through a fluid—typically requires massive computational resources. Machine learning surrogates offer a promising alternative by learning to predict system evolution without solving governing equations from scratch. However, standard 3D neural networks are often "symmetry-blind," failing to recognize that rotated or reflected physical states are fundamentally identical. This lack of inductive bias leads to inefficient use of model capacity and training data.

Furthermore, 3D systems often exhibit partial symmetries. In a heated fluid tank, horizontal directions are symmetric, but the vertical direction is not due to the influence of gravity and buoyancy. This research addresses these challenges by developing a model that exploits horizontal symmetry while correctly handling vertical asymmetry.

Architecture and Methodology

The authors propose an end-to-end equivariant surrogate model designed to preserve spatial correlations and respect physical symmetries.

The end-to-end equivariant surrogate model architecture, featuring an equivariant CAE and convolutional LSTM.

The architecture consists of two primary components:

  1. Equivariant Convolutional Autoencoder (CAE): This component compresses the high-dimensional 3D state into a compact latent representation $z_t$. Unlike standard autoencoders that flatten data, this model maintains the 3D grid structure.
  2. Equivariant Convolutional LSTM: This module predicts the temporal evolution of the latent state, outputting $\tilde{z}_{t+1}$.

Key Innovations

  • G-Steerable Kernels: Using the escnn library, the model employs convolutional filters mathematically guaranteed to be equivariant under the $D_4$ group (90-degree rotations and reflections) and horizontal grid translations.
  • Height-Dependent Kernels: To address vertical asymmetry, the model utilizes different kernels for different vertical slices.
  • Local Vertical Kernel Sharing: Efficiency is maintained by sharing kernels across small vertical neighborhoods, reflecting the local similarity of fluid behavior across adjacent heights.
  • Two-Step Training: The CAE and LSTM are trained independently, allowing the LSTM to be trained on long time horizons (up to 50 steps) more efficiently than end-to-end approaches.

Experimental Setup

The model was evaluated using a dataset of 3D Rayleigh-Bénard convection generated by the oceananigans.jl fluid solver. The dataset included:

  • Standard Set: 100 simulations at a Rayleigh number ($Ra$) of 2500.
  • Complexity Scaling Set: Simulations with $Ra$ up to 20,000 to test performance under increasingly turbulent dynamics.
  • Resolution: Snapshots were captured on a $48 \times 48 \times 32$ grid, tracking four physical variables: temperature and three velocity components.

Results and Discussion

The equivariant model demonstrated substantial improvements across all key metrics compared to non-symmetric architectures.

Comparison of parameter efficiency between equivariant and standard models.
  • Efficiency Gains: An equivariant model with 900,000 parameters outperformed a standard baseline with 10.8 million parameters. Additionally, the model achieved comparable performance to the baseline using only 1/8th of the training data.
  • Accuracy and Scaling: Reconstruction error (RMSE) was reduced by 42%. Notably, as the Rayleigh number increased and the physics became more complex, the performance gap between the equivariant model and the baseline widened.
  • Inference Speed: In multi-query scenarios, the surrogate model was 140x faster than the numerical solver, highlighting its potential for real-time applications.

Conclusion and Future Work

By embedding physical symmetries as a powerful regularizer, this work shows that equivariant models can capture the essence of turbulent patterns more effectively than standard architectures. While currently limited to rectangular grids and noise-free simulations, future work will explore robustness against symmetry-breaking disturbances and extension to spherical geometries for global climate modeling. Additionally, developing kernels that adapt to dynamic control parameters could allow a single model to generalize across diverse flow regimes.

Summary updated

BibTeX
@misc{fromme2025surrogate,
  author = {Fynn Fromme and Christine Allen-Blanchette and Hans Harder and Sebastian Peitz},
  title = {{Surrogate Modeling of 3D Rayleigh-Benard Convection with Equivariant Autoencoders}},
  year = {2025},
  eprint = {2505.13569},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2505.13569},
}
Figure