Abstract
Model-based Reinforcement Learning (MBRL) has gained significant traction due to its superior sample efficiency. However, a persistent gap remains between the theoretical requirements for efficient exploration and the heuristics used in practice. Theoretical frameworks typically rely on "optimistic planning," which requires searching over a set of plausible models—a process that is often computationally intractable. Conversely, empirical successes often stem from model ensembles that lack formal worst-case regret guarantees. This paper introduces PlanEx (Planning with Randomized Reward), an algorithm that bridges this gap by replacing complex optimistic planning with a simple randomized reward strategy. We demonstrate that under the Kernelized Nonlinear Regulator (KNR) model and generalized function approximation, reward randomization ensures "partial optimism," yielding near-optimal worst-case regret. To our knowledge, this provides the first regret analysis for randomized MBRL with function approximation.
Introduction: The Complexity of Optimism
In Reinforcement Learning, the "exploration-exploitation" trade-off is the central challenge. To explore efficiently, the principle of Optimism Under Uncertainty (OUU) suggests that an agent should act as if the environment is as favorable as statistically plausible. In the context of MBRL, this traditionally necessitates optimistic planning: finding a policy that performs best across a confidence region of possible models.
While mathematically elegant, optimistic planning is a computational nightmare. Searching over a continuous space of transition models is often NP-hard, making it impractical for complex, high-dimensional environments. Practitioners have bypassed this by using model ensembles (training multiple neural networks), which perform well but lack the "worst-case regret" guarantees that ensure an agent will eventually find the optimal policy efficiently. This paper addresses a fundamental question: Can we design an exploration strategy that is both computationally tractable and theoretically optimal?
The PlanEx Framework
The authors propose PlanEx, a framework that shifts the burden of exploration from the transition model to the reward function. Instead of searching over a set of models, PlanEx follows a streamlined four-step loop:
- Model Fitting: The agent fits a single transition model using standard regression techniques (e.g., least-squares).
- Uncertainty Quantification: The agent calculates the uncertainty of the model at specific state-action pairs, typically using the covariate matrix from the regression.
- Reward Randomization: The known reward function is perturbed by adding random noise (such as Gaussian or Bernoulli noise). Crucially, the variance of this noise is scaled by the model's uncertainty at that point.
- Standard Planning: The agent uses a "planning oracle"—any standard MDP solver—to find the optimal policy for this single perturbed reward and the fitted transition model.
By randomizing the reward, the agent occasionally becomes "lucky" and optimistic about unexplored areas of the state space, driving it to investigate them without requiring the optimization of a complex model set.
Theoretical Insights: The Power of Partial Optimism
The core theoretical contribution of this work is the realization that an agent does not need to be optimistic all the time to achieve optimal exploration. The authors introduce the concept of Partial Optimism.
They prove that if a randomized reward is optimistic with at least a constant probability (for example, approximately 16% of the time when using Gaussian noise), it is sufficient to guarantee near-optimal exploration over the long run. This insight allows for a significant reduction in computational overhead. Planning with a single randomized reward is a standard MDP problem, whereas traditional optimistic planning is a nested optimization problem.
Key Results
- Optimal Regret in KNR: For the Kernelized Nonlinear Regulator (KNR) model—a popular framework for nonlinear control—PlanEx achieves an expected regret of $\tilde{O}(\sqrt{K})$, where $K$ is the number of interactions. This matches the information-theoretic lower bound for sample efficiency.
- General Function Approximation: The paper extends these results to a broader setting where the model is "calibrated" (errors are bounded by an uncertainty metric). The authors identify specific conditions (Conditions 7 and 8 in the full paper) that any reward randomization scheme must meet to be effective.
- Unifying Theory and Heuristics: This analysis provides a theoretical backbone for why randomized heuristics used in deep RL, such as Thompson Sampling or certain ensemble methods, are effective in practice.
Discussion and Limitations
While PlanEx offers a rigorous path forward for randomized MBRL, several challenges remain for future research. First, the theory assumes access to a "planning oracle" that can perfectly solve the MDP for a given model. In real-world deep RL, planning is often approximate (using methods like Model Predictive Control), and the propagation of these approximation errors into regret bounds is not yet fully understood.
Additionally, while the regret is optimal in terms of the number of interactions ($K$), the bounds still depend on the dimensionality of the state and feature spaces. In extremely high-dimensional environments, these constants may still be significant. Finally, while the theoretical results are robust, empirical comparisons against state-of-the-art ensemble methods (like PETS or Dreamer) would further validate the practical utility of the PlanEx approach.
Conclusion
PlanEx represents a significant step toward reconciling the theory and practice of exploration in MBRL. By demonstrating that reward randomization can provide the necessary optimism for efficient exploration, the authors provide a computationally tractable alternative to traditional optimistic planning. This work sets a new foundation for designing provably efficient and practically implementable reinforcement learning algorithms.
Summary updated