SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1812.02900 · 2018

Off-Policy Deep Reinforcement Learning without Exploration

Doina Precup, David Meger, Scott Fujimoto

arXiv · PDF · Open in the Atlas

Code that ran

14 of 14 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (12 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 0 violated it and 13 have no contract verdict; 0 failures of our instrument; 0 no recorded run), measured 2026-11-24; 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/1812.02900.json · badge: /api/ran/1812.02900.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
theSparta/off_policy_mujoco community
Papers with Code archive
4 ran · 0 no recorded run
maziarg/PrivAttack-BCQ community
Papers with Code archive
4 ran · 0 no recorded run
thxsxth/POMDP_RLSepsis community
Papers with Code archive
3 ran · 0 no recorded run
massquantity/DBRL community
Papers with Code archive
1 ran · 0 no recorded run
HzcIrving/DLRL-PlayGround community
Papers with Code archive
1 ran · 0 no recorded run
sparkmxy/my-offlinerl community
Papers with Code archive
1 ran · 0 no recorded run
FunctionStatusWhere it lives
Actor Ran
ran on a synthesized input · constructed an object; no result was computed
theSparta/off_policy_mujoco/RSEM.py
pointer only (licence: NONE) · get_code("a4c895a75dcac04b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, theSparta/off_policy_mujoco 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.

Actor Ran
ran on a synthesized input · constructed an object; no result was computed
maziarg/PrivAttack-BCQ/continuous_BCQ/BCQ.py
code served (permissive licence) · get_code("fa0f609acc14b1b7")
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 parameters for Actor
state_dim = 4
action_dim = 3
max_action = 1.0
phi = 0.05

ARGS = {
    "state_dim": state_dim,
    "action_dim": action_dim,
    "max_action": max_action,
    "phi": phi,
}
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
Actor Ran
ran on a synthesized input · constructed an object; no result was computed
thxsxth/POMDP_RLSepsis/RL/other RL attempts/BCQ_models.py
pointer only (licence: NONE) · get_code("f8f318e0c81d2112")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, thxsxth/POMDP_RLSepsis 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.

BCQ Ran
ran on a synthesized input · constructed an object; no result was computed
massquantity/DBRL/dbrl/models/bcq.py
pointer only (licence: NONE) · get_code("c9c4a9b681f93589")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, massquantity/DBRL 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.

BCQ Ran
ran on a synthesized input · constructed an object; no result was computed
maziarg/PrivAttack-BCQ/continuous_BCQ/BCQ.py
code served (permissive licence) · get_code("b1e9a6c042a3aa75")
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, BCQ: 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 copy

torch.manual_seed(0)

state_dim = 4
action_dim = 3
max_action = 1.0
device = 'cpu'
discount = 0.99
tau = 0.005
lmbda = 0.75
phi = 0.05

ARGS = {
    'state_dim': state_dim,
    'action_dim': action_dim,
    'max_action': max_action,
    'device': device,
    'discount': discount,
    'tau': tau,
    'lmbda': lmbda,
    'phi': phi
}
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 BCQ — 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 BCQ 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
BCQ Ran
ran on a synthesized input · constructed an object; no result was computed
thxsxth/POMDP_RLSepsis/RL/other RL attempts/BCQ_models.py
pointer only (licence: NONE) · get_code("c582768c3f585aac")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, thxsxth/POMDP_RLSepsis 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.

BCQ Ran
ran on a synthesized input
HzcIrving/DLRL-PlayGround/Offline RL/BCQ/BCQ.py
code served (permissive licence) · get_code("8c05bd3cd12f39cd")
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 NoneType. 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 numpy as np

# Mock replay buffer for the train method
class MockReplayBuffer:
    def __init__(self, state_dim, action_dim, device):
        self.state_dim = state_dim
        self.action_dim = action_dim
        self.device = device
    
    def sample(self, batch_size):
        state = torch.randn(batch_size, self.state_dim).to(self.device)
        action = torch.randn(batch_size, self.action_dim).to(self.device)
        next_state = torch.randn(batch_size, self.state_dim).to(self.device)
        reward = torch.randn(batch_size, 1).to(self.device)
        not_done = torch.ones(batch_size, 1).to(self.device)
        return state, action, next_state, reward, not_done

state_dim = 5
action_dim = 3
max_action = 1.0
device = torch.device('cpu')

INIT_ARGS = {
    'state_dim': state_dim,
    'action_dim': action_dim,
    'max_action': max_action,
    'device': device,
    'discount': 0.99,
    'tau': 0.005,
    'lmbda': 0.75,
    'phi': 0.05
}

replay_buffer = MockReplayBuffer(state_dim, action_dim, device)

ARGS = {
    'replay_buffer': replay_buffer,
    'iterations': 2,
    'batch_size': 4
}

METHOD = 'train'
Setup block drafted by
a language model, class construct-then-call prompt, model not recorded
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type NoneType — a NoneType output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a NoneType 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: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
BCQPolicy Ran
ran on a synthesized input · constructed an object; no result was computed
sparkmxy/my-offlinerl/offlinerl/algo/modelfree/bcq.py
pointer only (licence: NONE) · get_code("d0ff87764918534f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, sparkmxy/my-offlinerl 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.

Critic Ran
ran on a synthesized input · constructed an object; no result was computed
theSparta/off_policy_mujoco/RSEM.py
pointer only (licence: NONE) · get_code("5bd57f3d9b802889")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, theSparta/off_policy_mujoco 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.

Critic Ran
ran on a synthesized input · constructed an object; no result was computed
maziarg/PrivAttack-BCQ/continuous_BCQ/BCQ.py
code served (permissive licence) · get_code("48b14528ccc28930")
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, Critic: 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)

# The Critic class expects:
# - state_dim: integer dimension of state
# - action_dim: integer dimension of action

state_dim = 4
action_dim = 3

ARGS = {
    "state_dim": state_dim,
    "action_dim": action_dim,
}
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 Critic — 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 Critic 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
RSEM Ran
ran on a synthesized input · constructed an object; no result was computed
theSparta/off_policy_mujoco/RSEM.py
pointer only (licence: NONE) · get_code("39b2df9b5836adaa")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, theSparta/off_policy_mujoco 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.

VAE Ran
ran on a synthesized input · constructed an object; no result was computed
maziarg/PrivAttack-BCQ/continuous_BCQ/BCQ.py
code served (permissive licence) · get_code("a10b65bd9d484e03")
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, VAE: 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)

