SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2310.10833 · 2023

Proper Laplacian Representation Learning

arXiv · PDF · Open in the Atlas

Code that ran

6 of 9 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; 0 honoured the contract we drafted, 0 violated it and 0 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/2310.10833.json · badge: /api/ran/2310.10833.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
tarod13/laplacian_dual_dynamics canonical (classifier label)
classifier basis: census
4 ran · 3 no recorded run
copy not recorded community
not in the paper's declared repositories
2 ran · 0 no recorded run
FunctionStatusWhere it lives
act Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
this paper's copy was not recorded; identical code first harvested from mklissa/dceo
pointer only · get_code("bbebc7418e5cfd5c")
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.

discounted_sampling Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
tarod13/laplacian_dual_dynamics/src/agent/episodic_replay_buffer.py
code served (permissive licence) · get_code("272f03113fb1f4b5")
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 ndarray, ndim 2, dtype family int, shape (2, 2) 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

np.random.seed(0)

# ranges: a batch of n values (each n >= 1)
# The function uses ranges.shape to get the shape for seeds
# and uses np.power(discount, ranges) and floor operations
ranges = np.array([[5, 3], [7, 4]], dtype=np.int64)

# discount: a float between 0 and 1
discount = 0.5

ARGS = {
    "ranges": ranges,
    "discount": discount,
}
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 ndarray, ndim 2, dtype family int, shape (2, 2) — shape (2, 2) 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
generate_hk_get_variables_fn Ran
ran; our contract draft was wrong, not the code
tarod13/laplacian_dual_dynamics/src/nets/utils.py
code served (permissive licence) · get_code("d2c59e50d28a6697")
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 Transformed. 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 haiku as hk
import jax
import jax.numpy as jnp

class SimpleModule(hk.Module):
    def __init__(self, hidden_size: int = 8):
        super().__init__(name="simple_module")
        self.hidden_size = hidden_size
    
    def forward(self, x):
        linear = hk.Linear(self.hidden_size)
        return linear(x)
    
    def process(self, x):
        return self.forward(x)

ARGS = {
    "module_class": SimpleModule,
    "function_name": "process",
    "hidden_size": 8,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
haiku, jax — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Transformed — a Transformed output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Transformed 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
generate_hk_module_fn Ran
ran; our contract draft was wrong, not the code
tarod13/laplacian_dual_dynamics/src/nets/utils.py
code served (permissive licence) · get_code("04047b9930bcdabb")
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 Transformed. 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 haiku as hk
import jax
import numpy as np

class SimpleHaikuModule(hk.Module):
    def __init__(self, output_size: int = 8):
        super().__init__(name="simple_module")
        self.output_size = output_size
    
    def __call__(self, x, **kwargs):
        return hk.Linear(self.output_size)(x)

ARGS = {
    "module_class": SimpleHaikuModule,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
haiku, jax, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Transformed — a Transformed output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Transformed 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
select_action Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
this paper's copy was not recorded; identical code first harvested from mklissa/dceo
pointer only · get_code("2957ca0c26f2fc3f")
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.

uniform_sampling Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
tarod13/laplacian_dual_dynamics/src/agent/episodic_replay_buffer.py
code served (permissive licence) · get_code("d563a2a842177015")
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 ndarray, ndim 2, dtype family int, shape (2, 3) 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

# Set random seed for reproducibility
np.random.seed(0)

# Define ranges as a numpy array with shape (2, 3) - batch of 2 with different range values
ranges = np.array([[5, 10, 15], [8, 12, 20]], dtype=np.int64)

# Define ARGS dict with the parameter for uniform_sampling
ARGS = {
    "ranges": ranges
}
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 ndarray, ndim 2, dtype family int, shape (2, 3) — shape (2, 3) 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
generate_conv_layers Not yet run
unverified (harvested, no recorded run)
tarod13/laplacian_dual_dynamics/src/nets/mlp.py
code served (permissive licence) · get_code("8efb0fb2de2eab05")
How it ran

no invocation recorded.

generate_fc_layers Not yet run
unverified (harvested, no recorded run)
tarod13/laplacian_dual_dynamics/src/nets/mlp.py
code served (permissive licence) · get_code("1b345642da63f487")
How it ran

no invocation recorded.

update_params Not yet run
unverified (harvested, no recorded run)
tarod13/laplacian_dual_dynamics/src/nets/utils.py
code served (permissive licence) · get_code("df14a06abf4242f7")
How it ran

no invocation recorded.

Also present in other papers' code

Of 9 samples lifted from this paper's linked repositories, 9 carry a function identity and 0 do not. Of the 9 distinct functions with an identity, 2 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 0 the same month, 0 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
act 2 other papers
2 dated earlier
1710.11089 (2017-10)
Eigenoption Discovery through the Deep Successor Representation
2301.11181 (2023-01)
Deep Laplacian-based Options for Temporally-Extended Exploration
select_action 2 other papers
2 dated earlier
1710.11089 (2017-10)
Eigenoption Discovery through the Deep Successor Representation
2301.11181 (2023-01)
Deep Laplacian-based Options for Temporally-Extended Exploration

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

The ability to learn good representations of states is essential for solving large reinforcement learning problems, where exploration, generalization, and transfer are particularly challenging. The Laplacian representation is a promising approach to address these problems by inducing informative state encoding and intrinsic rewards for temporally-extended action discovery and reward shaping. To obtain the Laplacian representation one needs to compute the eigensystem of the graph Laplacian, which is often approximated through optimization objectives compatible with deep learning approaches. These approximations, however, depend on hyperparameters that are impossible to tune efficiently, converge to arbitrary rotations of the desired eigenvectors, and are unable to accurately recover the corresponding eigenvalues. In this paper we introduce a theoretically sound objective and corresponding optimization algorithm for approximating the Laplacian representation. Our approach naturally recovers both the true eigenvectors and eigenvalues while eliminating the hyperparameter dependence of previous approximations. We provide theoretical guarantees for our method and we show that those results translate empirically into robust learning across multiple environments.

For agents

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

get_harvested_code_for_paper("2310.10833")
get_code_for_paper("2310.10833")
have("2310.10833")

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

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

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

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

Connect an agent — have() is free.