I Introduction
Learning continuous control in real world complex environments has seen a wide interest in the past few years and in particular focusing on learning policies in simulators and transferring to real world, as we still struggle with finding ways to acquire the necessary amount of experience and data in the real world directly. While there have been recent attempts on learning by collecting large scale data directly on real robots [1, 2, 3, 4], such an approach still remains challenging as collecting real world data is prohibitively laborious and expensive. Simulators offer several advantages, e.g. they can run faster than realtime and allow for acquiring large diversity of training data. However, due to the imprecise simulation models and lack of high fidelity replication of real world scenes, policies learned in simulations often cannot be directly applied on realworld systems, a phenomenon also known as the reality gap [5]. In this work, we focus on closing the reality gap by learning policies on distributions of simulated scenarios that are optimized for a better policy transfer.
Training policies on a large diversity of simulated scenarios by randomizing relevant parameters, also known as domain randomization, has shown a considerable promise for the real world transfer in a range of recent works [6, 7, 8, 9]
. However, design of the appropriate simulation parameter distributions remains a tedious task and often requires a substantial expert knowledge. Moreover, there are no guarantees that the applied randomization would actually lead to a sensible real world policy as the design choices made in randomizing the parameters tend to be somewhat biased by the expertise of the practitioner. In this work, we apply a datadriven approach and use real world data to adapt simulation randomization such that the behavior of the policies trained in simulation better matches their behavior in the real world. Therefore, starting with some initial distribution of the simulation parameters, we can perform learning in simulation and use real world rollouts of learned policies to gradually change the simulation randomization such that the learned policies transfer better to the real world without requiring the exact replication of the real world scene in simulation. This approach falls into the domain of modelbased reinforcement learning. However, we leverage recent developments in physics simulations to provide a strong prior of the world model in order to accelerate the learning process. Our system uses partial observations of the real world and only needs to compute rewards in simulation, therefore lifting the requirement for full state knowledge or reward instrumentation in the real world.
Ii Related Work
The problem of finding accurate models of the robot and the environment that can facilitate the design of robotic controllers in real world dates back to the original works on system identification [10]. In the context of reinforcement learning (RL), modelbased RL explored optimizing policies using learned models [11]. In [12, 13], the data from realworld policy executions is used to fit a probabilistic dynamics model, which is then used for learning an optimal policy. Although our work follows the general principle of modelbased reinforcement learning, we aim at using a simulation engine as a form of parameterized model that can help us to embed prior knowledge about the world.
Overcoming the discrepancy between simulated models and the real world has been addressed through identifying simulation parameters [14], finding common feature representations of real and synthetic data [15], using generative models to make synthetic images more realistic [16], finetuning the policies trained in simulation in the real world [17], learning inverse dynamics models [18], multiobjective optimization of task fitness and transferability to the real world [19], training on ensembles of dynamics models [20] and training on a large variety of simulated scenarios [6]. Domain randomization of textures was used in [7] to learn to fly a real quadcopter by training an image based policy entirely in simulation. Peng et al. [21] use randomization of physical parameters of the scene to learn a policy in simulation and transfer it to real robot for pushing a puck to a target position. In [9], randomization of physical properties and object appearance is used to train a dexterous robotic hand to perform inhand manipulation. Yu et al. [22] propose to not only train a policy on a distribution of simulated parameters, but also learn a component that predicts the system parameters from the current states and actions, and use the prediction as an additional input to the policy. In [23]
, an upper confidence bound on the estimated simulation optimization bias is used as a stopping criterion for a robust training with domain randomization. In
[24], an auxiliary reward is used to encourage policies trained in source and target environments to visit the same states.Combination of system identification and dynamics randomization has been used in the past to learn locomotion for a real quadruped [25], nonprehensile object manipulation [26] and inhand object pivoting [27]. In our work, we recognize domain randomization and system identification as powerful tools for training general policies in simulation. However, we address the problem of automatically learning simulation parameter distributions that improve policy transfer, as it remains challenging to do it manually. Furthermore, as also noticed in [28], simulators have an advantage of providing a full state of the system compared to partial observations of the real world, which is also used in our work for designing better reward functions.
The closest to our approach are the methods from [29, 30, 31, 32, 33] that propose to iteratively learn simulation parameters and train policies. In [29], an iterative system identification framework is used to optimize trajectories of a bipedal robot in simulation and calibrate the simulation parameters by minimizing the discrepancy between the real world and simulated execution of the trajectories. Although we also use the real world data to compute the discrepancy of the simulated executions, we are able to use partial observations of the real world instead of the full states and we concentrate on learning general policies by finding simulation parameter distribution that leads to a better transfer without the need for exact replication of the real world environment. [30] suggests to optimize the simulation parameters such that the value function is well approximated in simulation without replicating the real world dynamics. We also recognize that exact replication of the real world dynamics might not be feasible, however a suitable randomization of the simulated scenarios can still lead to a successful policy transfer. In addition, our approach does not require estimating the reward in the real world, which might be challenging if some of the reward components can not be observed. [31] and [32] consider grounding the simulator using real world data. However, [31] requires a human in the loop to select the best simulation parameters, and [32] needs to fit additional models for the real robot forward dynamics and simulator inverse dynamics. Finally, our work is closest to the adaptive EPOpt framework of Rajeswaran et al. [33]
, which optimizes a policy over an ensemble of models and adapts the model distribution using data from the target domain. EPOpt optimizes a risksensitive objective to obtain robust policies, whereas we optimize the average performance which is a riskneutral objective. Additionally, EPOpt updates the model distribution by employing Bayesian inference with a particle filter, whereas we update the model distribution using an iterative KLdivergence constrained procedure. More importantly, they focus on simulated environments while in our work, we develop an approach that is shown to work in real world and apply it to two real robot tasks.
Iii Closing the SimtoReal Loop
Iiia Simulation randomization
Let
be a finitehorizon Markov Decision Process (MDP), where
and are state and action spaces,is a statetransition probability function or probabilistic system dynamics,
a reward function, an initial state distribution, a reward discount factor, and a fixed horizon. Let be a trajectory of states and actions and the trajectory reward. The goal of reinforcement learning methods is to find parameters of a policy that maximize the expected discounted reward over trajectories induced by the policy: where and .In our work, the system dynamics are either induced by a simulation engine or real world. As the simulation engine itself is deterministic, a reparameterization trick [34] can be applied to introduce probabilistic dynamics. In particular, we define a distribution of simulation parameters parameterized by . The resulting probabilistic system dynamics of the simulation engine are .
As it was shown in [6, 7, 9], it is possible to design a distribution of simulation parameters , such that a policy trained on would perform well on a realworld dynamics distribution. This approach is also known as domain randomization and the policy training maximizes the expected reward under the dynamics induced by the distribution of simulation parameters :
(1) 
Domain randomization requires a significant expertise and tedious manual finetuning to design the simulation parameter distribution . Furthermore, as we show in our experiments, it is often disadvantageous to use overly wide distributions of simulation parameters as they can include scenarios with infeasible solutions that hinder successful policy learning, or lead to exceedingly conservative policies. Instead, in the next section, we present a way to automate the learning of that makes it possible to shape a suitable randomization without the need to train on very wide distributions.
IiiB Learning simulation randomization
The goal of our framework is to find a distribution of simulation parameters that brings observations or partial observations induced by the policy trained under this distribution closer to the observations of the real world. Let be a policy trained under the simulated dynamics distribution as in the objective (1), and let be a measure of discrepancy between real world observation trajectories and simulated observation trajectories sampled using policy and the dynamics distribution . It should be noted that the inputs of the policy and observations used to compute are not required to be the same. The goal of optimizing the simulation parameter distribution is to minimize the following objective:
(2) 
This optimization would entail training and real robot evaluation of the policy for each . This would require a large amount of RL iterations and more critically real robot trials. Hence, we develop an iterative approach to approximate the optimization by training a policy on the simulation parameter distribution from the previous iteration and using it for both, sampling the real world observations and optimizing the new simulation parameter distribution :
(3)  
where we introduce a KLdivergence step between the old simulation parameter distribution and the updated distribution to avoid going out of the trust region of the policy trained on the old simulation parameter distribution. Fig. 1 shows the general structure of our algorithm that we call SimOpt.
IiiC Implementation
Here we describe particular implementation choices for the components of our framework used in this work. However, it should be noted that each of the components is replaceable. Algorithm 1 describes the order of running all the components in our implementation.
The RL training is performed on a GPU based simulator using a parallelized version of proximal policy optimization (PPO) [35] on a multiGPU cluster [36]. We parameterize our simulation parameter distribution as a Gaussian, i.e. with . We choose weighted and norms between simulation and real world observations for our observation discrepancy function :
(4)  
where and are the weights of the and norms, and are the importance weights for each observation dimension. We additionally apply a Gaussian filter to the distance computation to account for misalignments of the trajectories.
As we use a nondifferentiable simulator we employ a samplingbased gradientfree algorithm based on relative entropy policy search [37] for optimizing the objective (3), which is able to perform updates of with an upper bound on the KLdivergence step. By doing so, the simulator can be treated as a blackbox, as in this case can be optimized directly by only using samples and the corresponding costs coming from . Sampling of simulation parameters and the corresponding policy rollouts is highly parallelizable, which we use in our experiments to evaluate large amounts of simulation parameter samples.
As noted above, single components of our framework can be exchanged. In case of availability of a differentiable simulator, the objective (3
) can be defined as a loss function for optimizing with gradient descent. Furthermore, for cases where
and norms are not applicable, we can employ other forms of discrepancy functions, e.g. to account for potential domain shifts between observations [15, 38, 39]. Alternatively, real world and simulation data can be additionally used to trainto discriminate between the observations by minimizing the prediction loss of classifying observations as simulated or real, similar to the discriminator training in the generative adversarial framework
[40, 41, 42]. Finally, a higherdimensional generative model can be employed to provide a multimodal randomization of the simulated environments.Iv Experiments
In our experiments we aim at answering the following questions: (1) How does our method compare to pure domain randomization? (2) How learning a simulation parameter distribution compares to training on a very wide parameter distribution? (3) How many SimOpt iterations and real world trials are required for a successful transfer of robotic manipulation policies? (4) Does our method work for different real world tasks and robots?
We start by performing an ablation study in simulation by transferring policies between scenes with different initial state distributions, such as different poses of the cabinet in the drawer opening task. We demonstrate that updating the distribution of the simulation parameters leads to a successful policy transfer in contrast to just using an initial distribution of the parameters without any updates. As we observe, training on very wide parameter distributions is significantly more difficult and prone to fail than updating a conservative initial distribution.
Next, we show that we can successfully transfer policies to real robots, such as ABB Yumi and Franka Panda, for complex articulated tasks such as cabinet drawer opening, and tasks with nonrigid bodies and complex dynamics, such as swingpeginhole task with the peg swinging on a soft rope. The policies can be transferred with a very small amount of real robot trials and leveraging largescale training on a multiGPU cluster.
Iva Tasks
We evaluate our approach on two robot manipulation tasks: cabinet drawer opening and swingpeginhole.
IvA1 Swingpeginhole
The goal of this task is to put a peg attached to a robot hand on a rope into a hole placed at a 45 degrees angle. Manipulating a soft rope leads to a swinging motion of the peg, which makes the dynamics of the task more challenging. The task set up in the simulation and real world using a 7DoF Yumi robot from ABB is depicted in Fig. LABEL:fig:title on the right. Our observation space consists of 7DoF arm joint configurations and 3D position of the peg. The reward function for the RL training in simulation includes the distance of the peg from the hole, angle alignment with the hole and a binary reward for solving the task.
IvA2 Drawer opening
In the drawer opening task, the robot has to open a drawer of a cabinet by grasping and pulling it with its fingers. This task involves an ability to handle contact dynamics when grasping the drawer handle. For this task, we use a 7DoF Panda arm from Franka Emika. Simulated and real world settings are shown in Fig. LABEL:fig:title on the left. This task is operated on a 10D observation space: 7D robot joint angles and 3D position of the cabinet drawer handle. The reward function consists of the distance penalty between the handle and endeffector positions, the angle alignment of the endeffector and the drawer handle, opening distance of the drawer and indicator function ensuring that both robot fingers are on the handle.
We would like to emphasize that our method does not require the full state information of the real world, e.g. we do not need to estimate the rope diameter, rope compliance etc. to update the simulation parameter distribution in the swingpeginhole task. The output of our policies consists of 7 joint velocity commands and an additional gripper command for the drawer opening task.
IvB Simulation engine
We use NVIDIA Flex as a highfidelity GPU based physics simulator that uses maximal coordinate representation to simulate rigid body dynamics. Flex allows a highly parallel implementation and can simulate multiple instances of the scene on a single GPU. We use the multiGPU based RL infrastructure developed in [36] to leverage the highly parallel nature of the simulator.
IvC Simulated experiments
We aim at understanding what effect a wide simulation parameter distribution can have on learning robust policies, and how we can improve the learning performance and the transferability of the policies using our method to adjust simulation randomization. Fig. 2 shows an example of a significantly wide distribution of simulation parameters for the swingpeginhole task. In this case, peg size, rope properties and size of the peg box were randomized. As we can observe, a large part of the randomized instances does not have a feasible solution, i.e. when the peg is too large for the hole or the rope is too short. Finding a suitably wide parameter distribution would require manual finetuning of the randomization parameters.
Performance of the policy training with domain randomization for different variances of the distribution of the cabinet position along the Xaxis in the drawer opening task.
Moreover, learning performance depends strongly on the variance of the parameter distribution. We investigate this in a simulated cabinet drawer opening task with a Franka arm which is placed in front of a cabinet. We randomize the position of the cabinet along the lateral direction (Xcoordinate) while keeping all other simulation parameters constant. We train our policies on a 2 layer neural network with fully connected layers of 64 units each with PPO for 200 iterations. As we increase the variance of the cabinet position, we observe that the policies learned tend to be conservative
i.e. they do end up reaching the handle of the drawer but fail to open it. This is shown in Fig. 3where we plot the reward as a function of number of iterations used to train the RL policy. We start with a standard deviation of 2cm (
) and increase it to 10cm (). As shown in the plot, the policy is sensitive to the choice of this parameter and only manages to open the drawer when the standard deviation is 2cm. We note that the reward difference may not seem that significant but realize that it is dominated by reaching reward. Increasing variance further, in an attempt to cover a wider operating range, can often lead to simulating unrealistic scenarios and catastrophic breakdown of the physics simulation with various joints of the robot reaching their limits. We also observed that the policy is extremely sensitive to variance in all three axes of the cabinet position i.e. policy only ever converges when the standard deviation is 2cm and fails to learn even reaching the handle otherwise.In our next set of experiments, we perform policy transfer from the source to target drawer opening scene where position of the cabinet in the target scene is offset by a distance of 15cm and 22cm. After training the policy with RL, it is run on the target scene to collect rollouts. These rollouts are then used to perform several SimOpt iterations to optimize simulation parameters that best explain the current rollouts. We noticed that the RL training can be sped up by initializing the policy with the weights from the previous SimOpt iteration, effectively reducing the number of needed PPO iterations from 200 to 10 after the first SimOpt iteration. The whole process is repeated until the learned policy starts to successfully open the drawer in the target scene. We found that it took overall 3 iterations of doing RL and SimOpt to learn to open the drawer when the cabinet was offset by 15cm. Such a large distance of 15cm would have required the standard deviation of the cabinet position to be 10cm for any naïve domain randomization based training which fails to produce a policy that opens the drawer as shown in Fig. 3. Our method leverages rollouts from the target scene and changes the distribution of cabinet position such that the training on this new distribution allows opening the drawer. We further note that the number of iterations increases to 5 as we increase the target cabinet distance to 22cm highlighting that our method is able to operate on a wider range of mismatch between the current scene and the target scene. Fig. 4 shows how the source distribution variance adapts to the target distribution variance for this experiment and Fig. 5 shows that our method starts with a conservative guess of the initial distribution of the parameters and changes it using target scene rollouts until policy behaviour in target and source scene starts to match.
IvD Real robot experiments
In our real robot experiments, SimOpt is used to learn simulation parameter distribution of the manipulated objects and the robot. We run our experiments on 7DoF Franka Panda and ABB Yumi robots. The RL training and SimOpt simulation parameter sampling is performed using a cluster of 64 GPUs for running the simulator with 150 simulated agents per GPU. In the real world, we use object tracking with DART [43]
to continuously track the 3D positions of the peg in the swingpeginhole task and the handle of the cabinet drawer in the drawer opening task, as well as initialize positions of the peg box and the cabinet in simulation. DART operates on depth images and requires 3D articulated models of the objects. We learn multivariate Gaussian distributions of the simulation parameters parameterized by a mean and a full covariance matrix, and perform several updates of the simulation parameter distribution per
SimOpt iteration using the same real world rollouts to minimize the number of real world trials.Robot properties  
Joint compliance (7D)  1.0  
Joint damping (7D)  1.0  
Joint action scaling (7D)  0.02  
Rope properties  
Rope torsion compliance  2.0  0.07  1.89 
Rope torsion damping  0.1  0.07  0.48 
Rope bending compliance  10.0  0.5  9.97 
Rope bending damping  0.01  0.05  0.49 
Rope segment width  0.004  0.007  
Rope segment length  0.016  0.004  0.017 
Rope segment friction  0.25  0.03  0.29 
Peg properties  
Peg scale  0.01  
Peg friction  1.0  0.06  1.0 
Peg mass coefficient  1.0  0.06  1.06 
Peg box properties  
Peg box scale  0.029  0.01  0.034 
Peg box friction  1.0  0.2  1.01 
Robot properties  
Joint compliance (7D)  0.5  
Joint damping (7D)  0.5  
Gripper compliance  11.0  0.5  10.9 
Gripper damping  0.0  0.5  0.34 
Joint action scaling (7D)  0.01  
Cabinet properties  
Drawer joint compliance  7.0  1.0  8.3 
Drawer joint damping  2.0  0.5  0.81 
Drawer handle friction  0.001  0.5  2.13 
IvD1 Swingpeginhole
Fig. 6 (left) demonstrates the behavior of the real robot execution of the policy trained in simulation over 3 iterations of SimOpt. At each iteration, we perform 100 iterations of RL in approximately 7 minutes and 3 rollouts on the real robot using the currently trained policy to collect realworld observations. Then, we run 3 update steps of the simulation parameter distribution with 9600 simulation samples per update. In the beginning, the robot misses the hole due to the discrepancy of the simulation parameters and the real world. After a single SimOpt iteration, the robot is able to get much closer to the hole, however not being able to insert the peg as it requires a slight angle to go into the hole, which is nontrivial to achieve using a soft rope. Finally, after two SimOpt iterations, the policy trained on a resulting simulation parameter distribution is able to swing the peg into the hole in of the times when evaluated on 20 trials.
Table I shows the initial mean and the diagonal of the covariance matrix of the swingpeginhole simulation parameters, and the shifted mean at the end of the SimOpt training. We observe that the most significant changes occur in the physical parameters of the rope that influence its dynamical behavior and the robot parameters, especially scaling of the policy actions.
IvD2 Drawer opening
For drawer opening, we learn a Gaussian distribution of simulation parameters initialized with a mean and a diagonal covariance matrix described in Table II. Fig. 6 (right) shows the drawer opening behavior before and after performing a SimOpt update. During each SimOpt iteration, we run 200 iterations of RL for approximately 22 minutes, perform 3 real robot rollouts and 20 update steps of the simulation distribution using 9600 samples per update step. Before updating the parameter distribution, the robot is able to reach the handle and start opening the drawer. However, it cannot exactly replicate the learned behavior from simulation and does not keep the gripper orthogonal to the drawer, which results in pushing too much on the handle from the bottom with one of the robot fingers. As the finger gripping force is limited, the fingers begin to open due to a larger pushing force. After adjusting the parameter distribution including robot and drawer properties, as shown in Table II, the robot is able to better control its gripper orientation and by evaluating on 20 trials can open the drawer at all times keeping the gripper orthogonal to the handle.
IvE Comparison to trajectorybased parameter learning
In our work, we run a closedloop policy in simulation to obtain simulated rollouts for SimOpt optimization. Alternatively, we could directly set the simulator to states and execute actions from the real world trajectories as proposed in [29, 30]. However, such a setting is not always possible as we might not be able to observe all required variables for setting the internal state of the simulator at each time point, e.g. the current bending configuration of the rope in the swingpeginhole task, which we are able to initialize but can not continually track with our real world set up.
Without being able to set the simulator to the real world states continuously, we still can try to copy the real world actions and execute them in an openloop manner in simulation. However, in our simulated experiments we notice that especially when making particular state dimensions unobservable for SimOpt cost computation, such as Xposition of the cabinet in the drawer opening task, executing a closedloop policy still leads to meaningful simulation parameter updates compared to the openloop execution. We believe in this case the robot behavior is still dependent on the particular simulated scenario due to the closedloop nature of the policy, which also reflects in the joint trajectories of the robot that are still included in the SimOpt cost function. This means that by using a closedloop policy we can still update the simulation parameter distribution even without explicitly including some of the relevant observations in the SimOpt cost computation.
V Conclusions
Closing the simulation to reality transfer loop is an important component for a robust transfer of robotic policies. In this work, we demonstrated that adapting simulation randomization using real world data can help in learning simulation parameter distributions that are particularly suited for a successful policy transfer without the need for exact replication of the real world environment. In contrast to trying to learn policies using very wide distributions of simulation parameters, which can simulate infeasible scenarios, we are able to start with distributions that can be efficiently learned with reinforcement learning, and modify them for a better transfer to the real scenario. Our framework does not require full state of the real environment and reward functions are only needed in simulation. We showed that updating simulation distributions is possible using partial observations of the real world while the full state still can be used for the reward computation in simulation. We evaluated our approach on two real world robotic tasks and showed that policies can be transferred with only a few iterations of simulation updates using a small number of real robot trials.
In this work, we applied our method to learning unimodal simulation parameter distributions. We plan to extend our framework to multimodal distributions and more complex generative simulation models in future work. Furthermore, we plan to incorporate higherdimensional sensor modalities, such as vision and touch, for both policy observations and factors of simulation randomization.
Acknowledgements
We would like to thank Alexander Lambert, Balakumar Sundaralingam and Giovanni Sutanto for their help with the robot experiments, and David Ha, James Davidson, Lerrel Pinto and Fabio Ramos for their helpful feedback on the draft of the paper. We would also like to thank the GPU cluster and infrastucture team at NVIDIA for their help all the way through this project.
References

