SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2305.14343 · 2023

Video Prediction Models as Rewards for Reinforcement Learning

arXiv · PDF · Open in the Atlas

Code that ran

12 of 15 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; 2 honoured the contract we drafted, 0 violated it and 4 have no contract verdict; 6 failures of our instrument; 3 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/2305.14343.json · badge: /api/ran/2305.14343.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
Alescontrela/viper_rl community (classifier label)
classifier basis not recorded on the link
9 ran · 2 no recorded run
nyuolab/VIPER-torch reimplementation (classifier label)
classifier basis: classifier_2025
2 ran · 1 no recorded run
copy not recorded community
not in the paper's declared repositories
1 ran · 0 no recorded run
FunctionStatusWhere it lives
cast_to_compute Ran
ran; our contract draft was wrong, not the code
Alescontrela/viper_rl/viper_rl/dreamerv3/jaxutils.py
code served (permissive licence) · get_code("24fe13b4f847da6b")
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 dict. 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 jax
import jax.numpy as jnp
import numpy as np

tree_map = jax.tree_util.tree_map

COMPUTE_DTYPE = jnp.float32

def cast_to_compute(values):
    return tree_map(lambda x: x.astype(COMPUTE_DTYPE), values)

# Create test data with various nested structures and data types
# The function uses tree_map to apply astype conversion to all leaves

# Single array
single_array = jnp.array([1.0, 2.0, 3.0, 4.0], dtype=jnp.float64)

# Nested structure: dict of arrays
nested_dict = {
    "tensor1": jnp.array([[1, 2, 3, 4], [5, 6, 7, 8]], dtype=jnp.int32),
    "tensor2": jnp.array([1.5, 2.5, 3.5, 4.5], dtype=jnp.float64),
    "nested": {
        "tensor3": jnp.array([[1.0, 2.0], [3.0, 4.0]], dtype=jnp.float64)
    }
}

# List of arrays
list_arrays = [
    jnp.array([1, 2, 3, 4], dtype=jnp.int32),
    jnp.array([1.1, 2.2, 3.3, 4.4], dtype=jnp.float64)
]

# Tuple of arrays
tuple_arrays = (
    jnp.array([1.0, 2.0, 3.0, 4.0], dtype=jnp.float64),
    jnp.array([[5.0, 6.0], [7.0, 8.0]], dtype=jnp.float64)
)

