SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2410.20750 · NeurIPS · 2024

ODRL: A Benchmark for Off-Dynamics Reinforcement Learning

Zongqing Lu, Chenjia Bai, Xiu Li, Jiafei Lyu, Jiacheng Xu, Zongzhang Zhang, Jingwen Yang, Kang Xu, Mengbei Yan

arXiv · PDF · Open in the Atlas

Code that ran

6 of 8 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 0 have no contract verdict; 4 failures of our instrument; 2 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/2410.20750.json · badge: /api/ran/2410.20750.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
offdynamicsrl/off-dynamics-rl canonical (classifier label)
classifier basis: census
6 ran · 1 no recorded run
OffDynamicsRL/off-dynamics-rl canonical (classifier label)
classifier basis: classifier_2025
0 ran · 1 no recorded run
FunctionStatusWhere it lives
AvgL1Norm Ran
ran; our contract draft was wrong, not the code
offdynamicsrl/off-dynamics-rl/algo/offline_online/bc_par.py
code served (permissive licence) · get_code("1e71094b23b75fbe")
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 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

torch.manual_seed(0)

# Create a small tensor with shape (batch=2, features=4)
# The function uses x.abs().mean(-1, keepdim=True) which computes mean over last dimension
x = torch.randn(2, 4)

ARGS = {
    "x": x,
    "eps": 1e-08
}
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 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
asymmetric_l2_loss Ran
ran; our contract draft was wrong, not the code
offdynamicsrl/off-dynamics-rl/algo/offline_offline/dara.py
pointer only (licence: MIT); the stored copy get_code serves, from yassinech/caps, is pointer only (licence: NONE) · get_code("82a8f299419d4d83")
How it ran

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

call_tune_algo Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
offdynamicsrl/off-dynamics-rl/algo/call_tune_algo.py
code served (permissive licence) · get_code("f3d6489d35bb98f8")
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 MockSAC. 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)

# Mock SAC class that matches what the function expects
class MockSAC:
    def __init__(self, config, device):
        self.config = config
        self.device = device

# Monkey patch the import to avoid actual file dependencies
import sys
from unittest.mock import MagicMock

mock_sac_module = MagicMock()
mock_sac_module.SAC = MockSAC
sys.modules['finetune'] = MagicMock()
sys.modules['finetune.sac_tune'] = mock_sac_module

# Create a minimal config dict with necessary attributes
config = {
    'learning_rate': 0.001,
    'batch_size': 32,
    'gamma': 0.99,
    'tau': 0.005,
    'action_dim': 4,
    'state_dim': 8,
}

# Define arguments
ARGS = {
    'algo_name': 'SAC',
    'config': config,
    'mode': 0,
    'device': 'cpu',
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
finetune, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type MockSAC — a MockSAC output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a MockSAC 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
eval_policy Ran
ran, honoured the contract we drafted
offdynamicsrl/off-dynamics-rl/train_tune.py
pointer only (licence: MIT); the stored copy get_code serves, from dmksjfl/par, is pointer only (licence: NONE) · get_code("2a67e91feeab6fb8")
How it ran

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

fanin_init Ran
ran; our contract draft was wrong, not the code
offdynamicsrl/off-dynamics-rl/algo/utils.py
pointer only (licence: MIT); the stored copy get_code serves, from ruoqizzz/entropy-offlineRL, is pointer only (licence: NONE) · get_code("3b5a164602274858")
How it ran

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

identity Ran
ran, honoured the contract we drafted
offdynamicsrl/off-dynamics-rl/algo/utils.py
pointer only (licence: MIT); the stored copy get_code serves, from dholzmueller/universal_double_descent, is pointer only (licence: NONE) · get_code("9910e2fc297f8665")
How it ran

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

call_algo Not yet run
unverified (harvested, no recorded run)
offdynamicsrl/off-dynamics-rl/algo/call_algo.py
code served (permissive licence) · get_code("6d75afc8832f7e01")
How it ran

no invocation recorded.

get_normalized_score Not yet run
unverified (harvested, no recorded run)
OffDynamicsRL/off-dynamics-rl/envs/infos.py
code served (permissive licence) · get_code("ab6b7813b41516d6")
How it ran

no invocation recorded.

Also present in other papers' code

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

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

FunctionAlso present inEarliest-datedOthers named
identity 69 other papers
57 dated earlier, 2 the same month, 10 later · 5 only as an assembly brick
1706.07296 (2017-06)
A Minimal Developmental Model Can Increase Evolvability in Soft Robots
1802.09419 (2018-02)
Stochastic Hyperparameter Optimization through Hypernetworks
1804.06055 (2018-04)
Co-occurrence Feature Learning from Skeleton Data for Action Recognition and Detection with Hierarchical Aggregation
and 66 more not named here
asymmetric_l2_loss 7 other papers
3 dated earlier, 4 later · 3 only as an assembly brick
2110.06169 (2021-10)
Offline Reinforcement Learning with Implicit Q-Learning
2310.12955 (2023-10)
Towards Robust Offline Reinforcement Learning under Diverse Data Corruption
2405.16907 (2024-05)
GTA: Generative Trajectory Augmentation with Guidance for Offline Reinforcement Learning
and 4 more not named here
AvgL1Norm 5 other papers
3 dated earlier, 2 later · 1 only as an assembly brick
2306.02451 (2023-06)
For SALE: State-Action Representation Learning for Deep Reinforcement Learning
2405.11718 (2024-05)
Feasibility Consistent Representation Learning for Safe Reinforcement Learning
2405.15369 (2024-05)
Cross-Domain Policy Adaptation by Capturing Representation Mismatch
and 2 more not named here
eval_policy 2 other papers
1 dated earlier, 1 later
2405.15369 (2024-05)
Cross-Domain Policy Adaptation by Capturing Representation Mismatch
2603.12087 (2026-03)
Cross-Domain Policy Optimization via Bellman Consistency and Hybrid Critics
fanin_init 2 other papers
1 dated earlier, 1 later
2402.04080 (2024-02)
Entropy-regularized Diffusion Policy with Q-Ensembles for Offline Reinforcement Learning
2603.12087 (2026-03)
Cross-Domain Policy Optimization via Bellman Consistency and Hybrid Critics

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

We consider off-dynamics reinforcement learning (RL) where one needs to transfer policies across different domains with dynamics mismatch. Despite the focus on developing dynamics-aware algorithms, this field is hindered due to the lack of a standard benchmark. To bridge this gap, we introduce ODRL, the first benchmark tailored for evaluating off-dynamics RL methods. ODRL contains four experimental settings where the source and target domains can be either online or offline, and provides diverse tasks and a broad spectrum of dynamics shifts, making it a reliable platform to comprehensively evaluate the agent's adaptation ability to the target domain. Furthermore, ODRL includes recent off-dynamics RL algorithms in a unified framework and introduces some extra baselines for different settings, all implemented in a single-file manner. To unpack the true adaptation capability of existing methods, we conduct extensive benchmarking experiments, which show that no method has universal advantages across varied dynamics shifts. We hope this benchmark can serve as a cornerstone for future research endeavors. Our code is publicly available at https://github.com/OffDynamicsRL/off-dynamics-rl. * Work done while working as an intern at Tencent IEG. † Corresponding Authors. 38th Conference on Neural Information Processing Systems (NeurIPS 2024) Track on Datasets and Benchmarks.

For agents

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

get_harvested_code_for_paper("2410.20750")
get_code_for_paper("2410.20750")
have("2410.20750")

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

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

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

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

Connect an agent — have() is free.