Score: 0

A Short Survey on Formalising Software Requirements using Large Language Models

Published: June 13, 2025 | arXiv ID: 2506.11874v1

By: Arshad Beg, Diarmuid O'Donoghue, Rosemary Monahan

Potential Business Impact:

Helps computers write perfect software code.

Business Areas:
Natural Language Processing Artificial Intelligence, Data and Analytics, Software

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.

Page Count
18 pages

Category
Computer Science:
Software Engineering