Papers
Topics
Authors
Recent
Search
2000 character limit reached

Annealed SMC Samplers for Global Optimization

Updated 9 November 2025
  • The paper demonstrates that annealed sequential Monte Carlo samplers systematically enumerate candidate models up to a fixed complexity, ensuring global optimality.
  • It integrates an information-theoretic MDL-based model selection with robust, parallelized parameter fitting to overcome limitations of traditional stochastic approaches.
  • Empirical results show that these samplers yield interpretable, parsimonious models that outperform conventional genetic programming in both accuracy and efficiency.

Exhaustive Symbolic Regression (ESR) is a deterministic, globally optimal framework for symbolic regression that systematically enumerates all possible analytic expressions up to a prescribed complexity threshold and ranks them using the minimum description length (MDL) principle. ESR addresses two central limitations of conventional stochastic approaches—namely, the risk of missing optimal solutions and the ambiguity in function-selection criteria—by integrating exhaustive combinatorial search and information-theoretic model selection. The methodology is extensible to diverse operator sets and scientific domains; empirical studies show superiority or complementarity to traditional genetic programming-based methods.

1. Problem Formalization and Exhaustive Search Structure

In symbolic regression, the objective is to recover an analytic function f(x;θ)f(x;\theta) from a finite dataset D={(xi,yi,σi)}i=1ND = \{(x_i, y_i, \sigma_i)\}_{i=1}^N, where yiy_i are observed targets, σi\sigma_i measurement uncertainties, and ff is drawn from expressions constructed with operators and variables from a predefined basis O\mathcal{O}. ESR imposes a hard complexity budget KK (max tree nodes), and systematically enumerates every possible expression tree up to size KK, considering all labelings of internal nodes with operators of appropriate arity.

Unique expressions are identified at two levels:

  • Structural deduplication: Only tree shapes that yield valid, acyclic computation graphs are retained.
  • Algebraic equivalence: For each candidate, aggressive symbolic simplification (commutativity, distributivity, parametric redefinition, and canonicalization) is employed to collapse all algebraically equivalent forms to a canonical representative; parameter permutations and integer constant simplification are incorporated.

For each unique expression, free parameters θ\theta are optimized using numerical likelihood maximization, and the full list of fitted models is ranked by a composite description-length objective.

2. Minimum Description Length (MDL) Model Selection

The MDL score L(D;f)L(D; f) for a candidate D={(xi,yi,σi)}i=1ND = \{(x_i, y_i, \sigma_i)\}_{i=1}^N0 is formulated in nats as: D={(xi,yi,σi)}i=1ND = \{(x_i, y_i, \sigma_i)\}_{i=1}^N1 where:

  • D={(xi,yi,σi)}i=1ND = \{(x_i, y_i, \sigma_i)\}_{i=1}^N2: minus log-likelihood for the data under D={(xi,yi,σi)}i=1ND = \{(x_i, y_i, \sigma_i)\}_{i=1}^N3 (maximum-likelihood parameter fit); under Gaussian noise,

D={(xi,yi,σi)}i=1ND = \{(x_i, y_i, \sigma_i)\}_{i=1}^N4

  • D={(xi,yi,σi)}i=1ND = \{(x_i, y_i, \sigma_i)\}_{i=1}^N5: number of tree nodes; D={(xi,yi,σi)}i=1ND = \{(x_i, y_i, \sigma_i)\}_{i=1}^N6: basis/operator set size (D={(xi,yi,σi)}i=1ND = \{(x_i, y_i, \sigma_i)\}_{i=1}^N7 per node)
  • D={(xi,yi,σi)}i=1ND = \{(x_i, y_i, \sigma_i)\}_{i=1}^N8: cumulative penalty for integer constants in normalization/canonicalization
  • D={(xi,yi,σi)}i=1ND = \{(x_i, y_i, \sigma_i)\}_{i=1}^N9: number of free continuous parameters
  • yiy_i0: observed Fisher information matrix diagonal at yiy_i1 (second derivatives of yiy_i2)
  • yiy_i3: absorbing constant from parameter precision coding

This information-theoretic trade-off encodes both model complexity (structural and parametric) and data-fit (likelihood), favoring parsimonious, high-accuracy models.

3. Search and Fitting Algorithmic Workflow

