SymTorch: Symbolic Distillation of Neural Networks
Not on the map. Why?
Abstract (arXiv)
What mathematical functions do neural network components learn? Symbolic distillation addresses this question by expressing neural network components with interpretable, closed-form mathematical expressions that expose the functional structure learned during training. We develop symbolic distillation as a systematic, architecture-agnostic methodology, and release our approach as the open-source SymTorch package - a PySR-powered library built natively for the PyTorch ecosystem. Applying this methodology across diverse architectures, we find that SymTorch is successful in the automated discovery of physical laws. Specifically, our approach (1) recovers pairwise interaction forces from graph neural networks trained on empirical n-body observations, (2) distills the exact closed-form PDE/ODE solutions of multiple physical systems, including the value of constants, from physics-informed neural networks trained on sparse data, and (3) uncovers the chaotic dynamics of the Lorenz system from high-dimensional data, ultimately outperforming the base neural network on downstream prediction tasks. We further demonstrate the utility of our framework for model interpretability by providing an optimized implementation of SLIME - a symbolic extension to the LIME explainability method. SLIME consistently outperforms LIME across predictive metrics across eight popular classification and regression benchmarks, while still providing an interpretable local symbolic model. Lastly, we investigate replacing transformer MLP layers with symbolic surrogates: replacing 1-7 layers with symbolic approximations yields 2-19% throughput improvements and up to 18.7% VRAM reduction, with the resulting hybrid models lying on the Pareto front of throughput versus perplexity among open-source LLMs of comparable scale.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 14 of its 25 references that are in the map. First posted on arXiv 24 Feb 2026.
Builds on
14 of 25 references.
References · 14
- 2017A Unified Approach to Interpreting Model Predictionscited by 6,555
- 2016Pointer Sentinel Mixture Modelscited by 3,096
- 2019Fast Graph Representation Learning with PyTorch Geometriccited by 2,434
- 2022Fast Inference from Transformers via Speculative Decodingcited by 1,653
- 2018Relational inductive biases, deep learning, and graph networkscited by 1,360
- 2022LLM.int8(): 8-bit Matrix Multiplication for Transformers at Scalecited by 906
- 2019AI Feynman: a Physics-Inspired Method for Symbolic Regressioncited by 548
- 2020Discovering Symbolic Models from Deep Learning with Inductive Biasescited by 344
- 2021Block Pruning For Faster Transformerscited by 177
- 2022A Logic for Expressing Log-Precision Transformerscited by 67
- 2023Tighter Bounds on the Expressivity of Transformer Encoderscited by 66
- 2025What Has a Foundation Model Found? Using Inductive Bias to Probe for World Modelscited by 47
2 more
Built on by
Citing papers per year: 2026: 2.
2 papers.