Skip to main content
QUICK REVIEW

[Paper Review] Fully Differentiable Procedural Content Generation through Generative Playing Networks

Philip Bontrager, Julian Togelius|arXiv (Cornell University)|Feb 12, 2020
Artificial Intelligence in GamesComputer Science23 references15 citations
TL;DR

This paper introduces Generative Playing Networks (GPN), a fully differentiable framework that jointly trains agents and procedural content generators through a symbiotic reinforcement learning process. The generator creates levels based on critic feedback, implicitly forming a curriculum that adapts challenge to agent capability, enabling end-to-end training without human-designed examples or domain knowledge, demonstrated in a 2D dungeon crawler.

ABSTRACT

To procedurally create interactive content such as environments or game levels, we need agents that can evaluate the content; but to train such agents, we need content they can train on. Generative Playing Networks is a framework that learns agent policies and generates environments in tandem through a symbiotic process. Policies are learned using an actor-critic reinforcement learning algorithm so as to master the environment, and environments are created by a generator network which tries to provide an appropriate level of challenge for the agent. This is accomplished by the generator learning to make content based on estimates by the critic. Thus, this process provides an implicit curriculum for the agent, creating more complex environments over time. Unlike previous approaches to procedural content generation, Generative Playing Networks is end-to-end differentiable and does not require human-designed examples or domain knowledge. We demonstrate the capability of this framework by training an agent and level generator for a 2D dungeon crawler game.

Motivation & Objective

  • To address the chicken-and-egg problem in procedural content generation, where agents need content to train and content needs agents to evaluate it.
  • To eliminate reliance on human-designed content or domain-specific heuristics in training procedural content generators.
  • To develop a unified, differentiable framework that simultaneously trains agent policies and content generators through reinforcement learning.
  • To enable the generator to implicitly create a curriculum by adapting level difficulty based on agent performance estimates.

Proposed method

  • The framework uses an actor-critic reinforcement learning setup where the agent (actor) learns to navigate levels and the critic evaluates its performance.
  • The generator network produces levels based on the critic’s value estimates, using them as a signal to shape content complexity.
  • Training is end-to-end differentiable, allowing gradients to flow from the critic’s evaluation back to the generator and agent.
  • The generator learns to produce levels that are challenging but solvable, based on the agent’s current policy performance.
  • The process creates a feedback loop where better agents lead to more complex levels, and better levels improve agent policy.
  • No human-designed examples or handcrafted rules are used—training is fully self-supervised through the agent-environment interaction loop.

Experimental results

Research questions

  • RQ1Can a fully differentiable framework jointly train agents and procedural content generators without human-designed examples?
  • RQ2How can a generator learn to produce content that forms an implicit curriculum based on agent performance?
  • RQ3To what extent can critic feedback guide the generator to produce progressively challenging yet solvable levels?
  • RQ4Can end-to-end differentiability enable stable and effective training of both agent and content generator?
  • RQ5How does the symbiotic training process compare to traditional supervised or heuristic-based procedural content generation?

Key findings

  • The framework successfully trains both agent policies and level generators in a fully differentiable, end-to-end manner without requiring human-designed content.
  • The generator learns to produce levels that adapt in difficulty based on the agent’s current performance, forming an implicit curriculum.
  • The critic’s value estimates effectively guide the generator to create content that matches the agent’s evolving skill level.
  • The method achieves stable training through gradient-based optimization, avoiding reliance on handcrafted rules or reward shaping.
  • The approach demonstrates feasibility in a 2D dungeon crawler environment, showing that agents can learn to master increasingly complex levels.

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.