cs.SCNov 23, 2026

Vitrify Exact Learning: exact differential equations, changes of variable and closed forms from numerical data

Authors: Benedict Irwin, Alexander Mathiasen, Tom Etminan

Organizations: Vitrify Labs

Abstract

Symbolic regression searches a space of expression trees for a formula that fits data. Many functions of the sciences have no finite expression over the usual operations and still satisfy a linear differential equation with polynomial coefficients. Vitrify Exact Learning takes nu- merical values of a function and proceeds in three steps. It assumes that the function, in its own variable or after a change of variable or a pushforward of a density, is annihilated by an operator with polynomial coefficients. It finds that operator as the null vector of a matrix of weak-form measurements, in which the data are integrated against test functions and never differentiated, makes the coefficients exact, and tests the exact operator on data that the fit did not read against a noise level propagated from the data. It then solves the exact operator symbolically and keeps the closed form that matches the data. Each step has precedent; the combination takes values on an interval, from a quadrature, a float64 table or a sample, to an exact equation and a closed form. On noise-free benchmarks it recovers 45 of 53 classic targets, 108 of the 120 AI Feynman equations and 74.1% of the Feynman problems of SR- Bench, against 33, 69 and 55.8% for the best other programs, and 50 of 132 special-function targets generated after its code was frozen, against 23. From 40-digit values it returns Meijer G densities, hypergeometric forms for the deflection of light by a black hole, and Appell and Lauricella functions of two variables. With noise in several variables, with sparse data and for equations above fourth order it mostly returns no model.

Figures & tables

Explore similar work

Jun 5, 2026

A Data-Free Symbolic Regression Approach for Solving Equations

Many equations arising in science currently cannot be solved by available analytical techniques and are therefore solved numerically, without yielding explicit symbolic expressions. Existing symbolic regression approaches can recover symbolic expressions, but require training data obtained from the underlying process, rather than the governing equation alone. We propose the Symbolic Equation Solver (SES), a framework that formulates equation solving as an optimization problem over differentiable symbolic models. SES constructs its objective from the equation together with initial or boundary conditions, eliminating the need for paired input-output data. The learned model is expressed in explicit symbolic form, enabling further analysis. We evaluate SES on representative algebraic and differential equations, including a system of algebraic equations, an equation with transcendental terms, an ordinary differential equation, and partial differential equations with different initial or boundary conditions. Across these settings, SES recovers compact symbolic expressions that match the corresponding analytical solutions.
Sep 17, 2026

MOSAIC-SR: Transformer-Guided Symbolic Regression for Scientific Equation Recovery

Symbolic regression aims to recover closed-form equations from observations, providing interpretable models for scientific discovery. Existing approaches struggle to combine flexible structural search with efficient inference. Search-based methods can refine expression structure but often rely on costly combinatorial optimization with random initialization. Pretrained neural models generate formulas almost instantly, but their predictions often contain symbolic errors. We introduce MOSAIC-SR, which uses a pretrained Transformer to propose multiple initial sketches. These sketches initialize searches in several promising regions, avoiding random starts in the vast expression space. Each search jointly recovers structure and constants through scale-aware constant optimization and local symbolic repair. We evaluate MOSAIC-SR on the SRSD-Feynman dataset with and without dummy variables and on six additional benchmarks. MOSAIC-SR obtains the highest symbolic solution rate on every dataset while ranking among the top two methods in predictive accuracy. This advantage persists in the presence of irrelevant dummy inputs. The results show that learned priors can focus search on promising equation structures, and that numerical optimization and symbolic repair are important for recovery.
Jul 5, 2026

Language models guide symbolic equation discovery by controlling search

Scientific equation discovery must combine broad domain priors with strict numerical testing. Symbolic regression supplies numerical grounding but faces a combinatorial search space, whereas many language-model systems ask the model to propose or select formulas directly. We test a different division of labour. We compare role specifications in which the language model acts as equation author, candidate decider or search controller, alongside end-to-end language-model and purely numerical baselines. In the controller setting we propose here, implemented as LLM-PySR, language models specify variables, operators, transformations and search depth; symbolic regression enumerates and fits expressions; and deterministic metrics govern retention. Across 74 AI-Feynman equations and seven complex formula-recovery tasks, search control achieved the strongest observed balance of accuracy, complexity, stability and cost. On an independent battery dataset, LLM-PySR identified a compact piecewise-linear relation between early voltage-curve displacement and cycle life. The results suggest that language models should shape hypothesis exploration rather than decide which equations survive.