Levine et al. [2018]
S. Levine, P. Pastor, A. Krizhevsky, J. Ibarz, and D. Quillen.
Learning handeye coordination for robotic grasping with deep learning and largescale data collection.
I. J. Robotics Res., 37(45):421–436, 2018. 
Pinto and Gupta [2016]
L. Pinto and A. Gupta.
Supersizing selfsupervision: Learning to grasp from 50k tries and 700 robot hours.
In ICRA, 2016.  Yahya et al. [2017] A. Yahya, A. Li, M. Kalakrishnan, Y. Chebotar, and S. Levine. Collective robot reinforcement learning with distributed asynchronous guided policy search. In IROS, 2017.
 Kalashnikov et al. [2018] D. Kalashnikov, A. Irpan, P. Pastor, J. Ibarz, A. Herzog, E. Jang, D. Quillen, E. Holly, M. Kalakrishnan, V. Vanhoucke, and S. Levine. Qtopt: Scalable deep reinforcement learning for visionbased robotic manipulation. CoRR, abs/1806.10293, 2018.
 Jakobi et al. [1995] N. Jakobi, P. Husbands, and I. Harvey. Noise and the reality gap: The use of simulation in evolutionary robotics. In European Conference on Artificial Life. Springer, 1995.
 Tobin et al. [2017] J. Tobin, R. Fong, A. Ray, J. Schneider, W. Zaremba, and P. Abbeel. Domain randomization for transferring deep neural networks from simulation to the real world. In IROS, 2017.
 Sadeghi and Levine [2017] F. Sadeghi and S. Levine. Cad2rl: Real singleimage flight without a single real image. RSS, 2017.
 James et al. [2017] S. James, A. J. Davison, and E. Johns. Transferring endtoend visuomotor control from simulation to real world for a multistage task. CoRR, abs/1707.02267, 2017.
 Andrychowicz et al. [2018] M. Andrychowicz, B. Baker, M. Chociej, R. Jozefowicz, B. McGrew, J. Pachocki, A. Petron, M. Plappert, G. Powell, A. Ray, J. Schneider, S. Sidor, J. Tobin, P. Welinder, L. Weng, and W. Zaremba. Learning dexterous inhand manipulation. CoRR, abs/1808.00177, 2018.
 Ljung [1999] L. Ljung. System identification – theory for the user. Prentice Hall, 1999.
 Deisenroth et al. [2013] M. P. Deisenroth, G. Neumann, and J. Peters. A survey on policy search for robotics. Foundations and Trends in Robotics, pages 388–403, 2013.
 Deisenroth and Rasmussen [2011] M. P. Deisenroth and C. E. Rasmussen. Pilco: A modelbased and dataefficient approach to policy search. In ICML, 2011.
 Deisenroth et al. [2011] M. P. Deisenroth, C. E. Rasmussen, and D. Fox. Learning to control a lowcost manipulator using dataefficient reinforcement learning. In RSS, 2011.
 Kolev and Todorov [2015] S. Kolev and E. Todorov. Physically consistent state estimation and system identification for contacts. In Humanoids, 2015.
 Tzeng et al. [2015a] E. Tzeng, C. Devin, J. Hoffman, C. Finn, X. Peng, S. Levine, K. Saenko, and T. Darrell. Towards adapting deep visuomotor representations from simulated to real environments. CoRR, abs/1511.07111, 2015a.
 Bousmalis et al. [2017] K. Bousmalis, A. Irpan, P. Wohlhart, Y. Bai, M. Kelcey, M. Kalakrishnan, L. Downs, J. Ibarz, P. Pastor, K. Konolige, S. Levine, and V. Vanhoucke. Using simulation and domain adaptation to improve efficiency of deep robotic grasping. CoRR, abs/1709.07857, 2017.
 Rusu et al. [2017] A. A. Rusu, M. Vecerik, T. Rothörl, N. Heess, R. Pascanu, and R. Hadsell. Simtoreal robot learning from pixels with progressive nets. In CoRL, 2017.
 Christiano et al. [2016] P. F. Christiano, Z. Shah, I. Mordatch, J. Schneider, T. Blackwell, J. Tobin, P. Abbeel, and W. Zaremba. Transfer from simulation to real world through learning deep inverse dynamics model. CoRR, abs/1610.03518, 2016.
 Koos et al. [2010] S. Koos, J.B. Mouret, and S. Doncieux. Crossing the reality gap in evolutionary robotics by promoting transferable controllers. In GECCO. ACM, 2010.
 Mordatch et al. [2015] I. Mordatch, K. Lowrey, and E. Todorov. Ensemblecio: Fullbody dynamic motion planning that transfers to physical humanoids. In IROS, 2015.
 Peng et al. [2018] X. B. Peng, M. Andrychowicz, W. Zaremba, and P. Abbeel. Simtoreal transfer of robotic control with dynamics randomization. In ICRA, 2018.
 Yu et al. [2017] W. Yu, J. Tan, C. K. Liu, and G. Turk. Preparing for the unknown: Learning a universal policy with online system identification. In RSS, 2017.
 Muratore et al. [2018] F. Muratore, F. Treede, M. Gienger, and J. Peters. Domain randomization for simulationbased policy optimization with transferability assessment. In CoRL, 2018.
 Wulfmeier et al. [2017] M. Wulfmeier, I. Posner, and P. Abbeel. Mutual alignment transfer learning. CoRR, abs/1707.07907, 2017.
 Tan et al. [2018] J. Tan, T. Zhang, E. Coumans, A. Iscen, Y. Bai, D. Hafner, S. Bohez, and V. Vanhoucke. Simtoreal: Learning agile locomotion for quadruped robots. In RSS, 2018.
 Lowrey et al. [2018] K. Lowrey, S. Kolev, J. Dao, A. Rajeswaran, and E. Todorov. Reinforcement learning for nonprehensile manipulation: Transfer from simulation to physical system. In SIMPAR, 2018.
 Antonova et al. [2017] R. Antonova, S. Cruciani, C. Smith, and D. Kragic. Reinforcement learning for pivoting task. CoRR, abs/1703.00472, 2017.
 Pinto et al. [2017] L. Pinto, M. Andrychowicz, P. Welinder, W. Zaremba, and P. Abbeel. Asymmetric actor critic for imagebased robot learning. CoRR, abs/1710.06542, 2017.
 Tan et al. [2016] J. Tan, Z. Xie, B. Boots, and C. K. Liu. Simulationbased design of dynamic controllers for humanoid balancing. In IROS, 2016.
 Zhu et al. [2018] S. Zhu, A. Kimmel, K. E. Bekris, and A. Boularias. Fast model identification via physics engines for dataefficient policy search. In IJCAI. ijcai.org, 2018.
 Farchy et al. [2013] A. Farchy, S. Barrett, P. MacAlpine, and P. Stone. Humanoid robots learning to walk faster: From the real world to simulation and back. In AAMAS, 2013.
 Hanna and Stone [2017] J. Hanna and P. Stone. Grounded action transformation for robot learning in simulation. In AAAI, 2017.
 Rajeswaran et al. [2016] A. Rajeswaran, S. Ghotra, S. Levine, and B. Ravindran. Epopt: Learning robust neural network policies using model ensembles. CoRR, abs/1610.01283, 2016.
 Kingma and Welling [2013] D. P. Kingma and M. Welling. Autoencoding variational Bayes. CoRR, abs/1312.6114, 2013.
 Schulman et al. [2017] J. Schulman, F. Wolski, P. Dhariwal, A. Radford, and O. Klimov. Proximal policy optimization algorithms. CoRR, abs/1707.06347, 2017.
 Liang et al. [2018] J. Liang, V. Makoviychuk, A. Handa, N. Chentanez, M. Macklin, and D. Fox. Gpuaccelerated robotic simulation for distributed reinforcement learning. CoRL, 2018.
 Peters et al. [2010] J. Peters, K. Mülling, and Y. Altun. Relative entropy policy search. In AAAI, 2010.
 Tzeng et al. [2015b] E. Tzeng, J. Hoffman, T. Darrell, and K. Saenko. Simultaneous deep transfer across domains and tasks. In ICCV, 2015b.
 Sermanet et al. [2018] P. Sermanet, C. Lynch, Y. Chebotar, J. Hsu, E. Jang, S. Schaal, and S. Levine. Timecontrastive networks: Selfsupervised learning from video. In ICRA, 2018.
 Goodfellow et al. [2014] I. J. Goodfellow, J. PougetAbadie, M. Mirza, B. Xu, D. WardeFarley, S. Ozair, A. C. Courville, and Y. Bengio. Generative adversarial nets. In NIPS, 2014.

