DIFFTACTILE: A Physics-based Differentiable Tactile Simulator for Contact-rich Robotic Manipulation

Zilin Si, Gu Zhang, Qingwei Ben, Branden Romero, Zhou Xian, Chao Liu, Chuang Gan

Abstract

While vision provides a global context for robotic tasks, tactile feedback is indispensable for high-precision, contact-rich manipulation. However, simulating the nuanced mechanics of soft-sensor deformation and multi-material interaction remains a significant challenge. This paper presents DIFFTACTILE, a high-fidelity, fully differentiable physics-based simulator designed to bridge the gap between simulation and reality. By integrating Finite Element Method (FEM) and Material Point Method (MPM) frameworks, DIFFTACTILE enables gradient-based optimization for both system identification and policy learning, significantly outperforming traditional reinforcement learning in efficiency and accuracy.

Introduction

In the pursuit of human-level dexterity, robots must master the sense of touch. Tasks such as grasping delicate objects, manipulating cables, or identifying textures require a sophisticated understanding of contact forces and surface deformations. Despite its importance, tactile simulation has historically lagged behind visual simulation due to two primary bottlenecks. First, many simulators rely on rigid-body approximations that fail to capture the complex deformations of soft tactile sensors. Second, most high-fidelity simulators are non-differentiable "black boxes," forcing researchers to rely on sample-inefficient Reinforcement Learning (RL) algorithms.

DIFFTACTILE addresses these challenges by providing a unified, differentiable framework that models the interaction between soft sensors and diverse materials—including rigid bodies, deformable objects, and elastoplastic materials. By leveraging system-wide differentiability, the simulator allows for direct gradient-based optimization, facilitating rapid policy convergence and automated sim-to-real alignment.

Methodology

DIFFTACTILE is implemented using Taichi, a high-performance programming language tailored for differentiable physical simulation. The architecture is built upon four technical pillars:

1. Tactile Sensor Simulation

To accurately model the "squishiness" of tactile elastomers (such as those found in GelSight sensors), the simulator employs the Finite Element Method (FEM). Specifically, it utilizes a Neo-Hookean constitutive model, which provides a superior representation of non-linear elastic behavior compared to standard linear approximations. This ensures that the simulated sensor responds realistically to pressure and shear forces.

2. Multi-Material Object Simulation

The simulator supports a wide array of object types by integrating the Moving Least Square Material Point Method (MLS-MPM). This allows for the simultaneous simulation of rigid, elastic, and elastoplastic objects within the same environment. Furthermore, Position-Based Dynamics (PBD) is incorporated to handle the unique constraints of thin, flexible structures like cables.

3. Penalty-Based Contact Model

Contact interactions are governed by a penalty-based model that calculates normal forces and friction. By analyzing relative velocities and penetration depths, the system generates realistic tactile signals that reflect the physical properties of the interacting surfaces.

4. Neural Optical Response

To translate physical deformations into the visual output typical of optical tactile sensors, DIFFTACTILE uses a learning-based module. This MLP-based neural simulator utilizes positional encoding to capture high-frequency spatial details, outperforming traditional lookup-table methods in generating realistic sensor images.

System Identification and Sim-to-Real

A core advantage of DIFFTACTILE is its ability to close the sim-to-real gap through automated system identification. Rather than manually tuning physical parameters like friction coefficients or material stiffness, researchers can use the simulator's differentiability to "backpropagate" errors from real-world data. By optimizing internal parameters to match physical sensor readings collected from a UR5e robot arm, the simulator creates a high-fidelity digital twin of the physical environment.

Experimental Results

The researchers evaluated DIFFTACTILE across several manipulation benchmarks, comparing gradient-based optimization against state-of-the-art RL algorithms like Soft Actor-Critic (SAC) and Proximal Policy Optimization (PPO).

  • Learning Efficiency: In a block-flipping task ("Object Repose"), the gradient-based approach enabled by DIFFTACTILE achieved a success metric of 60.82, whereas SAC reached only 4.68 within the same training budget. This demonstrates that differentiability allows for significantly faster and more effective policy learning.
  • Optical Fidelity: The neural optical module achieved a Peak Signal-to-Noise Ratio (PSNR) of 39.42, surpassing previous state-of-the-art models (e.g., Taxim at 38.47) and showing a marked reduction in L1 error.
  • Real-World Deployment: Policies trained within the simulator for tasks such as surface following and case opening were successfully transferred to real hardware with minimal tuning, validating the effectiveness of the system identification pipeline.

Discussion and Conclusion

DIFFTACTILE represents a significant step forward in tactile-centric robotics. By providing a differentiable, multi-material simulation environment, it moves beyond the limitations of rigid-body approximations and black-box simulators.

While the current framework is highly effective for single and dual-sensor setups, future work will focus on scaling the computational efficiency to support multi-fingered dexterous hands. Additionally, the authors plan to integrate DIFFTACTILE into broader robotic ecosystems and explore multi-modal fusion, combining high-fidelity touch with computer vision to further enhance robotic manipulation capabilities.

Summary updated

BibTeX
@inproceedings{si2024difftactile,
  author = {Zilin Si and Gu Zhang and Qingwei Ben and Branden Romero and Zhou Xian and Chao Liu and Chuang Gan},
  title = {{DIFFTACTILE: A Physics-based Differentiable Tactile Simulator for Contact-rich Robotic Manipulation}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=eJHnSg783t},
}
Figure