Contact-Aware Neural Dynamics

Changwei Jing, Jai Krishna Bandi, Jianglong Ye, Yan Duan, Pieter Abbeel, Xiaolong Wang, Sha Yi

TL;DR

This paper introduces a contact-aware neural dynamics model that bridges the sim-to-real gap for contact-rich robotic manipulation tasks. By pre-training a diffusion-based pose predictor on large-scale simulation data and fine-tuning it with a small amount of real-world tactile data, the framework implicitly aligns simulated and physical dynamics, significantly reducing trajectory drift and improving long-horizon state prediction.

What Problem Does This Paper Address?

Simulating high-fidelity physics is crucial for scaling up robotic learning, but transferring policies from simulation to the real world (sim-to-real) remains a major bottleneck. This gap is particularly severe in contact-rich manipulation tasks, such as dexterous in-hand manipulation.

Traditional approaches rely on explicit system identification—manually or automatically tuning physical parameters like friction coefficients and object masses. However, real-world contact dynamics are high-dimensional, state-dependent, and fundamentally non-smooth (featuring sudden force spikes and velocity discontinuities). Standard rigid-body simulators struggle to model these intricate interactions accurately. On the other hand, purely data-driven neural dynamics models often treat contact discontinuities as noise or suffer from severe compounding errors over long horizons.

The authors address this by proposing an implicit sim-to-real alignment framework that directly grounds a neural dynamics simulator using real-world tactile contact information.

Methods

The proposed framework consists of a two-stage pipeline that models future hand-object contacts and state trajectories based on a fixed-length history window of past states, actions, joint configurations, binary contact signals, and the object's point cloud.

Figure 1. We present an implicit sim-to-real alignment framework for robot manipulation that uses contact information from tactile sensors. We first train a base neural dynamics model using large-scale simulation data, allowing the network to learn contact-induced physical behaviors from histories of states, actions, and contact information. We then fine-tune the model with a small amount of real-world interaction data, including tactile information, enabling it to better capture real contact patterns and dynamics in contact-rich manipulation tasks. This yields a contact-aware neural dynamics model that performs consistently across both simulation and the real world.
  1. Multimodal Encoding & Fusion: A temporal encoder processes the history of robot states and actions, while a PointNet encoder extracts geometric features from the object's point cloud. These embeddings are fused into a shared latent representation.
  2. Stage I: Contact Predictor: An MLP uses the latent representation to forecast a sequence of future binary contact probabilities. This predicted sequence is re-encoded into a compact contact feature vector.
  3. Stage II: Diffusion Pose Predictor: A conditional 1D U-Net denoising diffusion model generates future object pose increments (translation and rotation deltas). Crucially, this module is conditioned on both the historical latent representation and the predicted future contact features.

Binary Contact Representation: Instead of trying to regress noisy, continuous contact forces, the authors use a robust binary, hand-level contact signal ($c_t \in \{0, 1\}$). In simulation, this is derived via collision mesh intersections; on the real robot, it is computed using a threshold-based heuristic from fingertip tactile sensors.

The model is first trained on large-scale simulation data to learn a strong physical prior and is subsequently fine-tuned using a small amount of real-world interaction data.

Datasets

The authors evaluated their framework using both simulated and real-world datasets:

  • Simulation Data: Generated using the MuJoCo physics engine. For single-object evaluation, they collected 8,000 trajectories using the YCB mustard bottle. For multi-object evaluation, they utilized 15,000 trajectories covering 40 different YCB objects with randomized physical and contact parameters.
  • Real-World Data: Collected using an XArm7 robotic arm equipped with an XHand. The XHand features five fingertips, each integrated with an array of tri-axial tactile sensors. Real-world object poses were tracked using FoundationPose.

Key Insights and Ideas

  • The Power of Binary Abstraction: While continuous force readings from tactile sensors are highly sensitive to calibration and noise, abstracting them into a simple binary contact signal provides a stable, learning-friendly supervisor. This abstraction allows the neural network to focus on discrete contact events rather than high-frequency force fluctuations.
  • Explicitly Conditioning on the Future: By predicting future contact events before predicting future poses, the model effectively gains an implicit collision detection mechanism. This prevents the physics engine from making implausible state transitions (e.g., an object moving before a finger touches it).
  • Implicit Alignment via Co-training: Rather than fitting a separate error-correction layer on top of a simulator, fine-tuning the simulation-pretrained model with real-world data allows the network to implicitly align simulated and real-world distributions within a shared latent space.

Key Results

The contact-aware Diffusion-UNet consistently outperformed standard neural dynamics baselines (like MLPs and contact-agnostic UNets) across all testing regimes.

Qualitative comparison showing smoother, more realistic trajectories aligned with real-world motion.
  • Trajectory Accuracy: In single-object real-world fine-tuning, the contact-aware model achieved a Mean Squared Error (MSE) of 0.0082 and an ADD-S score (geometric consistency metric) of 88.23%, significantly outperforming the baseline model's 68.72% ADD-S.
  • Task Success Rate: The authors defined success as a multi-step rollout where the final predicted object position deviated from the real trajectory endpoint by less than 5 cm. The model trained with both simulation and real data (Sim+Real) achieved a 73.7% success rate for single objects and 64.7% for multiple objects, compared to just 52.6% and 47.1% for a model trained on real data alone (Real-only).

Limitations and Future Work

Despite its strong performance, the authors note several limitations:

  1. Perception Dependency: The framework relies heavily on external pose estimators (like FoundationPose). If the vision system degrades due to occlusion or clutter, errors accumulate rapidly.
  2. Coarse Contact Signals: While binary contact signals are robust, they discard rich physical details such as slip direction, contact area, and exact force distribution.
  3. Long-Horizon Compounding Errors: In scenarios featuring rapid contact switching or highly dynamic object motions, the model still suffers from compounding errors over extended horizons.

Future directions include integrating more accurate tracking systems, incorporating richer tactile representations, and exploring more data-efficient or structured dynamics models to improve long-term stability.

Summary updated

BibTeX
@inproceedings{jing2026contact,
  author = {Changwei Jing and Jai Krishna Bandi and Jianglong Ye and Yan Duan and Pieter Abbeel and Xiaolong Wang and Sha Yi},
  title = {{Contact-Aware Neural Dynamics}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2026},
  url = {https://openreview.net/forum?id=bOhvbGvnvr},
}
Figure