Skip to main content
QUICK REVIEW

[Paper Review] SimGAN: Hybrid Simulator Identification for Domain Adaptation via Adversarial Reinforcement Learning

Yifeng Jiang, Tingnan Zhang|arXiv (Cornell University)|Jan 15, 2021
Reinforcement Learning in RoboticsComputer Science44 references11 citations
TL;DR

SimGAN proposes an adversarial reinforcement learning framework to identify a hybrid physics simulator that matches real-world trajectory distributions, using a learned GAN-based loss to eliminate manual loss design and improve sim-to-real policy transfer. It outperforms strong baselines on six robotic locomotion tasks with minimal real-world data, achieving high policy performance using only 50 target trajectories.

ABSTRACT

As learning-based approaches progress towards automating robot controllers design, transferring learned policies to new domains with different dynamics (e.g. sim-to-real transfer) still demands manual effort. This paper introduces SimGAN, a framework to tackle domain adaptation by identifying a hybrid physics simulator to match the simulated trajectories to the ones from the target domain, using a learned discriminative loss to address the limitations associated with manual loss design. Our hybrid simulator combines neural networks and traditional physics simulation to balance expressiveness and generalizability, and alleviates the need for a carefully selected parameter set in System ID. Once the hybrid simulator is identified via adversarial reinforcement learning, it can be used to refine policies for the target domain, without the need to interleave data collection and policy refinement. We show that our approach outperforms multiple strong baselines on six robotic locomotion tasks for domain adaptation.

Motivation & Objective

  • To address the challenge of sim-to-real policy transfer, where domain shifts between simulation and real-world dynamics hinder policy performance.
  • To eliminate the need for manual design of similarity losses between simulated and real trajectories, which are often heuristic and unrealistic.
  • To improve simulation fidelity by identifying a hybrid simulator that combines differentiable neural networks with classical physics models, enhancing expressiveness without sacrificing generalization.
  • To enable efficient domain adaptation by learning the simulator once from limited real-world data, avoiding iterative data collection and policy refinement loops.
  • To demonstrate generalization of the learned simulator across multiple motor skills and environments, even when reward functions change.

Proposed method

  • Formulates simulation identification as an adversarial reinforcement learning problem, where a GAN discriminator distinguishes real-world trajectories from simulated ones.
  • Uses a learned discriminative loss from the GAN to provide weak supervision on trajectory distributions, avoiding the need for paired trajectories or heuristic distance metrics.
  • Constructs a hybrid simulator that replaces fixed simulation parameters with a differentiable, state-action-dependent neural network function to model unmodeled dynamics.
  • Optimizes the simulator parameters using policy gradient methods, treating the parameter function as an RL agent that maximizes trajectory realism.
  • Learns the simulator once using a behavior policy's real-world trajectories, then reuses it to refine policies for new tasks without further data collection.
  • Applies an adaptive alive bonus during simulator learning to improve simulation fidelity, especially in challenging environments.

Experimental results

Research questions

  • RQ1Can a learned GAN-based loss effectively replace hand-designed similarity metrics for matching simulated and real trajectories in domain adaptation?
  • RQ2Can a hybrid simulator with differentiable, state-action-dependent parameters improve simulation fidelity beyond fixed-parameter physics models?
  • RQ3Does adversarial RL training of the simulator enable robust policy transfer with minimal real-world data collection?
  • RQ4Can a single learned simulator support the refinement of multiple distinct motor skills in the target domain?
  • RQ5How sensitive is the method to the quality and quantity of real-world trajectories used for simulator identification?

Key findings

  • SimGAN outperforms strong baselines on six robotic locomotion tasks, including Hopper/Heavy and Laikago/Deform, demonstrating superior domain adaptation performance.
  • With only 50 real-world trajectories, the method achieves an average task reward of 1686 in the Hopper/Heavy environment and 2561 in the Laikago/Deform environment, showing minimal performance degradation at low data budgets.
  • The adaptive alive bonus improves policy performance significantly in the Hopper/Heavy environment, increasing average reward from 1186 to 1658 when used during simulator learning.
  • The same learned hybrid simulator successfully enables training of a sideways-walking policy on the Laikago robot, indicating strong generalization across different motor skills.
  • Running additional iterations of the algorithm did not improve performance, suggesting that the current hybrid simulator with analytical physics priors is already robust to distribution shifts.
  • Directly learning contact forces without physical constraints led to poor performance due to energy-injecting fictitious forces, highlighting the importance of physical consistency in learned components.

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.