区分评估器,而非程序:神经符号学习的高效运行时表示
Differentiate the Evaluator, Not the Program: An Efficient Runtime Representation for Neuro-Symbolic Learning
AI总结:
研究神经符号学习中程序与参数协同搜索瓶颈,提出原生可微虚拟机(NDVM),将符号结构与可微数值状态分离,实现运行时差异化,提升搜索效率。
摘要:
人工智能系统提出的可执行科学模型价值取决于符号结构和连续参数,参数校准成协同搜索瓶颈。本文提出NDVM,一种运行时表示,将符号结构与可微数值状态分离,通过单次评估器遍历为大量参数向量摊销成本,实现运行时差异化,提升科学发现工作流效率。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。