Answers are grounded in this paper and cite their sources.
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.
No takes yet. Share an insight, caveat, or question.
Cao et al. (2026) studied this question.
Synapse has enriched 10 related papers. Consider them for comparative context: