Abstract
Formulating a real-world problem under the Reinforcement Learning framework involves non-trivial design choices, such as selecting a discount factor for the learning objective (discounted cumulative rewards), which articulates the planning horizon of the agent. This work investigates the impact of the discount factor on the bias-variance trade-off given structural parameters of the underlying Markov Decision Process. Our results support the idea that a shorter planning horizon might be beneficial, especially under partial observability.
Introduction
In Reinforcement Learning (RL), we are often encouraged to prioritize long-term cumulative rewards. This "long-termism" is mathematically encoded via the discount factor ($\gamma$), a hyperparameter determining the agent's planning horizon. While simulators often use a $\gamma$ near 1.0, real-world applications frequently struggle with this approach. This paper provides a theoretical and empirical justification for "shallow planning"—using a shorter horizon—as a potential solution for success in partially observable environments.
The Bias-Variance Trade-off
In theory, an RL agent should use a high discount factor to find the Blackwell optimal policy. However, high discount factors lead to high variance: the agent becomes hypersensitive to small model errors or data noise when accounting for distant, uncertain futures. Conversely, "shallow planning" (low $\gamma$) introduces bias, as the agent may ignore significant rewards beyond its immediate horizon. This research addresses the gap in current research where existing bounds on this trade-off are often too loose and fail to account for the specific structural parameters of the environment, particularly under partial observability.
Methodology and Structural Parameters
The authors introduce new structural parameters to characterize Markov Decision Processes (MDPs) and their partially observable counterparts (POMDPs):
- Horizon-sensitive Action Variation ($\delta_{M,\gamma}$): A measure of how much an agent's actions change the future state distribution compared to an optimal policy.
- Planning Loss Decomposition: A decomposition of total loss into bias (from a short horizon) and variance (from model approximation errors).
- Theorem 1 (Planning Loss Bound): A new, tighter bound for planning loss that explicitly includes structural parameters like value-function variation ($\kappa$) and action variation ($\delta$).
- Theorem 2 (POMDP Extension): An extension showing how state abstraction (grouping states due to limited observability) affects these structural parameters.
Key Insights: Partial Observability as a Smoother
A counterintuitive finding is that partial observability can actually reduce the structural complexity of a problem. When an agent cannot distinguish between certain states, the "value variation" ($\kappa$) often drops, making the bias introduced by a short horizon less damaging.
As observability decreases, the "Blackwell discount factor"—the point where more planning stops helping—tends to move toward zero. In highly noisy or abstracted environments, the optimal strategy might actually be a myopic one. Shallow planning keeps variance in check, allowing the agent to master the immediate environment when the distant future is too uncertain to model.
Empirical Results
The theory was validated using randomly sampled MDPs, abstracted MDPs, and the Cartpole-v1 benchmark with injected Gaussian noise.
Key results include:
- Tighter Bounds: The new theoretical bound (Theorem 1) proved significantly tighter than previous benchmarks, especially with high-quality model approximations.
- Observability vs. Bias: As the number of observations decreased (making the agent "blinder"), the average normalized bias for shorter horizons decreased. This confirms that if an agent cannot see well, there is less utility in planning far ahead.
- The Cartpole "Sweet Spot": In Cartpole experiments with noise ($\sigma=0.1$), the standard long-term discount factor ($\gamma=0.98$) performed poorly due to variance. The best performance was achieved with shallower horizons ($\gamma \approx 0.5$).
Conclusion
This work demonstrates that shallow planning is often a superior strategy under partial observability. By reducing the planning horizon, agents can mitigate the destructive effects of variance while incurring less bias than previously assumed. Future work will focus on developing automatic discount factor selection algorithms that can sense the level of partial observability and adjust the agent's planning depth accordingly.
Summary updated