Learning Physics-Guided Residual Dynamics for Deformable Object Simulation

Shivansh Patel, Kaifeng Zhang, Sanjay Pokkali, Svetlana Lazebnik, Yunzhu LiarXiv 2026

TL;DR

Physics-Guided Residual Dynamics (PGRD) bridges the gap between rigid physics models and unpredictable real-world dynamics by pairing an optimizable spring-mass simulator with a neural network that predicts velocity-based corrections. This hybrid approach delivers highly accurate, stable simulations of complex, heterogeneous deformable objects using only a few minutes of real-world training data. By grounding the learning process in physical priors, PGRD enables robust downstream applications like language-conditioned manipulation planning and interactive photorealistic rendering.

What Problem Does This Paper Address?

Simulating deformable objects—like ropes, cloth, and plush toys—is a notorious bottleneck in robotics and computer vision. These objects change shape drastically under external forces, exhibiting complex behaviors like stretching, crumpling, and twisting.

Currently, researchers are caught between two sub-optimal paradigms:

  1. Physics-based simulators (e.g., spring-mass models, Finite Element Methods) provide physically plausible and interpretable baselines, but they require precise material parameters that are incredibly difficult to acquire. Furthermore, they often rely on simplifying assumptions (like uniform elasticity), causing them to fail on complex or heterogeneous objects.
  2. Learning-based models (e.g., Graph Neural Networks) bypass analytical modeling by fitting data directly. However, they are notoriously data-hungry, generalize poorly to unseen scenarios, and frequently suffer from compounding errors that cause simulations to drift or "blow up" over long horizons.

Differentiable simulators attempt to bridge this gap by using gradient descent to tune physics parameters, but they break down during contact-rich tasks where collisions and friction transitions introduce severe gradient discontinuities. PGRD addresses these limitations by creating a hybrid framework that combines the stability of physics with the expressive flexibility of deep learning, without requiring a differentiable simulator.

Methods

Overview of the PGRD hybrid simulation framework.

PGRD utilizes a two-stage training procedure to combine an optimizable spring-mass simulator backbone with a learned residual neural network:

  • Stage 1: Physics Parameter Optimization. The global parameters of the spring-mass simulator (stiffness, damping, spring thresholds, and ground friction) are optimized using Covariance Matrix Adaptation Evolution Strategy (CMA-ES). Because CMA-ES is a gradient-free, black-box optimization strategy, it successfully navigates the non-smooth gradient landscapes caused by collisions and contacts. For volumetric objects, the authors augment the simulator with internal support points sampled from a watertight mesh to prevent the object from collapsing under gravity.
  • Stage 2: Velocity-Based Residual Learning. Instead of predicting position corrections directly—which the authors show leads to simulation instability and numerical blow-ups—the neural network predicts residual velocities ($\Delta V^{residual}_{t+1}$). These corrections are added to the simulator's predictions and time-integrated to update positions smoothly.
The neural network architecture of PGRD, featuring an encoder, decoder, and temporal aggregator.

The residual network architecture consists of three primary components:

  1. Encoder: A Point Transformer V3 (PTv3) that extracts spatiotemporal features by processing the current state, a history of past frames, and the simulator's immediate predictions.
  2. Decoder: A NeRF-style MLP that combines the encoder features with Fourier positional encodings to output an initial velocity correction.
  3. Temporal Aggregator: A sliding-window transformer that refines predictions using a temporal buffer of recent history, utilizing a gating mechanism to adaptively blend local predictions with motion context (capturing effects like momentum).

To combat compounding errors, the network is trained using multi-step rollouts, forcing it to learn how to recover from its own past drifting predictions.

Datasets

The authors evaluated PGRD on a real-world dataset collected using a UFACTORY xArm 7 robot and four synchronized Intel RealSense D455 cameras. Object masks were segmented using Grounded SAM 2, and 2D tracks were extracted via CoTracker before being lifted into 3D space.

Fig. 3: Experimental Objects (see text).

The dataset features six distinct objects designed to test different dimensionalities and material complexities:

  • Rope: A 1D object manipulated via dragging and lifting.
  • Paper & Flag: 2D sheets exhibiting bending, twisting, and large-area deformations.
  • Sloth Toy: A 3D volumetric object with highly flexible limbs.
  • Duster: A highly challenging heterogeneous object consisting of a rigid stem and soft, deformable feathers.
  • Teddy Toy: Used to evaluate non-prehensile manipulation (poking).

The entire training set relies on a remarkably small amount of data: just 100 short interaction episodes totaling roughly 3.37 minutes of unique data.

Key Insights and Ideas

  • Velocity over Position: Directly injecting learned position corrections breaks the underlying physics and destabilizes rollouts. Correcting velocity ensures smooth integration and long-term simulation stability.
  • Gradient-Free is a Feature, Not a Bug: Bypassing differentiable simulation in favor of CMA-ES allows the framework to handle complex, contact-rich interactions (like friction transitions and collisions) without worrying about vanishing or exploding gradients.
  • The Power of Residuals: The neural network doesn't need to learn physics from scratch; it only learns the "error" of a reasonably tuned physics model. This drastically lowers data requirements and improves generalization to unseen tasks.

Key Results

PGRD consistently achieved the lowest tracking errors across all six objects, outperforming pure physics baselines (Spring-Mass, MPM) and state-of-the-art learning methods (PGND, GBND).

Fig. 4: Qualitative comparison of PGRD on dynamics prediction. Columns shaded in green show the input state with gripper positions (red spheres) and the ground truth object configuration after taking the action. The remaining columns show predictions from each method. PGRD accurately captures deformations across all objects. For the duster, only PGRD maintains stem rigidity while allowing deformation for the feathers. The MPM baseline is not evaluated on the Teddy Toy because it does not model the non-prehensile manipulation used in this experiment. For the Teddy Toy, PGND uses sampled gripper surface points for simulation, which are visualized as red spheres, making this example denser than the others.
  • The Duster Challenge: PGRD was the only method capable of accurately simulating the duster. Pure physics models made the handle bend unnaturally due to uniform material assumptions, while learning models incorrectly compressed it. PGRD successfully maintained stem rigidity while allowing the feathers to deform.
  • Downstream Planning: When integrated with Model Predictive Path Integral (MPPI) control for a cable-rerouting task through a narrow slot, PGRD achieved an 8/10 success rate, compared to just 2/10 for the tuned spring-mass baseline.
Planning results on rope manipulation tasks showing faster convergence for PGRD.
  • Language-Conditioned Goals: By combining PGRD with a goal-image generation pipeline (Nano Banana Pro and Depth Anything V2), the system successfully executed manipulation tasks from simple text commands like "pass rope through red slot."
  • Photorealistic Simulation: By attaching 3D Gaussian Splatting (3DGS) to the simulated particles, PGRD enabled high-fidelity, action-conditioned video prediction and interactive photorealistic simulations driven by user keyboard inputs.

Limitations and Future Work

While highly effective, the framework relies on an offline data processing pipeline that requires clean multi-view tracking data (via CoTracker) to bootstrap the model. Additionally, during 3DGS rendering, appearance attributes remain fixed, meaning the model cannot simulate visual changes like tearing, lighting shifts, or self-shadowing during deformation. Future work could explore online adaptation or extending the framework to handle topological changes like cutting or tearing.

Summary updated

BibTeX
@misc{patel2026learning,
  author = {Shivansh Patel and Kaifeng Zhang and Sanjay Pokkali and Svetlana Lazebnik and Yunzhu Li},
  title = {{Learning Physics-Guided Residual Dynamics for Deformable Object Simulation}},
  year = {2026},
  eprint = {2607.13451},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2607.13451},
}
Figure