SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2111.03941 · NeurIPS · 2021

Time Discretization-Invariant Safe Action Repetition for Policy Gradient Methods

Gunhee Kim, Jaekyeom Kim, Seohong Park

arXiv · PDF · Open in the Atlas

Code that ran

10 of 16 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 1 violated it and 1 has no contract verdict; 8 failures of our instrument; 6 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2111.03941.json · badge: /api/ran/2111.03941.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
artberryx/SAR canonical (classifier label)
classifier basis not recorded on the link
10 ran · 6 no recorded run
FunctionStatusWhere it lives
create_mlp Ran
ran; our contract draft was wrong, not the code
artberryx/SAR/sb3/stable_baselines3/common/torch_layers.py
code served (permissive licence) · get_code("ef103f787c48beca")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn
from typing import List, Type

torch.manual_seed(0)

ARGS = {
    "input_dim": 8,
    "output_dim": 4,
    "net_arch": [16, 32, 16],
    "activation_fn": nn.ReLU,
    "squash_output": False,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_action_dim Ran
ran on a synthesized input
artberryx/SAR/sb/repeat/utils.py
code served (permissive licence) · get_code("aad776721400d1cc")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned int, ndim 0, dtype family int, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np
from gym import spaces

# Test with a Box space (continuous action space)
box_space = spaces.Box(low=-1.0, high=1.0, shape=(3, 4), dtype=np.float32)

# Test with a Discrete space (single discrete action)
discrete_space = spaces.Discrete(5)

# Test with a MultiDiscrete space
multidiscrete_space = spaces.MultiDiscrete([3, 4, 5])

# Test with a MultiBinary space
multibinary_space = spaces.MultiBinary(6)

# Test with a Tuple space (combination of spaces)
tuple_space = spaces.Tuple((
    spaces.Box(low=-1.0, high=1.0, shape=(2,), dtype=np.float32),
    spaces.Discrete(3)
))

# We'll test with the Box space as the main example
ARGS = {
    "action_space": box_space
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
gym, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type int, ndim 0, dtype family int, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_actor_critic_arch Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
artberryx/SAR/sb3/stable_baselines3/common/torch_layers.py
pointer only (licence: MIT); the stored copy get_code serves, from whbyeon/ERAM-ARAM, is pointer only (licence: NONE) · get_code("f2ded9c22d608f44")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from whbyeon/ERAM-ARAM, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

make_atari Ran
ran; our contract draft was wrong, not the code
artberryx/SAR/sb/stable_baselines/common/atari_wrappers.py
code served (permissive licence) · get_code("42dca35d1e009c9a")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned MaxAndSkipEnv. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import gym
import numpy as np

# Create a minimal Atari-like environment that satisfies the requirements
class MinimalAtariEnv(gym.Env):
    def __init__(self):
        self.observation_space = gym.spaces.Box(
            low=0, high=255, shape=(84, 84, 1), dtype=np.uint8
        )
        self.action_space = gym.spaces.Discrete(4)
        self.spec = type('obj', (object,), {'id': 'PongNoFrameskip-v4'})()
        self._step_count = 0
        
    def get_action_meanings(self):
        return ['NOOP', 'FIRE', 'RIGHT', 'LEFT']
    
    def reset(self, **kwargs):
        self._step_count = 0
        return np.zeros((84, 84, 1), dtype=np.uint8)
    
    def step(self, action):
        self._step_count += 1
        obs = np.zeros((84, 84, 1), dtype=np.uint8)
        reward = 1.0
        done = self._step_count > 100
        info = {}
        return obs, reward, done, info
    
    def render(self, mode='human'):
        pass
    
    def close(self):
        pass

# Patch gym.make to return our minimal environment
original_make = gym.make
def patched_make(env_id):
    if 'NoFrameskip' in env_id:
        return MinimalAtariEnv()
    return original_make(env_id)

gym.make = patched_make

ARGS = {
    'env_id': 'PongNoFrameskip-v4',
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
gym, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type MaxAndSkipEnv — a MaxAndSkipEnv output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a MaxAndSkipEnv output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
ortho_init Ran
ran; our contract draft was wrong, not the code
artberryx/SAR/sb/stable_baselines/common/tf_layers.py
code served (permissive licence) · get_code("90935b4a6d887717")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned function. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

np.random.seed(0)

ARGS = {
    "scale": 2.5
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type function — a function output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a function output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
rolling_window Ran
ran; our contract draft was wrong, not the code
artberryx/SAR/sb/stable_baselines/results_plotter.py
code served (permissive licence) · get_code("a3fd9c3a978a7624")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 3, dtype family float, shape (4, 3, 3) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# Create a simple numpy array for testing
array = np.arange(20, dtype=np.float32).reshape(4, 5)

# Define the window size
window = 3

# Construct the ARGS dictionary
ARGS = {
    "array": array,
    "window": window,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 3, dtype family float, shape (4, 3, 3) — shape (4, 3, 3) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
ts2xy Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
artberryx/SAR/sb/stable_baselines/results_plotter.py
code served (permissive licence) · get_code("9cc2d7b8e6215c80")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, ndim 2, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np
import pandas as pd

X_TIMESTEPS = 'timesteps'
X_EPISODES = 'episodes'
X_WALLTIME = 'walltime_hrs'

# Create a small pandas DataFrame with the required columns: 'l', 'r', and 't'
# These correspond to: length (timesteps), reward, and time (seconds)
timesteps_data = {
    'l': np.array([10, 20, 15, 25]),
    'r': np.array([0.5, 1.2, 0.8, 1.5]),
    't': np.array([3600.0, 7200.0, 10800.0, 14400.0])  # seconds
}
timesteps_df = pd.DataFrame(timesteps_data)

ARGS = {
    'timesteps': timesteps_df,
    'xaxis': X_TIMESTEPS
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, pandas — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 2, dtype family float — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
valid_float_value Ran
ran, violated the contract we drafted
artberryx/SAR/sb/stable_baselines/logger.py
code served (permissive licence) · get_code("dbdf57c6ccdd4893")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned bool, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

torch.manual_seed(0)

# The function valid_float_value takes a single parameter 'value'
# and checks if it can be cast to a float by attempting float(value)
# and catching TypeError. It returns True if successful, False if TypeError occurs.

# Let's create test cases for different types of values that can or cannot be cast to float
ARGS = {
    "value": 3.14  # A float value that can be successfully cast to float
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type bool, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
window_func Ran
ran; our contract draft was wrong, not the code
artberryx/SAR/sb/stable_baselines/results_plotter.py
code served (permissive licence) · get_code("0680d6189aa0a2ff")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, ndim 2, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# Create simple numpy arrays for testing
var_1 = np.array([1.0, 2.0, 3.0, 4.0, 5.0])
var_2 = np.array([10.0, 20.0, 30.0, 40.0, 50.0])

# Define the window size
window_size = 3

# Define a function to apply (using numpy.mean as the example)
func_to_apply = np.mean

ARGS = {
    "var_1": var_1,
    "var_2": var_2,
    "window": window_size,
    "func": func_to_apply
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 2, dtype family float — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
wrap_deepmind Ran
ran; our contract draft was wrong, not the code
artberryx/SAR/sb/stable_baselines/common/atari_wrappers.py
code served (permissive licence) · get_code("3833ca08c133f805")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ClipRewardEnv. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np
import gym
from gym import spaces
from collections import deque
import cv2

class LazyFrames(object):
    def __init__(self, frames):
        self.frames = frames
    
    def __array__(self):
        return np.concatenate(self.frames, axis=2)

class FireResetEnv(gym.Wrapper):
    def __init__(self, env):
        gym.Wrapper.__init__(self, env)
        assert env.unwrapped.get_action_meanings()[1] == 'FIRE'
        assert len(env.unwrapped.get_action_meanings()) >= 3

    def reset(self, **kwargs):
        self.env.reset(**kwargs)
        obs, _, done, _ = self.env.step(1)
        if done:
            self.env.reset(**kwargs)
        obs, _, done, _ = self.env.step(2)
        if done:
            self.env.reset(**kwargs)
        return obs

    def step(self, action):
        return self.env.step(action)

class EpisodicLifeEnv(gym.Wrapper):
    def __init__(self, env):
        gym.Wrapper.__init__(self, env)
        self.lives = 0
        self.was_real_done = True

    def step(self, action):
        obs, reward, done, info = self.env.step(action)
        self.was_real_done = done
        lives = self.env.unwrapped.ale.lives()
        if 0 < lives < self.lives:
            done = True
        self.lives = lives
        return (obs, reward, done, info)

    def reset(self, **kwargs):
        if self.was_real_done:
            obs = self.env.reset(**kwargs)
        else:
            obs, _, _, _ = self.env.step(0)
        self.lives = self.env.unwrapped.ale.lives()
        return obs

class ClipRewardEnv(gym.RewardWrapper):
    def __init__(self, env):
        gym.RewardWrapper.__init__(self, env)

    def reward(self, reward):
        return np.sign(reward)

class WarpFrame(gym.ObservationWrapper):
    def __init__(self, env):
        gym.ObservationWrapper.__init__(self, env)
        self.width = 84
        self.height = 84
        self.observation_space = spaces.Box(low=0, high=255, shape=(self.height, self.width, 1), dtype=env.observation_space.dtype)

    def observation(self, frame):
        frame = cv2.cvtColor(frame, cv2.COLOR_RGB2GRAY)
        frame = cv2.resize(frame, (self.width, self.height), interpolation=cv2.INTER_AREA)
        return frame[:, :, None]

class FrameStack(gym.Wrapper):
    def __init__(self, env, n_frames):
        gym.Wrapper.__init__(self, env)
        self.n_frames = n_frames
        self.frames = deque([], maxlen=n_frames)
        shp = env.observation_space.shape
        self.observation_space = spaces.Box(low=0, high=255, shape=(shp[0], shp[1], shp[2] * n_frames), dtype=env.observation_space.dtype)

    def reset(self, **kwargs):
        obs = self.env.reset(**kwargs)
        for _ in range(self.n_frames):
            self.frames.append(obs)
        return self._get_ob()

    def step(self, action):
        obs, reward, done, info = self.env.step(action)
        self.frames.append(obs)
        return (self._get_ob(), reward, done, info)

    def _get_ob(self):
        assert len(self.frames) == self.n_frames
        return LazyFrames(list(self.frames))

class ScaledFloatFrame(gym.ObservationWrapper):
    def __init__(self, env):
        gym.ObservationWrapper.__init__(self, env)
        self.observation_space = spaces.Box(low=0, high=1.0, shape=env.observation_space.shape, dtype=np.float32)

    def observation(self, observation):
        return np.array(observation).astype(np.float32) / 255.0

class MockALE:
    def lives(self):
        return 5

class MockEnv(gym.Env):
    def __init__(self):
        self.observation_space = spaces.Box(low=0, high=255, shape=(210, 160, 3), dtype=np.uint8)
        self.action_space = spaces.Discrete(4)
        self.ale = MockALE()
        self._action_meanings = ['NOOP', 'FIRE', 'UP', 'DOWN']
    
    def get_action_meanings(self):
        return self._action_meanings
    
    def reset(self, **kwargs):
        return self.observation_space.sample()
    
    def step(self, action):
        obs = self.observation_space.sample()
        reward = 1.0
        done = False
        info = {}
        return obs, reward, done, info

base_env = MockEnv()

ARGS = {
    'env': base_env
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
cv2, gym, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ClipRewardEnv — a ClipRewardEnv output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a ClipRewardEnv output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
conv Not yet run
unverified (harvested, no recorded run)
artberryx/SAR/sb/stable_baselines/common/tf_layers.py
code served (permissive licence) · get_code("5260262d19bd2712")
How it ran

no invocation recorded.

get_monitor_files Not yet run
unverified (harvested, no recorded run)
artberryx/SAR/sb/stable_baselines/bench/monitor.py
code served (permissive licence) · get_code("0d0ddaf36545261e")
How it ran

no invocation recorded.

load_results Not yet run
unverified (harvested, no recorded run)
artberryx/SAR/sb/stable_baselines/bench/monitor.py
code served (permissive licence) · get_code("dbe46349368917f5")
How it ran

no invocation recorded.

make_output_format Not yet run
unverified (harvested, no recorded run)
artberryx/SAR/sb/stable_baselines/logger.py
code served (permissive licence) · get_code("d2ac8a40c8413065")
How it ran

no invocation recorded.

mlp Not yet run
unverified (harvested, no recorded run)
artberryx/SAR/sb/stable_baselines/common/tf_layers.py
code served (permissive licence) · get_code("b1b0b13946e3393b")
How it ran

no invocation recorded.

summary_val Not yet run
unverified (harvested, no recorded run)
artberryx/SAR/sb/stable_baselines/logger.py
code served (permissive licence) · get_code("75fb406b970614d4")
How it ran

no invocation recorded.

Also present in other papers' code

Of 16 samples lifted from this paper's linked repositories, 16 carry a function identity and 0 do not. Of the 16 distinct functions with an identity, 13 are also present in other papers whose code we hold (13 with at least one paper dated earlier, 0 the same month, 8 later) and 3 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
make_atari 6 other papers
5 dated earlier, 1 later
1511.06581 (2015-11)
Dueling Network Architectures for Deep Reinforcement Learning
1910.07207 (2019-10)
Soft Actor-Critic for Discrete Action Settings
1911.02140 (2019-11)
Fully Parameterized Quantile Function for Distributional Reinforcement Learning
and 3 more not named here
create_mlp 4 other papers
2 dated earlier, 2 later · 1 only as an assembly brick
2010.14484 (2020-10)
One Solution is Not All You Need: Few-Shot Extrapolation via Structured MaxEnt RL
2011.09999 (2020-11)
Inverse Constrained Reinforcement Learning
2208.03374 (2022-08)
Learning to Generalize with Object-centric Agents in the Open World Survival Game Crafter
and 1 more not named here
get_actor_critic_arch 4 other papers
1 dated earlier, 3 later
2010.14484 (2020-10)
One Solution is Not All You Need: Few-Shot Extrapolation via Structured MaxEnt RL
2205.05138 (2022-05)
Efficient Risk-Averse Reinforcement Learning
2406.07826 (2024-06)
The Max-Min Formulation of Multi-Objective Reinforcement Learning: From Theory to a Model-Free Algorithm
and 1 more not named here
wrap_deepmind 4 other papers
3 dated earlier, 1 later
1509.06461 (2015-09)
Deep Reinforcement Learning with Double Q-learning
1905.02363 (2019-05)
Dimension-Wise Importance Sampling Weight Clipping for Sample-Efficient Reinforcement Learning
2006.04061 (2020-06)
Dual Policy Distillation
and 1 more not named here
make_output_format 2 other papers
1 dated earlier, 1 later
2105.13345 (2021-05)
Adversarial Intrinsic Motivation for Reinforcement Learning
2302.04831 (2023-02)
Cooperative Open-ended Learning Framework for Zero-shot Coordination
rolling_window 2 other papers
1 dated earlier, 1 later
2105.13345 (2021-05)
Adversarial Intrinsic Motivation for Reinforcement Learning
2302.04831 (2023-02)
Cooperative Open-ended Learning Framework for Zero-shot Coordination
ts2xy 2 other papers
1 dated earlier, 1 later
2105.13345 (2021-05)
Adversarial Intrinsic Motivation for Reinforcement Learning
2302.04831 (2023-02)
Cooperative Open-ended Learning Framework for Zero-shot Coordination
window_func 2 other papers
1 dated earlier, 1 later
2105.13345 (2021-05)
Adversarial Intrinsic Motivation for Reinforcement Learning
2302.04831 (2023-02)
Cooperative Open-ended Learning Framework for Zero-shot Coordination
conv 1 other paper
1 dated earlier
2105.13345 (2021-05)
Adversarial Intrinsic Motivation for Reinforcement Learning
mlp 1 other paper
1 dated earlier
2105.13345 (2021-05)
Adversarial Intrinsic Motivation for Reinforcement Learning
ortho_init 1 other paper
1 dated earlier
2105.13345 (2021-05)
Adversarial Intrinsic Motivation for Reinforcement Learning
summary_val 1 other paper
1 dated earlier
2105.13345 (2021-05)
Adversarial Intrinsic Motivation for Reinforcement Learning
valid_float_value 1 other paper
1 dated earlier
2105.13345 (2021-05)
Adversarial Intrinsic Motivation for Reinforcement Learning

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

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, 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. Continuous-time RL. Reinforcement learning in continuous-time domains has long been studied with various approaches [2,3,5,6,7,21,22]. Bradtke and Duff [3] extended existing Q-learning and temporal difference methods to semi-MDPs, which can be viewed as a continuous-time generalization of MDPs. Doya [5] developed a continuous actor-critic method based on the Hamilton-Jacobi-Bellman (HJB) equation, a continuous-time counterpart of the Bellman equation, approximating policies and value functions with radial basis functions.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2111.03941")
get_code_for_paper("2111.03941")
have("2111.03941")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2111.03941.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2111.03941.svg)](https://syntology.ai/paper/2111.03941)

Connect an agent — have() is free.