Papers › Time Discretization-Invariant Safe Action Repetition for Policy Gradient Methods

Time Discretization-Invariant Safe Action Repetition for Policy Gradient Methods

6 Nov 2021NeurIPS 2021 12arXiv:2111.03941archive 2025-07-28

Seohong Park, Jaekyeom Kim, Gunhee Kim

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, 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.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2111.03941")

Code

Syntology Ran 0 of 16 code samples harvested from 1 repository linked to this paper; 16 have no recorded run.

By repository: official repository: 16 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

artberryx/SAR officialmentioned on GitHubpytorchMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

16 samples harvested; 0 ran; 0 honoured the contract we drafted; 16 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

16unverified

Licence: 0 of the 16 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from artberryx/SAR. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

conv artberryx/SAR/sb/stable_baselines/common/tf_layers.py official repository unverified MIT (permissive) · 5260262d19bd2712 · report
create_mlp artberryx/SAR/sb3/stable_baselines3/common/torch_layers.py official repository unverified MIT (permissive) · ef103f787c48beca · report
get_action_dim artberryx/SAR/sb/repeat/utils.py official repository unverified MIT (permissive) · aad776721400d1cc · report
get_actor_critic_arch artberryx/SAR/sb3/stable_baselines3/common/torch_layers.py official repository unverified MIT (permissive) · f2ded9c22d608f44 · report
get_monitor_files artberryx/SAR/sb/stable_baselines/bench/monitor.py official repository unverified MIT (permissive) · 0d0ddaf36545261e · report
load_results artberryx/SAR/sb/stable_baselines/bench/monitor.py official repository unverified MIT (permissive) · dbe46349368917f5 · report
make_atari artberryx/SAR/sb/stable_baselines/common/atari_wrappers.py official repository unverified MIT (permissive) · 42dca35d1e009c9a · report
make_output_format artberryx/SAR/sb/stable_baselines/logger.py official repository unverified MIT (permissive) · d2ac8a40c8413065 · report
mlp artberryx/SAR/sb/stable_baselines/common/tf_layers.py official repository unverified MIT (permissive) · b1b0b13946e3393b · report
ortho_init artberryx/SAR/sb/stable_baselines/common/tf_layers.py official repository unverified MIT (permissive) · 90935b4a6d887717 · report
rolling_window artberryx/SAR/sb/stable_baselines/results_plotter.py official repository unverified MIT (permissive) · a3fd9c3a978a7624 · report
summary_val artberryx/SAR/sb/stable_baselines/logger.py official repository unverified MIT (permissive) · 75fb406b970614d4 · report
ts2xy artberryx/SAR/sb/stable_baselines/results_plotter.py official repository unverified MIT (permissive) · 9cc2d7b8e6215c80 · report
valid_float_value artberryx/SAR/sb/stable_baselines/logger.py official repository unverified MIT (permissive) · dbdf57c6ccdd4893 · report
window_func artberryx/SAR/sb/stable_baselines/results_plotter.py official repository unverified MIT (permissive) · 0680d6189aa0a2ff · report
wrap_deepmind artberryx/SAR/sb/stable_baselines/common/atari_wrappers.py official repository unverified MIT (permissive) · 3833ca08c133f805 · report

Tasks

MuJoCoPolicy Gradient Methods

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections