SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2310.16828 · ICLR · 2024

Scalable, Robust World Models for Continuous Control

Xiaolong Wang, Nicklas Hansen, Hao Su, Td-Mpc Td-Mpc2

arXiv · PDF · Open in the Atlas

Code that ran

12 of 16 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (4 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 0 violated it and 5 have no contract verdict; 6 failures of our instrument; 4 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/2310.16828.json · badge: /api/ran/2310.16828.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
nicklashansen/tdmpc community
Papers with Code archive
12 ran · 4 no recorded run
FunctionStatusWhere it lives
Flatten Ran
ran on a synthesized input
nicklashansen/tdmpc/src/algorithm/tdmpc.py
code served (permissive licence) · get_code("9dea847acca74082")
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 Tensor, ndim 2, dtype family float, shape (2, 12) 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

class Flatten(nn.Module):
    """Flattens its input to a (batched) vector."""

    def __init__(self):
        super().__init__()

    def forward(self, x):
        return x.view(x.size(0), -1)


INIT_ARGS = {}

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

if __name__ == '__main__':
    model = Flatten(**INIT_ARGS)
    output = model(**ARGS)
    print(f"Input shape: {ARGS['x'].shape}")
    print(f"Output shape: {output.shape}")
    print(f"Output:\n{output}")
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 Tensor, ndim 2, dtype family float, shape (2, 12) — shape (2, 12) 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: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
NormalizeImg Ran
ran on a synthesized input · constructed an object; no result was computed
nicklashansen/tdmpc/src/algorithm/tdmpc.py
code served (permissive licence) · get_code("7a8313be8d3f662a")
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, NormalizeImg: 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)

ARGS = {}
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 NormalizeImg — 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 NormalizeImg 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
RandomShiftsAug Ran
ran on a synthesized input · constructed an object; no result was computed
nicklashansen/tdmpc/src/algorithm/tdmpc.py
code served (permissive licence) · get_code("1d090f2859ae6ba6")
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, RandomShiftsAug: 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)

class Config:
    def __init__(self, img_size, modality):
        self.img_size = img_size
        self.modality = modality

# Create a config for pixels modality (which triggers padding)
cfg_pixels = Config(img_size=84, modality='pixels')

ARGS = {
    'cfg': cfg_pixels
}
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 RandomShiftsAug — 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 RandomShiftsAug 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
TOLD Ran
ran on a synthesized input · constructed an object; no result was computed
nicklashansen/tdmpc/src/algorithm/tdmpc.py
code served (permissive licence) · get_code("6af17681578fbbb9")
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, TOLD: 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 numpy as np

torch.manual_seed(0)

class Config:
    """Minimal config object for TOLD."""
    def __init__(self):
        self.modality = 'state'  # not 'pixels' to avoid expensive conv computation
        self.obs_shape = (5,)
        self.action_dim = 3
        self.latent_dim = 4
        self.mlp_dim = 8
        self.enc_dim = 8
        self.frame_stack = 1
        self.num_channels = 16
        self.img_size = 64

class MockModule(nn.Module):
    """Minimal mock module that mimics needed structure."""
    def __init__(self, in_dim, out_dim):
        super().__init__()
        self.linear = nn.Linear(in_dim, out_dim)
    
    def forward(self, x):
        return self.linear(x)

# Create config
cfg = Config()

# Create minimal TOLD-like module with the structure used in __init__
class MinimalTOLD(nn.Module):
    def __init__(self, cfg):
        super().__init__()
        self.cfg = cfg
        # Mimic the actual encoder for state modality
        self._encoder = nn.Sequential(
            nn.Linear(cfg.obs_shape[0], cfg.enc_dim),
            nn.ELU(),
            nn.Linear(cfg.enc_dim, cfg.latent_dim)
        )
        # Dynamics: latent + action -> latent
        self._dynamics = nn.Sequential(
            nn.Linear(cfg.latent_dim + cfg.action_dim, cfg.mlp_dim),
            nn.ELU(),
            nn.Linear(cfg.mlp_dim, cfg.mlp_dim),
            nn.ELU(),
            nn.Linear(cfg.mlp_dim, cfg.latent_dim)
        )
        # Reward: latent + action -> 1
        self._reward = nn.Sequential(
            nn.Linear(cfg.latent_dim + cfg.action_dim, cfg.mlp_dim),
            nn.ELU(),
            nn.Linear(cfg.mlp_dim, cfg.mlp_dim),
            nn.ELU(),
            nn.Linear(cfg.mlp_dim, 1)
        )
        # Policy: latent -> action
        self._pi = nn.Sequential(
            nn.Linear(cfg.latent_dim, cfg.mlp_dim),
            nn.ELU(),
            nn.Linear(cfg.mlp_dim, cfg.mlp_dim),
            nn.ELU(),
            nn.Linear(cfg.mlp_dim, cfg.action_dim)
        )
        # Q-functions: (latent + action) -> 1
        self._Q1 = nn.Sequential(
            nn.Linear(cfg.latent_dim + cfg.action_dim, cfg.mlp_dim),
            nn.LayerNorm(cfg.mlp_dim),
            nn.Tanh(),
            nn.Linear(cfg.mlp_dim, cfg.mlp_dim),
            nn.ELU(),
            nn.Linear(cfg.mlp_dim, 1)
        )
        self._Q2 = nn.Sequential(
            nn.Linear(cfg.latent_dim + cfg.action_dim, cfg.mlp_dim),
            nn.LayerNorm(cfg.mlp_dim),
            nn.Tanh(),
            nn.Linear(cfg.mlp_dim, cfg.mlp_dim),
            nn.ELU(),
            nn.Linear(cfg.mlp_dim, 1)
        )
    
    def h(self, obs):
        return self._encoder(obs)
    
    def next(self, z, a):
        x = torch.cat([z, a], dim=-1)
        return (self._dynamics(x), self._reward(x))
    
    def pi(self, z, std=0):
        mu = torch.tanh(self._pi(z))
        if std > 0:
            std = torch.ones_like(mu) * std
            return mu  # simplified, just return mu
        return mu
    
    def Q(self, z, a):
        x = torch.cat([z, a], dim=-1)
        return self._Q1(x), self._Q2(x)
    
    def track_q_grad(self, enable=True):
        for m in [self._Q1, self._Q2]:
            for param in m.parameters():
                param.requires_grad_(enable)

ARGS = {
    'cfg': cfg
}
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 TOLD — 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 TOLD 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
TruncatedNormal Ran
ran on a synthesized input · constructed an object; no result was computed
nicklashansen/tdmpc/src/algorithm/tdmpc.py
code served (permissive licence) · get_code("2ad1433484aae329")
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, TruncatedNormal: 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
from torch import distributions as pyd
from torch.distributions.utils import _standard_normal

torch.manual_seed(0)

# Create small tensors for loc and scale
loc = torch.randn(2, 4)
scale = torch.abs(torch.randn(2, 4)) + 0.1  # Ensure positive values for scale

ARGS = {
    'loc': loc,
    'scale': scale,
    'low': -1.0,
    'high': 1.0,
    'eps': 1e-06
}
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 TruncatedNormal — 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 TruncatedNormal 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
_get_out_shape Ran
ran; our contract draft was wrong, not the code
nicklashansen/tdmpc/src/algorithm/tdmpc.py
code served (permissive licence) · get_code("11a89645f2f5bb75")
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 Size. 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 a simple sequential model as layers list
layers = [
    nn.Linear(4, 8),
    nn.ReLU(),
    nn.Linear(8, 3)
]

# Define input shape (tiny: 4 dimensions)
in_shape = (4,)

ARGS = {
    "in_shape": in_shape,
    "layers": layers
}
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 Size — a Size output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Size output the recorded ndim 1 and dtype family int 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
enc Ran
ran; our contract draft was wrong, not the code
nicklashansen/tdmpc/src/algorithm/tdmpc.py
code served (permissive licence) · get_code("0f175e7cdb8513e5")
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 Sequential. 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 torch
import torch.nn as nn

torch.manual_seed(0)

class Config:
    """Minimal config class for enc function."""
    def __init__(self, modality='pixels', frame_stack=1, num_channels=16, img_size=64, latent_dim=32, obs_shape=None, enc_dim=64):
        self.modality = modality
        self.frame_stack = frame_stack
        self.num_channels = num_channels
        self.img_size = img_size
        self.latent_dim = latent_dim
        self.obs_shape = obs_shape if obs_shape is not None else (8,)
        self.enc_dim = enc_dim

# Test with pixels modality
cfg_pixels = Config(
    modality='pixels',
    frame_stack=1,
    num_channels=16,
    img_size=64,
    latent_dim=32
)

# Test with state/vector modality
cfg_state = Config(
    modality='state',
    obs_shape=(8,),
    enc_dim=64,
    latent_dim=32
)

ARGS = {
    'cfg': cfg_pixels
}
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 Sequential — a Sequential output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Sequential output the recorded ndim 1 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
l1 Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
nicklashansen/tdmpc/src/algorithm/tdmpc.py
code served (permissive licence) · get_code("9925b7e4eb50dcae")
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 Tensor, 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 torch
import torch.nn.functional as F

torch.manual_seed(0)

# Create small tensors for pred and target
pred = torch.randn(2, 4)
target = torch.randn(2, 4)

ARGS = {
    'pred': pred,
    'target': target,
    'reduce': 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 Tensor, 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
linear_schedule Ran
ran, honoured the contract we drafted
nicklashansen/tdmpc/src/algorithm/tdmpc.py
code served (permissive licence) · get_code("2a9a459391fd3de7")
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 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 numpy as np
import re

def linear_schedule(schdl, step):
    """
	Outputs values following a linear decay schedule.
	Adapted from https://github.com/facebookresearch/drqv2
	"""
    try:
        return float(schdl)
    except ValueError:
        match = re.match('linear\\((.+),(.+),(.+)\\)', schdl)
        if match:
            init, final, duration = [float(g) for g in match.groups()]
            mix = np.clip(step / duration, 0.0, 1.0)
            return (1.0 - mix) * init + mix * final
    raise NotImplementedError(schdl)


# Test case 1: simple float string
ARGS = {
    "schdl": "0.5",
    "step": 10
}
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 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
mlp Ran
ran; our contract draft was wrong, not the code
nicklashansen/tdmpc/src/algorithm/tdmpc.py
code served (permissive licence) · get_code("8c6d7bf8521d9aaf")
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 Sequential. 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)

ARGS = {
    "in_dim": 4,
    "mlp_dim": 8,
    "out_dim": 3,
    "act_fn": nn.ELU()
}
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 Sequential — a Sequential output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Sequential output the recorded ndim 1 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
mse Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
nicklashansen/tdmpc/src/algorithm/tdmpc.py
code served (permissive licence) · get_code("8d8f088c9186b5d4")
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 Tensor, 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 torch
import torch.nn.functional as F

torch.manual_seed(0)

# Create small tensors for pred and target
# pred: predictions from model (batch_size=2, features=4)
pred = torch.randn(2, 4)

# target: ground truth labels (batch_size=2, features=4)
target = torch.randn(2, 4)

# reduce: boolean flag for reduction mode
reduce = False

ARGS = {
    'pred': pred,
    'target': target,
    'reduce': reduce
}
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 Tensor, 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
q Ran
ran; our contract draft was wrong, not the code
nicklashansen/tdmpc/src/algorithm/tdmpc.py
code served (permissive licence) · get_code("ff8c041f09c888e0")
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 Sequential. 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)

class Config:
    def __init__(self):
        self.latent_dim = 4
        self.action_dim = 3
        self.mlp_dim = 8

cfg = Config()
act_fn = nn.ELU()

ARGS = {
    "cfg": cfg,
    "act_fn": act_fn,
}
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 Sequential — a Sequential output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Sequential output the recorded ndim 1 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
TDMPC Not yet run
unverified (harvested, no recorded run)
nicklashansen/tdmpc/src/algorithm/tdmpc.py
code served (permissive licence) · get_code("9e643a903853d063")
How it ran

no invocation recorded.

ema Not yet run
unverified (harvested, no recorded run)
nicklashansen/tdmpc/src/algorithm/tdmpc.py
code served (permissive licence) · get_code("e39520f04bf0598d")
How it ran

no invocation recorded.

orthogonal_init Not yet run
unverified (harvested, no recorded run)
nicklashansen/tdmpc/src/algorithm/tdmpc.py
code served (permissive licence) · get_code("20ae3914de637dd8")
How it ran

no invocation recorded.

set_requires_grad Not yet run
unverified (harvested, no recorded run)
nicklashansen/tdmpc/src/algorithm/tdmpc.py
code served (permissive licence) · get_code("775e683db9b0fdc9")
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, 5 are also present in other papers whose code we hold (4 with at least one paper dated earlier, 1 the same month, 4 later) and 11 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
TruncatedNormal
brick of this paper's assembly: helper
8 other papers
4 dated earlier, 2 the same month, 2 later · 7 only as an assembly brick
2103.04551 (2021-03)
Behavior From the Void: Unsupervised Active Pre-Training
2202.10324 (2022-02)
VRL3: A Data-Driven Framework for Visual Deep Reinforcement Learning
2211.00164 (2022-11)
Principled Offline RL in the Presence of Rich Exogenous Information
and 5 more not named here
l1
brick of this paper's assembly: loss
2 other papers
1 dated earlier, 1 later
2212.05698 (2022-12)
MoDem: Accelerating Visual Model-Based Reinforcement Learning with Demonstrations
2404.03037 (2024-04)
Model-based Reinforcement Learning for Parameterized Action Spaces
mse
brick of this paper's assembly: loss
2 other papers
1 dated earlier, 1 later
2212.05698 (2022-12)
MoDem: Accelerating Visual Model-Based Reinforcement Learning with Demonstrations
2404.03037 (2024-04)
Model-based Reinforcement Learning for Parameterized Action Spaces
Flatten
brick of this paper's assembly: helper
1 other paper
1 dated earlier
2002.05709 (2020-02)
A Simple Framework for Contrastive Learning of Visual Representations
mlp
brick of this paper's assembly: model
1 other paper
1 later
2404.03037 (2024-04)
Model-based Reinforcement Learning for Parameterized Action Spaces

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

are designed for single-task learning and rely on per-task hyperparameters, with no principled method for selecting those hyperparameters (Zhang et al., 2021). An algorithm that can consume large multitask datasets will invariably need to be robust to variation between different tasks (e.g., action space dimensionality, difficulty of exploration, and reward distribution). In this work, we present TD-MPC2: a significant step towards achieving this goal. TD-MPC2 is a model-based RL algorithm designed for learning generalist world models on large uncurated datasets composed of multiple task domains, embodiments, and action spaces, with data sourced from behavior policies that cover a wide range of skill levels, and without the need for hyperparameter-tuning. Our algorithm, which builds upon TD-MPC (Hansen et al., 2022), performs local trajectory optimization in the latent space of a learned implicit (decoder-free) world model. While the TD-MPC family of algorithms has demonstrated strong empirical performance in prior work (

For agents

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

get_harvested_code_for_paper("2310.16828")
get_code_for_paper("2310.16828")
have("2310.16828")

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

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

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

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

Connect an agent — have() is free.