mlsanityData to 14 Oct 2026

Quokka: Accelerating Program Verification with LLMs via Invariant Synthesis

arXiv 2509.21629 ↗First posted 25 Sep 2025cs.PL cs.AI cs.CLcited by 4

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

  1. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
  2. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  3. 2025Qwen3 Technical Reportcited by 8,820
  4. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  5. 2021Program Synthesis with Large Language Modelscited by 3,637
  6. 2024Qwen2.5-Coder Technical Reportcited by 1,203
  7. 2025CodeMonkeys: Scaling Test-Time Compute for Software Engineeringcited by 51
  8. 2023Lemur: Integrating Large Language Models in Automated Program Verificationcited by 49
  9. 2023Finding Inductive Loop Invariants using Large Language Modelscited by 36
  10. 2023Ranking LLM-Generated Loop Invariants for Program Verificationcited by 33
  11. 2025SATBench: Benchmarking LLMs' Logical Reasoning via Automated Puzzle Generation from SAT Formulascited by 33
  12. 2019CLN2INV: Learning Loop Invariants with Continuous Logic Networkscited by 20
8 more
  1. 2020Learning Nonlinear Loop Invariants with Gated Continuous Logic Networks (Extended Version)cited by 17
  2. 2025CodeARC: Benchmarking Reasoning Capabilities of LLM Agents for Inductive Program Synthesiscited by 16
  3. 2017DRYVR:Data-driven verification and compositional reasoning for automotive systemscited by 14
  4. 2017Horn-ICE Learning for Synthesizing Invariants and Contractscited by 11
  5. 2019SLING: Using Dynamic Analysis to Infer Program Invariants in Separation Logiccited by 7
  6. 2023Towards General Loop Invariant Generation: A Benchmark of Programs with Memory Manipulationcited by 7
  7. 2020Global Guidance for Local Generalization in Model Checkingcited by 5
  8. 2019Ilinva: Using Abduction to Generate Loop Invariantscited by 3

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 4.

4 papers.