Skip to main content
QUICK REVIEW

[Paper Review] A Deeper Look at Discounting Mismatch in Actor-Critic Algorithms

Shangtong Zhang, Romain Laroche|arXiv (Cornell University)|Oct 2, 2020
Reinforcement Learning in RoboticsComputer Science49 references5 citations
TL;DR

This paper investigates the common practice in actor-critic reinforcement learning of using a discounted critic ($\gamma_{\text{c}} < 1$) while omitting discounting in the actor update ($\gamma_{\text{a}} = 1$), despite theoretical recommendations for consistency. From a representation learning perspective, it shows that this mismatch can improve performance by enabling a favorable bias-variance-representation trade-off in undiscounted settings and by serving as an effective auxiliary task in discounted settings, with empirical validation across controlled environments.

ABSTRACT

We investigate the discounting mismatch in actor-critic algorithm implementations from a representation learning perspective. Theoretically, actor-critic algorithms usually have discounting for both actor and critic, i.e., there is a $γ^t$ term in the actor update for the transition observed at time $t$ in a trajectory and the critic is a discounted value function. Practitioners, however, usually ignore the discounting ($γ^t$) for the actor while using a discounted critic. We investigate this mismatch in two scenarios. In the first scenario, we consider optimizing an undiscounted objective $(γ= 1)$ where $γ^t$ disappears naturally $(1^t = 1)$. We then propose to interpret the discounting in critic in terms of a bias-variance-representation trade-off and provide supporting empirical results. In the second scenario, we consider optimizing a discounted objective ($γ&lt; 1$) and propose to interpret the omission of the discounting in the actor update from an auxiliary task perspective and provide supporting empirical results.

Motivation & Objective

  • To investigate the empirical benefits of the widespread practice of using a discounted critic ($\gamma_{\text{c}} < 1$) while omitting discounting in the actor update ($\gamma_{\text{a}} = 1$), despite theoretical recommendations for consistency.
  • To understand this mismatch from a representation learning perspective, particularly how it affects the trade-off between bias, variance, and representational capacity.
  • To evaluate whether the omission of discounting in the actor update acts as an effective auxiliary task that improves policy learning in discounted objectives.
  • To provide empirical evidence that the biased setup ($\gamma_{\text{a}} = 1$, $\gamma_{\text{c}} < 1$) can outperform the unbiased setup ($\gamma_{\text{a}} = \gamma_{\text{c}} = \gamma < 1$) in function approximation settings.

Proposed method

  • The authors analyze two distinct scenarios: (1) optimizing an undiscounted objective ($\gamma = 1$) with $\gamma_{\text{c}} < 1$, and (2) optimizing a discounted objective ($\gamma < 1$) with $\gamma_{\text{a}} = 1$, $\gamma_{\text{c}} = \gamma < 1$.
  • In Scenario 1, they interpret $\gamma_{\text{c}} < 1$ as a mechanism to balance bias, variance, and representation learning, using fixed-horizon TD learning to disentangle these effects.
  • In Scenario 2, they frame the difference between the biased and unbiased setups as an auxiliary task, isolating the impact of representation learning on performance.
  • They design new benchmark environments where the reward sign flips after a certain time, creating distributional shift to test robustness to the mismatch.
  • They compare performance between the biased setup ($\gamma_{\text{a}} = 1$) and the unbiased setup ($\gamma_{\text{a}} = \gamma_{\text{c}} = \gamma < 1$) under controlled conditions.
  • They use Proximal Policy Optimization (PPO) with auxiliary tasks to validate the hypothesis that the mismatch improves representation learning.

Experimental results

Research questions

  • RQ1Why does using $\gamma_{\text{c}} < 1$ in the critic while setting $\gamma_{\text{a}} = 1$ in the actor improve performance in undiscounted reinforcement learning settings?
  • RQ2How does the omission of discounting in the actor update ($\gamma_{\text{a}} = 1$) affect representation learning in the context of a discounted objective?
  • RQ3Can the mismatch between actor and critic discounting be interpreted as an effective auxiliary task that enhances policy learning?
  • RQ4Does the biased setup ($\gamma_{\text{a}} = 1$, $\gamma_{\text{c}} < 1$) outperform the unbiased setup ($\gamma_{\text{a}} = \gamma_{\text{c}} = \gamma < 1$) when the true objective is discounted?
  • RQ5Under what conditions does the inductive bias introduced by $\gamma_{\text{a}} = 1$ become detrimental to learning?

Key findings

  • In the undiscounted setting ($\gamma = 1$), using $\gamma_{\text{c}} < 1$ reduces variance and facilitates representation learning, leading to improved performance despite introducing bias.
  • Empirical results show that $\gamma_{\text{c}} < 1$ can make it easier to learn good representations than $\gamma_{\text{c}} = 1$, even beyond variance reduction.
  • In the discounted setting ($\gamma < 1$), the biased setup ($\gamma_{\text{a}} = 1$, $\gamma_{\text{c}} = \gamma < 1$) outperforms the unbiased setup when the environment introduces distributional shift, such as a reward sign flip.
  • The performance gain in the biased setup is attributed to improved representation learning, as confirmed by isolating this effect through an auxiliary task setup.
  • When the inductive bias from $\gamma_{\text{a}} = 1$ is detrimental, such as in environments with strong distributional shift, the unbiased setup performs better.
  • The authors demonstrate that AuxPPO, which uses the biased setup as an auxiliary task, is a robust and effective method that does not rely heavily on the correctness of the inductive bias.

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.