Time Discretization-Invariant Safe Action Repetition for Policy Gradient Methods

preprint2022arXivOpen access

Abstract

In reinforcement learning, continuous time is often discretized by a time scale δδ, to which the resulting performance is known to be highly sensitive. In this work, we seek to find a δδ-invariant algorithm for policy gradient (PG) methods, which performs well regardless of the value of δδ. We first identify the underlying reasons that cause PG methods to fail as δ→0δ\to 0, proving that the variance of the PG estimator can diverge to infinity in stochastic environments under a certain assumption of stochasticity. While durative actions or action repetition can be employed to have δδ-invariance, previous action repetition methods cannot immediately react to unexpected situations in stochastic environments. We thus propose a novel δδ-invariant method named Safe Action Repetition (SAR) applicable to any existing PG algorithm. SAR can handle the stochasticity of environments by adaptively reacting to changes in states during action repetition. We empirically show that our method is not only δδ-invariant but also robust to stochasticity, outperforming previous δδ-invariant approaches on eight MuJoCo environments with both deterministic and stochastic settings. Our code is available at https://vision.snu.ac.kr/projects/sar.

Explore this paper’s authors, topics and related work.

Building this map preview

BZPEER is loading the nearby papers, people, topics and institutions for this page.

Reviews 0

Write a reviewWrite

No reviews yet.

Discussion 0

Add a commentWrite

No comments yet.