Improving Generalization on the ProcGen Benchmark with Simple Architectural Changes and Scale

Andrew Jesson, Yiding JiangarXiv 2024 · DOI

Introduction

Generalization remains a fundamental challenge in deep Reinforcement Learning (RL). While agents often excel at specific training environments, they frequently fail to generalize to novel layouts, often memorizing pixel configurations rather than learning underlying strategies. This study investigates whether simple architectural modifications and scaling can address this "grand challenge" on the ProcGen benchmark—a suite of 16 procedurally generated environments designed specifically to test RL generalization.

Methods: Spatio-Temporal Inductive Biases

The researchers modified the VSOP algorithm (which utilizes Thompson sampling for enhanced exploration) with three key architectural changes:

  1. Frame Stacking: Providing the agent with a temporal context of the last 8 or 16 frames.
  2. 3D Convolutions: Replacing standard 2D convolutions with 3D layers to better capture spatio-temporal features.
  3. Model Scaling: Doubling the network width by increasing the number of convolutional kernels.
Comparison of 2D and 3D convolution architectures. 2D convolutions (left) treat stacked frames as additional channels, whereas 3D convolutions (right) explicitly model the temporal dimension.

Unlike standard 2D convolutions that treat stacked frames as a flat pile of data, 3D convolutions provide a superior inductive bias for video data by processing temporal segments independently, aiding the agent's understanding of movement and timing.

A critical finding of this research is the "Data-Constrained" hypothesis. Architectural scaling did not benefit standard Proximal Policy Optimization (PPO); in fact, scaling sometimes hindered PPO's performance. The authors suggest that PPO's limited exploration prevents it from collecting the diverse data necessary to utilize increased model capacity. In contrast, VSOP's robust exploration provides the high-quality data required to benefit from larger, more complex architectures. This suggests that in RL, model scale must be matched by the quality of exploration.

Results and Performance

The architectural enhancements led to substantial performance gains across the ProcGen suite. The most advanced variant, VSOP-3D+ (utilizing 16 frames and double width), achieved a 37.9% reduction in the optimality gap compared to the baseline.

Aggregate performance metrics across 16 ProcGen environments. VSOP-3D+ shows significant improvements in Median, IQM, and Mean scores, while drastically reducing the Optimality Gap.

Specifically, VSOP-3D+ reduced the optimality gap from 0.58 to 0.36 and saw a 65.9% increase in median test scores over the baseline VSOP. These results demonstrate that simple architectural scaling, when paired with effective exploration, can match or exceed the performance of complex, specialized generalization algorithms.

Conclusion

This work highlights that the path to better generalization in RL may lie in better inductive biases and model scale, provided the agent can explore effectively. While 3D convolutions are computationally intensive and performance varies slightly across specific environments, they represent a powerful tool for bridging the gap between training and real-world deployment. Future research may explore integrating these findings with newer architectures like Structured State Space models to further enhance temporal reasoning.

Summary updated

BibTeX
@misc{jesson2024improving,
  author = {Andrew Jesson and Yiding Jiang},
  title = {{Improving Generalization on the ProcGen Benchmark with Simple Architectural Changes and Scale}},
  year = {2024},
  eprint = {2410.10905},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2410.10905},
}
Figure