Model-Based Offline Reinforcement Learning with Reliability-Guaranteed Sequence Modeling
Shenghong He
TL;DR
The paper addresses MORL with unreliable trajectories arising from neglecting historical information by introducing Reliability-guaranteed Transformer (RT). RT uses a Transformer to model sequences with reward-to-go, computes a cumulative reliability metric $\Gamma$ based on a weighted distance $D_{IST}$ between true and learned dynamics, and applies an adaptive truncation $U_t$ within an $\alpha$-pessimistic MDP to bound policy errors. It also enhances data quality by high-return trajectory generation, conditioning on high-reward events and employing a backward-generation strategy to include goal-directed segments, with a VAE used to estimate distribution shift for setting the reliability threshold $\alpha$. Empirical results on D4RL benchmarks show RT improves performance and stability over both model-free and model-based baselines, and can be integrated with existing offline RL algorithms. The work contributes a principled framework for leveraging historical information and reliability guarantees in MORL, offering a practical approach to generating reliable, high-return data for offline policy learning.
Abstract
Model-based offline reinforcement learning (MORL) aims to learn a policy by exploiting a dynamics model derived from an existing dataset. Applying conservative quantification to the dynamics model, most existing works on MORL generate trajectories that approximate the real data distribution to facilitate policy learning by using current information (e.g., the state and action at time step $t$). However, these works neglect the impact of historical information on environmental dynamics, leading to the generation of unreliable trajectories that may not align with the real data distribution. In this paper, we propose a new MORL algorithm \textbf{R}eliability-guaranteed \textbf{T}ransformer (RT), which can eliminate unreliable trajectories by calculating the cumulative reliability of the generated trajectory (i.e., using a weighted variational distance away from the real data). Moreover, by sampling candidate actions with high rewards, RT can efficiently generate high-return trajectories from the existing offline data. We theoretically prove the performance guarantees of RT in policy learning, and empirically demonstrate its effectiveness against state-of-the-art model-based methods on several benchmark tasks.
