SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2208.12104 · 2022

Algorithmic Differentiation for Automated Modeling of Machine Learned Force Fields

arXiv · PDF · Open in the Atlas

Code that ran

3 of 13 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 3 have no contract verdict; 0 failures of our instrument; 10 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/2208.12104.json · badge: /api/ran/2208.12104.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
niklasschmitz/ad-kernels canonical (classifier label)
classifier basis not recorded on the link
3 ran · 10 no recorded run
FunctionStatusWhere it lives
GDMLDescriptor Ran
ran on a synthesized input
niklasschmitz/ad-kernels/md17/gdml_jax/kernels/sgdml.py
code served (permissive licence) · get_code("04be806268026637")
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 function. 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 jax.numpy as jnp
import numpy as np

# The function takes 'shape' as a positional argument and 'metric_fn' as optional keyword argument
# shape should be a tuple where shape[0] is the number of atoms/particles
# metric_fn is optional and defaults to None (euclidean distance)

# Create a small shape: (5, 3) means 5 particles in 3D space
shape = (5, 3)

# metric_fn is optional, so we can pass None (uses default) or a custom function
# Let's pass None to use the default euclidean distance
metric_fn = None

ARGS = {
    "shape": shape,
    "metric_fn": metric_fn,
}
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 function — a function output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a function 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
f_cutoff Ran
ran on a synthesized input
niklasschmitz/ad-kernels/md17/experiments/fchl.py
code served (permissive licence) · get_code("3b3bef27db179182")
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 (6,) 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

# f_cutoff takes two parameters: x and rcut
# x should be a JAX array of distances
# rcut should be a scalar cutoff radius

# Create small example arrays
x = jnp.array([0.0, 0.5, 1.0, 1.5, 2.0, 2.5])
rcut = jnp.array(1.5)

ARGS = {
    "x": x,
    "rcut": rcut,
}
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 float, shape (6,) — shape (6,) 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
make_mvm Ran
ran on a synthesized input
niklasschmitz/ad-kernels/pde/opgp.py
code served (permissive licence) · get_code("9ca1f413c326079c")
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 function. 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 jax
import jax.numpy as jnp
import jax.flatten_util
from jax import vmap

# Define a simple kernel function k(a, b)
def kernel_func(a, b):
    """Simple kernel: dot product"""
    return jnp.dot(a, b)

# Define operator functions that apply linear transformations
def operator1_func(f):
    """Linear operator that applies function f and sums"""
    def apply(x):
        result = f(x)
        return jnp.sum(result)
    return apply

def operator2_func(f):
    """Linear operator that applies function f and returns result"""
    def apply(x):
        return f(x)
    return apply

# Create operators1 dict with operator callables
operators1 = {
    'op1': operator1_func,
    'op2': operator1_func,
}

# Create operators2 dict with operator callables
operators2 = {
    'op_a': operator2_func,
    'op_b': operator2_func,
}

# Create xs1 dict with small test arrays (batch_size=2, dim=4)
xs1 = {
    'op1': jnp.ones((2, 4)),
    'op2': jnp.ones((2, 4)) * 2,
}

# Create xs2 dict with small test arrays
xs2 = {
    'op_a': jnp.ones((2, 4)),
    'op_b': jnp.ones((2, 4)) * 3,
}

# Create alphas dict for the mvm output
alphas = {
    'op_a': jnp.ones((2, 4)),
    'op_b': jnp.ones((2, 4)) * 0.5,
}

ARGS = {
    'k': kernel_func,
    'operators1': operators1,
    'operators2': operators2,
    'xs1': xs1,
    'xs2': xs2,
}
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 function — a function output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a function 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
build_solve Not yet run
unverified (harvested, no recorded run)
niklasschmitz/ad-kernels/pde/opgp.py
code served (permissive licence) · get_code("516d01a5e609c564")
How it ran

no invocation recorded.

fit Not yet run
unverified (harvested, no recorded run)
niklasschmitz/ad-kernels/md17/experiments/hyper_coulomb.py
code served (permissive licence) · get_code("ff7a01e3fef14913")
How it ran

no invocation recorded.

jax2torch Not yet run
unverified (harvested, no recorded run)
niklasschmitz/ad-kernels/md17/experiments/schnetkernel/lib.py
code served (permissive licence) · get_code("e7115a7a43a7aa03")
How it ran

no invocation recorded.

kvp Not yet run
unverified (harvested, no recorded run)
niklasschmitz/ad-kernels/pde/opgp.py
code served (permissive licence) · get_code("a14219085c635bec")
How it ran

no invocation recorded.

matern52 Not yet run
unverified (harvested, no recorded run)
niklasschmitz/ad-kernels/md17/experiments/matern.py
code served (permissive licence) · get_code("a5990c3c1a96fa2a")
How it ran

no invocation recorded.

matern52tp Not yet run
unverified (harvested, no recorded run)
niklasschmitz/ad-kernels/md17/experiments/matern.py
code served (permissive licence) · get_code("8085857c94867613")
How it ran

no invocation recorded.

powered_coulomb_descriptor Not yet run
unverified (harvested, no recorded run)
niklasschmitz/ad-kernels/md17/experiments/hyper_coulomb.py
code served (permissive licence) · get_code("1be2213e4b6c3dfc")
How it ran

no invocation recorded.

time_forces Not yet run
unverified (harvested, no recorded run)
niklasschmitz/ad-kernels/md17/experiments/md17_benchmark_forces.py
code served (permissive licence) · get_code("64f6ed76739b1419")
How it ran

no invocation recorded.

torch2jax Not yet run
unverified (harvested, no recorded run)
niklasschmitz/ad-kernels/md17/experiments/schnetkernel/lib.py
code served (permissive licence) · get_code("b5ad883d5cb6575e")
How it ran

no invocation recorded.

torch_apply Not yet run
unverified (harvested, no recorded run)
niklasschmitz/ad-kernels/md17/experiments/schnetkernel/lib.py
code served (permissive licence) · get_code("c6fe236b49615582")
How it ran

no invocation recorded.

Also present in other papers' code

Of 13 samples lifted from this paper's linked repositories, 13 carry a function identity and 0 do not. Of the 13 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 13 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

Reconstructing force fields (FFs) from atomistic simulation data is a challenge since accurate data can be highly expensive. Here, machine learning (ML) models can help to be data economic as they can be successfully constrained using the underlying symmetry and conservation laws of physics. However, so far, every descriptor newly proposed for an ML model has required a cumbersome and mathematically tedious remodeling. We therefore propose using modern techniques from algorithmic differentiation within the ML modeling process -- effectively enabling the usage of novel descriptors or models fully automatically at an order of magnitude higher computational efficiency. This paradigmatic approach enables not only a versatile usage of novel representations and the efficient computation of larger systems -- all of high value to the FF community -- but also the simple inclusion of further physical knowledge such as higher-order information (e.g. Hessians, more complex partial differential equations constraints etc.), even beyond the presented FF domain.

For agents

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

get_harvested_code_for_paper("2208.12104")
get_code_for_paper("2208.12104")
have("2208.12104")

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

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

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

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

Connect an agent — have() is free.