Procedural Content Generation: Better Benchmarks for Transfer Reinforcement Learning

Matthias Müller-Brockhausen, Mike Preuss, Aske PlaatarXiv 2021 · DOI · arXiv

TL;DR

This paper provides a comprehensive meta-survey of Transfer Reinforcement Learning (TRL), revealing that the field is currently hampered by a lack of unified benchmarks and poor generalization. The authors argue that Procedural Content Generation (PCG) is the essential next step, offering a way to create dynamic, scalable environments that can finally provide a clear measure of how well agents transfer knowledge between tasks.

What Problem Does This Paper Address?

Reinforcement Learning (RL) has seen massive success in complex games like Dota 2 and StarCraft II, but these systems are notoriously expensive to train and brittle. If the environment changes slightly—say, through a game patch—the AI often needs to be retrained from scratch. Transfer Reinforcement Learning (TRL) aims to solve this by allowing agents to reuse knowledge from a "source" task to speed up learning in a "target" task.

However, the authors identify a "disappointing situation" in current TRL research:

  1. Lack of Standardization: Most researchers compare their work against self-defined baselines rather than unified benchmarks.
  2. The Generalization Gap: While agents can transfer knowledge between very similar tasks (like two versions of a balancing problem), they struggle to generalize to even slightly different layouts or dynamics.
  3. Late Adoption: Surprisingly, deep learning didn't become a mainstay in TRL until around 2018, leaving the field in a relatively young state compared to supervised learning.

Methods

The authors performed a systematic database search using the Microsoft Academic Graph, identifying 270 relevant papers. They categorized these papers using a structured framework to understand the "how" and "what" of transfer:

  • The TRL Process: They visualized the standard workflow, which involves selecting a source task, extracting knowledge (like a policy or a value function), and applying it to a target task. Visualization of the TRL process
  • Taxonomy: Papers were classified by the type of learner (e.g., Q-learning, PPO), the type of knowledge transferred (e.g., action-value functions, expert advice), and the metrics used to measure success.
  • Social Network Analysis: They mapped citation patterns to identify distinct research "communities," such as those focused on Sim2Real (simulation to reality) or reward shaping.
Fig. 2: A visualization of the transfer learning process. The chosen allowed learner (1) / algorithm (2) combination generates knowledge (3) while training on a selected source task (4). The source and target task have to differ (5), and depending on how large these differences are, task mappings (6) might be required. By using the previously gained knowledge, the transfer agent then trains on the new task. The gathered data from source and target training can be distilled into the transfer learning metrics (7).

Datasets

The paper itself acts as a meta-dataset of TRL literature. In terms of the environments used in the surveyed papers:

  • Classic Controls: MountainCar, Cartpole, and Bicycle.
  • Robotics & Navigation: RoboCup, AirSim (drones), and various 2D grid worlds (like the "three-room" layout).
  • Emerging Benchmarks: The authors highlight newer, more robust suites like Alchemy, Meta-World, and ProcGen. They specifically advocate for ProcGen because it uses procedural generation to create varied levels, forcing agents to learn generalizable features rather than memorizing specific layouts.

Key Insights and Ideas

  • The 2018 Pivot: Figure 1 shows a dramatic spike in TRL papers starting in 2018, coinciding with the widespread adoption of deep neural networks in the sub-field. Timeline of TRL publications
  • Similarity is Subjective: Currently, there is no universal metric for "task similarity." Without one, it’s impossible to quantify how difficult a transfer task actually is.
  • Planning + Learning: The most promising results for generalization come from merging deep learning with planning algorithms (like MCTS) or using memory-based architectures (LSTMs).
  • The PCG Solution: The authors propose that Procedural Content Generation is the "logical next step." By using algorithms to generate an infinite variety of tasks, researchers can precisely control the similarity between source and target tasks, creating a "quantifiable similarity control" for benchmarking.
Fig. 1: Number of published papers per month. Light blue indicates entries that make use of deep neural networks, and green ones do not. The years 1985 to 2009 are cut off for readability, but the full graph is available at [4].

Key Results

  • Metric Trends: The survey found that "Time to Threshold" (how much faster an agent reaches a performance goal) and "Jumpstart" (the initial performance boost from transfer) are the most commonly reported metrics. Commonly reported TRL metrics
  • Reproducibility Crisis: Only about 33% of the surveyed papers were rated as properly reproducible, and only 15 out of 270 actually published their source code.
  • Dominant Algorithms: Tabular Q-Learning remains surprisingly prevalent in the literature (124 papers), though Deep RL (DQN, PPO, etc.) is rapidly taking over.
Fig. 4: The number of times that papers reported that transfer performance improvements (Section III) were measured by category.

Limitations and Future Work

The authors acknowledge that TRL is still "young" and lacks the maturity of supervised transfer learning (like fine-tuning ImageNet models).

Future Directions: 1. Unified Database: A call for a centralized repository (similar to OpenML) for TRL experiments to allow for "leaderboard-style" comparisons. 2. Dynamic Benchmarks: Moving away from fixed, static levels toward PCG-driven environments that can adapt their difficulty and similarity. 3. Similarity Metrics: Developing a mathematical framework to measure the distance between two Markov Decision Processes (MDPs) to predict transfer success.

Summary updated

Abstract

The idea of transfer in reinforcement learning (TRL) is intriguing: being able to transfer knowledge from one problem to another problem without learning everything from scratch. This promises quicker learning and learning more complex methods. To gain an insight into the field and to detect emerging trends, we performed a database search. We note a surprisingly late adoption of deep learning that starts in 2018. The introduction of deep learning has not yet solved the greatest challenge of TRL: generalization. Transfer between different domains works well when domains have strong similarities (e.g. MountainCar to Cartpole), and most TRL publications focus on different tasks within the same domain that have few differences. Most TRL applications we encountered compare their improvements against self-defined baselines, and the field is still missing unified benchmarks. We consider this to be a disappointing situation. For the future, we note that: (1) A clear measure of task similarity is needed. (2) Generalization needs to improve. Promising approaches merge deep learning with planning via MCTS or introduce memory through LSTMs. (3) The lack of benchmarking tools will be remedied to enable meaningful comparison and measure progress. Already Alchemy and Meta-World are emerging as interesting benchmark suites. We note that another development, the increase in procedural content generation (PCG), can improve both benchmarking and generalization in TRL.
BibTeX
@misc{mullerbrockhausen2021procedural,
  author = {Matthias Müller-Brockhausen and Mike Preuss and Aske Plaat},
  title = {{Procedural Content Generation: Better Benchmarks for Transfer Reinforcement Learning}},
  year = {2021},
  eprint = {2105.14780},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2105.14780},
}

Loading related content...

Figure