Skip to main content
QUICK REVIEW

[Paper Review] Bayesian Domain Randomization for Sim-to-Real Transfer.

Fabio Muratore, Christian Eilers|arXiv (Cornell University)|Mar 5, 2020
Reinforcement Learning in RoboticsComputer Science13 references11 citations
TL;DR

BayRn proposes Bayesian Domain Randomization, a sim-to-real transfer method that adaptively learns the domain parameter distribution during training by sampling from the real-world target domain using Bayesian optimization. This reduces reliance on prior knowledge and enables direct, robust policy transfer to real robots, outperforming fixed-distribution domain randomization in a nonlinear swing-up task.

ABSTRACT

When learning policies for robot control, the real-world data required is typically prohibitively expensive to acquire, so learning in simulation is a popular strategy. Unfortunately, such polices are often not transferable to the real world due to a mismatch between the simulation and reality, called 'reality gap'. Domain randomization methods tackle this problem by randomizing the physics simulator (source domain) according to a distribution over domain parameters during training in order to obtain more robust policies that are able to overcome the reality gap. Most domain randomization approaches sample the domain parameters from a fixed distribution. This solution is suboptimal in the context of sim-to-real transferability, since it yields policies that have been trained without explicitly optimizing for the reward on the real system (target domain). Additionally, a fixed distribution assumes there is prior knowledge about the uncertainty over the domain parameters. Thus, we propose Bayesian Domain Randomization (BayRn), a black box sim-to-real algorithm that solves tasks efficiently by adapting the domain parameter distribution during learning by sampling the real-world target domain. BayRn utilizes Bayesian optimization to search the space of source domain distribution parameters which produce a policy that maximizes the real-word objective, allowing for adaptive distributions during policy optimization. We experimentally validate the proposed approach by comparing against two baseline methods on a nonlinear under-actuated swing-up task. Our results show that BayRn is capable to perform direct sim-to-real transfer, while significantly reducing the required prior knowledge.

Motivation & Objective

  • Address the sim-to-real policy transfer problem where simulation policies fail in reality due to the 'reality gap'.
  • Overcome the limitations of fixed-distribution domain randomization, which assumes prior knowledge of domain parameter uncertainty.
  • Enable efficient sim-to-real transfer by adapting the source domain distribution during training to maximize real-world performance.
  • Reduce dependency on expert-annotated priors for domain parameters by learning the optimal distribution through interaction with the real system.
  • Develop a black-box, end-to-end method that optimizes for real-world reward without requiring explicit modeling of the reality gap.

Proposed method

  • BayRn uses Bayesian optimization to search over the parameters of the source domain's distribution during policy training.
  • During training, domain parameters (e.g., mass, friction, gravity) are sampled from a distribution that is adaptively updated based on real-world performance feedback.
  • The algorithm treats the distribution parameters as hyperparameters to be optimized, using real-world reward as the objective function.
  • It employs a probabilistic surrogate model (e.g., Gaussian process) to model the relationship between distribution parameters and real-world policy performance.
  • The method operates in a black-box manner, requiring no architectural changes to the policy network or simulator.
  • Real-world rollouts are used to evaluate policy performance and guide the optimization of the domain distribution, minimizing the need for prior assumptions.

Experimental results

Research questions

  • RQ1Can adaptive domain distribution learning improve sim-to-real policy transfer compared to fixed-distribution domain randomization?
  • RQ2To what extent can BayRn reduce the need for prior knowledge about domain parameter uncertainty in sim-to-real transfer?
  • RQ3How effective is BayRn in enabling direct policy transfer to real-world robotic systems without fine-tuning?
  • RQ4Does Bayesian optimization of the domain distribution lead to faster convergence and better real-world performance than baseline methods?

Key findings

  • BayRn successfully enables direct sim-to-real transfer on a nonlinear under-actuated swing-up task without any real-world fine-tuning.
  • The method significantly reduces reliance on prior knowledge about domain parameter distributions compared to standard domain randomization.
  • BayRn achieves higher real-world performance than baseline domain randomization methods, as measured by task success rate.
  • Adaptive distribution learning via Bayesian optimization leads to faster convergence and more robust policies in the real world.
  • The approach demonstrates that real-world feedback can effectively guide the learning of the source domain distribution, improving transferability.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.