Verified but Vacuous: Three Failure Surfaces of LLM-Driven Verified Code Generation
Summary
- This research paper examines three distinct failure surfaces in LLM-driven verified code generation: verifier acceptance (Surface A), syntactic specification binding (Surface B), and semantic specification fidelity (Surface C).
- Empirical demonstrations show that these surfaces separate, such as a pipeline reaching 99.1% verifier acceptance on HumanEval while only 1.9% carried a certificate binding to a spec-defined predicate or function.
- Even within fully-verifiable Rust outputs enforced by an in-house pipeline (VCG), structurally-verified samples still failed hidden tests at rates of 11.48% on MBPP-Rust and 14.82% on the VeriContest LC slice.
Why it matters
High verifier acceptance rates in LLM-generated code do not guarantee correct specification binding or semantic fidelity, highlighting critical gaps in current evaluation pipelines for verified software development.