Papers › Differentiate the Evaluator, Not the Program: An Efficient Runtime Representation for...

Differentiate the Evaluator, Not the Program: An Efficient Runtime Representation for Neuro-Symbolic Learning

3 Jul 2026arXiv:2607.03574added by Syntology

Lucas Sheneman

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

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.

PaperPDFCode Syntology ran

In Syntology View this paper on Syntology: its repositories, every harvested function with whether it ran, its licence and the call to fetch it.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2607.03574")

Code

Syntology Ran 14 of 15 code samples harvested from 1 repository linked to this paper; 1 has no recorded run. Of those that ran: 14 ran with no contract checked.

By repository: found in paper text by Syntology: 15 samples from 1 repository, 14 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

sheneman/ndvm found in paper text by Syntology report

Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

15 samples harvested; 14 ran; 0 honoured the contract we drafted; 1 has no recorded run. Read from Syntology's graph 2026-09-25; that is when this build read the record, not when the samples ran.

14ran
1unverified

Licence: 0 of the 15 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from sheneman/ndvm. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

build_obs_matrix sheneman/ndvm/ndvm/profiling/perlane_sweep.py found in paper text by Syntology ran MIT (permissive) · 447169e61f9816ff · report
extract sheneman/ndvm/ndvm/profiling/cosearch_propose.py found in paper text by Syntology ran fingerprinted MIT (permissive) · 3780cc81a37c42dd · report
gen_candidates sheneman/ndvm/ndvm/profiling/cosearch_cached_staging.py found in paper text by Syntology ran MIT (permissive) · ae6099fe7e8b4144 · report
kalman_src sheneman/ndvm/ndvm/profiling/perlane_sweep.py found in paper text by Syntology ran fingerprinted MIT (permissive) · 8e73eecea3c9504f · report
leaf_list sheneman/ndvm/ndvm/profiling/bytecode_vm_e2e.py found in paper text by Syntology ran MIT (permissive) · a0de5e44e10b04d6 · report
make_mats sheneman/ndvm/ndvm/profiling/alloc_counters.py found in paper text by Syntology ran MIT (permissive) · 6d21b06c77371c5c · report
make_obs sheneman/ndvm/ndvm/profiling/cosearch_budget.py found in paper text by Syntology ran fingerprinted MIT (permissive) · 353ead5dbed47585 · report
make_task sheneman/ndvm/ndvm/profiling/cosearch_e2e.py found in paper text by Syntology ran MIT (permissive) · 17102751a2d4873c · report
one sheneman/ndvm/ndvm/profiling/cosearch_propose.py found in paper text by Syntology ran MIT (permissive) · f71d85a81f058340 · report
one sheneman/ndvm/ndvm/profiling/cosearch_rec_propose.py found in paper text by Syntology ran MIT (permissive) · a0ba6a06dd81d2f6 · report
params_used sheneman/ndvm/ndvm/profiling/cosearch_e2e.py found in paper text by Syntology ran MIT (permissive) · f3c66f815c78ccaa · report
skeleton sheneman/ndvm/ndvm/profiling/cosearch_e2e.py found in paper text by Syntology ran fingerprinted MIT (permissive) · 9fb61c6b4d55945f · report
target sheneman/ndvm/ndvm/profiling/cosearch_gradcheck.py found in paper text by Syntology ran fingerprinted MIT (permissive) · e82dcaee1e843df5 · report
w_params sheneman/ndvm/ndvm/profiling/bytecode_vm_e2e.py found in paper text by Syntology ran MIT (permissive) · 9556ab92d190dfdc · report
time_one_B sheneman/ndvm/ndvm/profiling/perlane_sweep.py found in paper text by Syntology unverified MIT (permissive) · 14dd2e31402021fc · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2607.03574, was issued in July 2026, after that date, so the archive has no leaderboard rows for it.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections