SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2410.08979 · ICLR · 2025

Overcoming Slow Decision Frequencies in Continuous Control: Model-Based Sequence Reinforcement Learning for Model-Free Control

Devdhar Patel, Hava Siegelmann

arXiv · PDF · Open in the Atlas

Code that ran

5 of 6 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (3 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 0 violated it and 4 have no contract verdict; 0 failures of our instrument; 1 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/2410.08979.json · badge: /api/ran/2410.08979.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
dee0512/sequence-reinforcement-learning canonical (classifier label)
classifier basis: classifier_2025
1 ran · 0 no recorded run
dee0512/Temporally-Layered-Architecture marked official in Papers with Code
Papers with Code archive
4 ran · 1 no recorded run
FunctionStatusWhere it lives
Actor Ran
ran on a synthesized input · constructed an object; no result was computed
dee0512/Temporally-Layered-Architecture/model.py
code served (permissive licence) · get_code("464ed648e3d7a3e2")
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 an instance of its own class, Actor: the run constructed the object and did not call it, so no result was computed. 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 torch
import torch.nn as nn

torch.manual_seed(0)

# Define the arguments for the Actor class
ARGS = {
    "state_dim": 4,
    "action_dim": 3,
    "max_action": 1.0,
    "neurons": [400, 300]
}
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 Actor — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a Actor 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
Critic Ran
ran on a synthesized input
dee0512/Temporally-Layered-Architecture/model.py
code served (permissive licence) · get_code("0a41250eec295ce6")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, class construct-then-call prompt, model not recorded) and returned tuple. 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 torch
import torch.nn as nn
import torch.nn.functional as F

class Critic(nn.Module):

    def __init__(self, state_dim, action_dim, neurons=[400, 300]):
        super(Critic, self).__init__()
        self.l1 = nn.Linear(state_dim + action_dim, neurons[0])
        self.l2 = nn.Linear(neurons[0], neurons[1])
        self.l3 = nn.Linear(neurons[1], 1)
        self.l4 = nn.Linear(state_dim + action_dim, neurons[0])
        self.l5 = nn.Linear(neurons[0], neurons[1])
        self.l6 = nn.Linear(neurons[1], 1)

    def forward(self, state, action):
        sa = torch.cat([state, action], 1)
        q1 = F.relu(self.l1(sa))
        q1 = F.relu(self.l2(q1))
        q1 = self.l3(q1)
        q2 = F.relu(self.l4(sa))
        q2 = F.relu(self.l5(q2))
        q2 = self.l6(q2)
        return (q1, q2)

    def Q1(self, state, action):
        sa = torch.cat([state, action], 1)
        q1 = F.relu(self.l1(sa))
        q1 = F.relu(self.l2(q1))
        q1 = self.l3(q1)
        return q1


INIT_ARGS = {
    'state_dim': 4,
    'action_dim': 3,
    'neurons': [16, 8]
}

ARGS = {
    'state': torch.randn(2, 4),
    'action': torch.randn(2, 3)
}

if __name__ == '__main__':
    critic = Critic(**INIT_ARGS)
    q1, q2 = critic(**ARGS)
    print(f"Q1 shape: {q1.shape}, Q2 shape: {q2.shape}")
    print(f"Q1 output: {q1}")
    print(f"Q2 output: {q2}")
Setup block drafted by
a language model, class construct-then-call prompt, model not recorded
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is 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: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
Q Ran
ran on a synthesized input · constructed an object; no result was computed
dee0512/Temporally-Layered-Architecture/model.py
code served (permissive licence) · get_code("4cfa4869be2885b7")
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 an instance of its own class, Q: the run constructed the object and did not call it, so no result was computed. 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 torch
import torch.nn as nn
import torch.nn.functional as F

torch.manual_seed(0)

ARGS = {
    'input_dim': 4,
    'skip_dim': 3,
    'non_linearity': F.relu,
}
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 Q — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a Q 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
TD3 Ran
ran on a synthesized input · constructed an object; no result was computed
dee0512/Temporally-Layered-Architecture/model.py
code served (permissive licence) · get_code("a965e50dc543532e")
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 an instance of its own class, TD3: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is 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 torch
import torch.nn as nn
import copy

torch.manual_seed(0)

