Abstract
DiffCloud is a "real-to-sim" pipeline designed to automatically align the behavior of simulated deformable objects with real-world observations. By integrating differentiable simulation with differentiable point cloud sampling, the system optimizes physical parameters such as mass and stiffness via direct gradient descent. This approach bypasses the need for the massive synthetic datasets required by traditional neural network baselines, achieving superior alignment accuracy and reducing deployment time by over 10x. Our results demonstrate that direct optimization over point clouds provides a robust and efficient pathway for bridging the reality gap in robotic manipulation of cloth and other elastic materials.
Introduction
In robotics, the "real-to-sim" process is essential for ensuring that algorithms developed in simulation can successfully transfer to physical hardware. While inferring the 6-DoF pose of rigid objects is a well-established field, deformable objects—such as cloth, sponges, and elastic bands—present a significant challenge. These objects possess high-dimensional state spaces and behaviors that are highly sensitive to underlying physical properties like stiffness, friction, and mass distribution.
Standard approaches typically involve training an "inverse model"—a neural network that observes a video sequence and predicts physical parameters. However, these models require generating thousands of simulations for training, which is computationally prohibitive. Furthermore, these models often fail to generalize to the noisy, imperfect point clouds produced by real-world depth sensors. DiffCloud addresses these limitations by treating real-to-sim as a live optimization problem rather than a supervised learning task.
Methodology
DiffCloud utilizes an end-to-end differentiable pipeline that allows gradients to flow from the discrepancy between real and simulated observations back to the simulator's physical parameters.
1. Differentiable Simulation and Sampling
The framework employs a differentiable simulator (based on ARCSim) to model the physics of deformable meshes. To bridge the gap between the simulated mesh and real-world sensor data, we implement a differentiable point cloud sampling step using PyTorch3D. This converts the mesh into a set of points while maintaining the gradient chain, allowing the system to understand how changing a physical parameter (like stiffness) will ultimately change the position of points in the resulting point cloud.
2. Handling Sensor Noise with Unidirectional Loss
Real-world point clouds are frequently contaminated by sensor artifacts, background noise, or "phantom" points. To mitigate this, DiffCloud utilizes a unidirectional Chamfer loss. Unlike standard bidirectional losses, this metric only penalizes simulated points that are far from real-world points. This effectively allows the optimizer to ignore noise in the real sensor data that does not correspond to the actual object being modeled.
3. Gradient-Based Optimization
Rather than pre-training a regressor on a massive dataset, DiffCloud performs a live optimization for each specific scenario. Using the Adam optimizer, the system typically converges to the correct physical parameters within approximately 50 iterations per trajectory.
Experimental Evaluation
We evaluated DiffCloud across both real-world and synthetic benchmarks to test its accuracy, speed, and robustness.
- Real-World Scenarios: Using a Kinova Gen3 robot arm, we recorded 15 trajectories for "Lift" and "Fold" tasks. We tested five different fabrics, ranging from highly deformable silk-like materials to more rigid paper towels.
- Synthetic Baselines: We compared DiffCloud against standard neural architectures (PointNet++, MeteorNet, and MLPs) trained on a dataset of 1,500 simulated sequences.
- Contact-Rich Tasks: We introduced complex simulated benchmarks, including
vest_hang(placing a vest on a pole) andband_stretch(manipulating an elastic band), to test the system's performance during intricate interactions.
Key Results
DiffCloud demonstrated significant advantages over traditional inverse modeling approaches:
- Efficiency: DiffCloud achieves parameter alignment in roughly 10 minutes. In contrast, baseline models required between 2.5 and 5.5 hours for data generation and training.
- Accuracy: In the real-world "Lift" task, DiffCloud achieved a lower final loss across all fabric types compared to PointNet++ and MeteorNet. It successfully distinguished between materials, correctly identifying a polka-dot cloth as "heavy and soft" and a red-black cloth as "light and stiff."
- Robustness: In contact-rich simulations, DiffCloud converged to the ground-truth parameters in 100% of test runs, whereas baseline models succeeded only 50-80% of the time.
Discussion and Limitations
By prioritizing optimization over generalization, DiffCloud provides a more efficient solution for real-to-sim than traditional deep learning methods. Point clouds serve as a universal intermediate representation that avoids the need for explicit vertex-to-pixel correspondences.
However, several limitations remain. The current method assumes the robot has prior knowledge of the object's initial geometry and the exact grasp location. Additionally, the robot arm must be manually masked out of the point cloud to prevent the optimizer from attempting to model the rigid arm as part of the deformable object. Future research will focus on automating object shape discovery and exploring the simultaneous optimization of robot trajectories alongside physical parameters.
Summary updated