[Paper Review] Policy Expansion for Bridging Offline-to-Online Reinforcement Learning
This paper proposes Policy Expansion (PEX), a method that enhances offline-to-online reinforcement learning by maintaining a pre-trained offline policy in a policy set while introducing a new policy for online fine-tuning. The two policies are adaptively composed during interaction, preserving offline knowledge and enabling complementary exploration, which leads to improved sample efficiency and performance across benchmark tasks.
Pre-training with offline data and online fine-tuning using reinforcement learning is a promising strategy for learning control policies by leveraging the best of both worlds in terms of sample efficiency and performance. One natural approach is to initialize the policy for online learning with the one trained offline. In this work, we introduce a policy expansion scheme for this task. After learning the offline policy, we use it as one candidate policy in a policy set. We then expand the policy set with another policy which will be responsible for further learning. The two policies will be composed in an adaptive manner for interacting with the environment. With this approach, the policy previously learned offline is fully retained during online learning, thus mitigating the potential issues such as destroying the useful behaviors of the offline policy in the initial stage of online learning while allowing the offline policy participate in the exploration naturally in an adaptive manner. Moreover, new useful behaviors can potentially be captured by the newly added policy through learning. Experiments are conducted on a number of tasks and the results demonstrate the effectiveness of the proposed approach. Code is available at https://github.com/Haichao-Zhang/PEX
Motivation & Objective
- To address the challenge of catastrophic forgetting and distribution shift when fine-tuning offline-pretrained policies in online RL.
- To enable the offline policy to actively participate in online exploration without being overwritten during online training.
- To develop a simple, modular framework that can be combined with existing offline and online RL algorithms.
- To improve sample efficiency and final performance in online RL by leveraging pre-trained behaviors while allowing new behaviors to emerge.
- To provide an orthogonal alternative to developing new unified offline-online RL algorithms.
Proposed method
- The method maintains a policy set containing the pre-trained offline policy $\pi_\beta$ and a newly initialized policy $\pi_\theta$.
- During online interaction, the final action is selected via a learnable, adaptive composition of $\pi_\beta$ and $\pi_\theta$, controlled by a routing network.
- The routing network determines the probability of selecting each policy based on the current state, enabling dynamic policy switching.
- The offline policy $\pi_\beta$ is frozen during online training, ensuring its behavior is preserved throughout the learning process.
- The new policy $\pi_\theta$ is trained online using standard off-policy RL algorithms (e.g., SAC), allowing it to learn new behaviors.
- The approach is compatible with existing offline (e.g., IQL) and online (e.g., SAC) RL methods, enabling plug-and-play integration.
Experimental results
Research questions
- RQ1Can preserving the offline policy during online fine-tuning prevent performance degradation due to catastrophic forgetting?
- RQ2Can adaptive composition of offline and online policies improve exploration and sample efficiency in online RL?
- RQ3Does the proposed policy expansion scheme outperform standard fine-tuning with a single policy in offline-to-online RL settings?
- RQ4How do the two policies in the set distribute their usage across the state space, and do they exhibit complementary behavior?
- RQ5Can the method be effectively combined with different offline and online RL algorithms without requiring algorithmic redesign?
Key findings
- The proposed PEX method achieves consistent performance gains across multiple benchmark tasks, including AntMaze and HalfCheetah.
- In the AntMaze-medium-diverse environment, PEX outperformed standard fine-tuning and other baselines, achieving higher final returns with faster convergence.
- Visualization showed that the offline policy $\pi_\beta$ was primarily used in safe, known regions, while $\pi_\theta$ explored novel and challenging states.
- The adaptive composition mechanism allowed the policy set to dynamically switch between behaviors, with $\pi_\theta$ taking over in high-uncertainty or unexplored regions.
- The method demonstrated robustness across different offline pre-training algorithms and online RL methods, confirming its generalization capability.
- The approach maintained the performance of the offline policy throughout online training, avoiding the performance drop observed in standard fine-tuning.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.