# Define a minimal replay buffer that satisfies the sample() call
class ReplayBuffer:
    def __init__(self, state_dim, action_dim, batch_size=2):
        self.state_dim = state_dim
        self.action_dim = action_dim
        self.batch_size = batch_size
    
    def sample(self, batch_size):
        # Return (state, action, next_state, reward, not_done)
        state = torch.randn(batch_size, self.state_dim)
        action = torch.randn(batch_size, self.action_dim)
        next_state = torch.randn(batch_size, self.state_dim)
        reward = torch.randn(batch_size, 1)
        not_done = torch.ones(batch_size, 1)
        return state, action, next_state, reward, not_done

# Set up parameters for TD3
state_dim = 4
action_dim = 3
max_action = 1.0
discount = 0.99
tau = 0.005
policy_noise = 0.2
noise_clip = 0.5
policy_freq = 2
neurons = [400, 300]
lr = 0.0003

# Create replay buffer
replay_buffer = ReplayBuffer(state_dim=state_dim, action_dim=action_dim)

# Construct ARGS dict with all TD3 parameters
ARGS = {
    'state_dim': state_dim,
    'action_dim': action_dim,
    'max_action': max_action,
    'discount': discount,
    'tau': tau,
    'policy_noise': policy_noise,
    'noise_clip': noise_clip,
    'policy_freq': policy_freq,
    'neurons': neurons,
    'lr': lr,
}
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 TD3 — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a TD3 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
evaluate_policy Ran
ran, honoured the contract we drafted
dee0512/sequence-reinforcement-learning/scripts/eval_sac.py
code served (permissive licence) · get_code("54f3f957abc96d34")
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) and returned float, 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 torch.nn as nn

torch.manual_seed(0)

# Define a minimal policy that implements select_action
class MinimalPolicy(nn.Module):
    def __init__(self, state_dim, action_dim):
        super().__init__()
        self.linear = nn.Linear(state_dim, action_dim)
    
    def select_action(self, state, evaluate=False):
        # state is expected to be a tensor or array-like
        if not isinstance(state, torch.Tensor):
            state = torch.tensor(state, dtype=torch.float32)
        action = self.linear(state)
        return action

# Define a minimal environment that implements reset and step
class MinimalEnv:
    def __init__(self, state_dim, action_dim):
        self.state_dim = state_dim
        self.action_dim = action_dim
        self.step_count = 0
        self.max_steps = 5
    
    def reset(self):
        self.step_count = 0
        return torch.zeros(self.state_dim)
    
    def step(self, action):
        self.step_count += 1
        next_state = torch.randn(self.state_dim)
        reward = 1.0
        done = self.step_count >= self.max_steps
        info = {}
        return next_state, reward, done, info

# Create instances
state_dim = 4
action_dim = 3

policy = MinimalPolicy(state_dim, action_dim)
eval_env = MinimalEnv(state_dim, action_dim)

ARGS = {
    "policy": policy,
    "eval_env": eval_env,
    "action_dim": action_dim,
    "steps": 2
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float, 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
TLA Not yet run
unverified (harvested, no recorded run)
dee0512/Temporally-Layered-Architecture/model.py
code served (permissive licence) · get_code("d64a2fb8d7232eee")
How it ran

no invocation recorded.

Also present in other papers' code

Of 6 samples lifted from this paper's linked repositories, 6 carry a function identity and 0 do not. Of the 6 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 6 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.

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

Reinforcement learning (RL) is rapidly reaching and surpassing human-level control capabilities. However, state-of-the-art RL algorithms often require timesteps and reaction times significantly faster than human capabilities, which is impractical in real-world settings and typically necessitates specialized hardware. We introduce Sequence Reinforcement Learning (SRL), an RL algorithm designed to produce a sequence of actions for a given input state, enabling effective control at lower decision frequencies. SRL addresses the challenges of learning action sequences by employing both a model and an actor-critic architecture operating at different temporal scales. We propose a "temporal recall" mechanism, where the critic uses the model to estimate intermediate states between primitive actions, providing a learning signal for each individual action within the sequence. Once training is complete, the actor can generate action sequences independently of the model, achieving model-free control at a slower frequency. We evaluate SRL on a suite of continuous control tasks, demonstrating that it achieves performance comparable to state-of-the-art algorithms while significantly reducing actor sample complexity. To better assess performance across varying decision frequencies, we introduce the Frequency-Averaged Score (FAS) metric. Our results show that SRL significantly outperforms traditional RL algorithms in terms of FAS, making it particularly suitable for applications requiring variable decision frequencies. Furthermore, we compare SRL with model-based online planning, showing that SRL achieves comparable FAS while leveraging the same model during training that online planners use for planning.

For agents

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

get_harvested_code_for_paper("2410.08979")
get_code_for_paper("2410.08979")
have("2410.08979")

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

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

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

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

Connect an agent — have() is free.