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

Allen Z. Ren, Hongkai Dai, Benjamin Burchfiel, Anirudha Majumdar
2/9/2023
cs.ROcs.LGeess.SY

No official code found. Best implementation: irom-princeton/AdaptSim (15 stars, MIT, last commit 2024-03-27).

Abstract

Simulation parameter settings such as contact models and object geometry approximations are critical to training robust robotic policies capable of transferring from simulation to real-world deployment. Previous approaches typically handcraft distributions over such parameters (domain randomization), or identify parameters that best match the dynamics of the real environment (system identification). However, there is often an irreducible gap between simulation and reality: attempting to match the dynamics between simulation and reality across all states and tasks may be infeasible and may not lead to policies that perform well in reality for a specific task. Addressing this issue, we propose AdaptSim, a new task-driven adaptation framework for sim-to-real transfer that aims to optimize task performance in target (real) environments -- instead of matching dynamics between simulation and reality. 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, using a small amount of real data. We perform experiments in three robotic tasks: (1) swing-up of linearized double pendulum, (2) dynamic table-top pushing of a bottle, and (3) dynamic scooping of food pieces with a spatula. Our extensive simulation and hardware experiments demonstrate AdaptSim achieving 1-3x asymptotic performance and $\sim$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. Website: https://irom-lab.github.io/AdaptSim/

View on arXivView PDF

Code Implementations(1)

MIT

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

151C++, PythonSep 30, 20232 years agoMIT

Similar Papers

Cite this paper

@article{ren2023adaptsim,
  title  = {AdaptSim: Task-Driven Simulation Adaptation for Sim-to-Real Transfer},
  author = {Allen Z. Ren and Hongkai Dai and Benjamin Burchfiel and Anirudha Majumdar},
  year   = {2023},
  eprint = {2302.04903},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2302.04903v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2302.04903.svg)](https://codeofpaper.com/paper/2302.04903)

Discussion