Neptuna: A Comprehensive Machine Learning Framework for Benchmarking Complex Multiphase Flows

Harish Ramachandran, Björn Kimpel, Thomas Paula, Josef M. Winter, Steffen Schmidt, Nikolaus A. AdamsNeurIPS 2026 Evaluations and Datasets Track Poster 2026

TL;DR

Simulating shockwaves slamming into bubbles or droplets is notoriously expensive, and machine learning surrogates often blur out the sharp, violent interfaces that matter most. Neptuna introduces a 3.0 TB benchmark of 2D and 3D compressible multiphase flows—and shows that trading simple pixel-by-pixel error for adaptive, physics- and structure-aware losses dramatically sharpens how AI models capture these chaotic interactions.

What Problem Does This Paper Address?

When a shockwave hits a bubble in water or a droplet in air, things get complicated fast: sharp discontinuities, compressibility, and violent interface deformation all happen at once. Traditional Computational Fluid Dynamics (CFD) solvers can simulate this, but they require massive spatial and temporal resolution, making them painfully slow.

Machine learning surrogates offer a faster alternative, yet existing PDE benchmarks either focus on compressible flows without multiphase interfaces, or multiphase flows (like boiling) that are incompressible. Until now, there has been no large-scale benchmark combining all of these ingredients—compressibility, shocks, and multiphase dynamics—to rigorously test how well AI models handle them.

Methods

The authors benchmarked a diverse lineup of 2D models (50M-parameter ConvNeXt, CNO, FFNO, and ScOT) and 3D models (10M-parameter FFNO and ConvNeXt) trained from scratch, alongside two fine-tuned PDE foundation models: Poseidon-B and DPOT-M.

Instead of only training with standard Mean Squared Error (MSE)—which tends to smooth out sharp edges—they tested a composite loss combining MSE with:

  • $H^1$-seminorm: Penalizes errors in spatial gradients.
  • IRMSE (Interface-focused RMSE): Emphasizes accuracy near bubble and droplet phase boundaries.
  • SSIM (Structural Similarity Index): Encourages the preservation of local structures.

To balance these competing loss terms without manual tuning, they used two adaptive weighting strategies: SoftAdapt (SA) and Gradient Normalization (GN). At inference time, models were evaluated across 12 metrics spanning pointwise, spectral, feature-focused, structural, and physics-informed (e.g., enstrophy, mass, and momentum) categories.

Datasets

Using the high-fidelity finite-volume solver ALPACA, the authors generated 3.0 TB of 2D ($256^2$ and $512^2$) and 3D ($128^3$) data across six datasets:

  • SABW (Shock-induced Air Bubble Collapse in Water): 2D (open OOOO and symmetric SSOO boundaries) and 3D (SSOOSS).
  • SDBA (Shock-induced Droplet Breakup in Air): 2D and 3D, combining two distinct breakup regimes—Rayleigh–Taylor Piercing and Shear-Induced Entrainment—into a single dataset.
  • SRBA (Shock-induced R22 Bubble Collapse in Air): 2D gas–gas interaction with open boundaries, isolating density-driven instabilities without surface tension.
Figure 1: Dataset overview summarizing the provided datasets by dimensionality, boundary con- ditions, resolution, storage size, number of trajectories, and simulation-defined initial conditions. Boundary conditions are denoted using acronyms, where S indicates symmetry and O indicates open boundaries. For example, in the 3D-SDBA dataset, SSOOSS represents symmetry boundaries on the North, South, Top, and Bottom faces, with open boundaries on the East and West. Further details on the selection of governing parameters, including dimensionless numbers and bubble or droplet counts defining each trajectory, are provided in section A.4.
Figure 3: Uniformly spaced time snapshots of 2D-SABW at shock Mach number 1.70, with open boundary conditions on all sides (OOOO), showing the evolution of density from t0 = 0.0 µs to tend = 15 µs.

Key Insights and Ideas

  • No single model rules them all: Different architectures shine in different physical regimes. Spectral models like FFNO outperform ConvNeXt on bubble collapse (where bubbles fragment quickly and interfaces vanish), whereas ConvNeXt edges out FFNO on droplet breakup (where droplets maintain coherent interfaces longer).
  • Composite losses fix the "blurriness" problem: Pure MSE introduces a low-frequency bias that smears out fine details. Adding gradient, interface, and structural terms significantly boosts spectral fidelity and structural similarity without hurting pointwise accuracy.
  • SoftAdapt is the sweet spot: Between the two adaptive weighting methods, SoftAdapt delivers more consistent improvements than GradNorm and adds almost zero computational overhead compared to MSE-only training.
  • Conditioning matters: Fine-tuned DPOT-M consistently topped the 2D charts, likely thanks to its 10-snapshot input history and pre-trained weights. Meanwhile, Poseidon-B struggled, likely because it lacked a mechanism to condition on simulation parameters or historical context.

Key Results

  • Interface accuracy: On the shock-droplet (SDBA) dataset, composite losses with SoftAdapt and GradNorm slashed interface-focused error (IRMSE) by 40–50%. On bubble-collapse datasets, GradNorm-based composite training improved IRMSE by 5–7%.
  • Spectral & structural gains: All baselines saw significant improvements in Multilevel Wavelet Loss (MLW) and SSIM when trained with composite losses, while maintaining comparable pointwise accuracy (VRMSE below 1 for most 2D baselines).
  • 3D performance: 3D models generally lagged behind their 2D counterparts, though FFNO consistently outperformed ConvNeXt and benefited from composite losses—with the caveat that 3D runs were capped at a 24-hour training budget.

Limitations and Future Work

Even the best surrogates still miss fine-scale physics: none of the evaluated models accurately captured the tiny secondary droplets that shear off in the Shear-Induced Entrainment regime. The authors suggest future work should focus on improving small-scale fragmentation modeling, incorporating boundary-condition information into model conditioning, and expanding the benchmark to reacting multiphase flows or phase-change phenomena.

Summary updated

BibTeX
@inproceedings{ramachandran2026neptuna,
  author = {Harish Ramachandran and Björn Kimpel and Thomas Paula and Josef M. Winter and Steffen Schmidt and Nikolaus A. Adams},
  title = {{Neptuna: A Comprehensive Machine Learning Framework for Benchmarking Complex Multiphase Flows}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=ux3SHSUjaT},
}
Figure