ARGS = {
    "values": nested_dict
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
jax, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict 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
count_steps Ran
ran, honoured the contract we drafted
this paper's copy was not recorded; identical code first harvested from nicolinho/dutd
pointer only; the stored copy get_code serves, from nicolinho/dutd, is pointer only (licence: NONE) · get_code("b7ff9ef9697d35f1")
How it ran

The body of this sample is withheld: this paper's copy of the code was not recorded (its link names no repository or source path), so no licence was read for it. 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.

extract_iteration Ran
ran, honoured the contract we drafted
nyuolab/VIPER-torch/scripts/train_vqgan.py
code served (permissive licence) · get_code("688edacb9a7e28a4")
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 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 re

def extract_iteration(filename):
    match = re.search('checkpoint_(\\d+).pth', filename)
    return int(match.group(1)) if match else 0

ARGS = {
    'filename': 'checkpoint_42.pth'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
none outside the standard library — 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
gelu2 Ran
ran on a synthesized input
Alescontrela/viper_rl/viper_rl/videogpt/models/transformer.py
code served (permissive licence) · get_code("f22419e1c6850259")
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 ArrayImpl, ndim 2, dtype family float, shape (2, 4) 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 jax
import jax.numpy as jnp
import flax.linen as nn

# The function gelu2 takes a single parameter x and applies:
# nn.sigmoid(1.702 * x) * x
# So x should be a JAX array (jnp array)

# Create a small test array
x = jnp.array([[1.0, 2.0, 3.0, 4.0],
               [5.0, 6.0, 7.0, 8.0]], dtype=jnp.float32)

ARGS = {
    "x": x
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
flax, jax — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ArrayImpl, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) 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_act Ran
ran; our contract draft was wrong, not the code
Alescontrela/viper_rl/viper_rl/dreamerv3/nets.py
code served (permissive licence) · get_code("03dd934385b4d240")
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 custom_jvp. 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 jax
import jax.numpy as jnp

def get_act(name):
    if callable(name):
        return name
    elif name == 'none':
        return lambda x: x
    elif name == 'mish':
        return lambda x: x * jnp.tanh(jax.nn.softplus(x))
    elif hasattr(jax.nn, name):
        return getattr(jax.nn, name)
    else:
        raise NotImplementedError(name)

# Test with string name 'relu'
ARGS = {
    'name': 'relu'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
jax — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type custom_jvp — a custom_jvp output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a custom_jvp 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
load_npz Ran
ran on a synthesized input
Alescontrela/viper_rl/viper_rl/videogpt/data.py
code served (permissive licence) · get_code("3420673d38aa9a45")
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 _MapDataset. 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 os
import tempfile
import numpy as np
import tensorflow as tf

# Create a temporary directory structure for the test
temp_dir = tempfile.mkdtemp()
train_dir = os.path.join(temp_dir, 'train')
test_dir = os.path.join(temp_dir, 'test')
os.makedirs(train_dir, exist_ok=True)
os.makedirs(test_dir, exist_ok=True)

# Create dummy npz files for train split
for i in range(3):
    video_data = np.random.randint(0, 255, (8, 4, 3), dtype=np.uint8)
    np.savez(os.path.join(train_dir, f'video_{i}.npz'), video_data)

# Create dummy npz files for test split
for i in range(2):
    video_data = np.random.randint(0, 255, (8, 4, 3), dtype=np.uint8)
    np.savez(os.path.join(test_dir, f'video_{i}.npz'), video_data)

# Create a config class with the expected attributes
class Config:
    def __init__(self):
        self.seq_len = 4
        self.frame_skip = 2

config = Config()

# Create a mask (optional, can be None or a numpy array)
mask = np.ones((4, 3), dtype=np.float32)

ARGS = {
    'config': config,
    'data_path': temp_dir,
    'train': True,
    'n_shards': 2,
    'shard_id': 0,
    'mask': mask
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type _MapDataset — a _MapDataset output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a _MapDataset 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
minibatch_stddev_layer Ran
ran on a synthesized input
Alescontrela/viper_rl/viper_rl/videogpt/models/stylegan_disc.py
code served (permissive licence) · get_code("9482258884b8a214")
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 ArrayImpl, ndim 4, dtype family float, shape (4, 8, 6, 15) 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 jax
import jax.numpy as jnp

# Create a small minibatch of data
# Shape: (batch_size=4, height=8, width=6, channels=12)
# Using distinct sizes: 4, 8, 6, 12
x = jnp.zeros((4, 8, 6, 12))

ARGS = {
    "x": x,
    "group_size": 2,
    "num_new_features": 3,
    "is_initializing": True,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
jax — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ArrayImpl, ndim 4, dtype family float, shape (4, 8, 6, 15) — shape (4, 8, 6, 15) 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
prepare Ran
ran on a synthesized input
Alescontrela/viper_rl/viper_rl/videogpt/data.py
code served (permissive licence) · get_code("d189db7683bb8237")
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 map. 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 os
import jax
import tensorflow as tf
import numpy as np

# Create a small TensorFlow dataset
# The dataset should yield tuples or single tensors that can be batched
def create_test_dataset():
    # Create sample data: simple numpy arrays
    x_data = np.random.randn(10, 4).astype(np.float32)
    y_data = np.random.randn(10, 3).astype(np.float32)
    
    # Create a tf.data.Dataset from tensors
    dataset = tf.data.Dataset.from_tensor_slices((x_data, y_data))
    return dataset

dataset = create_test_dataset()
batch_size = 2
initial_shape = (2, 2)

ARGS = {
    "dataset": dataset,
    "batch_size": batch_size,
    "initial_shape": initial_shape,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
jax, numpy, tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type map — a map output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a map 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
pure Ran
ran; our contract draft was wrong, not the code
Alescontrela/viper_rl/viper_rl/dreamerv3/ninjax.py
code served (permissive licence) · get_code("5f596558510431da")
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 jax
import jax.numpy as jnp

def dummy_impure_function(x, y):
    """A simple impure function that accesses global context."""
    ctx = context()
    # Access state
    if 'counter' not in ctx:
        ctx['counter'] = 0
    ctx['counter'] += 1
    # Use rng
    key = rng()
    result = x + y + ctx['counter']
    return result

def context():
    """Access and modify the global context from within an impure function."""
    import threading
    context_obj = CONTEXT.get(threading.get_ident(), None)
    if context_obj is None:
        raise RuntimeError('Wrap impure functions in pure() before running them.')
    return context_obj

# Define arguments for the pure() function
ARGS = {
    'fun': dummy_impure_function,
    'nested': False,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
jax — 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
subsample Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
Alescontrela/viper_rl/viper_rl/dreamerv3/jaxutils.py
code served (permissive licence) · get_code("e5b1910ea05891b1")
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 ArrayImpl, ndim 1, dtype family float, shape (8,) 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 jax
import jax.numpy as jnp
import numpy as np

# Mock nj module since the function references nj.rng()
class MockNJ:
    @staticmethod
    def rng():
        return jax.random.PRNGKey(0)

nj = MockNJ()

# Create test data
values = jnp.array([[1.0, 2.0, 3.0, 4.0],
                    [5.0, 6.0, 7.0, 8.0]])

ARGS = {
    "values": values,
    "amount": 1024
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
jax, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ArrayImpl, ndim 1, dtype family float, shape (8,) — shape (8,) 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
tensorstats Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
Alescontrela/viper_rl/viper_rl/dreamerv3/jaxutils.py
code served (permissive licence) · get_code("67c6d2355562342f")
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 dict. 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 jax
import jax.numpy as jnp
import jax.random as jr

# Create a simple RNG key for JAX
key = jr.PRNGKey(0)

# Create a small test tensor (2x4 = 8 elements)
tensor = jnp.array([[1.0, 2.0, 3.0, 4.0],
                     [5.0, 6.0, 7.0, 8.0]])

# Define ARGS with all parameters for tensorstats
ARGS = {
    'tensor': tensor,
    'prefix': 'test'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
jax — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict 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
train_step Ran
ran; our contract draft was wrong, not the code
nyuolab/VIPER-torch/scripts/train_vqgan.py
code served (permissive licence) · get_code("1afd8c944e46c401")
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 tuple, 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
import torch.optim as optim

torch.manual_seed(0)

class SimpleGAN(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear = nn.Linear(4, 3)
    
    def loss_G(self, batch):
        # Generator loss
        x = batch['x']
        output = self.linear(x)
        loss_G = output.mean()
        aux_G = {'loss_G': loss_G.item(), 'gen_metric': 0.5}
        return loss_G, aux_G
    
    def loss_D(self, batch):
        # Discriminator loss
        x = batch['x']
        output = self.linear(x)
        loss_D = output.sum()
        aux_D = {'loss_D': loss_D.item(), 'disc_metric': 0.3}
        return loss_D, aux_D

class State:
    def __init__(self, model, device):
        self.model = model
        self.G_optimizer = optim.Adam(model.parameters(), lr=0.001)
        self.D_optimizer = optim.SGD(model.parameters(), lr=0.001)

model = SimpleGAN()
device = 'cpu'
state = State(model, device)

batch = {
    'x': torch.randn(2, 4),
    'y': torch.randn(2, 3)
}

ARGS = {
    'batch': batch,
    'state': state,
    'device': device
}
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 tuple, ndim 1, 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
grad Not yet run
unverified (harvested, no recorded run)
Alescontrela/viper_rl/viper_rl/dreamerv3/ninjax.py
code served (permissive licence) · get_code("afd5fe78d3d65a81")
How it ran

no invocation recorded.

rng Not yet run
unverified (harvested, no recorded run)
Alescontrela/viper_rl/viper_rl/dreamerv3/ninjax.py
code served (permissive licence) · get_code("a03f3f2133e3fcee")
How it ran

no invocation recorded.

train_step Not yet run
unverified (harvested, no recorded run)
nyuolab/VIPER-torch/scripts/train_videogpt.py
code served (permissive licence) · get_code("ecce8632ff15a248")
How it ran

no invocation recorded.

Also present in other papers' code

Of 15 samples lifted from this paper's linked repositories, 15 carry a function identity and 0 do not. Of the 15 distinct functions with an identity, 8 are also present in other papers whose code we hold (6 with at least one paper dated earlier, 0 the same month, 8 later) and 7 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
get_act 9 other papers
1 dated earlier, 8 later
2303.03226 (2023-03)
Safe Reinforcement Learning via Probabilistic Logic Shields
2306.11488 (2023-06)
Informed POMDP: Leveraging Additional Information in Model-Based RL
2307.07176 (2023-07)
SAFEDREAMER: SAFE REINFORCEMENT LEARNING WITH WORLD MODEL
and 6 more not named here
count_steps 8 other papers
5 dated earlier, 3 later
2110.09514 (2021-10)
Discovering and Achieving Goals via World Models
2205.13817 (2022-05)
Iso-Dream: Isolating and Leveraging Noncontrollable Visual Dynamics in World Models
2210.11698 (2022-10)
Learning Robust Dynamics through Variational Sparse Gating
and 5 more not named here
grad 6 other papers
1 dated earlier, 5 later
2303.03226 (2023-03)
Safe Reinforcement Learning via Probabilistic Logic Shields
2306.11488 (2023-06)
Informed POMDP: Leveraging Additional Information in Model-Based RL
2307.07176 (2023-07)
SAFEDREAMER: SAFE REINFORCEMENT LEARNING WITH WORLD MODEL
and 3 more not named here
pure 6 other papers
1 dated earlier, 5 later
2303.03226 (2023-03)
Safe Reinforcement Learning via Probabilistic Logic Shields
2306.11488 (2023-06)
Informed POMDP: Leveraging Additional Information in Model-Based RL
2307.07176 (2023-07)
SAFEDREAMER: SAFE REINFORCEMENT LEARNING WITH WORLD MODEL
and 3 more not named here
rng 6 other papers
1 dated earlier, 5 later
2303.03226 (2023-03)
Safe Reinforcement Learning via Probabilistic Logic Shields
2306.11488 (2023-06)
Informed POMDP: Leveraging Additional Information in Model-Based RL
2307.07176 (2023-07)
SAFEDREAMER: SAFE REINFORCEMENT LEARNING WITH WORLD MODEL
and 3 more not named here
cast_to_compute 5 other papers
1 dated earlier, 4 later
2303.03226 (2023-03)
Safe Reinforcement Learning via Probabilistic Logic Shields
2306.11488 (2023-06)
Informed POMDP: Leveraging Additional Information in Model-Based RL
2307.07176 (2023-07)
SAFEDREAMER: SAFE REINFORCEMENT LEARNING WITH WORLD MODEL
and 2 more not named here
subsample 5 other papers
5 later
2306.11488 (2023-06)
Informed POMDP: Leveraging Additional Information in Model-Based RL
2307.07176 (2023-07)
SAFEDREAMER: SAFE REINFORCEMENT LEARNING WITH WORLD MODEL
2310.00344 (2023-10)
HarmonyDream: Task Harmonization Inside World Models
and 2 more not named here
tensorstats 5 other papers
5 later
2306.11488 (2023-06)
Informed POMDP: Leveraging Additional Information in Model-Based RL
2307.07176 (2023-07)
SAFEDREAMER: SAFE REINFORCEMENT LEARNING WITH WORLD MODEL
2310.00344 (2023-10)
HarmonyDream: Task Harmonization Inside World Models
and 2 more not named here

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

Specifying reward signals that allow agents to learn complex behaviors is a long-standing challenge in reinforcement learning. A promising approach is to extract preferences for behaviors from unlabeled videos, which are widely available on the internet. We present Video Prediction Rewards (VIPER), an algorithm that leverages pretrained video prediction models as action-free reward signals for reinforcement learning. Specifically, we first train an autoregressive transformer on expert videos and then use the video prediction likelihoods as reward signals for a reinforcement learning agent. VIPER enables expert-level control without programmatic task rewards across a wide range of DMC, Atari, and RLBench tasks. Moreover, generalization of the video prediction model allows us to derive rewards for an out-of-distribution environment where no expert data is available, enabling cross-embodiment generalization for tabletop manipulation. We see our work as starting point for scalable reward specification from unlabeled videos that will benefit from the rapid advances in generative modeling. Source code and datasets are available on the project website: https://escontrela.me/viper

For agents

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

get_harvested_code_for_paper("2305.14343")
get_code_for_paper("2305.14343")
have("2305.14343")

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

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

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

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

Connect an agent — have() is free.