Strategically Conservative Q-Learning
Yutaka Shimizu, Joey Hong, Sergey Levine, Masayoshi Tomizuka
TL;DR
The paper addresses offline reinforcement learning by tackling out-of-distribution extrapolation: existing methods either overly constrain policies or value estimates, often being overly pessimistic. It proposes Strategically Conservative Q-Learning (SCQ), which minimizes Q-values only for OOD actions that are distant from the data and leverages neural interpolation to keep in-data regions less penalized, yielding pointwise lower bounds that are tighter than those from CQL. Theoretical analysis in linear MDPs shows SCQ achieves conservative yet less severe bounds, and empirical results on the D4RL benchmarks (Mujoco and AntMaze) demonstrate state-of-the-art performance and robustness to smaller datasets. The work includes practical implementation details using a CVAE for OOD detection and a SAC-like optimization pipeline, and provides code for reproducibility.
Abstract
Offline reinforcement learning (RL) is a compelling paradigm to extend RL's practical utility by leveraging pre-collected, static datasets, thereby avoiding the limitations associated with collecting online interactions. The major difficulty in offline RL is mitigating the impact of approximation errors when encountering out-of-distribution (OOD) actions; doing so ineffectively will lead to policies that prefer OOD actions, which can lead to unexpected and potentially catastrophic results. Despite the variety of works proposed to address this issue, they tend to excessively suppress the value function in and around OOD regions, resulting in overly pessimistic value estimates. In this paper, we propose a novel framework called Strategically Conservative Q-Learning (SCQ) that distinguishes between OOD data that is easy and hard to estimate, ultimately resulting in less conservative value estimates. Our approach exploits the inherent strengths of neural networks to interpolate, while carefully navigating their limitations in extrapolation, to obtain pessimistic yet still property calibrated value estimates. Theoretical analysis also shows that the value function learned by SCQ is still conservative, but potentially much less so than that of Conservative Q-learning (CQL). Finally, extensive evaluation on the D4RL benchmark tasks shows our proposed method outperforms state-of-the-art methods. Our code is available through \url{https://github.com/purewater0901/SCQ}.
