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

Publication Details

Journal
arXiv
Published
2026-12-01
Primary Topic
Software Testing and Debugging Techniques
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

LASSI-Verify: Adaptive Empirical Verification of LLM-Generated Parallel Scientific Code Transformations

Valerie Taylor, Matthew T. Dearing, Zhiling Lan, Xingfu Wu
arXiv
Software Testing and Debugging Techniques
preprint

LASSI-Verify: Adaptive Empirical Verification of LLM-Generated Parallel Scientific Code Transformations

Valerie Taylor, Matthew T. Dearing, Zhiling Lan, Xingfu Wu
preprint en

Abstract

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.

arXiv
Software Testing and Debugging Techniques
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.

Laika access coming soon