Skip to main content
QUICK REVIEW

[Paper Review] Learning Synthetic Environments for Reinforcement Learning with Evolution Strategies

Fábio Furlan Ferreira, Thomas Nierhoff|arXiv (Cornell University)|Jan 24, 2021
Reinforcement Learning in RoboticsComputer Science5 citations
TL;DR

This paper proposes a method to learn synthetic environments (SEs) as proxy environments for reinforcement learning using bi-level optimization with Natural Evolution Strategies (NES). By training agents on SEs and meta-updating SE parameters based on real-environment performance, the approach reduces training steps by up to 60% while maintaining robustness across hyperparameters and transferability to diverse agents like Dueling DDQN and TD3.

ABSTRACT

This work explores learning agent-agnostic synthetic environments (SEs) for Reinforcement Learning. SEs act as a proxy for target environments and allow agents to be trained more efficiently than when directly trained on the target environment. We formulate this as a bi-level optimization problem and represent an SE as a neural network. By using Natural Evolution Strategies and a population of SE parameter vectors, we train agents in the inner loop on evolving SEs while in the outer loop we use the performance on the target task as a score for meta-updating the SE population. We show empirically that our method is capable of learning SEs for two discrete-action-space tasks (CartPole-v0 and Acrobot-v1) that allow us to train agents more robustly and with up to 60% fewer steps. Not only do we show in experiments with 4000 evaluations that the SEs are robust against hyperparameter changes such as the learning rate, batch sizes and network sizes, we also show that SEs trained with DDQN agents transfer in limited ways to a discrete-action-space version of TD3 and very well to Dueling DDQN.

Motivation & Objective

  • To develop a method for learning agent-agnostic synthetic environments (SEs) that serve as efficient proxies for real reinforcement learning (RL) environments.
  • To address the challenge of inefficient RL training on complex or sparse-reward environments by using SEs to accelerate policy learning.
  • To enable robust and generalizable training across varying hyperparameters (e.g., learning rate, batch size, network size) through SEs.
  • To investigate the transferability of SEs to different RL algorithms, including those not used during SE training.
  • To provide insights into what agents learn from SEs by analyzing state and reward distributions.

Proposed method

  • Formulate the SE learning problem as a bi-level optimization: inner loop trains agents on synthetic environments, outer loop updates SE parameters using performance on the real environment.
  • Represent SEs as neural networks parameterized by ψ, with state transitions and rewards generated based on current state s and action a.
  • Use Natural Evolution Strategies (NES) with a population of SE parameter vectors to perform meta-updates, avoiding explicit computation of second-order gradients.
  • Employ a population-based ES update rule that estimates the gradient of the outer objective (real-environment performance) with respect to SE parameters.
  • Train agents using standard RL algorithms (e.g., DDQN, Dueling DDQN, TD3) in the inner loop, enabling agent-agnostic SE training.
  • Evaluate SE efficacy by measuring training efficiency and performance on real environments under diverse hyperparameters and agent architectures.

Experimental results

Research questions

  • RQ1Can synthetic environments be learned effectively via bi-level optimization using evolution strategies to improve RL training efficiency?
  • RQ2How robust are the learned synthetic environments to changes in agent hyperparameters such as learning rate, batch size, and network size?
  • RQ3To what extent can agents trained on synthetic environments transfer performance to new RL algorithms not used during SE training?
  • RQ4What characteristics do the state and reward distributions of learned SEs exhibit, and how do they compare to real environments?
  • RQ5Do agents learn meaningful representations from SEs, or is performance due to distributional shifts or overfitting?

Key findings

  • The proposed method reduces the number of training steps required to solve CartPole-v0 and Acrobot-v1 by up to 60% compared to direct training on real environments.
  • Synthetic environments trained with DDQN agents generalize well to Dueling DDQN, achieving strong performance transfer, and show limited but measurable transfer to a discrete-action adaptation of TD3.
  • The learned SEs are robust across hyperparameter variations, including learning rate, batch size, and neural network width, across 4000 evaluations.
  • State and reward distributions in SEs show a distributional shift compared to real environments, with SEs producing narrower, more focused state distributions and denser reward signals.
  • Visual analysis shows that SE responses align more closely with real environment dynamics than agent behavior, indicating that SEs themselves are responsible for the distributional shift.
  • Qualitative analysis suggests that SEs act as 'guiding systems' by emphasizing states with high signal, helping agents learn more efficiently.

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.