paper-with-me

Papers

VERINA: Benchmarking Verifiable Code Generation

2025-05-29 · Zhe Ye, Zhengxu Yan, Jingxuan He, Timothe Kasriel, Kaiyu Yang, Dawn Song

Large language models (LLMs) are increasingly integrated in software development, but ensuring correctness in LLM-generated code remains challenging and often requires costly manual review. Verifiable code generation -- jointly generating code, specifications, and proofs of code-specification alignment -- offers a promising path to address this limitation and further unleash LLMs' benefits in coding. Yet, there exists a significant gap in evaluation: current benchmarks often lack support for end-to-end verifiable code generation. In this paper, we introduce Verina (Verifiable Code Generation Arena), a high-quality benchmark enabling a comprehensive and modular evaluation of code, specification, and proof generation as well as their compositions. Verina consists of 189 manually curated coding tasks in Lean, with detailed problem descriptions, reference implementations, formal specifications, and extensive test suites. Our extensive evaluation of state-of-the-art LLMs reveals significant challenges in verifiable code generation, especially in proof generation, underscoring the need for improving LLM-based theorem provers in verification domains. The best model, OpenAI o4-mini, generates only 61.4% correct code, 51.0% sound and complete specifications, and 3.6% successful proofs, with one trial per task. We hope Verina will catalyze progress in verifiable code generation by providing a rigorous and comprehensive benchmark. We release our dataset on https://huggingface.co/datasets/sunblaze-ucb/verina and our evaluation code on https://github.com/sunblaze-ucb/verina.

📄 PDF Abstract BibTeX arXiv:2505.23135

Code (1)

sunblaze-ucb/verina 공식 구현

Tasks

BenchmarkingCode Generation

Similar Papers 제목 키워드 기반

VeriScale: Adversarial Test-Suite Scaling for Verifiable Code Generation

2026-05-21 · Yifan Bai, Xiaoyang Liu, Zihao Mou, Guihong Wang 외 arxiv

As large language models (LLMs) are increasingly deployed for software engineering, constructing high-quality benchmarks is crucial for evaluating not just the functional correctness, but also the formal verifiability of…

Code Generation

WybeCoder: Verified Imperative Code Generation

2026-03-31 · Fabian Gloeckle, Mantas Baksys, Darius Feher, Kunhao Zheng 외 arxiv

Recent progress in large language models (LLMs) has substantially advanced automatic code generation and formal theorem proving, yet software verification has not seen comparable gains. To address this gap, we propose Wy…

Code Generation

Automating Formal Verification with Reinforcement Learning and Recursive Inference

2026-05-29 · Max Tan arxiv

Automated formal verification remains challenging for large language models because data for proof assistants and verification-aware languages is scarce, and correctness depends on satisfying precise machine-checkable sp…

Reinforcement Learning

A Modular Benchmarking Infrastructure for High-Performance and Reproducible Deep Learning

2019-01-29 · Tal Ben-Nun, Maciej Besta, Simon Huber, Alexandros Nikolaos Ziogas 외

We introduce Deep500: the first customizable benchmarking infrastructure that enables fair comparison of the plethora of deep learning frameworks, algorithms, libraries, and techniques. The key idea behind Deep500 is its…

BenchmarkingDeep LearningVocal Bursts Intensity Prediction

Local Success Does Not Compose: Benchmarking Large Language Models for Compositional Formal Verification

2025-09-27 · Xu Xu, Xin Li, Xingwei Qu, Jie Fu 외 arxiv

We introduce DafnyCOMP, a benchmark for evaluating large language models (LLMs) on compositional specification generation in Dafny. Unlike prior benchmarks that focus on single-function tasks, DafnyCOMP targets programs …

Code Generation