SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2606.14737 · 2026

Learning Topological Representations for Molecular Dynamics

Florian Graf, Roland Kwitt, Martin Uray, Dominik Geng

arXiv · PDF

Code that ran

4 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, 1 violated it and 0 have no contract verdict; 3 failures of our instrument; 2 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/2606.14737.json · badge: /api/ran/2606.14737.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
google-deepmind/alphafold canonical (classifier label)
classifier basis: census
4 ran · 2 no recorded run
FunctionStatusWhere it lives
get_initializer_scale Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
google-deepmind/alphafold/alphafold/model/common_modules.py
code served (permissive licence) · get_code("ad11cad9a47b2b24")
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 TruncatedNormal. 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 numpy as np

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

# Define ARGS with all parameters for get_initializer_scale
ARGS = {
    'initializer_name': 'relu',
    'input_shape': (4, 3, 2)
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
haiku, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type TruncatedNormal — a TruncatedNormal output has no array shape of its own; none 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
lddt Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
google-deepmind/alphafold/alphafold/model/lddt.py
code served (permissive licence) · get_code("c7881c6f9ac0f9c6")
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 1, dtype family float, shape (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 jax.numpy as jnp
import numpy as np

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

# Create small test data
batch_size = 2
length = 4

# Create predicted points: (batch, length, 3)
predicted_points = jnp.array(
    np.random.randn(batch_size, length, 3).astype(np.float32)
)

# Create true points: (batch, length, 3)
true_points = jnp.array(
    np.random.randn(batch_size, length, 3).astype(np.float32)
)

# Create true points mask: (batch, length, 1)
# All points exist in this case
true_points_mask = jnp.ones((batch_size, length, 1), dtype=jnp.float32)

# Define cutoff distance
cutoff = 15.0

# Define per_residue flag
per_residue = False

ARGS = {
    "predicted_points": predicted_points,
    "true_points": true_points,
    "true_points_mask": true_points_mask,
    "cutoff": cutoff,
    "per_residue": per_residue,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
jax, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ArrayImpl, ndim 1, dtype family float, shape (2,) — shape (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
maybe_fold_in Ran
ran; our contract draft was wrong, not the code
google-deepmind/alphafold/alphafold/model/layer_stack.py
code served (permissive licence) · get_code("ebf55a61162e7749")
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 1, dtype family int, shape (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 jax
import jax.numpy as jnp

# Test case 1: key is a valid JAX random key, data is an integer
key1 = jax.random.PRNGKey(0)
data1 = 42

# Test case 2: key is None, data can be anything (won't be used)
key2 = None
data2 = 100

# We'll use the first test case as our main setup
ARGS = {
    "key": jax.random.PRNGKey(0),
    "data": 42
}
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 1, dtype family int, shape (2,) — shape (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
squared_difference Ran
ran, violated the contract we drafted
google-deepmind/alphafold/alphafold/model/all_atom.py
code served (permissive licence) · get_code("5232f7515f93bb45")
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 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 jax.numpy as jnp
import numpy as np

# Create simple JAX arrays for x and y
x = jnp.array([[1.0, 2.0, 3.0, 4.0],
               [5.0, 6.0, 7.0, 8.0]])

y = jnp.array([[1.5, 1.8, 3.2, 3.9],
               [5.1, 5.9, 7.2, 7.8]])

ARGS = {
    "x": x,
    "y": y,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
jax, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ArrayImpl, 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
layer_stack Not yet run
unverified (harvested, no recorded run)
google-deepmind/alphafold/alphafold/model/layer_stack.py
code served (permissive licence) · get_code("f8d6d278c81bfcfe")
How it ran

no invocation recorded.

maybe_with_rng Not yet run
unverified (harvested, no recorded run)
google-deepmind/alphafold/alphafold/model/layer_stack.py
code served (permissive licence) · get_code("a45423ac14a69e97")
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, 6 are also present in other papers whose code we hold (6 with at least one paper dated earlier, 0 the same month, 0 later) and 0 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
get_initializer_scale 1 other paper
1 dated earlier
2605.11189 (2026-05)
Deep Learning for Protein Complex Prediction and Design by
layer_stack 1 other paper
1 dated earlier
2605.11189 (2026-05)
Deep Learning for Protein Complex Prediction and Design by
lddt 1 other paper
1 dated earlier
2605.11189 (2026-05)
Deep Learning for Protein Complex Prediction and Design by
maybe_fold_in 1 other paper
1 dated earlier
2605.11189 (2026-05)
Deep Learning for Protein Complex Prediction and Design by
maybe_with_rng 1 other paper
1 dated earlier
2605.11189 (2026-05)
Deep Learning for Protein Complex Prediction and Design by
squared_difference 1 other paper
1 dated earlier
2605.11189 (2026-05)
Deep Learning for Protein Complex Prediction and Design by

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

Molecular dynamics (MD) simulations generate trajectories in a high-dimensional configuration space whose analysis critically depends on molecular descriptors, typically handcrafted observables or learned kinetic embeddings. Designing descriptors that are both expressive and broadly applicable, however, remains challenging. We study persistent homology (PH) as a general-purpose representation for MD and introduce the masked Flood complex, a protein-tailored modification of a recently introduced simplicial complex construction that emphasizes inter-residue structure at low computational cost. Vectorized persistence diagrams then provide information-rich, geometry-aware summaries of protein conformations, which we evaluate on protein class prediction, frame-level observable regression, and Markov state model (MSM) estimation from learned low-dimensional coordinates in a single shared representation space. Results on the mdCATH dataset show that PHbased descriptors are competitive across tasks, with masked Flood PH yielding the most consistent overall performance. Further, when using topologically-informed MSMs as a drop-in replacement within the recent MarS-FM framework for generative modeling of protein conformations, we obtain consistently better ensemble statistics than MSMs based on physical observables. Finally, we explore the transferability of the generative model to qualitatively different, fast folding, proteins.

For agents

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

get_harvested_code_for_paper("2606.14737")
get_code_for_paper("2606.14737")
have("2606.14737")

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

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

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

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

Connect an agent — have() is free.