Research
On the Numerical Reliability of Differentiable Physics-Based Optimization for Robotic Material Manipulation
Differentiable physics simulators are increasingly used to compute gradients through simulated material interaction so that material parameters, trajectories, skills, or robot geometry can be…

- arXiv
- 2609.34666 · accepted · IROS workshop
- Published
- 2026-09-28
- Authors
- Xintong Yang, Minglun Wei, Yu-Kun Lai, Ze Ji
In plain words
Differentiable physics simulators are increasingly used to compute gradients through simulated material interaction so that material parameters, trajectories, skills, or robot geometry can be optimized. This paper asks whether those gradients are numerically trustworthy when rollouts are long and contact-rich.
AI summary
Overview
Research area: Differentiable physics simulation for robotic manipulation of deformable and granular materials, with a focus on the numerical behavior of gradients propagated through long, contact-rich Material Point Method (MPM) rollouts.
Technical level: Advanced. The paper assumes familiarity with reverse-mode automatic differentiation, MPM simulation, GPU parallel reductions, and gradient-based optimization.
Scope: The paper empirically measures three sources of numerical unreliability in differentiable MPM-based system identification—unordered GPU reductions, finite-difference validation over long horizons, and observation/loss construction—using two controlled robotic benchmarks.
What This Paper Is About
Differentiable physics simulators are increasingly used to compute gradients through simulated material interaction so that material parameters, trajectories, skills, or robot geometry can be optimized. This paper asks whether those gradients are numerically trustworthy when rollouts are long and contact-rich. Using elastoplastic and granular MPM benchmarks derived from prior DPSI and DDBot work, the authors isolate three effects: GPU summation order, the reliability of finite-difference checks as rollout length grows, and the influence of observation and loss design on which solution the optimizer prefers.
Key Contributions
-
Demonstration that parallel reduction order changes long-horizon gradients. The authors show that ordinary GPU atomic additions in particle-to-grid transfer, the adjoint of grid-to-particle transfer, and material-parameter gradient accumulation can amplify tiny floating-point differences into materially different gradients—including a sign reversal for Poisson's ratio in the DDBot-derived granular case.
-
A deterministic fixed-point integer accumulation scheme. Contributions are mapped to a common integer scale, added exactly in high/low fields, and converted back to floating point, making reductions independent of thread arrival order. Repeated Chamfer-gradient contributions are additionally sorted by source particle and summed via compressed sparse row offsets in a fixed order.
-
A finite-difference reliability analysis across rollout horizons. The paper compares the loss change caused by a parameter perturbation against the loss spread from repeated identical forward simulations, showing that finite-difference checks degrade as rollouts lengthen.
-
A controlled study of observation and loss construction. The authors compare particle versus point-cloud observations and Chamfer, Earth Mover's, and height-map distances across precisions and particle densities, showing that the objective with the most frequent descent does not produce the lowest independent height-map error.
Main Findings
-
Reduction order can flip a gradient sign. Repeated GPU rollouts first diverge at the particle-to-grid reduction, with differences of approximately 10^-7 in f32 and 10^-16 in f64 that propagate through later simulation and reverse-mode operations. On the 311-step DDBot-derived granular case, the GPU ensemble mean for the gradient with respect to Poisson's ratio was +1.29, while the deterministic single-threaded CPU reference was −7.99, implying opposite parameter updates.
-
Deterministic accumulation restores bit-level reproducibility. After replacing shared reductions with deterministic integer reductions and grouping repeated Chamfer-gradient contributions, five representative configurations—covering f32 and f64 and both benchmark families—produced identical state and loss checksums.
-
Finite-difference checks weaken with longer rollouts. In the DPSI-derived elastoplastic case, the ratio of perturbation-induced loss change to repeated-run f32 loss spread was 93–806 at two global steps, but fell to 2–14 at horizons of ten steps or more, because repeated-run variation grew much faster than the perturbation effect.
-
Finite-difference convergence fails at long horizons. The f64 worst relative AD/FD discrepancy was at most 1.5×10^-5 at two global steps and remained below 3×10^-5 at five and ten steps. At 20 and 40 steps the finite-difference sequence no longer converged for the worst component, and the discrepancy rose to 3.41×10^-1 and 2.70×10^-1. Validation cost rose from 25 s to 178 s.
-
Objective choice changes optimization behavior. PRT-CD reduced its own objective in 78 of 80 attempted epochs (97.5%), compared with 67.5% for PRT-EMD, 53.8% for PCD-CD, and 57.5% for PCD-EMD.
-
The most frequently descending objective is not the best by an independent metric. Mean terminal height-map distance was 3738.4 mm for PRT-CD and 3698.6 mm for PRT-EMD, so the objective that descended most often did not achieve the lowest independent error.
-
Observation resolution grows sublinearly with particle density. Increasing the DPSI-derived sampling from 218 to 876 particles increased occupied surface cells from 89 to 151—a factor of 1.70 rather than four. Between the first two density levels, 93% of newly added particles landed in already occupied surface cells; between the second and third levels, 89%.
-
Precision can change discrete observation choices. In one 876-particle case, f32 and f64 selected different surface points and changed PCD-EMD by 0.517%, larger than many accepted line-search improvements in the campaign.
-
Deterministic accumulation also improves accuracy. For f32 grid mass in an isolated reduction test, maximum error was 2.00×10^-10 with deterministic accumulation versus 1.44×10^-9 for the best of eight atomic runs.
Methodology in Plain English
The authors treat the simulator as part of the optimization loop and vary its numerical settings while holding the physics fixed. They use two MPM benchmarks: an elastoplastic case derived from DPSI, with fixed-corotated elasticity and von Mises plasticity at 218, 451, or 876 particles over 94 global steps with 50 MPM substeps per step; and a granular case derived from DDBot, with Hencky/Saint Venant-Kirchhoff elasticity and Drucker-Prager plasticity at 27,440 particles over 200 or 311 global steps with 20 MPM substeps per step. Both use the same projection-based signed distance field contact formulation so that differences can be attributed to numerics rather than contact modeling.
Gradients are obtained by reverse-mode automatic differentiation through the rollout, with checkpointing to limit stored state. They are compared against central finite differences over several perturbation sizes. For each perturbation, the authors measure whether the resulting loss change is distinguishable from the spread obtained by repeating an identical forward simulation. To test reduction order, they compare ordinary GPU atomic addition against a deterministic fixed-point integer accumulator that places all contributions on a common binary scale, adds them exactly in a high/low integer representation, and converts back once. The experiment matrix contains 64 primary cells—48 for the DPSI-derived case and 16 for the DDBot-derived case—plus five repeated cells for bit-level reproducibility, giving 69 campaign tasks. DPSI-derived optimization uses Adam; DDBot-derived optimization uses RMSProp followed by a line-search evaluation that includes both gradient directions.
Why This Matters
The paper shows that numerical details usually treated as implementation artifacts—summation order, precision, rollout length, and surface-observation rules—can change the direction and ranking of gradients used to optimize robotic material interaction. This matters for research because results in differentiable physics-based system identification may not be reproducible across hardware or thread schedules unless accumulation is made deterministic and objective construction is reported in detail.
Real-world applications include:
- Food handling, where deformable food items must be manipulated with material parameters identified from simulation.
- Excavation and levelling, where granular material behavior determines skill success.
- Laboratory automation, where precise tool-based interaction with soft or granular substances is required.
- Robot and end-effector design, where gradients through simulated contact inform shape optimization.
Industry relevance centers on simulation-based parameter identification and controller or design optimization: if gradients are unreliable, optimization may converge to different material parameters or select the wrong candidate step, and reported benchmarks may not transfer across GPUs or software builds. The deterministic accumulation method offers a practical route to reproducible results, while the finite-difference ratio test gives practitioners a way to judge whether their gradient checks are meaningful.
Future Directions
-
Extend beyond the TaiChi-based MPM implementation. The authors note that the study is limited to one differentiable simulation framework and suggest testing other differentiable programming languages and simulator backends.
-
Broaden the range of contact processes. The current results cover two motions—pressing a playdough and scooping a box of sand—and the authors call for more diverse contact scenarios.
-
Apply reproducible accumulation beyond system identification. The same many-to-one sums occur when gradients flow to robot trajectories, skill parameters, or end-effector geometry, so the deterministic reduction approach could be evaluated in those optimization settings.
-
Standardize reporting of observation and objective construction. Because discrete surface selection and point-matching rules affect derivatives, the paper argues that these choices should be documented as part of the optimization specification, alongside particle density and precision.
Target Audience
This paper is most useful to robotics researchers and engineers working with differentiable physics simulators, particularly those using MPM or particle-based methods for deformable and granular material manipulation. It also benefits practitioners implementing gradient-based system identification, trajectory optimization, or robot design optimization, as well as reviewers and benchmark designers who need to assess reproducibility claims. Readers without background in automatic differentiation or GPU computing will find the numerical details demanding, but the high-level findings about objective design and validation are accessible to a broader robotics audience.
Authors’ abstract
Differentiable physics is increasingly used in robotic material manipulation for system identification, trajectory or skill optimization, demonstration generation, and robot or end-effector design. These applications depend on gradients propagated through long, contact-rich simulation rollouts. We study the numerical reliability of those gradients using two Material Point Method (MPM) system-identification benchmarks derived from elastoplastic and granular manipulation. The…
The full abstract on arXivRelated papers
- Stochastic Diversity Windows: Diagnosing Noise Influence in Robotic Diffusion Sampling 2026-11-17 · cs.RO · Also by Yu-Kun Lai, Ze Ji
- RobotAPO: Adversarial Physics Preference Optimization for Robotic Manipulation Video Generation 2026-10-07 · cs.RO · Key terms of the title in common
- Closed-Loop Physics-Based Manipulation Evaluation at a Commodity Price: What 4.4 L4 GPU hours at $3.50 Buys You 2026-11-05 · cs.RO · Key terms of the title in common
- RoboHarn-Evo: Evolving Hierarchical Physical Knowledge for Self-Improving Robotic Manipulation 2026-09-29 · cs.RO · Key terms of the title in common
- FORM: Robot Manipulation through Direct Material Law Identification 2026-09-29 · cs.RO · Key terms of the title in common