Skip to main content
QUICK REVIEW

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

Kimin Lee, Kibok Lee|ArXiv.org|Oct 11, 2019
Reinforcement Learning in RoboticsComputer Science54 references47 citations
TL;DR

The paper introduces a randomized input technique using a random CNN layer to train deep RL agents, promoting invariant features for better generalization to unseen visual environments; it uses Monte Carlo inference to stabilize test-time performance and surpasses regularization and data-augmentation baselines across CoinRun, DeepMind Lab, and Surreal robotics 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

  • Motivate and address poor generalization of deep RL agents to unseen visual environments.
  • Propose a simple, train-time randomization method to perturb input observations.
  • Encourage learning of invariant, robust representations through randomized inputs and optional feature matching.
  • Evaluate generalization performance across 2D CoinRun, 3D DeepMind Lab, and 3D Surreal robotics tasks.

Proposed method

  • Introduce a random network f with parameters phi to perturb inputs: s_hat = f(s; phi).
  • Re-initialize phi every training iteration to expose the agent to diverse low-level features.
  • Optimize policy with a random-input policy gradient objective using s_hat in place of s (Eq. 1).
  • Optionally include a feature-matching loss between hidden representations from clean and randomized inputs (Eq. 2).
  • Combine into total loss L_random = L_random_policy + beta * L_random_FM (Eq. 3).
  • Infer with Monte Carlo: approximate pi(a|s; theta) by averaging over M samples phi^(m) drawn from P(phi) (MC integration).

Experimental results

Research questions

  • RQ1Can randomized input observations during training improve generalization of deep RL agents to unseen visual patterns?
  • RQ2Does coupling random input perturbations with a feature-matching loss yield more invariant representations than regularization or data augmentation alone?
  • RQ3How does MC-based inference at test time affect variance and performance under randomized inputs?
  • RQ4Are benefits consistent across 2D and 3D environments with varying visual styles and dynamics?
  • RQ5How does the proposed method compare to domain randomization and other generalization baselines?

Key findings

  • Significant improvement in generalization to unseen visual patterns across tasks.
  • CoinRun large-scale: unseen success rate rises from 39.8% (baseline) to 58.7% with the method.
  • DeepMind Lab: total reward rises from 218.3 ± 99.2 to 358.2 ± 81.5.
  • Surreal robotics: total reward rises from 168.8 ± 155.8 to 356.8 ± 15.4.
  • MC inference with around 10 samples provides stable performance gains without excessive variance.
  • The method yields more invariant hidden representations and more consistent attention to salient objects across seen and unseen environments.

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.