This paper bridges a significant gap between reinforcement learning (RL) theory and practice. It demonstrates that combining the "Munchausen" style of regularization with variance-aware regression allows algorithms to achieve theoretical perfection (minimax optimality) in linear environments, while simultaneously improving performance in deep RL benchmarks.
The Missing Ingredient for Optimal Efficiency
The authors prove that Mirror Descent Value Iteration (MDVI) achieves minimax optimal sample complexity in linear Markov Decision Processes (MDPs), provided that the regression is weighted by the variance of the next-state value. To operationalize this, they introduce VWLS-MDVI for theoretical analysis and Deep Variance Weighting (DVW) for practical deep RL, showing that variance-awareness is the key to optimal efficiency.
The Problem: Function Approximation in MDVI
In RL, Mirror Descent Value Iteration (MDVI)—a framework incorporating Kullback-Leibler (KL) and entropy regularization—is often used to stabilize learning and encourage exploration. While MDVI-based algorithms (like Munchausen DQN) perform exceptionally well in practice, theoretical understanding has largely been restricted to "tabular" settings where states and actions are discrete and limited.
When moving to function approximation (using linear models or neural networks to represent values), a critical question arises: Is MDVI still optimal? Specifically, can it reach the minimax lower bound—the absolute minimum number of samples required to find a good policy? Previous research suggested that standard least-squares regression in MDVI might be suboptimal. This paper identifies exactly why and provides a mathematically sound fix.
Methods: Theoretical and Practical Variance Weighting
The authors introduce two main contributions to address this gap:
- VWLS-MDVI (Theoretical): This algorithm utilizes Variance-Weighted Least-Squares. Instead of treating every sample equally during regression, it weights them by the inverse of the estimated variance of the next state's value. To prove its optimality, the authors developed a novel Weighted Kiefer-Wolfowitz theorem, a tool from experimental design that helps select the most informative state-action pairs to sample.
- DVW (Practical): To translate this to deep RL, they propose Deep Variance Weighting. They augment a standard agent with a secondary "variance network" that learns to predict the variance of the temporal difference (TD) target. The main Q-network's loss function is then re-weighted using this predicted variance, effectively teaching the agent to "trust" low-variance updates more than high-variance ones.
Key Insights
- Variance is the Key to Optimality: Standard least-squares regression is "variance-blind." In infinite-horizon settings, errors can accumulate over time. By weighting updates by the inverse of the variance, the algorithm effectively sharpens its focus, allowing it to reach the minimax limit.
- The Two-Stage Trick: You cannot weight by variance if you do not know the variance. The authors demonstrate that you can first run a "suboptimal" version of the algorithm to obtain a rough value estimate, use that to estimate variance, and then run a second "optimal" pass.
- Regularization + Weighting: KL-entropy regularization and variance weighting are complementary. Regularization provides stability and averages out past errors, while variance weighting ensures those errors are kept as small as possible.
Key Results
Theoretical Bounds
VWLS-MDVI achieves a sample complexity of $\tilde{O}\left(\frac{d^2}{\varepsilon^2(1-\gamma)^3}\right)$, where $d$ is the feature dimension and $\gamma$ is the discount factor. This perfectly matches the known minimax lower bound for linear MDPs, improving upon previous non-weighted methods that were off by a factor of $1/(1-\gamma)$.
Empirical Gains
The theoretical advantages of variance weighting translate directly to empirical performance. In synthetic "Hard Linear MDPs" designed to challenge linear learners, VWLS-MDVI converges significantly faster and to a lower error floor compared to standard unweighted WLS-MDVI.
Furthermore, in MinAtar experiments (a simplified version of Atari 2600 benchmarks), DVW consistently outperformed standard DQN and Munchausen DQN. Most impressively, the practical DVW algorithm performed nearly as well as an "oracle" agent given the true, ground-truth variance, proving that the variance network is highly effective at learning the necessary weights.
Limitations and Future Work
- Generative Model Assumption: The theoretical proofs rely on a "generative model" (a simulator allowing the agent to jump to any state-action pair). Real-world RL often requires "online" exploration, where the agent must physically navigate the environment.
- Computational Overhead: Adding a variance network and performing weighted regression increases the computational cost per update, though this is generally offset by vastly improved sample efficiency.
- Beyond Linear Approximation: While practical DVW works well with deep neural networks, the minimax optimality proof is currently limited to linear function approximation. Extending these proofs to non-linear representation learning remains a major open challenge.
Summary updated