SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1906.10612 · 2019

A unified sparse optimization framework to learn parsimonious physics-informed models from data

arXiv · PDF · Open in the Atlas

Code that ran

5 of 11 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 5 have no contract verdict; 0 failures of our instrument; 6 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/1906.10612.json · badge: /api/ran/1906.10612.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
zib-iol/cindy community (classifier label)
classifier basis not recorded on the link
5 ran · 6 no recorded run
FunctionStatusWhere it lives
FISTA Ran
ran on a synthesized input
zib-iol/cindy/FISTA_algorithm.py
code served (permissive licence) · get_code("1361218dc13de43a")
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 float, shape (4, 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

class MockFunction:
    def __init__(self):
        self._L = 2.5
    
    def largest_eigenvalue(self):
        return self._L
    
    def gradient(self, z):
        # Return gradient same shape as input
        return np.random.randn(*z.shape) * 0.1
    
    def proximal_operator(self, z, regularization_scaled):
        # Soft thresholding proximal operator
        return np.sign(z) * np.maximum(np.abs(z) - regularization_scaled, 0)

x0 = np.random.randn(4, 3)
function = MockFunction()
regularization = 0.5
maxit = 5

ARGS = {
    "function": function,
    "x0": x0,
    "regularization": regularization,
    "maxit": maxit
}
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 float, shape (4, 3) — shape (4, 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
angle_conversion Ran
ran on a synthesized input
zib-iol/cindy/dynamics.py
code served (permissive licence) · get_code("dc26e8e1c03c9325")
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 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 numpy as np

# The function takes angles as input and normalizes them to the range [0, 2π)
# by subtracting multiples of 2π. The input should be a numeric array-like.

# Create a simple numpy array with various angle values
angles_input = np.array([0.5, 2.5, 6.3, 8.0, 12.5, 15.7])

ARGS = {
    "angles": angles_input
}
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 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
evaluate_dynamic Ran
ran on a synthesized input
zib-iol/cindy/auxiliary_functions.py
code served (permissive licence) · get_code("22e6387ff40058f2")
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 dict. 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 numpy as np

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

# Create small arrays for testing
n_features = 5
n_samples_val = 4
n_samples_train = 6
n_noise_levels = 3

# Create dynamic and exact_dynamic vectors
dynamic = np.random.randn(n_features)
exact_dynamic = np.random.randn(n_features)

# Create noise levels and select one
noise_levels = [0.01, 0.05, 0.1]
noise = 0.05

# Create formulation matrices with appropriate dimensions for matrix operations
# Psi_validation: (n_features, n_samples_val) for dynamic @ Psi_validation
# matrix_validation: (n_features, n_samples_val)
# Y_validation: (n_samples_val,) to match output of dynamic @ Psi_validation
# delta_validation: (n_samples_val,)
formulation_matrices = {
    'Psi_validation': np.random.randn(n_features, n_samples_val),
    'matrix_validation': np.random.randn(n_features, n_samples_val),
    'Y_validation': np.random.randn(n_samples_val),
    'delta_validation': np.random.randn(n_samples_val),
    'Psi_train': np.random.randn(n_features, n_samples_train),
    'matrix_train': np.random.randn(n_features, n_samples_train),
    'Y_train': np.random.randn(n_samples_train),
    'delta_train': np.random.randn(n_samples_train),
}

# Create data dictionary to store results
data = {}

ARGS = {
    'data': data,
    'dynamic': dynamic,
    'exact_dynamic': exact_dynamic,
    'noise': noise,
    'noise_levels': noise_levels,
    'formulation_matrices': formulation_matrices,
    'show_output': False,
}
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 dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict 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
kuramoto_time Ran
ran on a synthesized input
zib-iol/cindy/dynamics.py
code served (permissive licence) · get_code("2c9a0714a88a187b")
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 tuple. 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 numpy as np

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

# Define arguments for kuramoto_time function
ARGS = {
    'frequencies': np.array([1.0, 1.5, 0.8, 1.2]),  # 4 oscillators with different frequencies
    'max_time': 10.0,
    'number_of_snapshots': 5,
    'number_of_experiments': 2,
    'K': 2.0,
    'forcing_param': 0.2,
    'relative_tolerance': 1e-10,
    'absolute_tolerance': 1e-13
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, scipy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is 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
kuramoto_time_individual Ran
ran on a synthesized input
zib-iol/cindy/dynamics.py
code served (permissive licence) · get_code("d83124c5ca64312d")
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 tuple. 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 numpy as np

# Construct arguments for kuramoto_time_individual
frequencies = np.array([1.0, 1.5, 2.0, 0.8])  # 4 oscillators with different natural frequencies
initial_position = np.array([0.1, 0.2, 0.3, 0.4])  # Initial phase for each oscillator
start_time = 0.0
end_time = 10.0
number_of_samples = 50

ARGS = {
    "frequencies": frequencies,
    "initial_position": initial_position,
    "start_time": start_time,
    "end_time": end_time,
    "number_of_samples": number_of_samples,
    "K": 2.0,
    "forcing_param": 0.2,
    "relative_tolerance": 1e-10,
    "absolute_tolerance": 1e-13
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, scipy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is 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
STRidge Not yet run
unverified (harvested, no recorded run)
zib-iol/cindy/SINDy_algorithm.py
code served (permissive licence) · get_code("45b5960f26c12c74")
How it ran

no invocation recorded.

TrainSTRidge Not yet run
unverified (harvested, no recorded run)
zib-iol/cindy/SINDy_algorithm.py
code served (permissive licence) · get_code("de3570bb95934e51")
How it ran

no invocation recorded.

plot_params_tried Not yet run
unverified (harvested, no recorded run)
zib-iol/cindy/auxiliary_functions.py
code served (permissive licence) · get_code("1050a78904133c46")
How it ran

no invocation recorded.

trim_axs Not yet run
unverified (harvested, no recorded run)
zib-iol/cindy/auxiliary_functions.py
code served (permissive licence) · get_code("f95fea32c301a3f0")
How it ran

no invocation recorded.

update_full_coef Not yet run
unverified (harvested, no recorded run)
zib-iol/cindy/SR3_algorithm.py
code served (permissive licence) · get_code("5993c3f402c85ff1")
How it ran

no invocation recorded.

update_full_coef_constraints Not yet run
unverified (harvested, no recorded run)
zib-iol/cindy/SR3_algorithm.py
code served (permissive licence) · get_code("e7ad9c1616c636a9")
How it ran

no invocation recorded.

Also present in other papers' code

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

Machine learning (ML) is redefining what is possible in data-intensive fields of science and engineering. However, applying ML to problems in the physical sciences comes with a unique set of challenges: scientists want physically interpretable models that can (i) generalize to predict previously unobserved behaviors, (ii) provide effective forecasting predictions (extrapolation), and (iii) be certifiable. Autonomous systems will necessarily interact with changing and uncertain environments, motivating the need for models that can accurately extrapolate based on physical principles (e.g. Newton's universal second law for classical mechanics, $F=ma$). Standard ML approaches have shown impressive performance for predicting dynamics in an interpolatory regime, but the resulting models often lack interpretability and fail to generalize. We introduce a unified sparse optimization framework that learns governing dynamical systems models from data, selecting relevant terms in the dynamics from a library of possible functions. The resulting models are parsimonious, have physical interpretations, and can generalize to new parameter regimes. Our framework allows the use of non-convex sparsity promoting regularization functions and can be adapted to address key challenges in scientific problems and data sets, including outliers, parametric dependencies, and physical constraints. We show that the approach discovers parsimonious dynamical models on several example systems. This flexible approach can be tailored to the unique challenges associated with a wide range of applications and data sets, providing a powerful ML-based framework for learning governing models for physical systems from data.

For agents

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

get_harvested_code_for_paper("1906.10612")
get_code_for_paper("1906.10612")
have("1906.10612")

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

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

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

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

Connect an agent — have() is free.