Skip to content
OpenTrain AIFor AI Companies

Interpretable Machine Learning for Science with PySR and SymbolicRegression.jl

Miles CranmerPublished May 2, 2023
arXiv PDF
Researcher verdict
Starting point
Use as implementation starting point
Benchmark evidence
Missing
Not verified yet
Time to first repro
A few hours
Fast first run
Risk flags
0
None detected

Abstract

Domain fit: AI-adjacent · Paper appears method- or tooling-adjacent to AI workflows with partial ecosystem coverage.

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.

Results and benchmarks

Freshness tier: cold
PySR is an open-source library for practical symbolic regression, a type of machine learning which aims to discover human-interpretable symbolic models.

Implementation

Best maintained implementation now

Recommended
Confidence: High
Reproducibility: Strong

High-Performance Symbolic Regression in Python and Julia

3,733 stars · 349 forks · Last push Aug 22, 2026 · Apache-2.0 license

  • License
  • CI
  • Dependencies
  • Docker

Official implementation from Papers with Code · Repository link is mentioned in the paper metadata · Partial overlap with paper title keywords

Why this implementation
Confidence: high

MilesCranmer/PySR is the strongest maintained implementation based on ranking signals. CI workflows are present. License is declared (Apache-2.0).

Open MilesCranmer/PySR
Reproduction risks
  • No repository-level red flags were detected, but paper-specific preprocessing and hyperparameter details may still be under-specified.
  • Selected MilesCranmer/PySR as the strongest maintained implementation for new work.
  • Includes CI workflow signals.
  • Includes dependency/environment manifest signals.
  • Repository activity is within the last 24 months.

Compare implementation paths

Compare maintenance quality, reproducibility coverage, and evidence confidence before choosing a reproduction baseline.

MilesCranmer/PySR
best maintained
Maintenance
Active
Confidence
High
Reproducibility
Strong
Stars
3,733
Last push
Aug 22, 2026 (3d)

Official implementation from Papers with Code · Repository link is mentioned in the paper metadata

Maintenance
Active
Confidence
High
Reproducibility
Moderate
Stars
803
Last push
Aug 21, 2026 (4d)

Official implementation from Papers with Code · Repository link is mentioned in the paper metadata

  • No Docker setup
  • Dependency manifest missing
Maintenance
Stale
Confidence
High
Reproducibility
Strong
Stars
68
Last push
Feb 5, 2024 (932d)

Official implementation from Papers with Code · Repository link is mentioned in the paper metadata

  • No push in 12+ months
  • No Docker setup

Reproduction readiness

Time to first repro: hours
Last checked: Aug 23, 2026

Ready to run

Ready to reproduce

  • Clone MilesCranmer/PySR and install dependencies from pyproject.toml.
  • Dockerfile available for containerized reproduction.
  • CI pipeline detected, so automated tests are in place.
  • Last updated 3 days ago.
Open MilesCranmer/PySR

Quick start

git clone https://github.com/MilesCranmer/PySR.git
pip install -e .

Repositories and ecosystem

Official

  • milescranmer/pysr_paper
    Confidence: High

    A paper describing the implementation of PySR and SymbolicRegression.jl

    68 stars · 15 forks · Last push Feb 5, 2024 · MIT license

Community

  • astroautomata/PySR
    Confidence: Medium

    High-Performance Symbolic Regression in Python and Julia

    3,733 stars · 349 forks · Last push Aug 22, 2026 · Apache-2.0 license

Hugging Face artifacts

No direct paper-linked artifacts were found. Showing strongest curated related artifacts for faster exploration.

Research context

Evaluation and human feedback data

Open this paper in HFEPX to review benchmark signals, evaluation modes, and human-feedback protocol context.

Open in HFEPX

Data includes links from Papers with Code ( CC-BY-SA-4.0 ).