Regularizing Reinforcement Learning via Lower Discount Factors

19 concepts7 papers1 proposal

In standard reinforcement learning (RL), the discount factor ($\gamma \in [0, 1)$) is typically treated as a fixed parameter of the environment design. It mathematically defines the agent's horizon, determining how much it values immediate rewards over distant future consequences. Conventionally, we assume that setting $\gamma$ below the "true" horizon of the problem is a compromise—a mathematical convenience to ensure convergence or speed up computation at the expense of policy quality.

However, a growing body of research flips this assumption on its head. When learning from finite, noisy, or offline datasets, artificially lowering the discount factor acts as a powerful implicit regularizer. Rather than degrading performance, shortening the effective planning horizon can significantly improve the quality of the learned policy.

To understand why this counterintuitive result holds, we must look at how errors propagate over time in approximate optimization.


The Core Trade-Off: Bias vs. Variance

When an agent plans deep into the future, it relies on an estimated value function or an estimated transition model. If these estimates contain even minor errors, those errors compound exponentially over long horizons.

We can view the choice of the discount factor through the lens of a classic bias-variance trade-off:

  1. Discount Bias: Artificially lowering $\gamma$ introduces bias because the agent optimizes for a modified, short-sighted objective rather than the true long-term goal.
  2. Approximation Variance: Keeping $\gamma$ high preserves the true objective but drastically increases the variance and accumulation of approximation errors during value estimation or trajectory rollouts.

As proven by Marek Petrik et al. in Biasing Approximate Dynamic Programming with a Lower Discount Factor, the total policy error can be decomposed into these two distinct terms. When function approximators are imperfect, the optimal discount factor for the solver is frequently lower than the true discount factor of the underlying environment. In complex tasks like Tetris, the authors demonstrated that minimizing this joint error by lowering $\gamma$ can suppress approximation noise enough to boost empirical performance by 500%.


Controlling Policy Space Complexity

Why does a shorter horizon reduce variance so effectively? One key reason is that it shrinks the complexity of the policy search space.

In The Dependence of Effective Planning Horizon on Model Accuracy, Nan Jiang et al. formalize the idea that the planning horizon serves as a complexity control parameter. When an agent plans for a long horizon, the number of potentially optimal policies explodes. With limited data, the agent is highly likely to find a policy that appears optimal on the training data but overfits to the inaccuracies of the empirical model. By reducing $\gamma$, we restrict the capacity of the policy class, preventing the agent from over-optimizing based on unreliable, long-term predictions.

This complexity reduction is especially critical in data-scarce regimes, such as batch or offline settings. Vincent Francois-Lavet et al. analyzed this in On Overfitting and Asymptotic Bias in Batch Reinforcement Learning with Partial Observability, showing that a reduced planning horizon directly decreases the variance of value estimates when training on a fixed, pre-collected dataset.


Mitigating Compounding Errors in Offline Learning

In offline reinforcement learning and offline imitation learning, the agent cannot interact with the environment to correct its mistakes. It must learn entirely from a static dataset. If the agent attempts to optimize a long-horizon objective using an estimated dynamics model, it suffers from severe compounding errors during multi-step trajectory rollouts.

Instead of adding explicit, mathematically complex regularizers to penalize out-of-distribution actions, adjusting $\gamma$ provides a clean, structural alternative. As Hao Hu et al. show in On the Role of Discount Factor in Offline Reinforcement Learning, a lower discount factor naturally induces the conservatism required for offline RL to succeed. It trades off long-term optimality for sample efficiency, ensuring that value function estimation remains stable despite high data variance.

Similarly, in the context of offline imitation learning, Hee-Jun Ahn et al. demonstrate in Offline Imitation Learning by Controlling the Effective Planning Horizon that managing the effective horizon prevents the agent from over-relying on imperfectly modeled dynamics. Shorter horizons truncate the long-term rollouts where errors typically accumulate, yielding highly robust policies that frequently outperform explicitly regularized alternatives.


Dynamic Horizons and Joint Optimization

Recognizing that the optimal discount factor depends on data quality, recent frameworks treat $\gamma$ not as a static hyperparameter, but as a dynamic variable to be optimized alongside the policy or reward function.

Learning to Plan with Increasing Horizons

If model uncertainty dictates the optimal horizon, then as an agent collects more data and its model improves, the horizon should expand. This is the core intuition behind the POMRL framework introduced by Khimya Khetarpal et al. in POMRL: No-Regret Learning-to-Plan with Increasing Horizons. By meta-learning a transition model and progressively increasing the discount factor as uncertainty decreases, the agent avoids early overfitting and achieves lower task-averaged regret.

Data Volume:   Low ───────────────────────────────► High
Model Error:   High ──────────────────────────────► Low
Horizon (γ):   Short (Low Variance) ──────────────► Long (Low Bias)

Simplifying the Landscape in Inverse RL

This trade-off also applies to Inverse Reinforcement Learning (IRL), where the goal is to recover a reward function from expert demonstrations. Standard IRL focuses solely on reward accuracy, often ignoring how difficult that reward is for a subsequent agent to learn from.

In Balancing Sample Efficiency and Suboptimality in Inverse Reinforcement Learning, Angelo Damiani et al. propose jointly optimizing the reward parameters and the discount factor. Lowering $\gamma$ during the reward recovery phase simplifies the credit assignment problem. It introduces a controlled amount of bias but flattens the learning landscape, enabling future agents to master the target task with significantly fewer samples.


Summary

The discount factor is more than an environmental constant; it is a knob that balances the complexity of the policy space against the accuracy of the data. When models are wrong, data is scarce, or function approximation is noisy, looking too far into the future causes agents to optimize for noise rather than signal. Shortening the planning horizon via a lower discount factor keeps the agent focused on reliable, short-term dynamics, providing a robust defense against compounding errors and overfitting.

Key Foundational Work

Biasing Approximate Dynamic Programming with a Lower Discount Factor (2008) — contributed 5 concept elements to this direction.
The Dependence of Effective Planning Horizon on Model Accuracy. (2016) — contributed 1 concept elements to this direction.
History & citationVersion 2 · 2026-10-04

Current · Permanent link

  1. Version 2 (latest) · 2026-10-04 · 9 papers
  2. Version 1 · 2026-10-04 · 14 papers
Cite this direction

Latest version (a living page):

@misc{lacuna_discount_factor_regularization_9fd0fc34,
  title = {discount factor regularization},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/discount-factor-regularization/rdr_9fd0fc3418fa43a8889e40320c93b4dd},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-24},
}

This exact version (version 2, frozen text):

@misc{lacuna_discount_factor_regularization_9fd0fc34_v2,
  title = {discount factor regularization},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/discount-factor-regularization/rdr_9fd0fc3418fa43a8889e40320c93b4dd/v/2},
  note = {Version 2, frozen 2026-10-04. Accessed 2026-11-24},
}
About

These directions overlap with this one through shared papers.

See something wrong? Report a mistake