Abstract
Compact symbolic expressions offer significant advantages over traditional neural networks in terms of resource efficiency and inference speed, particularly on custom hardware like FPGAs. However, scaling symbolic regression (SR) to high-dimensional datasets has historically been limited by the search algorithms used. We present SymbolNet, a neural network-based SR framework designed for model compression and low-latency inference. SymbolNet utilizes a novel adaptive dynamic pruning technique to optimize training loss and expression complexity simultaneously. Our approach scales to thousands of inputs, demonstrating effectiveness on tasks ranging from high-energy physics jet tagging to image classification on MNIST and SVHN.
Introduction
Symbolic Regression (SR) aims to discover mathematical equations that describe data, offering a balance between interpretability and computational efficiency. Despite these benefits, SR faces two primary challenges: the "dimensionality wall," where traditional genetic programming methods fail as input features increase, and the "optimization wall," where existing neural SR methods rely on inefficient multi-stage pruning processes.
SymbolNet addresses these limitations by reframing SR as an extreme model compression technique. It is specifically optimized for environments with stringent resource constraints, such as the CERN Large Hadron Collider, where sub-microsecond latency is required.
Architecture and Methodology
SymbolNet is built upon the Equation Learner (EQL) architecture. Instead of standard activation functions, it employs "symbolic layers" containing unary operators (e.g., $\sin, \exp, \tanh$) and binary operators (e.g., $+, \times$).
The network learns weights that determine the contribution of each operator, effectively building a complex mathematical expression through gradient-based optimization. This allows the model to leverage the scalability of neural networks while producing the compact outputs characteristic of SR.
Adaptive Dynamic Pruning
The core innovation of SymbolNet is its Adaptive Dynamic Pruning mechanism. Unlike static pruning methods that use a global threshold, SymbolNet assigns a unique, trainable threshold to every weight, input feature, and operator.
During training, weights and thresholds compete. If a weight's magnitude falls below its threshold, it is pruned. However, because thresholds are learned via backpropagation, a pruned component can "recover" if it becomes relevant later. This dynamic competition enables a single-phase training process. Furthermore, the framework includes self-adaptive regularization that adjusts its strength based on training error, ensuring the model converges to a specific target sparsity without manual tuning.
Experimental Results
The researchers evaluated SymbolNet across three scales of dimensionality:
- LHC Jet Tagging (16 inputs): Achieved a latency of just 10 ns on a Xilinx Virtex UltraScale+ FPGA, compared to 55 ns for a standard pruned DNN.
- MNIST (784 inputs): Reached 90% accuracy with a mean expression complexity of approximately 300, a feat where most traditional SR methods fail.
- Binary SVHN (3072 inputs): Successfully found compact expressions with an AUC of 0.875, whereas baseline EQL methods failed to converge.
Discussion and Future Work
SymbolNet demonstrates that SR can serve as a powerful tool for hardware-efficient model compression. By simplifying complex operators into cheaper hardware primitives (like additions or identities), it minimizes resource consumption on FPGAs.
Future work will address the challenges of non-differentiable operators (like division) and the integration of quantization-aware training to further optimize fixed-point math performance. While high-dimensional expressions can become complex, the computational efficiency gains remain a significant advancement for edge deployment in scientific research.
Summary updated