Canonical Execution Semantics for Stochastic Program Generators

AI systems increasingly generate computation---through large language models, program synthesizers, and agent frameworks---rather than having humans write it directly. When the generator is stochastic, independently generated programs that represent the same intended computation arrive in different surface forms, producing different hashes, different provenance records, and failed replay comparisons. We argue that execution systems for stochastic generators require a canonical execution boundary: an architectural invariant that partitions the pipeline into a stochastic upstream (generation, admission) and a deterministic downstream (planning, execution, provenance). Stochasticity does not propagate beyond this boundary. We report on BLISP, a deterministic execution system that enforces this boundary through four mechanisms: (1) typed specifications that constrain stochastic generators to propose structured parameter tuples rather than executable expressions, eliminating surface-form divergence by construction; (2) a canonicalization pipeline whose traced normalization algebra collapses 278 surface forms to 235 canonical operations; (3) 8-layer execution hashing that decomposes provenance into distinct semantic layers for per-layer fault localization; and (4) description/identity separation in a content-addressed capability registry, where discovery metadata evolves independently of execution identity. We evaluate canonicalization collapse under 1,200 stochastic LLM generations, replay determinism across 50 independent runs, and provenance stability across registry evolution. The results support the central thesis: AI-generated computation should not execute stochastic outputs directly; stochastic proposals should first compile into deterministic semantic objects before execution begins.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-05-30
DOI
https://doi.org/10.5281/zenodo.20457255
Primary Topic
Scientific Computing and Data Management
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Canonical Execution Semantics for Stochastic Program Generators

Thomas Dionysopoulos
Zenodo (CERN European Organization for Nuclear Research)
Scientific Computing and Data Management
article

Canonical Execution Semantics for Stochastic Program Generators

Thomas Dionysopoulos
article en

Abstract

AI systems increasingly generate computation---through large language models, program synthesizers, and agent frameworks---rather than having humans write it directly. When the generator is stochastic, independently generated programs that represent the same intended computation arrive in different surface forms, producing different hashes, different provenance records, and failed replay comparisons. We argue that execution systems for stochastic generators require a canonical execution boundary: an architectural invariant that partitions the pipeline into a stochastic upstream (generation, admission) and a deterministic downstream (planning, execution, provenance). Stochasticity does not propagate beyond this boundary. We report on BLISP, a deterministic execution system that enforces this boundary through four mechanisms: (1) typed specifications that constrain stochastic generators to propose structured parameter tuples rather than executable expressions, eliminating surface-form divergence by construction; (2) a canonicalization pipeline whose traced normalization algebra collapses 278 surface forms to 235 canonical operations; (3) 8-layer execution hashing that decomposes provenance into distinct semantic layers for per-layer fault localization; and (4) description/identity separation in a content-addressed capability registry, where discovery metadata evolves independently of execution identity. We evaluate canonicalization collapse under 1,200 stochastic LLM generations, replay determinism across 50 independent runs, and provenance stability across registry evolution. The results support the central thesis: AI-generated computation should not execute stochastic outputs directly; stochastic proposals should first compile into deterministic semantic objects before execution begins.

Zenodo (CERN European Organization for Nuclear Research)
Peace, Justice and strong institutions
Openalex Percentile: Top 3%
Scientific Computing and Data Management
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.