NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

AdaptSim: Task-Driven Simulation Adaptation for Sim-to-Real Transfer

Allen Z. Ren, Hongkai Dai, Benjamin Burchfiel, Anirudha Majumdar

Abstract

Simulation parameter settings such as contact models and object geometry approximations are critical to training robust manipulation policies capable of transferring from simulation to real-world deployment. There is often an irreducible gap between simulation and reality: attempting to match the dynamics between simulation and reality may be infeasible and may not lead to policies that perform well in reality for a specific task. We propose AdaptSim, a new task-driven adaptation framework for sim-to-real transfer that aims to optimize task performance in target (real) environments. First, we meta-learn an adaptation policy in simulation using reinforcement learning for adjusting the simulation parameter distribution based on the current policy's performance in a target environment. We then perform iterative real-world adaptation by inferring new simulation parameter distributions for policy training. Our extensive simulation and hardware experiments demonstrate AdaptSim achieving 1-3x asymptotic performance and 2x real data efficiency when adapting to different environments, compared to methods based on Sys-ID and directly training the task policy in target environments.

Introduction

The "sim-to-real gap" remains a significant hurdle in robotics. While simulation offers a safe and efficient training ground, policies often fail when deployed in the physical world due to modeling inaccuracies. Traditional approaches like Domain Randomization and System Identification (Sys-ID) attempt to bridge this gap by either training on a broad range of physics or precisely matching simulation to reality. However, the authors of AdaptSim argue that an "irreducible gap" often exists—complex real-world interactions, such as the deformation of a spatula or the friction of food items, are simply too difficult to model perfectly. Instead of striving for physical realism, AdaptSim focuses on finding simulation parameters that maximize task performance in the target environment.

Methodology

AdaptSim employs a two-phase framework to prioritize task performance over physical accuracy:

  1. Phase 1: Meta-Learning in Simulation: An adaptation policy is meta-learned in simulation using Reinforcement Learning (Double Q-Learning). This policy learns to map observed trajectories and rewards from a target environment to adjustments in simulation parameters (e.g., friction, geometry). By practicing on thousands of simulated "target" environments, it learns the general strategy of how to tune a simulator to improve a robot's real-world success.
  2. Phase 2: Iterative Real-World Adaptation: When deployed, the robot performs a small number of trials. The meta-learned policy observes these real-world results and infers a new simulation distribution. The task policy is then fine-tuned in this updated simulation before the next real-world iteration. This process repeats, allowing the robot to converge on a successful policy with minimal real-world data.
AdaptSim iteratively adjusts simulation parameters based on real-world performance, moving from failed attempts in early iterations to successful task execution.

Experimental Evaluation

The framework was evaluated on three distinct tasks: a linearized double pendulum, dynamic bottle pushing, and dynamic food scooping. The scooping task is particularly challenging, involving contact-rich interactions with various food items like mushrooms, cucumbers, and Brussels sprouts. Simulations were conducted using the Drake physics engine, known for its accurate contact mechanics.

Key Results and Insights

  • Performance and Efficiency: AdaptSim consistently outperformed Sys-ID baselines. In the bottle-pushing task, it reached peak performance in just 16 trials, compared to 40 for direct training in the target environment. In the complex scooping task, it achieved a 60% success rate with difficult items like sliced cucumbers, where baseline methods failed entirely.
  • Task-Relevant Inference: Unlike traditional Sys-ID, which tries to minimize the difference between all simulated and real trajectories, AdaptSim focuses only on the parts of the trajectory that affect the reward. This allows it to ignore irrelevant modeling errors.
  • The "Good Enough" Simulator: AdaptSim demonstrates that the most effective simulation for training might not be the most "realistic" one. It often finds "unrealistic" parameters that happen to produce the most robust and successful real-world behavior.

Conclusion

AdaptSim represents a shift from "making sim real" to "making sim useful." By prioritizing task performance and amortizing the cost of learning adaptation strategies in simulation, it offers a data-efficient path to robust real-world robot deployment. While it shows great promise, future work is needed to address limitations regarding policy sensitivity and performance in environments that fall extremely far outside the initial simulation parameter space.

Summary updated

BibTeX
@inproceedings{ren2023adaptsim,
  author = {Allen Z. Ren and Hongkai Dai and Benjamin Burchfiel and Anirudha Majumdar},
  title = {{AdaptSim: Task-Driven Simulation Adaptation for Sim-to-Real Transfer}},
  booktitle = {Conference on Robot Learning},
  year = {2023},
  url = {https://openreview.net/forum?id=9GRE34K0SB},
}
Figure