End-to-End Differentiable Smoothed Particle Hydrodynamics for Fluid--Rigid Optimization with Gradient Stabilization
Geng-Chen Cao, Bo Ren, Yanrui Xu, Zhe-Han Mo, Shi-min Hu
Key points
From the paper's conclusion- We introduce an end-to-end differentiable optimization framework for Smoothed Particle Hydrodynamics (SPH) with fluid–rigid body coupling.
Abstract
We introduce an end-to-end differentiable optimization framework for Smoothed Particle Hydrodynamics (SPH) with fluid–rigid body coupling. The central difficulty is not only to obtain local derivatives of SPH operators, but also to propagate useful sensitivities through long rollouts whose particle neighborhoods, contacts, and pressure responses change rapidly over time. These effects make reverse-mode gradients noisy and often cause adjoint variables to explode in long-horizon control and inverse-design tasks. We formulate an SPH-specific reverse-mode pipeline for IISPH-based fluid–rigid simulation and implement the required vector–Jacobian products within checkpointed simulation segments. To make the resulting gradients usable for optimization, we introduce a self-adaptive adjoint correction sequence that acts as a descent-preserving preconditioner: it bounds pathological adjoint amplification while keeping the update direction aligned with the original reverse-mode sensitivity. Our experiments cover a sequence of increasingly demanding tasks, from low-dimensional impulse and shape optimization to scalar-amplitude water actuation, multi-object water-jet balancing, and neural fluid-mediated pendulum control. These results demonstrate that stabilized reverse-mode differentiation can support challenging SPH-based optimization problems involving indirect momentum transfer, long-horizon event timing, and high-dimensional control.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Same Physics, Different Gradients: A State-of-the-Art Report on Differentiable Physics SimulationarXiv · 2026
- Physics-based Sphere Packing for Lagrangian Mesh MorphingarXiv · 2026
- DiffPhD: A Unified Differentiable Solver for Projective Heterogeneous Materials in Elastodynamics with Contact-Rich GPU-AccelerationACM Transactions on Graphics · 2026
- JAX-MPM: a learning-augmented differentiable meshfree framework for GPU-accelerated Lagrangian simulation and geophysical inverse modelingEngineering With Computers · 2026
- Warp-Geo: Differentiable Geometry Representation for Dynamic-Boundary Simulation and Shape OptimizationarXiv · 2026
- AdjointFlow: Accelerating Scientific Inverse Problems with Physics-Based TransportarXiv · 2026