SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2605.23089 · 2026

Dreaming Smoothly and Sample Efficiently with Gradient Penalized Latent Dynamics

P Kumar, Romil Sonigra

arXiv · PDF · Open in the Atlas

Code that ran

2 of 2 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; 0 failures of our instrument; 0 no recorded run), measured 2026-11-23; 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/2605.23089.json · badge: /api/ran/2605.23089.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
romils9/gpld-mbrl community
Papers with Code archive
2 ran · 0 no recorded run
FunctionStatusWhere it lives
_apply_decay Ran
ran, honoured the contract we drafted
romils9/gpld-mbrl/dreamerv3/agent.py
code served (permissive licence) · get_code("9210ca58c018ba3e")
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 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 jax.numpy as jnp

# Test case 1: linear decay
base_lam_1 = jnp.float32(1.0)
step_1 = 50000
gp_config_1 = {
    'decay': 'linear',
    'decay_steps': 100000,
    'min_lam': 0.1
}

# Test case 2: exponential decay
base_lam_2 = jnp.float32(0.5)
step_2 = 25000
gp_config_2 = {
    'decay': 'exponential',
    'decay_steps': 100000,
    'min_lam': 0.01
}

# Test case 3: cosine decay
base_lam_3 = jnp.float32(2.0)
step_3 = 75000
gp_config_3 = {
    'decay': 'cosine',
    'decay_steps': 100000,
    'min_lam': 0.05
}

# Test case 4: step decay
base_lam_4 = jnp.float32(1.5)
step_4 = 15000
gp_config_4 = {
    'decay': 'step',
    'decay_interval': 5000,
    'decay_factor': 0.9,
    'min_lam': 0.1
}

# Test case 5: sqrt_time decay
base_lam_5 = jnp.float32(3.0)
step_5 = 10000
gp_config_5 = {
    'decay': 'sqrt_time',
    'min_lam': 0.5
}

# Test case 6: custom decay with schedule
base_lam_6 = jnp.float32(1.0)
step_6 = 5000
gp_config_6 = {
    'decay': 'custom',
    'schedule_steps': [0, 5000, 10000, 20000],
    'schedule_values': [1.0, 0.8, 0.5, 0.2],
    'min_lam': 0.1
}

# Test case 7: custom decay with placeholder
base_lam_7 = jnp.float32(1.0)
step_7 = 1000
gp_config_7 = {
    'decay': 'custom',
    'schedule_steps': [0],
    'schedule_values': [0.0],
    'min_lam': 0.0
}

# Test case 8: no decay
base_lam_8 = jnp.float32(0.75)
step_8 = 50000
gp_config_8 = {
    'decay': 'none',
    'min_lam': 0.0
}

# Test case 9: base_lam <= 0 (should return base_lam unchanged)
base_lam_9 = jnp.float32(0.0)
step_9 = 10000
gp_config_9 = {
    'decay': 'linear',
    'decay_steps': 100000,
    'min_lam': 0.0
}

# Use the first test case for ARGS
ARGS = {
    'base_lam': base_lam_1,
    'step': step_1,
    'gp_config': gp_config_1
}
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 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
compute_decayed_lambda Ran
ran, honoured the contract we drafted
romils9/gpld-mbrl/dreamerv3/agent.py
code served (permissive licence) · get_code("a2a40d01d016d5f1")
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 ArrayImpl, 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 jax.numpy as jnp

f32 = jnp.float32

# Test case 1: Basic linear decay
ARGS = {
    'base_lam': 0.1,
    'step': 50000,
    'gp_config': {
        'decay': 'linear',
        'decay_steps': 100000,
        'min_lam': 0.01,
        'start_step': 0,
    },
    'env_to_opt_ratio': 1.0,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
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 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

Also present in other papers' code

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

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

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

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

Abstract

Model-based reinforcement learning improves sample efficiency by learning a world model. However, existing latent world models such as DreamerV3 do not explicitly enforce local smoothness in their learned transition dynamics, leaving a useful inductive bias for transition dynamics learning unexploited. We propose GPLD, a gradient-penalized latent dynamics regularizer for DreamerV3 that applies a row-wise Jacobian penalty to the posterior latent distribution to encourage locally smooth transition learning. We show that this penalty can be interpreted as the continuous-latent analog of finite-difference smoothing of transition laws in discrete embedded-state MDPs, and estimate it efficiently using Hutchinson-style stochastic probes. Empirically, across DeepMind Control proprioceptive tasks, GPLD improves aggregate sample efficiency, with particularly strong gains on highercomplexity locomotion environments. On more challenging quadruped tasks, GPLD reaches high-return behavior earlier and exhibits more consistent late-stage learning over longer horizons. Explicit local smoothness regularization is a simple and effective way to improve latent world models for smooth continuous control environments. Code for GPLD is available at github.com/romils9/gpld-mbrl.

For agents

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

get_harvested_code_for_paper("2605.23089")
get_code_for_paper("2605.23089")
have("2605.23089")

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

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

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

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

Connect an agent — have() is free.