LASSI-Verify: Adaptive Empirical Verification of LLM-Generated Parallel Scientific Code Transformations
Large language models transform parallel scientific code faster than humans can review. Existing pipelines accept transformations that compile, run, and satisfy an LLM judge, none of which provides evidence for behavior preservation, while whole-program formal proof remains impractical for kernels lacking formal specifications. We present LASSI-Verify, a work-in-progress adaptive empirical verification framework treating the source's observable behavior as its specification and grounding acceptance in three tiers: invariant assertions, observational equivalence, and metamorphic relations. A seeded witness chain, added after observing LLMs delete timed work to fabricate speedups, supplies iteration-integrity evidence toward operational equivalence, and every failure doubles as a repair signal. Because a verifier must itself be verified, we grade benchmark checks before trusting them as oracles. In preliminary results, the framework rejected all 13 oracle-detected defects across 350 self-corrected variants of 16 HeCBench CUDA kernels, while an LLM judge, reasoning over code text and output rather than executed state, accepted three.
Authors
- Valerie Taylor (ORCID: https://orcid.org/0000-0001-6061-0191)
- Matthew T. Dearing (ORCID: https://orcid.org/0000-0002-1270-2857)
- Zhiling Lan (ORCID: https://orcid.org/0000-0002-1047-8724)
- Xingfu Wu
Publication Details
- Journal
- arXiv
- Published
- 2026-12-01
- Primary Topic
- Software Testing and Debugging Techniques
- Type
- preprint