Papers › Interpretable Machine Learning for Science with PySR and SymbolicRegression.jl
Interpretable Machine Learning for Science with PySR and SymbolicRegression.jl
Miles Cranmer
PySR is an open-source library for practical symbolic regression, a type of machine learning which aims to discover human-interpretable symbolic models. PySR was developed to democratize and popularize symbolic regression for the sciences, and is built on a high-performance distributed back-end, a flexible search algorithm, and interfaces with several deep learning packages. PySR's internal search algorithm is a multi-population evolutionary algorithm, which consists of a unique evolve-simplify-optimize loop, designed for optimization of unknown scalar constants in newly-discovered empirical expressions. PySR's backend is the extremely optimized Julia library SymbolicRegression.jl, which can be used directly from Julia. It is capable of fusing user-defined operators into SIMD kernels at runtime, performing automatic differentiation, and distributing populations of expressions to thousands of cores across a cluster. In describing this software, we also introduce a new benchmark, "EmpiricalBench," to quantify the applicability of symbolic regression algorithms in science. This benchmark measures recovery of historical empirical equations from original and synthetic datasets.
In Syntology View this paper on Syntology, its page in Syntology's graph. That page adds which of its functions are also present in other papers' code Syntology holds, with dates, and its dated run record as JSON and a README badge. It also lists the repositories linked to the paper, the abstract and the calls for agents.
Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.
For agents, on Syntology's MCP service (how to connect):
get_harvested_code_for_paper(arxiv_id="2305.01582")get_code(code_sha256="…")with a sample'scode_sha256from the list belowget_citation_path(paper_1="2305.01582", paper_2="…")with another paper's arXiv id or titleget_concepts_for_paper(arxiv_id="2305.01582")
Code
Syntology 29 code samples harvested from 4 repositories linked to this paper: 22 ran (of which 0 constructed an object rather than computing a result; 19 with no instrument failure: 1 honoured, 0 violated, 18 with no contract checked; 3 where Syntology's instrument failed) · 7 unverified. Where Syntology's instrument failed: 3 where our contract draft was wrong; failures of Syntology's instrument, not of the code.
By repository: official repository: 18 samples from 3 repositories, 14 ran (11 with no instrument failure; 3 where Syntology's instrument failed); community (archive-listed): 11 samples from 1 repository, 8 ran (8 with no instrument failure; 0 where Syntology's instrument failed). The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.
Levels written between 2026-09-22 and 2026-09-26 (UTC): the dates Syntology's graph wrote each sample's verification level, not when the code executed.
Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.
Code Syntology ran Syntology
29 samples harvested: 22 ran (of which 0 constructed an object rather than computing a result; 19 with no instrument failure: 1 honoured, 0 violated, 18 with no contract checked; 3 where Syntology's instrument failed) · 7 unverified. “Where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Syntology's record for this page last changed ; when this build read Syntology's graph is in the build record. That date is not when the samples ran.
Licence: 0 of the 29 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.
Harvested from 4 repositories linked to this paper, official or community; the list below is grouped by repository, each group headed by its name and what it is to the paper. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. A line beginning “fixture:” under a sample that ran gives the arguments Syntology's fixture called the sample with, each as name:type/rank/element kind (? where none was recorded), and the type of what the fixture's run returned, exactly as the harness recorded them; the arguments and the returned type were recorded by two separate runs of the same fixture. No output value is shown, and a returned type says nothing about whether the output was right. “Level recorded” gives the UTC date when Syntology's graph wrote the sample's verification level, not when the code executed; where the level was written before Syntology's graph kept that date, the row says “level recorded, date not recorded”. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself. “Our draft was wrong” and “the contract check could not run” are failures of Syntology's instrument, not of the code: the sample ran on Syntology's synthesized input, and then the drafted contract did not describe it, or the check itself raised an error (RAISES), lacked a dependency (DEP_MISSING) or ran out of time (TIMEOUT); hover the label for which. A metamorphic tier, where shown, is evidence of the output's shape, not that the sample implements the method.
Each sample ends with its code_sha256. A sample's code_sha256 is Syntology's identity for that exact code. It is printed in full (16 hexadecimal characters for every sample in this build), and get_code(code_sha256="…") takes it exactly as printed. An agent calls it on Syntology's MCP service (how to connect); click an identity to copy that call.
Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples are grouped by repository: a repository marked official first, then by how directly the repository is tied to the paper, then in the archive's order; never by how many ran. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of six reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar); this paper's copy was not located, so its licence is not recorded; or this paper's copy is cleared, but the stored copy of the same code that Syntology serves is not. Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.
A function or class name links to its page when the name occurs in the harvested code of at least 5 papers; the name is a string, not an identity.
2e8d4f68018bb06b · report
fixture: signature X:ndarray/2/float, y:ndarray/1/float, Xresampled:ndarray/2/float, random_state:RandomState/0/? · returned tuple · level recorded 2026-09-26 35cac027aec2fc9a · report
fixture: signature columns:list/1/str · returned tuple · level recorded 2026-09-26 788c8f857dfc7e08 · report
fixture: signature X:ndarray/2/float, y:ndarray/2/float, Xresampled:ndarray/2/float, random_state:RandomState/0/? · returned tuple · level recorded 2026-09-26 e6060650fde67a36 · report
fixture: signature X:ndarray/2/float, y:ndarray/1/float, select_k_features:int/0/int, random_state:RandomState/0/? · returned ndarray · level recorded 2026-09-26 2b540eef802dcbec · report
fixture: signature expression:Add/0/?, symbols_in:list/1/Symbol, selection:NoneType/0/?, extra_jax_mappings:NoneType/0/? · returned tuple · level recorded 2026-09-26 7dcdebb05351545b · report
fixture: signature expr:Add/0/?, parameters:list/1/empty, symbols_in:list/1/Symbol, extra_jax_mappings:dict/0/? · returned str · level recorded 2026-09-26 2f9e8a418b2ddf46 · report
fixture: signature expr:Add/0/?, prec:int/0/int, full_prec:bool/0/bool · returned str · level recorded 2026-09-26 87522bac09e9f038 · report
fixture: signature equations:DataFrame/0/?, indices:list/1/int, precision:int/0/int, columns:list/1/str, max_equation_length:int/0/int, output_variable_name:str/0/str · returned str · level recorded 2026-09-26 550105efb9068877 · report
fixture: signature eqn:Add/0/?, sympy_symbols:list/1/Symbol, selection:ndarray/1/bool · returned CallableEquation · level recorded 2026-09-26 748684a68ada334b · report
dbaba5d6f75f42b2 · report
fixture: signature code:str/0/str, rstate:NoneType/0/? · returned int · level recorded 2026-09-22 f6c7138e24af8065 · report
fixture: signature problem:dict/0/?, rstate:RandomState/0/? · returned tuple · level recorded 2026-09-22 425b9408358a1729 · report
fixture: signature node:Node/0/?, levels:list/1/int · returned Node · level recorded 2026-09-26 787326048f48a5af · report
fixture: signature jsonl_path:str/0/str, progress:bool/0/bool · returned DiGraph · level recorded 2026-09-26 d9fc600105551ba1 · report
fixture: signature G:DiGraph/0/? · returned DiGraph · level recorded 2026-09-26 7339ce430d9364c3 · report
fixture: signature x:ndarray/1/float, y:ndarray/1/float · returned ndarray · level recorded 2026-09-24 cedb288dc6f7aa5b · report
fixture: signature x:ndarray/2/float, y:ndarray/2/float, y_up:ndarray/2/float, y_down:ndarray/2/float, fit_y_unc:bool/0/bool · returned tuple · level recorded 2026-09-24 dfe1ce2145be470b · report
fixture: signature func_str:str/0/str, param:dict/0/?, cov:dict/0/?, x:ndarray/1/float, x_finer:ndarray/1/float, n_samples:int/0/int · returned tuple · level recorded 2026-09-24 009111bb1da07095 · report
fixture: signature x:ndarray/1/float, y:ndarray/1/float, y_up:ndarray/1/float, y_down:ndarray/1/float, x_min:float/0/float, x_max:float/0/float, scale_y_by:str/0/str · returned tuple · level recorded 2026-09-24 d09001cea2cb6d5d · report
fixture: signature y:ndarray/2/float, x:ndarray/2/float · returned ndarray · level recorded 2026-09-24 8835c31e0f902ddc · report
fixture: signature number:float/0/float, sig_fig:int/0/int · returned float64 · level recorded 2026-09-24 83cf752c5fd1aa95 · report
fixture: signature sympy_expr:Add/0/?, sig_fig:int/0/int · returned Add · level recorded 2026-09-24 e4406709fbceb341 · report
fixture: signature x:Tensor/1/float · returned Tensor · level recorded 2026-09-24 Tasks
Results from the paper archive 2025-07-28
No leaderboard rows for this paper in the archive.
Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections