Policy Expansion for Bridging Offline-to-Online Reinforcement Learning
About
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
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Locomotion | D4RL walker2d-medium-expert | Normalized Score3.21e+3 | 90 | |
| Locomotion | D4RL Halfcheetah medium | -- | 70 | |
| Locomotion | D4RL Walker2d medium | -- | 70 | |
| Locomotion | D4RL HalfCheetah Medium-Replay | -- | 68 | |
| Locomotion | D4RL Hopper medium | Normalized Score95.7 | 30 | |
| Locomotion | D4RL hopper-medium-expert | -- | 28 | |
| Locomotion | D4RL hopper medium-replay | Test Return360.3 | 22 | |
| Locomotion | D4RL halfcheetah-medium-expert | Test Return2.78e+3 | 22 | |
| Locomotion | D4RL Cheetah Medium | Mean Return5.08e+3 | 17 | |
| Locomotion | MuJoCo walker2d medium-replay D4RL | Average Normalized Score87.2 | 16 |