state_dim = 4
action_dim = 3
latent_dim = 5
max_action = 1.0
device = 'cpu'

ARGS = {
    'state_dim': state_dim,
    'action_dim': action_dim,
    'latent_dim': latent_dim,
    'max_action': max_action,
    'device': device
}
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 VAE — 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 VAE 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
VAE Ran
ran on a synthesized input · constructed an object; no result was computed
thxsxth/POMDP_RLSepsis/RL/other RL attempts/BCQ_models.py
pointer only (licence: NONE) · get_code("e3a9f4f45dc4af4e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, thxsxth/POMDP_RLSepsis 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.

simplex_sample Ran
ran, honoured the contract we drafted
theSparta/off_policy_mujoco/RSEM.py
pointer only (licence: NONE) · get_code("b5629ba35995f571")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, theSparta/off_policy_mujoco 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.

Also present in other papers' code

Of 14 samples lifted from this paper's linked repositories, 14 carry a function identity and 0 do not. Of the 14 distinct functions with an identity, 2 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 0 the same month, 1 later) and 12 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
Actor
brick of this paper's assembly: model
1 other paper
1 dated earlier
1509.02971 (2015-09)
Continuous control with deep reinforcement learning
VAE
brick of this paper's assembly: model
1 other paper
1 later
2405.19909 (2024-05)
Adaptive Advantage-Guided Policy Regularization for Offline 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-24.

Repositories linked to this paper

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

Abstract

Many practical applications of reinforcement learning constrain agents to learn from a fixed batch of data which has already been gathered, without offering further possibility for data collection. In this paper, we demonstrate that due to errors introduced by extrapolation, standard offpolicy deep reinforcement learning algorithms, such as DQN and DDPG, are incapable of learning without data correlated to the distribution under the current policy, making them ineffective for this fixed batch setting. We introduce a novel class of off-policy algorithms, batch-constrained reinforcement learning, which restricts the action space in order to force the agent towards behaving close to on-policy with respect to a subset of the given data. We present the first continuous control deep reinforcement learning algorithm which can learn effectively from arbitrary, fixed batch data, and empirically demonstrate the quality of its behavior in several tasks.

For agents

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

get_harvested_code_for_paper("1812.02900")
get_code_for_paper("1812.02900")
have("1812.02900")

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

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

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

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

Connect an agent — have() is free.