The ESR pipeline follows this deterministic procedure:

  1. Tree template enumeration: Generate all operator-arity tree shapes up to complexity yiy_i4 (structural enumeration).
  2. Operator assignment: For each template, exhaustively assign basis operators to tree nodes; maintain only valid, executable expression candidates.
  3. Canonicalization and deduplication: Simplify and hash expressions to collapse all algebraic duplicates; retain only the canonical form.
  4. Parameter fitting: For each unique expression, perform nonlinear optimization (e.g., BFGS) of real parameters yiy_i5 to maximize data likelihood; employ multi-starts for robustness against local optima.
  5. Scoring: Compute MDL score for each fitted model using the formula above.
  6. Ranking: Sort all models by increasing yiy_i6; present the top-ranked model(s) or those within an information threshold yiy_i7.

Strong pruning heuristics (early canonicalization, partial tree simplification, parallelized fitting) and pre-computation of tree templates are applied to make exhaustive search computationally feasible for yiy_i8.

4. Complexity and Computational Feasibility

The number of possible expressions before deduplication grows as yiy_i9, where σi\sigma_i0 is the σi\sigma_i1-th Catalan number (tree shapes), and σi\sigma_i2 the operator set size. For σi\sigma_i3 and σi\sigma_i4, this is σi\sigma_i5 expressions, yet hash-based deduplication reduces the required parameter fits by up to three orders of magnitude (e.g., σi\sigma_i6M enumerated σi\sigma_i7 σi\sigma_i8 unique for σi\sigma_i9).

With aggressive parallelization, empirical timing data indicate that for ff0, enumeration and deduplication require ff1 minutes and parameter fitting ff2 CPU-hours on ff3 cores. Wall time scales as ff4; beyond ff5 feasibility degrades rapidly.

5. Comparison with Traditional Genetic Programming Symbolic Regression

Property ESR Stochastic GP
Search completeness Deterministic, globally complete up to ff6 Probabilistic, may miss optimum
Parameter fitting Full numerical optimization per candidate Local or post-hoc often used
Model ranking Single scalar MDL score Pareto front, selection is ad hoc
Algebraic equivalence Canonicalization eliminates duplicates No guarantee
Computational expense High but parallelizable; bounded by ff7 Scalable but non-deterministic

ESR guarantees discovery of all possible functions (within ff8) and a single, principled model-selection mechanism. Empirically, ESR finds the true optimal formula in toy and physical-law benchmarks where stochastic GP often returns approximate forms or misses sharp performance transitions at threshold complexity.

6. Notable Empirical Results and Applications

Astrophysical applications demonstrate ESR’s impact:

  • Cosmic expansion rate ff9: ESR+MDL selects simpler models (O\mathcal{O}0; O\mathcal{O}1) with significantly better description lengths O\mathcal{O}2 than the standard O\mathcal{O}3CDM formula (O\mathcal{O}4; O\mathcal{O}5), for both cosmic-chronometer (32 points) and Pantheon+ supernova (1590 points) data. The MDL-optimal forms may suggest overparameterization or non-uniqueness in standard cosmological models for current data quality.
  • MOND radial-acceleration relation: ESR recovers hundreds of functions outperforming classic O\mathcal{O}6-functions in MDL; most best-fit models do not reproduce the deep-MOND limit, indicating the data alone do not uniquely specify the functional form.
  • Inflationary potential reconstruction: ESR with a grammar prior (Katz O\mathcal{O}7-gram) recovers physically preferred functional forms (e.g., O\mathcal{O}8), with literature standards (Starobinsky, quadratic, quartic) ranking far lower in MDL.

Benchmarking on toy problems further demonstrates that ESR rediscovers canonical formulas (e.g., normalized Gaussian) exactly, identifying the minimal complexity required for zero-error representation.

7. Limitations, Extensions, and Significance

ESR is limited by exponential scaling in complexity and operator set size. For O\mathcal{O}9 or very large operator banks, run-time and memory costs become prohibitive. Additionally, ESR only explores the expressivity permitted by the fixed basis and grammar; unrepresented classes of expressions or highly nested forms beyond KK0 are inaccessible.

Potential extensions involve hierarchical or language-model-based priors for operator selection (as shown in inflationary reconstructions), hybrid ESR-GP approaches (using ESR-generated models as seeds for further stochastic search at higher complexity), and the application of ESR to alternative coding/decoding or noise models. The MDL framework could also be adapted to cross-validation or predictive criteria when measurement uncertainties are unknown.

In summary, ESR provides a definitive, reproducible, and interpretable pipeline for symbolic regression, with a mathematically grounded model-selection criterion and deterministic convergence properties. Studies demonstrate that ESR can outperform dominant heuristic algorithms in both classical and scientific symbolic discovery, offering a credible alternative for critical domains where model optimality and interpretability are paramount (Desmond, 17 Jul 2025, Bartlett et al., 2022).

Definition Search Book Streamline Icon: https://streamlinehq.com
References (2)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Annealed Sequential Monte Carlo Samplers.