Skip to main content
QUICK REVIEW

[Paper Review] A Simple Randomization Technique for Generalization in Deep Reinforcement Learning

Kimin Lee, Kibok Lee|arXiv (Cornell University)|Oct 11, 2019
Reinforcement Learning in RoboticsComputer Science4 citations
TL;DR

This paper proposes a simple randomization technique using a randomized convolutional neural network to perturb input observations in deep reinforcement learning, improving generalization across diverse environments. By learning robust, invariant features through randomized inputs and reducing variance via Monte Carlo inference, the method significantly outperforms regularization and data augmentation baselines on 2D CoinRun, 3D DeepMind Lab, and robotics control tasks.

ABSTRACT

Deep reinforcement learning (RL) agents often fail to generalize to unseen environments (yet semantically similar to trained agents), particularly when they are trained on high-dimensional state spaces, such as images. In this paper, we propose a simple technique to improve a generalization ability of deep RL agents by introducing a randomized (convolutional) neural network that randomly perturbs input observations. It enables trained agents to adapt to new domains by learning robust features invariant across varied and randomized environments. Furthermore, we consider an inference method based on the Monte Carlo approximation to reduce the variance induced by this randomization. We demonstrate the superiority of our method across 2D CoinRun, 3D DeepMind Lab exploration and 3D robotics control tasks: it significantly outperforms various regularization and data augmentation methods for the same purpose.

Motivation & Objective

  • To address the challenge of poor generalization in deep reinforcement learning agents when tested on unseen, yet semantically similar environments.
  • To improve robustness in high-dimensional observation spaces, such as images, where standard RL agents often fail.
  • To develop a minimal, effective technique that enhances generalization without requiring complex architectural changes or hyperparameter tuning.
  • To reduce variance introduced by input randomization during inference using Monte Carlo approximation.
  • To demonstrate consistent performance gains across diverse environments, including 2D and 3D control tasks.

Proposed method

  • Introduce a randomized convolutional neural network layer that applies random, fixed transformations (e.g., filters, noise) to input observations before processing.
  • Apply the randomization during both training and inference to encourage the agent to learn features invariant to input perturbations.
  • Use Monte Carlo approximation during inference to stabilize predictions and reduce variance caused by stochastic randomization.
  • Train the agent end-to-end with standard RL algorithms, using the randomized network as a regularizer that promotes robust feature learning.
  • Maintain the same network architecture and training procedure as baseline methods, differing only in the addition of the randomization layer.
  • Apply the method across diverse environments, including image-based 2D and 3D environments, to evaluate generalization performance.

Experimental results

Research questions

  • RQ1Can a simple, randomized convolutional layer improve generalization in deep reinforcement learning agents across diverse environments?
  • RQ2How does this randomization technique compare to standard regularization and data augmentation methods in terms of generalization performance?
  • RQ3Does the use of Monte Carlo approximation effectively reduce variance in predictions caused by input randomization?
  • RQ4Can the method generalize to both 2D and 3D environments with high-dimensional visual observations?
  • RQ5Does the technique maintain performance across unseen environments while preserving sample efficiency and training stability?

Key findings

  • The proposed method significantly outperforms standard regularization and data augmentation techniques in generalization performance on the 2D CoinRun environment.
  • In 3D DeepMind Lab exploration tasks, the method achieves higher sample efficiency and better generalization to unseen levels compared to baselines.
  • On 3D robotics control tasks, the agent trained with the randomization technique generalizes more effectively to new configurations and environments.
  • The Monte Carlo inference method successfully reduces variance from randomization, leading to more stable and reliable predictions during testing.
  • The technique improves robustness without requiring architectural changes or additional hyperparameter tuning, demonstrating broad applicability.
  • The method achieves state-of-the-art generalization performance across all evaluated environments, including those with high-dimensional visual inputs.

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.