Skip to main content
QUICK REVIEW

[Paper Review] Reincarnating Reinforcement Learning: Reusing Prior Computation to Accelerate Progress

Rishabh Agarwal, Max Schwarzer|arXiv (Cornell University)|Jun 3, 2022
Reinforcement Learning in RoboticsComputer Science6 citations
TL;DR

This paper introduces Reincarnating Reinforcement Learning (RRL), a framework that reuses prior computational work—such as pre-trained policies and replay buffers—to accelerate RL training across design iterations or between agents. By employing QDagger-based offline pretraining and online fine-tuning, RRL achieves performance comparable to tabula rasa training with up to 95% fewer frames, demonstrating significant sample efficiency on Atari, locomotion, and real-world balloon navigation tasks.

ABSTRACT

Learning tabula rasa, that is without any prior knowledge, is the prevalent workflow in reinforcement learning (RL) research. However, RL systems, when applied to large-scale settings, rarely operate tabula rasa. Such large-scale systems undergo multiple design or algorithmic changes during their development cycle and use ad hoc approaches for incorporating these changes without re-training from scratch, which would have been prohibitively expensive. Additionally, the inefficiency of deep RL typically excludes researchers without access to industrial-scale resources from tackling computationally-demanding problems. To address these issues, we present reincarnating RL as an alternative workflow or class of problem settings, where prior computational work (e.g., learned policies) is reused or transferred between design iterations of an RL agent, or from one RL agent to another. As a step towards enabling reincarnating RL from any agent to any other agent, we focus on the specific setting of efficiently transferring an existing sub-optimal policy to a standalone value-based RL agent. We find that existing approaches fail in this setting and propose a simple algorithm to address their limitations. Equipped with this algorithm, we demonstrate reincarnating RL's gains over tabula rasa RL on Atari 2600 games, a challenging locomotion task, and the real-world problem of navigating stratospheric balloons. Overall, this work argues for an alternative approach to RL research, which we believe could significantly improve real-world RL adoption and help democratize it further. Open-sourced code and trained agents at https://agarwl.github.io/reincarnating_rl.

Motivation & Objective

  • To address the high computational cost and inefficiency of training RL agents from scratch (tabula rasa) in large-scale and real-world applications.
  • To enable researchers without industrial-scale resources to tackle complex RL problems by reusing existing policies and data.
  • To formalize a new research workflow—reincarnating RL—that leverages prior computational work across agent iterations or between agents.
  • To improve sample efficiency in RL by transferring knowledge from a sub-optimal teacher policy to a student agent via offline pretraining and online fine-tuning.
  • To demonstrate that RRL can match or exceed tabula rasa performance with significantly fewer training frames.

Proposed method

  • Proposes a two-stage RRL pipeline: offline pretraining using a replay buffer derived from a teacher policy, followed by online fine-tuning with a student agent.
  • Uses QDagger loss during both offline and online phases to align the student’s value function with the teacher’s behavior.
  • Employs a distillation-like process where the student learns from expert demonstrations (via replay buffer) and improves through online interaction.
  • Applies the method to transfer knowledge from a DQN-based teacher to a standalone value-based student agent (e.g., DQN or Rainbow).
  • Uses human-normalized scores and IQM (Interquartile Mean) for evaluation across 10 Atari games, with 50 seeds and 95% confidence intervals.
  • Employs curriculum-style training: offline pretraining on a large replay buffer, then online RL with a reduced learning rate to stabilize learning.

Experimental results

Research questions

  • RQ1Can prior computational work—such as a pre-trained policy and its replay buffer—be effectively reused to accelerate RL training?
  • RQ2Does transferring knowledge from a sub-optimal teacher policy to a student agent via offline pretraining and online fine-tuning outperform tabula rasa training?
  • RQ3How does the size of the offline replay buffer affect performance in the reincarnation process?
  • RQ4What is the impact of using QDagger loss during both offline and online phases compared to standard Q-learning?
  • RQ5Can RRL significantly reduce sample complexity while maintaining or improving performance on challenging RL benchmarks?

Key findings

  • Reincarnating RL achieves 50% higher IQM performance than tabula rasa DQN (Adam) with only 1M additional frames after fine-tuning.
  • Fine-tuning a Nature DQN with Adam optimizer after reincarnation matches the performance of a 400M-frame tabula rasa DQN (Adam) using only 20M frames.
  • Reincarnating Impala-CNN Rainbow from a DQN policy outperforms tabula rasa Impala-CNN Rainbow and reaches 100M-frame performance in just 50M frames.
  • Using only 500K transitions from the teacher policy yields comparable performance to 1M transitions, except on Asterix, where performance drops slightly.
  • Offline replay data, collected with diverse policies during teacher training, provides better data diversity than on-policy data, improving performance.
  • Using QDagger loss in both offline and online phases yields superior results, especially when replay buffer size is limited, as seen in the BLE locomotion task.

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.