Surrogate Modeling of 3D Rayleigh-Bénard Convection with Equivariant Autoencoders

Fynn Fromme, Hans Harder, Christine Allen-Blanchette, Sebastian Peitz · Submission to ICLR 2026 · Rejected

TL;DR

Simulating complex 3D fluid flows like Rayleigh–Bénard convection is computationally expensive, yet many deep learning surrogates ignore physical symmetries or collapse spatial structure when projecting into latent space. This paper introduces an end-to-end equivariant surrogate model combining a 3D steerable convolutional autoencoder with an equivariant ConvLSTM that respects horizontal planar symmetries ($E(2)$ via $D_4$) while learning height-dependent kernels vertically. The resulting model achieves over 98% spatial compression, cuts data requirements by $8\times$, and matches or outperforms baseline models with an order-of-magnitude fewer parameters.

What Problem Does This Paper Address?

Accurate surrogate modeling for three-dimensional, time-dependent partial differential equations (PDEs) is a critical bottleneck in engineering, meteorology, and climate physics. While autoencoders provide nonlinear dimensionality reduction superior to classical Proper Orthogonal Decomposition (POD), they are typically data-hungry, sensitive to tuning, and prone to poor generalization in turbulent regimes.

A key challenge in 3D buoyancy-driven flow (such as Rayleigh–Bénard convection between heated bottom and cooled top plates) is anisotropic symmetry:

  • Fluid dynamics are fully invariant/equivariant under translations, rotations, and reflections in the horizontal plane ($E(2)$).
  • Buoyancy and fixed wall boundary conditions explicitly break vertical translational symmetry.

Standard 3D neural networks either ignore these symmetries entirely or enforce isotropic 3D equivariance where it does not belong. Furthermore, standard autoencoders flatten latent representations into 1D vectors, destroying the spatial grid required to enforce equivariance in downstream temporal models.

Methods

The authors propose a modular, end-to-end equivariant pipeline:

Snapshot (st) ──> [ Equivariant 3D CAE Encoder ] ──> Latent (zt) 
                       ──> [ Equivariant ConvLSTM ] ──> Latent (z_{t+1}) 
                       ──> [ Equivariant 3D CAE Decoder ] ──> Prediction (s_{t+1})
  • Horizontally Steerable 3D Convolutions: To respect the $(\mathbb{Z}^2, +) \rtimes D_4$ subgroup of $E(2)$ on regular grids, 3D convolutions are formulated as stacks of 2D $D_4$-steerable kernels across vertical slices. Intermediate feature layers transform under the regular representation.
  • Height-Dependent Kernels with Vertical Parameter Sharing: Because vertical dynamics vary by depth (near-wall boundary layers vs. bulk fluid), distinct kernels are learned across heights. To preserve parameter efficiency, kernels are shared across local vertical neighborhoods ($\mathcal{N}(x_3) = \{x_3 - k, \dots, x_3 + k\}$), exploiting approximate local vertical translation equivariance.
  • Unflattened 3D Latent Geometry: The autoencoder compresses snapshots to a latent tensor ($M_1 \times M_2 \times M_3 \times C_{\text{latent}}$) rather than a flat vector, preserving the spatial layout.
  • Equivariant ConvLSTM: Employs steerable convolutions in place of matrix multiplications and replaces standard Hadamard peephole gates with convolutional operations, guaranteeing formal dynamical equivariance and preventing exploding gradients.
  • Decoupled Two-Step Training: The CAE is trained first for compression; the ConvLSTM is subsequently trained directly on frozen latent representations. This avoids task interference and accelerates temporal training by $20\times$.

Datasets

  • 3D Rayleigh–Bénard Convection: Generated using the Julia finite-volume solver oceananigans.jl under the Boussinesq approximation on a $48 \times 48 \times 32$ spatial grid.
  • Primary benchmark: 100 simulations at Rayleigh number $Ra = 2500$ and Prandtl number $Pr = 0.7$ (60 train, 20 validation, 20 test), each with 400 snapshots ($t \in [100, 300]$).
  • Extended complexity sets: Simulations scaling up to $Ra = 20{,}000$.
  • Long-term evaluation set: 20 simulations spanning 1800 snapshots ($t \in [100, 1000]$).
  • Rayleigh–Taylor Instability (In Progress): Multi-component density-mixing data ($128^3$ grid) from "The Well" benchmark library.

Key Insights and Ideas

  • Symmetry Does Not Have to Be Isotropic: Physical boundary conditions frequently break symmetry along a specific axis. Decomposing 3D convolutions into vertically stacked 2D steerable kernels provides a blueprint for modeling gravity-, pipe-, or boundary-dominated systems.
  • Latent Orbit Emergence: Inspecting the input sensitivity ($\partial z_i / \partial s$) confirms that latent variables explicitly organize into 8-element $D_4$ orbits (combinations of $90^\circ$ rotations and flips) matching classical Gabor-like directional filters.
  • Latent-Space Rollouts Avoid Error Accumulation: Training the dynamics model entirely in compressed latent space enables autoregressive rollouts over 50 steps during training (computationally intractable for full-state models like FNO or 3D U-Net), drastically stabilizing long rollouts.

Key Results

  • Reconstruction Accuracy & Parameter Efficiency: The $D_4$-steerable CAE reduces reconstruction RMSE by 42% (from $0.069$ to $0.040$) relative to a standard 3D CAE of equal capacity. An equivariant model with $0.9\text{M}$ parameters outperforms a non-equivariant model with $10.8\text{M}$ parameters ($>10\times$ parameter efficiency).
  • Sample Efficiency: Reaches the baseline's optimal test error using only $1/8\text{th}$ of the training data.
  • Extreme Compression: Retains high physical fidelity at a $1.56\%$ relative latent size ($>98\%$ spatial compression).
  • Forecasting & Rollout Stability: Outperforms 3D U-Net and 3D Fourier Neural Operator (FNO) baselines. Autoregressive rollouts remain stable up to 1400 steps, with error smoothly saturating at $\text{RMSE} \approx 0.85$ due to minor spatial plume phase shifts rather than structural decay.
  • Inference Speed: Delivers a $28\times$ speedup over oceananigans.jl when evaluating 256 trajectories in parallel, rising to $140\times$ when predicting only the final target state via latent forecasting.

Limitations and Future Work

  • Idealized Boundaries and Uniform Grids: Evaluated on structured Cartesian grids without noise, physical obstacles, or irregular geometry.
  • Separate vs. Joint Training: Although two-step training stabilizes autoregressive dynamics, end-to-end fine-tuning with careful objective balancing remains open.
  • Parameter Generalization: Kernels currently do not condition explicitly on global parameters like $Ra$ or $Pr$; transitions across bifurcation regimes require separate retraining.
  • Spherical Extensions: Extending this approach to planetary convection requires formulating steerable convolutions on spherical geometries, where Coriolis forces further reduce symmetry.

Summary updated

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