English

Achieving the Asymptotically Optimal Sample Complexity of Offline Reinforcement Learning: A DRO-Based Approach

Machine Learning 2024-10-01 v4

Abstract

Offline reinforcement learning aims to learn from pre-collected datasets without active exploration. This problem faces significant challenges, including limited data availability and distributional shifts. Existing approaches adopt a pessimistic stance towards uncertainty by penalizing rewards of under-explored state-action pairs to estimate value functions conservatively. In this paper, we show that the distributionally robust optimization (DRO) based approach can also address these challenges and is {asymptotically minimax optimal}. Specifically, we directly model the uncertainty in the transition kernel and construct an uncertainty set of statistically plausible transition kernels. We then show that the policy that optimizes the worst-case performance over this uncertainty set has a near-optimal performance in the underlying problem. We first design a metric-based distribution-based uncertainty set such that with high probability the true transition kernel is in this set. We prove that to achieve a sub-optimality gap of ϵ\epsilon, the sample complexity is O(S2Cπϵ2(1γ)4)\mathcal{O}(S^2C^{\pi^*}\epsilon^{-2}(1-\gamma)^{-4}), where γ\gamma is the discount factor, SS is the number of states, and CπC^{\pi^*} is the single-policy clipped concentrability coefficient which quantifies the distribution shift. To achieve the optimal sample complexity, we further propose a less conservative value-function-based uncertainty set, which, however, does not necessarily include the true transition kernel. We show that an improved sample complexity of O(SCπϵ2(1γ)3)\mathcal{O}(SC^{\pi^*}\epsilon^{-2}(1-\gamma)^{-3}) can be obtained, which asymptotically matches with the minimax lower bound for offline reinforcement learning, and thus is asymptotically minimax optimal.

Keywords

Cite

@article{arxiv.2305.13289,
  title  = {Achieving the Asymptotically Optimal Sample Complexity of Offline Reinforcement Learning: A DRO-Based Approach},
  author = {Yue Wang and Jinjun Xiong and Shaofeng Zou},
  journal= {arXiv preprint arXiv:2305.13289},
  year   = {2024}
}