Bayesian Design Principles for Offline-to-Online Reinforcement Learning
Hao Hu, Yiqin Yang, Jianing Ye, Chengjie Wu, Ziqing Mai, Yujing Hu, Tangjie Lv, Changjie Fan, Qianchuan Zhao, Chongjie Zhang
TL;DR
The paper addresses the offline-to-online reinforcement learning challenge, where purely offline or purely online strategies underperform due to the optimistic-pessimistic dilemma. It proposes a probability-matching, Bayesian design that samples from the posterior over policies to balance information gain and offline data reuse, supported by information-theoretic analysis and linear-MDP bounds. The authors introduce BOORL, a two-phase algorithm that applies bootstrapped offline posterior estimation and posterior sampling during online interaction, achieving robust improvements and compatibility with existing offline RL methods. Theoretical results yield both online and offline regret bounds, and empirical evaluations on Bernoulli bandits and D4RL benchmarks demonstrate superior performance and stability during offline-to-online transitions. This Bayesian, information-theoretic perspective offers a principled framework for efficient, safe, and scalable offline-to-online RL.
Abstract
Offline reinforcement learning (RL) is crucial for real-world applications where exploration can be costly or unsafe. However, offline learned policies are often suboptimal, and further online fine-tuning is required. In this paper, we tackle the fundamental dilemma of offline-to-online fine-tuning: if the agent remains pessimistic, it may fail to learn a better policy, while if it becomes optimistic directly, performance may suffer from a sudden drop. We show that Bayesian design principles are crucial in solving such a dilemma. Instead of adopting optimistic or pessimistic policies, the agent should act in a way that matches its belief in optimal policies. Such a probability-matching agent can avoid a sudden performance drop while still being guaranteed to find the optimal policy. Based on our theoretical findings, we introduce a novel algorithm that outperforms existing methods on various benchmarks, demonstrating the efficacy of our approach. Overall, the proposed approach provides a new perspective on offline-to-online RL that has the potential to enable more effective learning from offline data.