Ho and Ermon [2016]
J. Ho and S. Ermon.
Generative adversarial imitation learning.
In NIPS, 2016.  Hausman et al. [2017] K. Hausman, Y. Chebotar, S. Schaal, G. S. Sukhatme, and J. J. Lim. Multimodal imitation learning from unstructured demonstrations using generative adversarial nets. In NIPS, 2017.
 Schmidt et al. [2014] T. Schmidt, R. A. Newcombe, and D. Fox. Dart: Dense articulated realtime tracking. In RSS, 2014.
Vi Appendix
Tables III and IV show the SimOpt distribution update parameters for swingpeginhole and drawer opening tasks including REPS [37] parameters, settings of the discrepancy function , weights of each observation dimension in the discrepancy function, and reinforcement learning settings such as parallelized PPO [35, 36] training parameters and task reward weights.
Simulation distribution update parameters  

Number of REPS updates per SimOpt iteration  3 
Number of simulation parameter samples per update  9600 
Timesteps per simulation parameter sample  453 
KLthreshold  1.0 
Minimum temperature of sample weights  0.001 
Discrepancy function parameters  
L1cost weight  0.5 
L2cost weight  1.0 
Gaussian smoothing standard deviation (timesteps)  5 
Gaussian smoothing truncation (timesteps)  4 
Observation dimensions cost weights  
Joint angles (7D)  0.05 
Peg position (3D)  1.0 
Peg position in the previous timestep (3D)  1.0 
PPO parameters  
Number of agents  100 
Episode length  150 
Timesteps per batch  64 
Clip parameter  0.2 
0.99  
0.95  
Entropy coefficient  0.0 
Optimization epochs 
10 
Optimization batch size per agent  8 
Optimization step size  
Desired KLstep  0.01 
RL reward weights  
L1distance between the peg and the hole  10.0 
L2distance between the peg and the hole  4.0 
Task solved (peg completely in the hole) bonus  0.1 
Action penalty  0.7 
Simulation distribution update parameters  

Number of REPS updates per SimOpt iteration  20 
Number of simulation parameter samples per update  9600 
Timesteps per simulation parameter sample  453 
KLthreshold  1.0 
Minimum temperature of sample weights  0.001 
Discrepancy function parameters  
L1cost weight  0.5 
L2cost weight  1.0 
Gaussian smoothing standard deviation (timesteps)  5 
Gaussian smoothing truncation (timesteps)  4 
Observation dimensions cost weights  
Joint angles (7D)  0.5 
Drawer position (3D)  1.0 
PPO parameters  
Number of agents  400 
Episode length  150 
Timesteps per batch  151 
Clip parameter  0.2 
0.99  
0.95  
Entropy coefficient  0.0 
Optimization epochs  5 
Optimization batch size per agent  8 
Optimization step size  
Desired KLstep  0.01 
RL reward weights  
L2distance between endeffector and drawer handle  0.5 
Angular alignment of endeffector with drawer handle  0.07 
Opening distance of the drawer  0.4 
Keeping fingers around the drawer handle bonus  0.005 
Action penalty  0.005 
Comments
There are no comments yet.