Most SR tools give a point prediction. JAXSR provides calibrated uncertainty.
| Method | Assumption | Guarantee | Use case |
|---|---|---|---|
| OLS intervals | Gaussian residuals | Exact if true | Standard regression |
| Bootstrap | None (resampling) | Approximate | Non-Gaussian data |
| Conformal prediction | Exchangeability | Finite-sample | Safety-critical |
| Bayesian Model Averaging | Model prior | Accounts for model uncertainty | Multiple plausible models |
| Ensemble disagreement | Pareto front | Structural uncertainty | Extrapolation detection |
All accessible through a unified API: model.predict_interval(), model.predict_conformal(), model.predict_bma()
Unconstrained models can violate known physics. JAXSR enforces 8 constraint types.
Example: Gibbs-Duhem Thermodynamic Consistency
| Constraint Level | Max Residual | Approach |
|---|---|---|
| Unconstrained | 0.18 | No enforcement |
| Refit only | 0.16 | Constrained refit |
| Iterative selection | 0.007 | Constraint-aware model search |
| Hard (null-space) | 2.78 x 10^-11 | Exact at machine precision |
Physics-informed models extrapolate better and inspire greater confidence.
Experiments are expensive. JAXSR includes 15 acquisition functions for sequential experimental design -- no Gaussian process surrogate needed.
Langmuir isotherm case: 8 initial points + 12 actively selected points recovered
All computed in closed form from OLS posterior -- fast enough for real-time lab use.
JAXSR extends to broader scientific modeling tasks:
Symbolic Classification
ODE Discovery (SINDy-style)
Response Surface Methodology
JAXSR is not just a library -- it is a workflow platform.
jaxsr fit data.csv, jaxsr predict, jaxsr comparecross_val_score, GridSearchCV, PipelineDesigned for scientists who want to focus on science, not software.
Where we are: A mature, open-source tool with 19,000 lines of code, 294 tests, and comprehensive documentation.
Where we want to go:
Scientific impact:
Interpretable models accelerate discovery by revealing mechanisms, not just correlations.
Broader impacts:
Open-source, no commercial dependencies -- accessible to any research group worldwide.
Unique position:
No other open-source tool combines deterministic SR + UQ + constraints + active learning.
Proven foundation:
Working software with extensive test suite, documentation, and example applications in chemical kinetics, thermodynamics, heat transfer, and experimental design.
JAXSR makes the transition from "black-box prediction" to "interpretable scientific understanding" practical, rigorous, and accessible.
JAXSR: Open-Source Symbolic Regression via Sparse Optimization with JAX
John R. Kitchin | Carnegie Mellon University
Department of Chemical Engineering
GitHub: github.com/jkitchin/jaxsr
Questions?