Differentiate the Evaluator, Not the Program: An Efficient Runtime Representation for Neuro-Symbolic Learning
Not on the map. Why?
Abstract (arXiv)
AI systems increasingly propose executable scientific models whose value depends on both their symbolic structure and their fitted continuous parameters. This makes parameter calibration the bottleneck of program-and-parameter co-search: an outer loop can generate thousands of candidate programs, but each needs an inner gradient-based optimization before it can be assessed. Staging each candidate into its own differentiable graph makes individual models fast but sacrifices the program-as-data property that keeps search fluid; interpreter-based approaches preserve programs as runtime data but pay interpreter overhead that dominates the numerical work. We present the Native Differentiable Virtual Machine (NDVM), a runtime representation that differentiates executable programs without compiling each candidate into a separate graph. NDVM separates symbolic structure from differentiable numeric state: tags, symbols, environments, and control remain native runtime data, while numeric payloads live in dense batched buffers with exact reverse-mode gradients recorded along the realized execution trace, so one evaluator walk is amortized across large populations of parameter vectors. A locked cost model of a real differentiable self-hosted Scheme interpreter motivates the design. We realize NDVM as a native runtime with forward and gradient equivalence to the reference backend, about 60x per-lane batch amortization, near-linear multicore scaling, and two independent front ends. In fixed-budget co-search over LLM-proposed programs, NDVM reaches high-quality solutions about 24x sooner in wall-clock time, suggesting runtime differentiation as a practical systems foundation for scientific discovery workflows.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 31 of its 65 references that are in the map. First posted on arXiv 3 Jul 2026.
Builds on
31 of 65 references.
References · 31
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2016Categorical Reparameterization with Gumbel-Softmaxcited by 2,708
- 2018DARTS: Differentiable Architecture Searchcited by 1,782
- 2016The Concrete Distribution: A Continuous Relaxation of Discrete Random Variablescited by 1,135
- 2025AlphaEvolve: A coding agent for scientific and algorithmic discoverycited by 763
- 2014Neural Turing Machinescited by 630
- 2019AI Feynman: a Physics-Inspired Method for Symbolic Regressioncited by 536
- 2019Neural Probabilistic Logic Programming in DeepProbLogcited by 389
- 2018Pyro: Deep Universal Probabilistic Programmingcited by 379
- 2015Neural GPUs Learn Algorithmscited by 118
- 2023Tracr: Compiled Transformers as a Laboratory for Interpretabilitycited by 99
- 2015Neural Programmer-Interpreterscited by 96
19 more
- 2019A Differentiable Programming System to Bridge Machine Learning and Scientific Computingcited by 81
- 2023Scallop: A Language for Neurosymbolic Programmingcited by 63
- 2018Don't Unroll Adjoint: Differentiating SSA-Form Programscited by 44
- 2016Programming with a Differentiable Forth Interpretercited by 33
- 2016Differentiable Programs with Neural Librariescited by 30
- 2020Learning Differentiable Programs with Admissible Neural Heuristicscited by 30
- 2018The simple essence of automatic differentiationcited by 22
- 2018Demystifying Differentiable Programming: Shift/Reset the Penultimate Backpropagatorcited by 14
- 2016TerpreT: A Probabilistic Programming Language for Program Inductioncited by 12
- 2019A Simple Differentiable Programming Languagecited by 11
- 2021Getting to the Point. Index Sets and Parallelism-Preserving Autodiff for Pointful Array Programmingcited by 10
- 2020λS: Computable Semantics for Differentiable Programming with Higher-Order Functions and Datatypescited by 8
- 2016Differentiable Functional Program Interpreterscited by 6
- 2019Automatically Batching Control-Intensive Programs for Modern Acceleratorscited by 6
- 2021Swift for TensorFlow: A portable, flexible platform for deep learningcited by 6
- 2023Smoothing Methods for Automatic Differentiation Across Conditional Branchescited by 6
- 2026Gradient-Based Program Synthesis with Neurally Interpreted Languagescited by 3
- 2023ωPAP Spaces: Reasoning Denotationally About Higher-Order, Recursive Probabilistic and Differentiable Programscited by 1
- 2026The Neural Compiler: Program-to-Network Translation for Hybrid Scientific Machine Learningcited by 1
Built on by
Not cited yet.