Quokka: Accelerating Program Verification with LLMs via Invariant Synthesis
Not on the map. Why?
Abstract (arXiv)
Program verification relies on loop invariants, yet automatically discovering strong invariants remains a long-standing challenge. We investigate whether large language models (LLMs) can accelerate program verification by generating useful loop invariants. We introduce Quokka, a framework for LLM-based invariant synthesis with soundness guarantees and state-of-the-art performance. Unlike prior work that treats LLM outputs as noisy symbolic material requiring substantial post-processing, Quokka adopts a simpler algorithm design that directly validates whether each LLM-generated invariant helps prove the target assertion. We construct a benchmark of 866 evaluation instances and 3589 training instances derived from SV-COMP, and evaluate 9 LLMs spanning multiple model families. We demonstrate that supervised fine-tuning and Best-of-N sampling yield measurable improvements, and we show that Quokka consistently outperforms prior LLM-based verifiers. Our code and data are publicly available at https://github.com/Anjiang-Wei/Quokka
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 20 of its 57 references that are in the map. First posted on arXiv 25 Sep 2025.
Builds on
20 of 57 references.
References · 20
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2025Qwen3 Technical Reportcited by 8,820
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2021Program Synthesis with Large Language Modelscited by 3,637
- 2024Qwen2.5-Coder Technical Reportcited by 1,203
- 2025CodeMonkeys: Scaling Test-Time Compute for Software Engineeringcited by 51
- 2023Lemur: Integrating Large Language Models in Automated Program Verificationcited by 49
- 2023Finding Inductive Loop Invariants using Large Language Modelscited by 36
- 2023Ranking LLM-Generated Loop Invariants for Program Verificationcited by 33
- 2025SATBench: Benchmarking LLMs' Logical Reasoning via Automated Puzzle Generation from SAT Formulascited by 33
- 2019CLN2INV: Learning Loop Invariants with Continuous Logic Networkscited by 20
8 more
- 2020Learning Nonlinear Loop Invariants with Gated Continuous Logic Networks (Extended Version)cited by 17
- 2025CodeARC: Benchmarking Reasoning Capabilities of LLM Agents for Inductive Program Synthesiscited by 16
- 2017DRYVR:Data-driven verification and compositional reasoning for automotive systemscited by 14
- 2017Horn-ICE Learning for Synthesizing Invariants and Contractscited by 11
- 2019SLING: Using Dynamic Analysis to Infer Program Invariants in Separation Logiccited by 7
- 2023Towards General Loop Invariant Generation: A Benchmark of Programs with Memory Manipulationcited by 7
- 2020Global Guidance for Local Generalization in Model Checkingcited by 5
- 2019Ilinva: Using Abduction to Generate Loop Invariantscited by 3
Built on by
Citing papers per year: 2026: 4.
4 papers.
- 2026Agentic Interpretation: Lattice-Structured Evidence for LLM-Based Program Analysiscited by 0
- 2026FVSpec: Real-World Property-Based Tests as Lean Challengescited by 0
- 2026Partial Contracts Suffice: Sound, LLM-Inferred Regression Verificationcited by 0
- 2026Schwarz: Solver-Aware Agentic Program Verificationcited by 0
- 2026Schwarz: Solver-Aware Agentic Program Verification31 Aug 2026
- 2026Partial Contracts Suffice: Sound, LLM-Inferred Regression Verification11 Jul 2026
- 2026FVSpec: Real-World Property-Based Tests as Lean Challenges31 May 2026
- 2026Agentic Interpretation: Lattice-Structured Evidence for LLM-Based Program Analysis12 May 2026