SymMatika: Structure-Aware Symbolic Discovery

Michael Scherk, Boyuan Chen · Submission to ICLR 2026 · Rejected

TL;DR

SymMatika is a new symbolic regression framework that accelerates the discovery of mathematical laws by treating equations like biological sequences. By maintaining a "motif library" of high-performing sub-expressions and using a feedback-driven evolutionary engine, it achieves state-of-the-art accuracy on physics benchmarks and discovers implicit relations up to 100x faster than previous industry standards.

What Problem Does This Paper Address?

Symbolic Regression (SR) is the task of finding a concise, closed-form mathematical expression (like $F=ma$) that explains a set of data. It is a "needle-in-a-haystack" problem because the space of possible equations grows exponentially with the number of variables and operators.

The authors identify three major gaps in current SR research:

  1. Structural Blindness: Most Genetic Programming (GP) methods treat each candidate equation in isolation, failing to recognize and reuse recurring "building blocks" (sub-expressions) that work well across different candidates.
  2. Specialization: Most tools are designed for either explicit mappings ($y = f(x)$) or implicit relations ($F(x, y) = 0$), but rarely both.
  3. Search Efficiency: Standard GP often relies on fixed mutation and crossover rates, which can lead to "uninformed exploration" and slow convergence.

Methods

SymMatika introduces a hybrid approach that combines traditional Genetic Programming with several bio-inspired and adaptive innovations:

  • Reusable Motif Library: Inspired by biological sequence analysis, SymMatika identifies "motifs"—high-impact sub-trees within top-performing equations. It calculates an "impact score" for these sub-structures and stores them in a central library to be recombined into future generations.
  • Feedback-Based Operator Scheduling: Instead of using fixed probabilities for mutation and crossover, the system dynamically adjusts these rates based on the population's progress. If the search plateaus, the algorithm shifts its strategy to favor different types of variation.
  • Multi-Island GP with Migration: The search runs in parallel across multiple "islands" (populations). Periodically, individuals migrate between islands to maintain genetic diversity and prevent the search from getting stuck in local optima.
  • Unified Explicit/Implicit Discovery: To handle implicit relations (like conservation laws where no single variable is the "output"), SymMatika uses a fitness metric based on the implicit function theorem, comparing symbolic partial derivatives against numerical estimates from the data.
  • Temperature-Guided Selection: Using a simulated annealing approach, the algorithm starts with high "temperature" (favoring exploration and diversity) and gradually cools down to focus on refining the fittest candidates.

Datasets

The authors evaluated SymMatika against a wide range of standard and complex benchmarks:

  • Nguyen Benchmark (1-12): A classic set of symbolic regression problems.
  • Feynman Equations: A suite of 100 physics equations derived from the Feynman Lectures on Physics.
  • SRBench Black-box: A subset of 57 difficult problems used to test how well the model handles real-world, noisy, or complex data.
  • Eureqa Physical Systems: Time-series data from physical simulations (e.g., pendulums, circular motion) used specifically to test implicit relation discovery.

Key Insights and Ideas

  • Structure-Awareness is a Game Changer: The "aha moment" of the paper is that mathematical expressions, much like DNA, contain functional modules. By explicitly extracting and protecting these "motifs," the search can jump to correct solutions much faster than by mutating individual tokens.
  • Adaptivity Prevents Stagnation: By monitoring the "plateau height" of a population, the algorithm knows when to "rebuild" a population or change its mutation strategy, mimicking how natural systems might respond to environmental pressures.
  • Implicit Discovery is Practical: The paper demonstrates that you don't always need a labeled "y" variable to find the governing laws of a system; the relationships between variables' derivatives are enough to recover complex physics.

Key Results

  • Nguyen-12 Breakthrough: On the notoriously difficult Nguyen-12 problem, SymMatika achieved a 61% recovery rate, while the next best baseline (Operon) managed only 2%.
  • State-of-the-Art on Feynman: It recovered 73 out of 100 Feynman equations, outperforming even recent models that use Large Language Models (LLMs) for guidance (like LaSR).
  • Massive Speedups: When compared to Eureqa (the long-standing gold standard for implicit SR), SymMatika was 10x to 100x faster at converging on the correct physical laws.
  • Pareto Efficiency: In black-box tests, SymMatika consistently found equations that were both more accurate and significantly less complex (shorter) than those found by competing algorithms like TPSR or SNIP.

Limitations and Future Work

Despite its success, the authors note that SymMatika still struggles with:

  • Ultra-Complex Nested Structures: Equations with very long, non-repeating structures (like certain specific Feynman problems) provide fewer opportunities for motif reuse.
  • High-Dimensional Implicit Data: The current implicit derivative metric becomes computationally expensive and harder to optimize as the number of variables increases beyond five.
  • Noise Robustness: While not the primary focus of this paper, the authors identify exploring robustness to noisy experimental data as a critical next step.

The framework has been open-sourced to encourage further research into interpretable scientific discovery.

Summary updated

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(\mathbf{x})$) or discovering implicit relations (i.e., $F(\mathbf{x}, y)=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. We introduce SymMatika, a hybrid SR algorithm that combines multi-island genetic programming (GP) with a reusable motif library inspired by biological sequence analysis. SymMatika identifies high-impact substructures in top-performing candidates and reintroduces them to guide future generations. Additionally, it incorporates a feedback-driven evolutionary engine and supports both explicit and implicit relation discovery using implicit-derivative metrics. Across benchmarks, SymMatika achieves state-of-the-art recovery rates on the Nguyen and Feynman benchmark suites, an impressive recovery rate of 61\% on Nguyen-12 compared to the next best 2\%, and strong placement on the error-complexity Pareto fronts on the Feynman equations and on a subset of 57 SRBench Black-box problems. Our results demonstrate the power of structure-aware evolutionary search for scientific discovery. To support broader research in interpretable modeling and symbolic discovery, we have open-sourced the full SymMatika framework.
BibTeX
@misc{scherk2025symmatika,
  author = {Michael Scherk and Boyuan Chen},
  title = {{SymMatika: Structure-Aware Symbolic Discovery}},
  year = {2025},
  eprint = {2507.03110},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2507.03110},
}
Figure