A Simple Unified Uncertainty-Guided Framework for Offline-to-Online Reinforcement Learning

Siyuan Guo,Yanchao Sun,Jifeng Hu,Sili Huang,Hechang Chen,Haiyin Piao,Lichao Sun,Yi Chang
DOI: https://doi.org/10.48550/arXiv.2306.07541
2024-02-21
Abstract:Offline reinforcement learning (RL) provides a promising solution to learning an agent fully relying on a data-driven paradigm. However, constrained by the limited quality of the offline dataset, its performance is often sub-optimal. Therefore, it is desired to further finetune the agent via extra online interactions before deployment. Unfortunately, offline-to-online RL can be challenging due to two main challenges: constrained exploratory behavior and state-action distribution shift. To this end, we propose a Simple Unified uNcertainty-Guided (SUNG) framework, which naturally unifies the solution to both challenges with the tool of uncertainty. Specifically, SUNG quantifies uncertainty via a VAE-based state-action visitation density estimator. To facilitate efficient exploration, SUNG presents a practical optimistic exploration strategy to select informative actions with both high value and high uncertainty. Moreover, SUNG develops an adaptive exploitation method by applying conservative offline RL objectives to high-uncertainty samples and standard online RL objectives to low-uncertainty samples to smoothly bridge offline and online stages. SUNG achieves state-of-the-art online finetuning performance when combined with different offline RL methods, across various environments and datasets in D4RL benchmark.
Machine Learning,Artificial Intelligence
What problem does this paper attempt to address?
The problem that this paper attempts to solve is: how to further fine - tune the pre - trained agent through additional online interactions on the basis of offline reinforcement learning (Offline Reinforcement Learning, Offline RL) to improve its performance. Specifically, the paper mainly focuses on two main challenges in offline - to - online reinforcement learning (Offline - to - Online RL): 1. **Constrained Exploratory Behavior**: - In offline RL, in order to ensure that the agent's behavior is within the support range of the offline data set, a conservative objective function is usually adopted. This restricts the agent's effective exploration ability in the online stage, resulting in the inability to fully utilize the trial - and - error mechanism in the online environment. 2. **State - Action Distribution Shift**: - In the fine - tuning stage, the agent may encounter new state - action pairs that are not within the support range of the offline data set, thus leading to state - action distribution shift. This shift will cause extrapolation error, which in turn weakens the good initialization effect obtained in the offline pre - training stage. To solve the above problems, the authors propose a simple unified uncertainty - guided framework (Simple Unified u Ncertainty - Guided framework, SUNG). SUNG addresses these two challenges in the following ways: - **Uncertainty Quantification**: Use a state - action visitation density estimator based on variational auto - encoder (VAE) to quantify uncertainty. - **Optimistic Exploration Strategy**: Select state - action pairs with high value and high uncertainty to promote effective exploration. - **Adaptive Exploitation Method**: According to the uncertainty, apply a conservative offline RL objective to high - uncertainty samples and a standard online RL objective to low - uncertainty samples to smoothly transition between the offline and online stages. Through these methods, SUNG can achieve state - of - the - art online fine - tuning performance in various environments and data sets, especially performing well in the D4RL benchmark test.