English

A Short Survey on Formalising Software Requirements using Large Language Models

Software Engineering 2025-06-16 v1

Abstract

This paper presents a focused literature survey on the use of large language models (LLM) to assist in writing formal specifications for software. A summary of thirty-five key papers is presented, including examples for specifying programs written in Dafny, C and Java. This paper arose from the project VERIFAI - Traceability and verification of natural language requirements that addresses the challenges in writing formal specifications from requirements that are expressed in natural language. Our methodology employed multiple academic databases to identify relevant research. The AI-assisted tool Elicit facilitated the initial paper selection, which were manually screened for final selection. The survey provides valuable insights and future directions for utilising LLMs while formalising software requirements.

Keywords

Cite

@article{arxiv.2506.11874,
  title  = {A Short Survey on Formalising Software Requirements using Large Language Models},
  author = {Arshad Beg and Diarmuid O'Donoghue and Rosemary Monahan},
  journal= {arXiv preprint arXiv:2506.11874},
  year   = {2025}
}

Comments

Submitted to SAIV 2025 as extended abstract and received valuable comments improving our draft. This version is the improved one after addressing suggestions from reviewers for improving the draft

R2 v1 2026-07-01T03:16:01.074Z