Reproduce “Quantifying Generalization in Reinforcement Learning” on OpenResearch

Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Karl Cobbe, Oleg Klimov, Chris Hesse, Taehoon Kim, John Schulman

OpenAI researchers rigorously quantified overfitting in deep reinforcement learning using a new procedurally generated environment, CoinRun, revealing that agents overfit even to tens of thousands of unique training levels. The study found that architectural improvements and regularization methods from supervised learning, such as L2 regularization and data augmentation, significantly enhance zero-shot generalization performance.

Key insights

  • Deep RL agents demonstrate substantial overfitting, failing to generalize effectively even after training on tens of thousands of unique levels in procedurally generated environments.
  • Architectural choices, particularly those with residual blocks and increased depth/width like IMPALA-CNN variants, significantly improve generalization performance and sample efficiency.
  • Regularization methods traditionally used in supervised learning (L2, dropout, data augmentation, batch normalization) and increased environmental/policy stochasticity are effective in reducing the generalization gap in RL.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.