SymMatika: High-Impact Substructure-Reuse for Symbolic Discovery
cs.LG
Submitted: 2025-07-03
Updated: 2026-11-29
Code: https://github.com/generalroboticslab/SymMatika
License: http://creativecommons.org/licenses/by-nc-nd/4.0/
The gist: Symbolic regression (SR) seeks to recover closed-form mathematical expressions that describe observed data.
Terminology
Abstract
Symbolic regression (SR) seeks to recover closed-form mathematical expressions that describe observed data. While existing methods have advanced the discovery of either explicit mappings (i.e., y = f(x)) or discovering implicit relations (i.e., F(x)=0), few modern and accessible frameworks support both. Moreover, most approaches treat each expression candidate in isolation, without reusing recurring structural patterns that could accelerate search. Those that do reuse substructures select them by frequency among top candidates, which does not measure whether a substructure actually contributes to an expression's fitness. We introduce SymMatika, a symbolic regression framework built around an updating ``motif'' library, which scores subtrees of top-performing candidates by their measured impact on fitness, stores high-impact subtrees in a bounded shared library, and recombines them to guide future generations. The library sits on a feedback-driven evolutionary engine that adapts operator rates and candidate generation to each population's progress, and the same mechanisms support both explicit and implicit relation discovery using implicit-derivative metrics. On Nguyen, SymMatika recovers 96.5% of expressions on average and 61% of Nguyen-12, where the next-best method recovers 2%. On the 119 Feynman equations and 57 SRBench Black-box problems, it lies on the error-complexity Pareto front with the most compact expressions of any competitive method, and it recovers implicit relations on Eureqa's physical systems. These results indicate that impact-based substructure reuse is an effective strategy for scientific discovery. Our complete codebase has been open-sourced.
Sources
- Interpretable Machine Learning for Science with PySR and SymbolicRegression.jl
- Automated Discovery of Operable Dynamics from Videos
- Extrapolation and learning equations
- Symbolic Regression via Neural-Guided Genetic Programming Population Seeding
- Deep symbolic regression: Recovering mathematical expressions from data via risk-seeking policy gradients
- Noise-Resilient Symbolic Regression with Dynamic Gating Reinforcement Learning
- Symbolic Regression is NP-hard
Related papers
- Biologically Inspired Coordination of Parameter Selection and Update Strength for Language Model Adaptation
- Sketching for First Order Method: Efficient Algorithm for Low-Bandwidth Channel and Vulnerability
- The WMDP Benchmark: Measuring and Reducing Malicious Use With Unlearning
- On the notion of missingness for path attribution explainability methods in medical settings: Guiding the selection of medically meaningful baselines
- Variable-Length Generative Protein Design via Generalized Poisson Flow
- UniCon: Unified Framework for Efficient Contrastive Alignment via Kernels