Formalising Software Requirements using Large Language Models

📅 2025-06-12
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
Natural language requirements in software development suffer from poor formalization and weak cross-phase traceability. Method: This paper proposes VERIFAI, a novel framework that integrates large language models (LLMs), domain ontologies, and similarity-based retrieval of reusable software components to enable end-to-end automated generation of formal specifications from natural language requirements, with full traceability across phases. VERIFAI leverages LLM-driven semantic understanding, ontology-guided structural mapping, and component-level similarity search to support bidirectional traceability between design, implementation, and verification—and AI-assisted verification. Contribution/Results: Experiments demonstrate that VERIFAI improves formalization efficiency by 3.2× over baseline approaches and achieves an F1-score of 0.89 for specification accuracy. It provides automated, auditable requirement verification tailored for safety-critical systems.

Technology Category

Application Category

📝 Abstract
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 verification of formal specifications through providing support for the automatic generation of the formal specifications and the traceability of the requirements from the initial software design stage through the systems implementation and verification. Approaches explored in this project include Natural Language Processing, use of ontologies to describe the software system domain, reuse of existing software artefacts from similar systems (i.e. through similarity based reuse) and large language models to identify and declare the specifications as well as use of artificial intelligence to guide the process.
Problem

Research questions and friction points this paper is trying to address.

Automate formal specification generation from natural language requirements
Enhance traceability across software design and implementation stages
Leverage AI and ontologies to improve requirement verification
Innovation

Methods, ideas, or system contributions that make the work stand out.

Using large language models for formal specifications
Applying NLP and ontologies in software design
AI-guided traceability and verification process
🔎 Similar Papers
No similar papers found.