Skip to main content
QUICK REVIEW

[Paper Review] $Q$-learning with Logarithmic Regret

Kunhe Yang, Lin F. Yang|arXiv (Cornell University)|Jun 16, 2020
Advanced Bandit Algorithms ResearchDecision Sciences42 references16 citations
TL;DR

This paper establishes the first non-asymptotic logarithmic regret bound for a model-free Q-learning algorithm in episodic tabular reinforcement learning, under a strictly positive sub-optimality gap condition. It proves that optimistic Q-learning achieves $\mathcal{O}\left(\frac{SAH^{6}}{\Delta_{\min}}\log(SAT)\right)$ cumulative regret, matching the instance-dependent lower bound up to a $\log(SA)$ factor, without requiring knowledge of $\Delta_{\min}$.

ABSTRACT

This paper presents the first non-asymptotic result showing that a model-free algorithm can achieve a logarithmic cumulative regret for episodic tabular reinforcement learning if there exists a strictly positive sub-optimality gap in the optimal $Q$-function. We prove that the optimistic $Q$-learning studied in [Jin et al. 2018] enjoys a ${\mathcal{O}}\left(\frac{SA\cdot \mathrm{poly}\left(H ight)}{Δ_{\min}}\log\left(SAT ight) ight)$ cumulative regret bound, where $S$ is the number of states, $A$ is the number of actions, $H$ is the planning horizon, $T$ is the total number of steps, and $Δ_{\min}$ is the minimum sub-optimality gap. This bound matches the information theoretical lower bound in terms of $S,A,T$ up to a $\log\left(SA ight)$ factor. We further extend our analysis to the discounted setting and obtain a similar logarithmic cumulative regret bound.

Motivation & Objective

  • To close the open problem of whether model-free Q-learning can achieve logarithmic regret in episodic tabular MDPs.
  • To analyze optimistic Q-learning under the sub-optimality gap assumption, which is common in practical environments.
  • To derive a non-asymptotic regret bound that matches the instance-dependent lower bound up to logarithmic factors.
  • To extend the analysis to the infinite-horizon discounted setting with a similar regret bound.

Proposed method

  • Proposes a novel analysis framework for optimistic Q-learning that bounds regret via a weighted sum of estimation errors at each state-action level.
  • Introduces a $(C, (1+1/H)w)$-sequence to recursively control error propagation across time steps in the planning horizon.
  • Uses a clipping trick on the optimistic surplus concept, adapted from model-based analysis, to derive logarithmic regret.
  • Employs a dyadic decomposition of the Q-value error into intervals $[2^{n-1}\Delta_{\min}, 2^n\Delta_{\min})$ to bound the number of suboptimal actions.
  • Applies concentration inequalities and recursive bounding to control the cumulative error across all steps and levels.
  • Extends the analysis to the discounted setting by adjusting the regret definition and bounding terms with the discount factor $\gamma$.

Experimental results

Research questions

  • RQ1Can model-free Q-learning achieve logarithmic regret in episodic tabular MDPs under a strictly positive sub-optimality gap?
  • RQ2Is the optimistic Q-learning algorithm from Jin et al. (2018) capable of achieving a regret bound matching the instance-dependent lower bound?
  • RQ3How does the regret scale with the planning horizon $H$ and the minimum sub-optimality gap $\Delta_{\min}$ in the model-free setting?
  • RQ4Can the analysis be extended to the infinite-horizon discounted MDP setting with a similar logarithmic regret guarantee?
  • RQ5What is the dependence of the regret on $H$ and $\Delta_{\min}$, and can the $H^6$ factor be improved?

Key findings

  • The optimistic Q-learning algorithm achieves $\mathcal{O}\left(\frac{SAH^{6}}{\Delta_{\min}}\log(SAT)\right)$ cumulative regret in episodic tabular MDPs.
  • The regret bound matches the instance-dependent lower bound by Simchowitz and Jamieson (2019) up to a $\log(SA)$ factor in $S$, $A$, and $T$.
  • The algorithm does not require prior knowledge of $\Delta_{\min}$, the minimum sub-optimality gap.
  • For the discounted setting, the regret is bounded by $\mathcal{O}\left(\frac{SA}{\Delta_{\min}(1-\gamma)^6}\log\left(\frac{SAT}{\Delta_{\min}(1-\gamma)}\right)\right)$.
  • The analysis shows that the $H^6$ dependence on the planning horizon is suboptimal, suggesting room for improvement.
  • The method successfully adapts the optimistic surplus technique from model-based analysis to model-free Q-learning via a novel recursive error bounding framework.

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.