[Paper Review] Q-learning with Uniformly Bounded Variance: Large Discounting is Not a Barrier to Fast Learning
This paper introduces relative Q-learning, a modified Q-learning algorithm that achieves uniformly bounded asymptotic variance across all discount factors γ < 1 by reweighting the Q-function to eliminate the dependence on 1/(1−γ). Unlike standard Q-learning, which suffers from variance growing quadratically in 1/(1−γ), relative Q-learning replaces this with a dependence on 1/(1−ρ*γ), where ρ* < 1 bounds the spectral gap of the optimal policy’s transition matrix, enabling faster and more stable learning under large discounting.
Sample complexity bounds are a common performance metric in the Reinforcement Learning literature. In the discounted cost, infinite horizon setting, all of the known bounds have a factor that is a polynomial in $1/(1-γ)$, where $γ< 1$ is the discount factor. For a large discount factor, these bounds seem to imply that a very large number of samples is required to achieve an $\varepsilon$-optimal policy. The objective of the present work is to introduce a new class of algorithms that have sample complexity uniformly bounded for all $γ< 1$. One may argue that this is impossible, due to a recent min-max lower bound. The explanation is that this previous lower bound is for a specific problem, which we modify, without compromising the ultimate objective of obtaining an $\varepsilon$-optimal policy. Specifically, we show that the asymptotic covariance of the Q-learning algorithm with an optimized step-size sequence is a quadratic function of $1/(1-γ)$; an expected, and essentially known result. The new relative Q-learning algorithm proposed here is shown to have asymptotic covariance that is a quadratic in $1/(1- ρ^* γ)$, where $1 - ρ^* > 0$ is an upper bound on the spectral gap of an optimal transition matrix.
Motivation & Objective
- To address the poor sample complexity of standard Q-learning under large discounting (γ ≈ 1), where bounds scale poorly with 1/(1−γ).
- To show that the 1/(1−γ)p dependency in existing sample complexity bounds is artificial and can be replaced by a more favorable 1/(1−ρ*γ)p factor.
- To develop a new algorithm—relative Q-learning—that achieves asymptotically bounded variance independent of γ.
- To demonstrate that the optimal policy is preserved under Q-function reweighting, enabling stable learning without loss of optimality.
- To provide theoretical justification via asymptotic covariance analysis and Lyapunov equations for the new algorithm’s improved convergence properties.
Proposed method
- Proposes a relative Q-learning algorithm that modifies the Q-function by subtracting a constant η* / (1−γ) to eliminate the large constant term in the optimal Q-function.
- Uses a modified update rule with a step-size sequence proportional to 1/(1−ρ*γ), where ρ* < 1 bounds the spectral gap of the optimal policy’s transition matrix.
- Analyzes asymptotic covariance using stochastic approximation theory and Lyapunov equations, deriving closed-form expressions for the asymptotic variance of both standard and relative Q-learning.
- Establishes that the asymptotic covariance of standard Q-learning grows as O(1/(1−γ)^2), while that of relative Q-learning is bounded by O(1/(1−ρ*γ)^2).
- Derives a key identity showing that the asymptotic covariance of relative Q-learning depends on the spectral gap of the optimal policy’s transition matrix, not on 1/(1−γ).
- Validates the theory using numerical experiments on a stochastic shortest path problem, comparing Q-learning and relative Q-learning under γ = 0.999 and γ = 0.9999.
Experimental results
Research questions
- RQ1Can the 1/(1−γ)p dependency in sample complexity bounds be eliminated or significantly reduced without compromising policy optimality?
- RQ2Does reweighting the Q-function by removing the constant term η*/(1−γ) lead to uniformly bounded variance across all discount factors?
- RQ3How does the spectral gap ρ* of the optimal policy’s transition matrix affect the convergence rate of relative Q-learning?
- RQ4Can the asymptotic variance of Q-learning be uniformly bounded across all γ < 1 using a modified algorithm?
- RQ5What is the impact of the step-size choice g = 1/(1−ρ*γ) on convergence stability and variance compared to g = 1/(1−γ)?
Key findings
- The asymptotic covariance of standard Q-learning grows quadratically with 1/(1−γ), explaining its slow convergence under large discounting.
- The asymptotic covariance of relative Q-learning is bounded by a quadratic in 1/(1−ρ*γ), where ρ* < 1, leading to uniformly bounded variance for all γ < 1.
- The relative Q-learning algorithm achieves comparable performance to standard Q-learning in span semi-norm when using the same step-size g = 1/(1−ρ*γ), confirming that the variance reduction is not at the cost of accuracy.
- Numerical experiments confirm that relative Q-learning is insensitive to large discounting, with stable convergence even at γ = 0.9999.
- The theoretical analysis shows that the variance reduction stems from the fact that the optimal policy’s spectral gap ρ* < 1 ensures 1−ρ*γ < 1, avoiding the 1/(1−γ) blowup.
- The results imply that sample complexity bounds can be improved from O(1/(1−γ)^p) to O(1/(1−ρ*γ)^p), removing the artificial barrier posed by large discounting.
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.