Research map / Graph learning / GNN architectures
Neural SPH: Improved Neural Modeling of Lagrangian Fluid Dynamics
Read the paperCheck your idea against 108,967 papers
AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Proposes Neural SPH, which removes external forces from GNN-based simulator targets (with convolution-smoothed forces) and applies SPH relaxation steps at inference to fix particle clustering, improving long rollouts of GNS and SEGNN on seven 2D/3D Lagrangian datasets.
Problem
GNN-based Lagrangian fluid simulators suffer from particle clustering (tensile instability-like artifacts), density violations and unstable long rollouts, and mis-model external forces such as gravity.
Approach
Subtract the accumulated external force from the GNN's learning target (with Gaussian/SPH-kernel smoothing of spatially varying forces), and run a short SPH relaxation (pressure and/or viscous terms, plus a density clipping wall treatment) on the predicted point cloud at inference time without retraining or differentiating through the solver.
Key results
- On 2D DAM, GNS_{g,p} reduces Sinkhorn divergence from 3.8e-2 (GNS) to 7.5e-3 and kinetic energy MSE from 4.6e-2 to 2.1e-3 over 400-step rollouts.
- On 2D LDC, GNS_p reduces MSE_400 from 3.3e-2 to 1.6e-2 and Sinkhorn from 3.1e-4 to 2.8e-7.
- Removing external forces from the GNS target (GNS_g) improves all measures on dam break by at least a factor of 2, up to 5 on the full 400-step rollout.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| Add pressure relaxation (ablation) | GNS · 2D TGV | Sinkhorn: 5.4e-7 -> 1.7e-8 | Helped |
| Subtract external force and add pressure relaxation (ablation) | GNS · 2D DAM | Sinkhorn: 3.8e-2 -> 7.5e-3 | Helped |
| Add pressure relaxation (ablation) | GNS · 3D RPF | MSE_Ekin: 1.7e-5 -> 1.5e-5 | Helped |
| Add pressure relaxation (ablation) | GNS · 3D RPF | MSE_400: 2.3e-2 -> 2.3e-2 | No clear effect |
| Add viscous relaxation to pressure relaxation and force subtraction (ablation) | GNS · 2D RPF | MSE_Ekin: 4.1e-4 -> 1.4e-4 | Helped |
| Add viscous relaxation to pressure relaxation and force subtraction (ablation) | SEGNN · 2D RPF | MSE_Ekin: 1.6e-4 -> 7.3e-4 | Hurt |
| Subtract external force from the training target (ablation) | GNS · 2D DAM | MSE_400: 1.9e-1 -> 8.0e-2 | Helped |
| Use the unsmoothed force function while subtracting external force (ablation) | GNS · RPF | MSE_Ekin | Hurt |
| Subtract external force from the training target (ablation) | GNS · 2D RPF | 20-step position MSE: roughly by a factor of 1.5 | Hurt |
| Train with SPH relaxation instead of applying it only during inference (ablation) | GNS · 2D LDC | rollout performance | Hurt |
| Train with negative SPH relaxation (ablation) | GNS · 2D LDC | rollout performance | Hurt |
| Use SPH relaxation as a training regularizer (ablation) | GNN-based simulators · Lagrangian datasets | rollout performance | No clear effect |
Surprising findings
- Adding SPH relaxation during training (as regularization) did not improve rollout performance, so relaxation is applied only at inference.
- Removing external force from the target gives worse 20-step position MSE (about 1.5x) on RPF even though long-rollout performance improves.
Limitations
- Relaxation hyperparameters (alpha, beta, loops) require per-dataset tuning and may push learned solver out of distribution.
- External force treatment requires knowledge of the timestep and temporal coarsening level of the dataset.
- Evaluation uses few test trajectories (12-25) after splitting into 400-step sequences, making estimates noisy.
Experimental setup
Datasets: LagrangeBench 2D TGV LagrangeBench 3D TGV LagrangeBench 2D RPF LagrangeBench 3D RPF LagrangeBench 2D LDC LagrangeBench 3D LDC LagrangeBench 2D DAM
Benchmarks: LagrangeBench 2D TGV LagrangeBench 3D TGV LagrangeBench 2D RPF LagrangeBench 3D RPF LagrangeBench 2D LDC LagrangeBench 3D LDC LagrangeBench 2D DAM
Metrics: MSE_400 position error Sinkhorn divergence kinetic energy MSE density MAE Dirichlet energy Chamfer distance
Baselines: GNS SEGNN PDE-Refiner
Builds on: Graph Network-based Simulator LagrangeBench SEGNN PDE-Refiner JAX-SPH
Closest papers by meaning
- Symmetric Basis Convolutions for Learning Lagrangian Fluid Mechanics (ICLR 2024 · similarity 0.87)
- PIG: Physics-Informed Gaussians as Adaptive Parametric Mesh Representations (ICLR 2025 · similarity 0.85)
- Learning Distributions of Complex Fluid Simulations with Diffusion Graph Networks (ICLR 2025 · similarity 0.85)
- PINNacle: A Comprehensive Benchmark of Physics-Informed Neural Networks for Solving PDEs (NeurIPS 2024 · similarity 0.85)
- The Well: a Large-Scale Collection of Diverse Physics Simulations for Machine Learning (NeurIPS 2024 · similarity 0.85)
- PARCv2: Physics-aware Recurrent Convolutional Neural Networks for Spatiotemporal Dynamics Modeling (ICML 2024 · similarity 0.84)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.
