paper-with-me

홈 › Papers

Natural Language based Specification and Verification

2026-05-11 · Zhaorui Li, Chengyu Song arxiv

Recent frontier large language models (LLMs) have shown strong performance in identifying security vulnerabilities in large, mature open-source systems. As LLM-generated code becomes increasingly common, a natural goal is to prevent such models from producing vulnerable implementations in the first place. Formal verification offers a principled route to this objective, but existing verification pipelines typically require specifications written in rigid formal languages. Prior work has explored using LLMs to synthesize such specifications, with limited success. In this paper, we investigate a different approach: using LLMs both to generate specifications and to verify implementations compositionally when the specifications are expressed in natural language. Our preliminary results suggest that this approach is promising.

📄 PDF Abstract BibTeX arXiv:2605.11315

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Formalising Software Requirements using Large Language Models

2025-06-12 · Arshad Beg, Diarmuid O'Donoghue, Rosemary Monahan

This paper is a brief introduction to our recently initiated project named VERIFAI: Traceability and verification of natural language requirements. The project addresses the challenges in the traceability and verificatio…

Talking with Verifiers: Automatic Specification Generation for Neural Network Verification

2026-02-13 · Yizhak Y. Elboher, Reuven Peleg, Zhouxing Shi, Guy Katz 외 arxiv

Neural network verification tools currently support only a narrow class of specifications, typically expressed as low-level constraints over raw inputs and outputs. This limitation significantly hinders their adoption an…

Doc2Spec: Synthesizing Formal Programming Specifications from Natural Language via Grammar Induction

2026-01-30 · Shihao Xia, Mengting He, Haomin Jia, Linhai Song arxiv

Ensuring that API implementations and usage comply with natural language programming rules is critical for software correctness, security, and reliability. Formal verification can provide strong guarantees but requires p…

From Natural Language to Verified Code: Toward AI Assisted Problem-to-Code Generation with Dafny-Based Formal Verification

2026-04-24 · Md Erfan, Md Kamal Hossain Chowdhury, Ahmed Ryan, Md Rayhanur Rahman arxiv

Large Language Models (LLMs) show promise in automated software engineering, yet their guarantee of correctness is frequently undermined by erroneous or hallucinated code. To enforce model honesty, formal verification re…

Code Generation

nl2spec: Interactively Translating Unstructured Natural Language to Temporal Logics with Large Language Models

2023-03-08 · Matthias Cosler, Christopher Hahn, Daniel Mendoza, Frederik Schmitt 외

A rigorous formalization of desired system requirements is indispensable when performing any verification task. This often limits the application of verification techniques, as writing formal specifications is an error-p…