SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2405.13888 · NeurIPS · 2024

Marrying Causal Representation Learning with Dynamical Systems for Science

Francesco Locatello, Dingling Yao, Caroline Muller

arXiv · PDF · Open in the Atlas

Code that ran

2 of 6 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; 2 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/2405.13888.json · badge: /api/ran/2405.13888.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
CausalLearningAI/crl-dynamical-systems canonical (classifier label)
classifier basis: census
2 ran · 4 no recorded run
FunctionStatusWhere it lives
dct Ran
ran; our contract draft was wrong, not the code
CausalLearningAI/crl-dynamical-systems/marrying/src/utils/dct.py
code served (permissive licence) · get_code("94be9d287d02d429")
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 numpy as np

torch.manual_seed(0)

# Create a small input tensor with shape (2, 4) - batch size 2, signal length 4
x = torch.randn(2, 4, dtype=torch.float32)

# norm can be None or 'ortho'
norm = 'ortho'

ARGS = {
    'x': x,
    'norm': norm
}
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 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
evaluate_prediction Ran
ran; our contract draft was wrong, not the code
CausalLearningAI/crl-dynamical-systems/marrying/src/metrics/identifiability.py
code served (permissive licence) · get_code("bc8799f7ea929072")
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 float64, ndim 0, 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 numpy as np
from sklearn.linear_model import LinearRegression

def metric_function(y_true, y_pred):
    """Simple MSE metric"""
    return np.mean((y_true - y_pred) ** 2)

# Create small training and test datasets
X_train = np.array([[1.0, 2.0, 3.0, 4.0],
                     [2.0, 3.0, 4.0, 5.0]])
y_train = np.array([1.0, 2.0])

X_test = np.array([[1.5, 2.5, 3.5, 4.5],
                    [2.5, 3.5, 4.5, 5.5]])
y_test = np.array([1.5, 2.5])

model = LinearRegression()

ARGS = {
    "model": model,
    "metric": metric_function,
    "X_train": X_train,
    "y_train": y_train,
    "X_test": X_test,
    "y_test": y_test
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, sklearn — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float64, ndim 0, dtype family float — no output shape is stated: observe_signature.py recorded float ndim 0, which disagrees with the fixture run
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
dct1 Not yet run
unverified (harvested, no recorded run)
CausalLearningAI/crl-dynamical-systems/marrying/src/utils/dct.py
code served (permissive licence) · get_code("3b453ed72ac4623c")
How it ran

no invocation recorded.

idct1 Not yet run
unverified (harvested, no recorded run)
CausalLearningAI/crl-dynamical-systems/marrying/src/utils/dct.py
code served (permissive licence) · get_code("fe57d6739f07a6af")
How it ran

no invocation recorded.

infonce_base_loss Not yet run
unverified (harvested, no recorded run)
CausalLearningAI/crl-dynamical-systems/marrying/src/utils/losses.py
code served (permissive licence) · get_code("c777641e597bbeab")
How it ran

no invocation recorded.

infonce_loss Not yet run
unverified (harvested, no recorded run)
CausalLearningAI/crl-dynamical-systems/marrying/src/utils/losses.py
code served (permissive licence) · get_code("9d41b2149e408698")
How it ran

no invocation recorded.

Also present in other papers' code

Of 6 samples lifted from this paper's linked repositories, 6 carry a function identity and 0 do not. Of the 6 distinct functions with an identity, 3 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 0 the same month, 1 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
idct1 10 other papers
7 dated earlier, 3 later
2011.04823 (2020-11)
Language Through a Prism: A Spectral Approach for Multiscale Language Representations
2105.08997 (2021-05)
When Deep Classifiers Agree: Analyzing Correlations between Learning Order and Image Statistics
2209.11888 (2022-09)
JPEG Artifact Correction using Denoising Diffusion Restoration Models
and 7 more not named here
infonce_base_loss 1 other paper
1 dated earlier
2311.04056 (2023-11)
Multi-View Causal Representation Learning with Partial Observability
infonce_loss 1 other paper
1 dated earlier
2311.04056 (2023-11)
Multi-View Causal Representation Learning with Partial Observability

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

Causal representation learning promises to extend causal models to hidden causal variables from raw entangled measurements. However, most progress has focused on proving identifiability results in different settings, and we are not aware of any successful real-world application. At the same time, the field of dynamical systems benefited from deep learning and scaled to countless applications but does not allow parameter identification. In this paper, we draw a clear connection between the two and their key assumptions, allowing us to apply identifiable methods developed in causal representation learning to dynamical systems. At the same time, we can leverage scalable differentiable solvers developed for differential equations to build models that are both identifiable and practical. Overall, we learn explicitly controllable models that isolate the trajectory-specific parameters for further downstream tasks such as out-of-distribution classification or treatment effect estimation. We experiment with a wind simulator with partially known factors of variation. We also apply the resulting model to real-world climate data and successfully answer downstream causal questions in line with existing literature on climate change. Code is available at https://github.com/CausalLearningAI/crl-dynamical-systems.

For agents

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

get_harvested_code_for_paper("2405.13888")
get_code_for_paper("2405.13888")
have("2405.13888")

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

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

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

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

Connect an agent — have() is free.