Kickstarting Deep Reinforcement Learning.

Simon Schmitt, Jonathan J. Hudson, Augustin Zídek, Simon Osindero, Carl Doersch, Wojciech M. Czarnecki, Joel Z. Leibo, Heinrich Küttler, Andrew Zisserman, Karen Simonyan, S. M. Ali EslamiarXiv 2018

TL;DR

"Kickstarting" is a simple yet powerful framework that uses pre-trained "teacher" agents to accelerate the training of new "student" agents in Reinforcement Learning (RL). By combining policy distillation with automated hyperparameter tuning, student agents can learn up to 10x faster than training from scratch and eventually surpass their teachers' performance by significant margins.

What Problem Does This Paper Address?

Training deep RL agents from scratch is notoriously data-inefficient, often requiring billions of environment steps to master complex tasks. While supervised learning benefits from "pre-training" (e.g., using ImageNet weights), RL has struggled to effectively leverage prior knowledge.

Existing methods like imitation learning or standard policy distillation often force a student to merely mimic a teacher's behavior. This creates a "performance ceiling": the student is unlikely to become better than the teacher. Furthermore, manually tuning how much a student should listen to a teacher versus exploring the environment is a tedious, trial-and-error process. The authors sought a method that is architecture-agnostic, allows students to outperform teachers, and automates the learning schedule.

Methods

The core of the "Kickstarting" method is a modified loss function. The student agent optimizes a joint objective:

  1. Standard RL Loss: Maximizing expected future rewards from the environment.
  2. Kickstarting Loss: A cross-entropy term that encourages the student’s policy to match the teacher’s policy on trajectories sampled by the student.
Figure 1. Overview. Schematics of the three agent training scenarios explored in this paper. a: Standard multi-task RL. An agent learns to perform well on several tasks by acting on and observing all of them. b: Single-teacher kickstarting (section 5.1). Observations from all tasks are also fed to a fixed, previously-trained teacher, and knowledge is transferred from teacher to student by encouraging the student to match the teacher’s actions. c: Multiple-teacher kickstarting (section 5.2). For each task, observations are sent to a task-specific expert teacher; the student is encouraged to match this teacher’s actions on the task.

Crucially, the weight of the kickstarting loss ($\lambda_k$) is not fixed. The authors use Population Based Training (PBT) to automatically evolve the schedule for $\lambda_k$. Early in training, $\lambda_k$ is high, providing the student with a "dense" supervisory signal. As the student improves, PBT typically decays $\lambda_k$ toward zero, allowing the student to focus entirely on maximizing environmental rewards and eventually surpassing the teacher.

Datasets

The researchers evaluated their method on DMLab-30, a challenging suite of 30 diverse 3D tasks designed by DeepMind. These tasks involve navigation, memory, and "laser tag" combat in procedurally generated environments. Performance is measured using a "mean capped human-normalized score," which aggregates performance across all 30 tasks while preventing a single high-scoring task from skewing the results.

Key Insights and Ideas

  • Surpassing the Teacher: Unlike pure distillation, kickstarting treats the teacher as a guide, not a blueprint. Because the student still optimizes for environmental rewards, it can discover better strategies than the teacher, especially if the student has a larger or more modern architecture.
  • Solving Sparse Rewards: In tasks where rewards are very rare (like 1-opponent laser tag), a "from-scratch" agent might never see a reward and thus never learn. The teacher provides a dense signal that "kickstarts" the student's ability to navigate and interact, eventually leading them to find those sparse rewards.
  • Expert Ensembles: The framework naturally extends to multiple teachers. A student can learn from a "panel of experts," where each teacher specializes in a different subset of tasks. The student effectively absorbs the collective wisdom of the ensemble.
  • Student-Generated Trajectories: The student learns based on its own experiences, not just by watching the teacher's "perfect" runs. This ensures the student learns how to recover from its own mistakes.

Key Results

The quantitative gains from kickstarting are substantial:

  • Single Teacher: A large student agent kickstarted by a smaller, weaker teacher reached a score of 30 nearly 7x faster than training from scratch. It ultimately surpassed the teacher's final score by 43.4%.
  • Multiple Teachers: When learning from a set of task-specific experts, the student matched the final performance of a "from-scratch" agent in 9.58x fewer steps.
  • Final Performance: The multi-teacher kickstarted agent achieved a final score 42.2% higher than the best agent trained from scratch.
Performance comparison showing the significant speedup and higher final scores achieved by kickstarted agents compared to baselines.

Limitations and Future Work

While highly effective, kickstarting requires the existence of pre-trained teachers. If you are tackling a brand-new domain with no prior agents, you still have to train the first "ancestor" from scratch.

The authors suggest that this work opens the door to a "never-ending learning" paradigm. Future research could explore building long "ancestral lineages" of agents, where each generation serves as a teacher for the next, potentially leading to the solution of tasks that are currently impossible to learn from a blank slate.

Summary updated

BibTeX
@misc{schmitt2018kickstarting,
  author = {Simon Schmitt and Jonathan J. Hudson and Augustin Zídek and Simon Osindero and Carl Doersch and Wojciech M. Czarnecki and Joel Z. Leibo and Heinrich Küttler and Andrew Zisserman and Karen Simonyan and S. M. Ali Eslami},
  title = {{Kickstarting Deep Reinforcement Learning.}},
  year = {2018},
  eprint = {1803.03835},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1803.03835},
}
Figure