Skip to main content
QUICK REVIEW

[Paper Review] Nearly Horizon-Free Offline Reinforcement Learning

Tongzheng Ren, Jialian Li|arXiv (Cornell University)|Mar 25, 2021
Reinforcement Learning in RoboticsComputer Science47 references6 citations
TL;DR

This paper presents nearly horizon-free sample complexity bounds for offline reinforcement learning in episodic time-homogeneous MDPs, achieving $ tilde{O}ig(σ{1}{Kd_m}ig)$ error for offline policy evaluation and $ tilde{O}ig(σ{1}{Kd_m} + \frac{\min(S,d)}{Kd_m}\big)$ sub-optimality gap for policy optimization. The key innovation is a novel recursion-based method to bound total variance, eliminating explicit $H$-dependence in the main error terms.

ABSTRACT

We revisit offline reinforcement learning on episodic time-homogeneous Markov Decision Processes (MDP). For tabular MDP with $S$ states and $A$ actions, or linear MDP with anchor points and feature dimension $d$, given the collected $K$ episodes data with minimum visiting probability of (anchor) state-action pairs $d_m$, we obtain nearly horizon $H$-free sample complexity bounds for offline reinforcement learning when the total reward is upper bounded by $1$. Specifically: 1. For offline policy evaluation, we obtain an $ ilde{O}\left(\sqrt{\frac{1}{Kd_m}} ight)$ error bound for the plug-in estimator, which matches the lower bound up to logarithmic factors and does not have additional dependency on $\mathrm{poly}\left(H, S, A, d ight)$ in higher-order term. 2.For offline policy optimization, we obtain an $ ilde{O}\left(\sqrt{\frac{1}{Kd_m}} + \frac{\min(S, d)}{Kd_m} ight)$ sub-optimality gap for the empirical optimal policy, which approaches the lower bound up to logarithmic factors and a high-order term, improving upon the best known result by \cite{cui2020plug} that has additional $\mathrm{poly}\left(H, S, d ight)$ factors in the main term. To the best of our knowledge, these are the \emph{first} set of nearly horizon-free bounds for episodic time-homogeneous offline tabular MDP and linear MDP with anchor points. Central to our analysis is a simple yet effective recursion based method to bound a "total variance" term in the offline scenarios, which could be of individual interest.

Motivation & Objective

  • Address the curse of horizon in offline reinforcement learning, where existing methods suffer from polynomial or worse dependency on horizon $H$.
  • Develop sample complexity bounds for offline policy evaluation (OPE) and offline policy optimization (OPO) that are nearly independent of $H$.
  • Achieve bounds that match known lower bounds up to logarithmic factors and a high-order term, improving upon prior results with explicit $\mathrm{poly}(H,S,d)$ dependencies.
  • Introduce a new recursion-based method to control a critical 'total variance' term in offline RL analysis, which may be of independent interest.
  • Establish nearly horizon-free guarantees for both OPE and OPO in time-homogeneous MDPs, a first for tabular and linear MDPs with anchor points.

Proposed method

  • Propose a recursion-based method to bound a 'total variance' term that arises in offline RL error analysis, crucial for controlling estimation error.
  • Apply this recursion to derive finite-sample error bounds for the plug-in estimator in offline policy evaluation, showing $ tilde{O}ig(\sqrt{\frac{1}{Kd_m}}\big)$ error.
  • Use model-based planning on the empirical MDP to derive a policy with sub-optimality gap of $ tilde{O}\big(\sqrt{\frac{1}{Kd_m}} + \frac{\min(S,d)}{Kd_m}\big)$ for offline policy optimization.
  • Leverage the time-homogeneous structure of the MDP to avoid horizon-dependent terms in the main error components.
  • Establish bounds that match the information-theoretic lower bounds up to logarithmic factors and a high-order term.
  • Demonstrate that the proposed method avoids the $\mathrm{poly}(H,S,A,d)$ dependencies present in prior work, particularly in the higher-order terms.

Experimental results

Research questions

  • RQ1Can offline reinforcement learning achieve sample complexity bounds that are nearly independent of the horizon $H$ in time-homogeneous MDPs?
  • RQ2What is the tightest possible finite-sample error bound for offline policy evaluation that avoids explicit $H$-dependence?
  • RQ3Can the sub-optimality gap in offline policy optimization be made nearly horizon-free, improving upon prior results with $\mathrm{poly}(H,S,d)$ factors?
  • RQ4Is there a general analytical technique to control the 'total variance' term in offline RL that avoids horizon blowup?
  • RQ5To what extent can the proposed method achieve minimax-optimal sample complexity up to logarithmic factors in offline RL settings?

Key findings

  • For offline policy evaluation, the plug-in estimator achieves an error bound of $\widetilde{O}\big(\sqrt{\frac{1}{Kd_m}}\big)$, matching the known lower bound up to logarithmic factors and without additional $\mathrm{poly}(H,S,A,d)$ dependencies in the higher-order term.
  • For offline policy optimization, the empirical optimal policy has a sub-optimality gap of $\widetilde{O}\big(\sqrt{\frac{1}{Kd_m}} + \frac{\min(S,d)}{Kd_m}\big)$, which improves upon the best prior result by removing $\mathrm{poly}(H,S,d)$ factors from the main term.
  • The proposed recursion-based method for bounding total variance is central to achieving horizon-free bounds and may be of independent interest beyond this work.
  • These are the first nearly horizon-free bounds for both OPE and OPO in episodic time-homogeneous tabular MDPs and linear MDPs with anchor points.
  • The results demonstrate that the curse of horizon can be significantly mitigated in offline RL when the MDP is time-homogeneous and data coverage is sufficient.
  • The analysis shows that the time-homogeneous structure enables tighter control of value function estimation errors, avoiding the $S$-factor blowup seen in time-inhomogeneous settings.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.