Natural Language based Specification and Verification

Zhaorui Li, Chengyu Song
5/11/2026
cs.SEcs.AIcs.CR

No confident code implementation found for this paper. 4 possible matches can be shown below.

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 4 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{li2026natural,
  title  = {Natural Language based Specification and Verification},
  author = {Zhaorui Li and Chengyu Song},
  year   = {2026},
  eprint = {2605.11315},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.11315v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2605.11315.svg)](https://codeofpaper.com/paper/2605.11315)

Discussion