LASSI-Verify: Adaptive Empirical Verification of LLM-Generated Parallel Scientific Code Transformations
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.
Create a lesson
Metadata
- Categories
- cs.AI, cs.DC, cs.PL, cs.SE
- Comments
- 12 pages, 2 figures, accepted to Correctness '26
Related papers
Verify-Before-Fuse: Cross-Modal Compatibility Verification and Adaptive Fusion for In-the-Wild Multimodal Depression Detection
Shared title terminologycs.AIFangyuan Liu, Sirui Zhao, Guo Cheng et al.
GenViC: Learning to Generate, Verify, and Commit for Agentic Long Audio-Video Generation
Shared title terminologycs.AIYijun Liu, Zeyue Xue, Yanwen Ma et al.
When the Question Changes the Grade: A Paired Benchmark and an Empirical Audit of Mathematical Answer Verifiers
Shared title terminologycs.AIFeilian Huang, Yujia Liu
When Does Feedback Help? Evaluating Feedback for Iterative Refinement in Coding Agents
Shared title terminologycs.AIAmin Banayeeanzade, Mengxuan Hu, Qingchuan Yang et al.
WebRelay: Plan-First Synthesis of Verifiable Long-Horizon Tasks for Browser Agents
Shared title terminologycs.AIChenting Xu, Chuang Peng, Zilin Guo et al.
On the Robust Generation of Synthetic Financial Statements
Shared title terminologycs.AIAlfredo Garrachón Ruiz, Tomás de la Rosa, Daniel Borrajo