Abstract
Sim-to-real transfer is attractive for robot learning, as it avoids the high cost of collecting data with real robots, but transferring agents from simulation to the real world is challenging. Previous methods often struggle with the "reality gap"—discrepancies in physics and dynamics between simulated environments and the physical world. This paper introduces EXI-Net (EXplicitly/Implicitly conditioned Network), a novel architecture that bridges this gap by conditioning state predictions on both explicit physical parameters and implicit latent variables. By performing online optimization of these parameters during deployment, EXI-Net achieves robust performance across diverse and novel environments, outperforming traditional recurrent neural network baselines.
Introduction
Training robotic agents directly in the real world is resource-intensive, slow, and carries risks of hardware damage. While simulation provides a scalable alternative, policies trained in simulation often fail in reality due to unmodeled physical nuances like friction, mass distribution, and object geometry.
Domain Randomization (DR) is a common technique to address this, where physics parameters are varied during training to encourage robustness. However, excessive randomization can lead to overly conservative policies that perform suboptimally in specific environments. EXI-Net addresses the challenge of multi-environment transfer by enabling a single model to adapt its internal understanding of dynamics to match the specific environment it is currently operating in.
Methodology
EXI-Net is designed as a predictive model that estimates the next state $s_{t+1}$ based on the current state $s_t$, action $a_t$, and a set of dynamics parameters. The core innovation lies in the dual-parameter conditioning:
- Explicit Dynamics ($d_e$): These are physically quantifiable traits such as mass, friction coefficients, and Center of Gravity (CoG). These are known and provided during simulation training.
- Implicit Dynamics ($d_i$): These are latent variables represented as parametric biases. They capture complex, hard-to-model traits like object shape or surface irregularities that are not easily quantified by a single scalar value.
The Workflow
- Training Phase: The network is trained in simulation to minimize the error between the predicted state $s_{t+1}^{\text{pred}}$ and the actual next state $s_{t+1}$ across a wide range of $d_e$ and $d_i$ values.
- Deployment Phase (Online Adaptation): When deployed on a real robot, the system compares its predictions to observed real-world states. It uses backpropagation to update the $d_e$ and $d_i$ inputs—rather than the network weights—to minimize prediction error. Simultaneously, it optimizes the action $a_t$ to reach a target goal state $s_{t+1}^{\text{goal}}$.
Experimental Evaluation
Experiments were conducted using a Franka Emika Panda robot arm in both simulation (Gazebo) and the real world.
- Simulation: The model was trained on six object shapes and tested on six novel shapes (e.g., triangles, rectangles) to evaluate generalization.
- Real-World: The robot was tasked with pushing objects of varying materials (aluminum, steel) and "daily life" items with irregular geometries, such as a stapler, a LAN cable, and a plastic box.
Results and Discussion
EXI-Net demonstrated significant improvements over baseline models, including standard LSTMs and non-conditioned networks.
- High Success Rates: In simulation, EXI-Net achieved a 100% success rate across all test objects, compared to 33-51% for non-adaptive models. In real-world tests, it maintained a 90-100% success rate even with complex daily objects.
- Effective Physics: A key finding was that the estimated parameters ($d_e, d_i$) did not necessarily need to match the ground-truth physical values to be effective. Instead, the network found a configuration of parameters that mathematically compensated for the reality gap, effectively finding the "version" of simulation that best matched the real-world observations.
- Latent Space Clustering: Visualization of the implicit parameters $d_i$ using PCA revealed that the network naturally clustered similar shapes together, suggesting it learned a meaningful representation of object geometry without explicit supervision.
Conclusion
EXI-Net provides a robust framework for sim-to-real transfer by combining explicit physical anchors with flexible implicit latent variables. While currently dependent on motion-capture for state estimation, future work aims to integrate raw visual data into the architecture. The success of EXI-Net in pushing tasks suggests it is a promising candidate for more complex manipulation and locomotion challenges in diverse, unmodeled environments.
Summary updated