[Paper Review] Fast Neural Models for Symbolic Regression at Scale
OccamNet is a fast, lightweight neural network model that discovers interpretable, sparse symbolic expressions for regression tasks by combining probabilistic function sampling with gradient-based optimization via cross-entropy matching. It achieves state-of-the-art performance on real-world datasets, fitting complex functions in minutes on a single CPU and scaling efficiently on GPUs without requiring AI accelerators.
Deep learning owes much of its success to the astonishing expressiveness of neural networks. However, this comes at the cost of complex, black-boxed models that extrapolate poorly beyond the domain of the training dataset, conflicting with goals of finding analytic expressions to describe science, engineering and real world data. Under the hypothesis that the hierarchical modularity of such laws can be captured by training a neural network, we introduce OccamNet, a neural network model that finds interpretable, compact, and sparse solutions for fitting data, a la Occam's razor. Our model defines a probability distribution over a non-differentiable function space. We introduce a two-step optimization method that samples functions and updates the weights with backpropagation based on cross-entropy matching in an evolutionary strategy: we train by biasing the probability mass toward better fitting solutions. OccamNet is able to fit a variety of symbolic laws including simple analytic functions, recursive programs, implicit functions, simple image classification, and can outperform noticeably state-of-the-art symbolic regression methods on real world regression datasets. Our method requires minimal memory footprint, does not require AI accelerators for efficient training, fits complicated functions in minutes of training on a single CPU, and demonstrates significant performance gains when scaled on a GPU. Our implementation, demonstrations and instructions for reproducing the experiments are available at this https URL.
Motivation & Objective
- To develop a scalable, efficient method for symbolic regression that produces compact, interpretable analytic expressions.
- To address the poor extrapolation and black-box nature of standard deep learning models in scientific and engineering contexts.
- To enable training on CPU with minimal memory footprint while maintaining high performance.
- To discover symbolic laws including implicit functions, recursive programs, and image classification rules.
- To scale effectively on GPUs for faster training without requiring specialized AI accelerators.
Proposed method
- OccamNet defines a probability distribution over a non-differentiable function space to explore symbolic expressions.
- It uses a two-step optimization: function sampling followed by backpropagation-based weight updates via cross-entropy matching.
- The model biases the probability mass toward better-fitting functions through evolutionary strategy optimization.
- It leverages neural network weights to represent and refine symbolic expressions in a differentiable manner.
- The method supports diverse function types, including analytic, recursive, and implicit functions.
- Training is performed using gradient updates based on fitness evaluation, enabling efficient optimization without direct differentiation of the symbolic space.
Experimental results
Research questions
- RQ1Can a neural network model discover compact, interpretable symbolic expressions that generalize well beyond training data?
- RQ2Can symbolic regression be performed efficiently on CPU with minimal memory and without AI accelerators?
- RQ3Does a probabilistic, differentiable framework for function space sampling improve performance over existing symbolic regression methods?
- RQ4Can the model scale effectively on GPUs while maintaining low memory usage and high training speed?
- RQ5Can the approach handle diverse function types, including implicit and recursive functions, in real-world regression tasks?
Key findings
- OccamNet achieves state-of-the-art performance on real-world regression datasets, outperforming existing symbolic regression methods.
- The model fits complex functions in minutes of training on a single CPU, demonstrating high efficiency.
- It scales significantly with GPU usage, showing notable performance gains when hardware acceleration is applied.
- The method requires minimal memory footprint, making it suitable for resource-constrained environments.
- It successfully discovers symbolic expressions across diverse function types, including implicit and recursive functions.
- The use of cross-entropy matching and evolutionary sampling enables effective optimization in a non-differentiable function space.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.