[Paper Review] UCB Momentum Q-learning: Correcting the bias without forgetting
This paper proposes UCB Momentum Q-learning (UCBMQ), a novel model-free reinforcement learning algorithm for tabular episodic MDPs that combines Q-learning with a momentum term and upper confidence bounds to correct bias while minimizing regret. It achieves a regret bound of $\widetilde{\mathcal{O}}(\sqrt{H^{3}SAT} + H^{4}SA)$, matching the $\Omega(\sqrt{H^{3}SAT})$ lower bound for large $T$ and scaling linearly with $S$ in the second-order term—making it the first such algorithm to simultaneously achieve both optimality and low state dependence.
We propose UCBMQ, Upper Confidence Bound Momentum Q-learning, a new algorithm for reinforcement learning in tabular and possibly stage-dependent, episodic Markov decision process. UCBMQ is based on Q-learning where we add a momentum term and rely on the principle of optimism in face of uncertainty to deal with exploration. Our new technical ingredient of UCBMQ is the use of momentum to correct the bias that Q-learning suffers while, at the same time, limiting the impact it has on the second-order term of the regret. For UCBMQ, we are able to guarantee a regret of at most $O(\sqrt{H^3SAT}+ H^4 S A )$ where $H$ is the length of an episode, $S$ the number of states, $A$ the number of actions, $T$ the number of episodes and ignoring terms in poly-$\log(SAHT)$. Notably, UCBMQ is the first algorithm that simultaneously matches the lower bound of $Ω(\sqrt{H^3SAT})$ for large enough $T$ and has a second-order term (with respect to the horizon $T$) that scales only linearly with the number of states $S$.
Motivation & Objective
- To address the bias in Q-learning that arises from bootstrapping with inaccurate past estimates.
- To reduce the second-order regret term's dependence on the number of states $S$, which can dominate in large-state MDPs.
- To achieve a regret bound that matches the known lower bound $\Omega(\sqrt{H^{3}SAT})$ while maintaining linear scaling in $S$ for the second-order term.
- To combine the benefits of model-free learning (no correlation issues) with the exploration efficiency of optimism in the face of uncertainty (UCB).
Proposed method
- Introduces a momentum-based update rule to correct the bias in Q-learning by downweighting outdated estimates.
- Uses upper confidence bounds (UCB) to encourage exploration, ensuring optimism in the face of uncertainty.
- Employs a reference-advantage decomposition to reduce variance, leveraging a rough initial estimate of the optimal value function.
- Applies a novel weighting scheme over past Q-value estimates to control the influence of older, potentially biased updates.
- Uses a confidence interval based on the empirical variance of Q-value estimates to balance exploration and exploitation.
- Derives a regret bound using concentration inequalities and recursive analysis of the momentum-weighted update process.
Experimental results
Research questions
- RQ1Can a model-free Q-learning algorithm achieve regret that matches the information-theoretic lower bound $\Omega(\sqrt{H^{3}SAT})$?
- RQ2Can the second-order regret term be made linear in $S$ rather than quadratic, especially in large-state MDPs?
- RQ3Can momentum be used to correct Q-learning’s bias without increasing variance or forgetting useful past information?
- RQ4Is it possible to maintain optimism in the face of uncertainty while ensuring convergence and low regret in non-stationary episodic MDPs?
Key findings
- UCBMQ achieves a regret bound of $\widetilde{\mathcal{O}}(\sqrt{H^{3}SAT} + H^{4}SA)$, which matches the $\Omega(\sqrt{H^{3}SAT})$ lower bound for large $T$.
- The second-order term scales linearly with $S$, unlike previous algorithms that scale as $S^2$ or $S^{3/2}$, making it more scalable to large state spaces.
- The algorithm successfully corrects the bias in Q-learning through momentum while preserving the benefits of UCB-based exploration.
- The regret bound is tighter than that of prior model-free methods like OptQL and UCB-Advantage, which suffer from extra $\sqrt{H}$ or $H^{33/4}$ factors.
- The analysis shows that the momentum mechanism limits the impact on the second-order term, avoiding the $S^2$ factor seen in model-based algorithms due to correlation in estimates.
- The method is the first to simultaneously achieve optimal first-order regret and linear second-order scaling in $S$ for episodic MDPs.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.