Papers › AI Feynman 2.0: Pareto-optimal symbolic regression exploiting graph modularity

AI Feynman 2.0: Pareto-optimal symbolic regression exploiting graph modularity

18 Jun 2020NeurIPS 2020 12arXiv:2006.10782archive 2025-07-28

Silviu-Marian Udrescu, Andrew Tan, Jiahai Feng, Orisvaldo Neto, Tailin Wu, Max Tegmark

We present an improved method for symbolic regression that seeks to fit data to formulas that are Pareto-optimal, in the sense of having the best accuracy for a given complexity. It improves on the previous state-of-the-art by typically being orders of magnitude more robust toward noise and bad data, and also by discovering many formulas that stumped previous methods. We develop a method for discovering generalized symmetries (arbitrary modularity in the computational graph of a formula) from gradient properties of a neural network fit. We use normalizing flows to generalize our symbolic regression method to probability distributions from which we only have samples, and employ statistical hypothesis testing to accelerate robust brute-force search.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2006.10782")

Code

Syntology Ran 5 of 20 code samples harvested from 2 repositories linked to this paper; 15 have no recorded run. Of those that ran: 1 ran · violated contract; 4 ran · our draft was wrong.

By repository: community (archive-listed): 20 samples from 2 repositories, 5 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

SJ001/AI-Feynman mentioned on GitHubpytorchMIT report
zykhoo/ai-feynman mentioned on GitHubpytorch report

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

20 samples harvested; 5 ran; 0 honoured the contract we drafted; 15 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · violated contract
4ran · our draft was wrong
15unverified

Licence: 0 of the 20 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 2 repositories linked to this paper, official or community; each sample names its own and says which. “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. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (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 from a repository marked official are listed first. 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 four 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; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). 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.

draw_samples zykhoo/ai-feynman/aifeynman/S_gradient_decomposition.py community (archive-listed) ran · our draft was wrong MIT (permissive) · 45e77154a33a4ee2 · report
filter_decompositions_relative_scoring zykhoo/ai-feynman/aifeynman/S_gradient_decomposition.py community (archive-listed) ran · our draft was wrong MIT (permissive) · 3f393d2c3c8a8dd6 · report
powerset_atleast_2 zykhoo/ai-feynman/aifeynman/S_gradient_decomposition.py community (archive-listed) ran · our draft was wrong MIT (permissive) · 252c1aad46c908fa · report
score_consistency zykhoo/ai-feynman/aifeynman/S_gradient_decomposition.py community (archive-listed) ran · our draft was wrong fingerprinted MIT (permissive) · 96167167f766b306 · report
signal_to_noise zykhoo/ai-feynman/aifeynman/S_gradient_decomposition.py community (archive-listed) ran · violated contract fingerprinted MIT (permissive) · ec79e09961e5f71d · report
NN_eval SJ001/AI-Feynman/aifeynman/S_NN_eval.py community (archive-listed) unverified MIT (permissive) · 4a9e454bb7c407bf · report
NN_train SJ001/AI-Feynman/aifeynman/S_NN_train.py community (archive-listed) unverified MIT (permissive) · 1f12c200481a3f18 · report
RPN_to_eq SJ001/AI-Feynman/aifeynman/RPN_to_eq.py community (archive-listed) unverified MIT (permissive) · 7c2df61572f9e3c0 · report
RPN_to_pytorch SJ001/AI-Feynman/aifeynman/RPN_to_pytorch.py community (archive-listed) unverified MIT (permissive) · f71b2f2208f359cc · report
add_bf_on_numbers_on_pareto SJ001/AI-Feynman/aifeynman/S_add_bf_on_numbers_on_pareto.py community (archive-listed) unverified MIT (permissive) · aefecb64907f3e4f · report
add_snap_expr_on_pareto SJ001/AI-Feynman/aifeynman/S_add_snap_expr_on_pareto.py community (archive-listed) unverified MIT (permissive) · 799d88fb2639c6a0 · report
add_sym_on_pareto SJ001/AI-Feynman/aifeynman/S_add_sym_on_pareto.py community (archive-listed) unverified MIT (permissive) · 9198af899b3208cb · report
brute_force_comp SJ001/AI-Feynman/aifeynman/S_brute_force_comp.py community (archive-listed) unverified MIT (permissive) · 5139d3e67c91cdd3 · report
brute_force_gen_sym SJ001/AI-Feynman/aifeynman/S_brute_force_gen_sym.py community (archive-listed) unverified MIT (permissive) · 947b21e6e1a2cb74 · report
brute_force_number SJ001/AI-Feynman/aifeynman/S_brute_force_number.py community (archive-listed) unverified MIT (permissive) · c8434b02a9ba199f · report
evaluate_derivatives SJ001/AI-Feynman/aifeynman/S_NN_get_gradients.py community (archive-listed) unverified MIT (permissive) · 6fc741317fe3c443 · report
evaluate_derivatives_andrew zykhoo/ai-feynman/aifeynman/S_gradient_decomposition.py community (archive-listed) unverified MIT (permissive) · 05a477901acb3736 · report
intify SJ001/AI-Feynman/aifeynman/S_add_snap_expr_on_pareto.py community (archive-listed) unverified MIT (permissive) · a081d0e97957a1f7 · report
rmse_loss SJ001/AI-Feynman/aifeynman/S_NN_eval.py community (archive-listed) unverified MIT (permissive) · f194288004a3dba8 · report
visualize_distribution zykhoo/ai-feynman/aifeynman/S_gradient_decomposition.py community (archive-listed) unverified MIT (permissive) · 21905df6db18ffa8 · report

Tasks

Symbolic RegressionTwo-sample testingregression

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Normalizing Flows

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