Skip to main content
QUICK REVIEW

[Paper Review] Discount Factor as a Regularizer in Reinforcement Learning

Ron Amit, Ron Meir|arXiv (Cornell University)|Jul 4, 2020
Evolutionary Algorithms and ApplicationsComputer Science16 citations
TL;DR

This paper establishes a theoretical equivalence between using a reduced discount factor and activation regularization in Temporal-Difference (TD) learning, demonstrating that discount regularization improves generalization in limited-data regimes. Empirically, it shows that discount regularization outperforms standard L2 regularization in deep RL settings when data is sparse, non-uniform, or has low mixing rates, with performance strongly dependent on data distribution and dynamics.

ABSTRACT

Specifying a Reinforcement Learning (RL) task involves choosing a suitable planning horizon, which is typically modeled by a discount factor. It is known that applying RL algorithms with a lower discount factor can act as a regularizer, improving performance in the limited data regime. Yet the exact nature of this regularizer has not been investigated. In this work, we fill in this gap. For several Temporal-Difference (TD) learning methods, we show an explicit equivalence between using a reduced discount factor and adding an explicit regularization term to the algorithm's loss. Motivated by the equivalence, we empirically study this technique compared to standard $L_2$ regularization by extensive experiments in discrete and continuous domains, using tabular and functional representations. Our experiments suggest the regularization effectiveness is strongly related to properties of the available data, such as size, distribution, and mixing rate.

Motivation & Objective

  • To investigate the regularization effect of using a reduced discount factor in reinforcement learning.
  • To formally establish an equivalence between discount regularization and activation regularization in TD learning.
  • To empirically evaluate the effectiveness of discount regularization relative to L2 regularization across tabular and deep RL benchmarks.
  • To identify data-dependent factors—such as sample size, state visitation uniformity, and mixing rate—that influence the success of discount regularization.
  • To explore the conditions under which discount regularization outperforms or complements standard L2 regularization in function approximation settings.

Proposed method

  • Derives an explicit mathematical equivalence between TD learning with a reduced discount factor and adding an activation regularization term to the loss function.
  • Applies this equivalence to several TD learning variants, including TD(0), TD(λ), and SARSA, under function approximation.
  • Employs both tabular MDPs and continuous control benchmarks (e.g., Mujoco environments) to evaluate performance under limited data.
  • Compares discount regularization against standard L2 regularization across different data regimes, varying the number of samples, state visitation uniformity, and mixing rates.
  • Uses TD3 and other deep RL algorithms to test generalization in continuous control tasks with controlled data collection protocols.
  • Analyzes the impact of data distribution and mixing rate on regularization effectiveness through systematic ablation studies.

Experimental results

Research questions

  • RQ1Is there a formal equivalence between using a reduced discount factor and adding an explicit regularization term in TD learning?
  • RQ2How does the effectiveness of discount regularization depend on data characteristics such as size, uniformity of state visitation, and mixing rate?
  • RQ3In what settings does discount regularization outperform standard L2 regularization in value function estimation?
  • RQ4Can discount regularization be considered a viable alternative or complement to traditional L2 regularization in deep RL?
  • RQ5What are the conditions under which discount regularization enhances generalization in function approximation settings?

Key findings

  • A theoretical equivalence is established between using a reduced discount factor and adding an activation regularization term to the TD learning loss function.
  • In tabular settings, discount regularization achieves performance comparable to L2 regularization, particularly when data is limited or state visitation is non-uniform.
  • Discount regularization significantly improves generalization in deep RL when data is sparse and the state visitation distribution is non-uniform or mixing rate is low.
  • The effectiveness of discount regularization is strongly correlated with the mixing rate of the data collection process, with lower mixing rates favoring better performance.
  • In continuous control benchmarks like Hopper-v2, discount regularization outperforms L2 regularization under limited data, with optimal performance observed at intermediate discount values.
  • The study reveals that the relative performance of discount versus L2 regularization varies across function approximation settings, suggesting context-dependent superiority.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.