Skip to main content
QUICK REVIEW

[Paper Review] VaSST: Variational Inference for Symbolic Regression using Soft Symbolic Trees

Somjit Roy, Pritam Dey|arXiv (Cornell University)|Feb 27, 2026
Machine Learning in Materials ScienceMaterials Science0 citations
TL;DR

VaSST provides a scalable probabilistic framework for symbolic regression using continuous relaxations (soft symbolic trees) and variational inference, enabling uncertainty quantification and improved structure discovery and predictive accuracy.

ABSTRACT

Symbolic regression has recently gained traction in AI-driven scientific discovery, aiming to recover explicit closed-form expressions from data that reveal underlying physical laws. Despite recent advances, existing methods remain dominated by heuristic search algorithms or data-intensive approaches that assume low-noise regimes and lack principled uncertainty quantification. Fully probabilistic formulations are scarce, and existing Markov chain Monte Carlo-based Bayesian methods often struggle to efficiently explore the highly multimodal combinatorial space of symbolic expressions. We introduce VaSST, a scalable probabilistic framework for symbolic regression based on variational inference. VaSST employs a continuous relaxation of symbolic expression trees, termed soft symbolic trees, where discrete operator and feature assignments are replaced by soft distributions over allowable components. This relaxation transforms the combinatorial search over an astronomically large symbolic space into an efficient gradient-based optimization problem while preserving a coherent probabilistic interpretation. The learned soft representations induce posterior distributions over symbolic structures, enabling principled uncertainty quantification. Across simulated experiments and Feynman Symbolic Regression Database within SRBench, VaSST achieves superior performance in both structural recovery and predictive accuracy compared to state-of-the-art symbolic regression methods.

Motivation & Objective

  • Recover explicit governing equations from data with principled uncertainty and interpretability.
  • Overcome limitations of heuristic and data-intensive SR methods by providing a probabilistic framework.
  • Enable scalable inference via continuous relaxation of symbolic trees to gradient-based optimization.
  • Provide uncertainty quantification over symbolic structures through posterior distributions.
  • Control model complexity to promote parsimonious, interpretable expressions.

Proposed method

  • Represent the symbolic space as a forest of K symbolic trees evaluated on data.
  • Use a Normal-Inverse-Gamma prior for regression coefficients and noise variance within a Bayesian linear-regression-like stage.
  • Embed each symbolic tree into a full binary skeleton of depth D with a deterministic pruning step to form valid trees.
  • Introduce soft symbolic trees by applying Binary Concrete and Gumbel-Softmax relaxations to discretely indexed choices (expansion, operators, features).
  • Evaluate soft trees to produce a soft design matrix T_soft and optimize the ELBO via black-box variational inference with stochastic gradient methods.
  • Estimate uncertainty by sampling hard symbolic trees from the learned variational posterior and selecting models with favorable in-sample RMSE.
Figure 3: Computational scalability of $\mathsf{VaSST}$ , BMS , BSR .
Figure 3: Computational scalability of $\mathsf{VaSST}$ , BMS , BSR .

Experimental results

Research questions

  • RQ1Can VaSST accurately recover underlying symbolic expressions while providing uncertainty quantification over the discovered structures?
  • RQ2How does VaSST's predictive performance and structural recovery compare to state-of-the-art symbolic regression methods?
  • RQ3Is VaSST scalable to realistic symbolic spaces and robust to noise through its continuous relaxation and annealing scheme?
  • RQ4What is the impact of the depth-dependent prior on the parsimony and interpretability of discovered expressions?

Key findings

  • VaSST achieves superior performance in both structural recovery and predictive accuracy in simulated experiments and on the Feynman Symbolic Regression Database within SRBench.
  • The framework provides principled uncertainty quantification by inducing posterior distributions over symbolic structures.
  • VaSST outperforms several state-of-the-art SR methods, including QLattice, gplearn, DEAP, BMS, and BSR, in reported comparisons.
  • Structural parsimony is promoted via a depth-dependent prior that regularizes tree depth, aligning with Occam’s razor.
  • An annealing schedule gradually shifts from soft, explore configurations to near-discrete trees, aiding stable learning.
  • Hard symbolic trees sampled from the learned posterior enable uncertainty-informed model selection and interpretation.
Figure I.1: Out-of-sample RMSEs over $10$ repetitions of a $90/10$ train-test split for $\mathsf{VaSST}$ ( $K=3$ and $D=3$ ) and competing methods across varying noise settings while learning $\mathbf{y}=\mathbf{x}_{0}^{2}-\mathbf{x}_{1}+\tfrac{1}{2}\mathbf{x}_{2}^{2}$ in ( 24 ).
Figure I.1: Out-of-sample RMSEs over $10$ repetitions of a $90/10$ train-test split for $\mathsf{VaSST}$ ( $K=3$ and $D=3$ ) and competing methods across varying noise settings while learning $\mathbf{y}=\mathbf{x}_{0}^{2}-\mathbf{x}_{1}+\tfrac{1}{2}\mathbf{x}_{2}^{2}$ in ( 24 ).

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.