Stage-Based Q-Learning: Ref-Advantage Decomposition
- The paper presents a stage-based Q-learning algorithm that decomposes Q-values into reference and advantage components to achieve significant variance reduction and gap-dependent regret bounds.
- It employs dual estimates—with standard UCB and reference-advantage updates—to stabilize learning and enable nearly linear speedup in federated and multi-agent settings.
- The method offers rigorous guarantees including improved policy switching cost bounds and better dependence on problem-specific gaps compared to classical Q-learning approaches.
Stage-based Q-Learning with Reference-Advantage Decomposition is a family of model-free reinforcement learning algorithms designed for finite-horizon episodic Markov Decision Processes (MDPs) that exploit structured error decomposition and variance reduction. These approaches, notably UCB-Advantage and Q-EarlySettled-Advantage, partition state-action-horizon visits into exponentially growing stages and utilize reference-advantage decomposed confidence intervals to obtain near-optimal and gap-dependent regret bounds. Extension to federated and multi-agent settings has further demonstrated nearly linear speedup and log-scale communication with analogous theoretical guarantees.
1. Mathematical Foundation and Problem Setting
In these algorithms, the environment is a finite-horizon, episodic MDP , with and as state and action sets of cardinalities and , and horizon . Transitions are governed by , and rewards may be deterministic. For each episode and stage , the policy 0 yields 1 (expected cumulative future reward) and 2.
Optimal values satisfy Bellman equations:
3
Suboptimality gaps are denoted 4, and the minimum nonzero gap is 5. The maximum conditional variance of value propagation is 6. The cumulative regret over 7 episodes (total steps 8) is 9. Additionally, policy switching cost (the number of per-step policy changes) is
0
2. Reference-Advantage Decomposition and Algorithmic Structure
The reference-advantage methodology decomposes 1 as 2, with 3 a stage-settled baseline and 4 the local advantage. By fixing 5 within a stage, variance in 6 estimates is minimized, and estimation focuses on the residual 7.
Stage-based updates divide visits to each 8 into stages of length 9. Two Q-estimates are maintained:
- Standard UCB estimate: 0,
- Reference-Advantage estimate: 1,
where 2 and 3 are running means of 4 and 5, and 6 is a variance-based bonus:
7
with 8 (Zheng et al., 2024).
Each stage update replaces 9 with 0. Reference values 1 are "settled" once total visits to 2 surpass a threshold 3, ensuring the reference is close to optimal. Q-EarlySettled-Advantage uses similar updates but fixes 4 once upper and lower confidence bounds converge within 5.
3. Error Decomposition and Variance Reduction
Regret analysis relies on decomposing the suboptimality for each 6:
7
- The first term is controlled by the standard UCB bonus.
- The reference-advantage term is bounded by the variance of the advantage component and can be made logarithmic in 8 and inversely proportional to 9.
- The difference between Q-estimates is non-negative due to the min-update and does not increase regret.
Reference-advantage decomposition is crucial to excellent variance properties. The reference part, once settled, enjoys variance decay 0, while the advantage has variance at most 1, enabling much tighter confidence intervals than Hoeffding-only bonus schemes (Zheng et al., 2024).
4. Main Theoretical Guarantees
Gap-dependent bounds for stage-based Q-learning with reference-advantage decomposition substantially improve upon prior results:
- UCB-Advantage: For 2, 3, and 4,
5
- Q-EarlySettled-Advantage:
6
- UCB-Advantage policy-switching cost: With high probability,
7
Comparison with Hoeffding-based methods (e.g., Q-Hoeffding) shows improvement from 8 to 9 in representative regimes. For deterministic or low-variance MDPs, careful 0 tuning can further improve dependence to 1.
FedQ-Advantage, a federated extension, provides 2 regret with 3 total communication cost, reflecting nearly linear speedup in the number of agents 4 and maintaining variance-reduction advantages (Zheng et al., 2024).
5. Multi-Agent and Zero-Sum Markov Game Extensions
Reference-advantage decomposition generalizes to multi-agent and zero-sum Markov games. In two-player zero-sum Markov games, model-free stage-based Q-learning with min-gap reference-advantage (tracking optimistic/pessimistic value estimates and setting references at the minimal observed gap) recovers the model-based 5 sample complexity previously unattainable with purely model-free methods (Feng et al., 2023).
Key innovations for Markov games include:
- Maintaining optimistic/pessimistic 6 and 7 estimates.
- Updating reference pairs when current value-gap is minimal.
- Applying coarse correlated equilibrium (CCE) policies to break single-agent monotonicity, with statistical control restored via min-gap reference updates.
Variance-reduced bonuses and reference-advantage separation ensure optimal horizon dependence and sublinear regret scaling in multi-agent contexts, with certified 8-optimal Nash equilibria.
6. Memory Efficiency and Practical Considerations
Stage-based reference-advantage methods (e.g., Q-EarlySettled-Advantage) achieve regret-optimality (9 up to logs) with space complexity 0 and much smaller sample-size requirements than previous memory-efficient algorithms. The early-settle rule for references allows aggressive stage-based freezing of 1 once the confidence interval converges, controlling drift and maintaining statistical guarantees.
Key properties:
- Monotonicity and optimism: Q-estimates are non-increasing and preserve UCB/LCB sandwiching.
- Reference closeness: Early-settle logic ensures 2 after burning in.
- Policy switching and rare-switches: Bounds are provided for policy changes, critical in practical deployment (Li et al., 2021).
7. Significance and Comparison to Prior Work
Stage-based Q-learning with reference-advantage decomposition represents the first fully gap-dependent logarithmic-3 regret analysis for variance-reduced Q-learning and provides the first gap-dependent bounds on policy switching cost. It generalizes efficiently to federated settings, zero-sum Markov games, and large-scale multi-agent scenarios, offering memory efficiency, favorable communication cost, and nearly information-theoretic sample complexity.
A plausible implication is that reference-advantage decomposition will remain central to future advances in model-free RL, particularly in scalable and distributed environments where low-variance estimation and fast stage-wise convergence are essential. The separation into reference and advantage estimation is the primary driver of improved gap-dependent rates and enables adaptive exploration while maintaining statistical control (Zheng et al., 2024, Zheng et al., 2024, Feng et al., 2023, Li et al., 2021).