Skip to main content
QUICK REVIEW

[Paper Review] Beyond Fine-Tuning: Transferring Behavior in Reinforcement Learning

Víctor Campos, Pablo Sprechmann|arXiv (Cornell University)|Feb 24, 2021
Reinforcement Learning in RoboticsComputer Science59 references12 citations
TL;DR

This paper introduces Behavior Transfer (BT), a method that leverages pre-trained policies—trained via intrinsic curiosity (NGU) in a reward-free phase—for structured exploration in downstream reinforcement learning tasks. BT complements weight fine-tuning by using the pre-trained policy as an exploratory strategy and a pseudo-action, achieving superior performance in complex environments like Montezuma’s Revenge and Defender, especially when pre-trained behavior is misaligned with the task.

ABSTRACT

Designing agents that acquire knowledge autonomously and use it to solve new tasks efficiently is an important challenge in reinforcement learning. Knowledge acquired during an unsupervised pre-training phase is often transferred by fine-tuning neural network weights once rewards are exposed, as is common practice in supervised domains. Given the nature of the reinforcement learning problem, we argue that standard fine-tuning strategies alone are not enough for efficient transfer in challenging domains. We introduce Behavior Transfer (BT), a technique that leverages pre-trained policies for exploration and that is complementary to transferring neural network weights. Our experiments show that, when combined with large-scale pre-training in the absence of rewards, existing intrinsic motivation objectives can lead to the emergence of complex behaviors. These pre-trained policies can then be leveraged by BT to discover better solutions than without pre-training, and combining BT with standard fine-tuning strategies results in additional benefits. The largest gains are generally observed in domains requiring structured exploration, including settings where the behavior of the pre-trained policies is misaligned with the downstream task.

Motivation & Objective

  • Address the inefficiency of unstructured exploration in downstream RL tasks after pre-training.
  • Overcome catastrophic forgetting in policy transfer by preserving pre-trained behavior during fine-tuning.
  • Enable more effective transfer in environments requiring structured, long-horizon exploration.
  • Demonstrate that pre-trained behavior can be leveraged independently of neural network weights for improved sample efficiency.
  • Investigate the complementarity of behavior transfer and weight fine-tuning in challenging RL benchmarks.

Proposed method

  • Pre-train a policy using the Never Give Up (NGU) intrinsic reward objective in a reward-free environment to learn complex, exploratory behaviors.
  • Use the pre-trained policy as a temporally extended exploratory strategy: randomly activate it for a sequence of steps during training.
  • Introduce the pre-trained policy as a pseudo-action in the agent’s action space, allowing the agent to defer action selection to it.
  • Combine BT with standard weight fine-tuning, initializing the neural network with pre-trained encoder weights.
  • Apply off-policy learning algorithms (e.g., R2D2) to leverage experience collected via BT and pre-trained behavior.
  • Evaluate BT across diverse Atari environments with varying reward sparsity and task alignment to pre-trained behavior.

Experimental results

Research questions

  • RQ1Can pre-trained policies trained without rewards be effectively reused for exploration in downstream RL tasks?
  • RQ2Does Behavior Transfer (BT) outperform standard fine-tuning when the pre-trained behavior is misaligned with the downstream task?
  • RQ3How does BT compare to fine-tuning in terms of sample efficiency and final performance across diverse environments?
  • RQ4To what extent do BT and weight fine-tuning provide complementary benefits in complex, sparse-reward environments?
  • RQ5Can intrinsic curiosity objectives like NGU produce pre-trained policies that enable effective transfer without reward supervision?

Key findings

  • BT significantly outperforms standard fine-tuning in environments like Montezuma’s Revenge and Defender, where pre-trained behavior is misaligned with the task, achieving final scores of 13,265.91 ± 372.02 and 566,938.61 ± 2,428.52, respectively.
  • In the sparse-reward variant of Ms. Pac-Man (hard), BT achieves 7,868 ± 1,085, outperforming R2D2 (2,836 ± 26) and fine-tuned NGU (1,891 ± 1,342).
  • For Hero with deceptive rewards, BT achieves 3,547 ± 122, surpassing R2D2 (2,677 ± 23) and fine-tuned NGU (700 ± 0).
  • Combining BT with full weight initialization yields the highest performance, with BT(π_NGU) achieving 582,923.55 ± 2,849.01 in 'Up N Down', compared to 562,739.02 ± 8,527.59 with fine-tuning alone.
  • BT maintains high performance even when the pre-trained policy performs poorly on the downstream task (e.g., negative scores in some variants), demonstrating robustness to behavior misalignment.
  • The ablation study confirms that both flight-based exploration and pseudo-action usage contribute independently to performance, with their combination yielding the best results across games.

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.