Towards an Agentic LLM-based Approach to Requirement Formalization from Unstructured Specifications

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Tagliaferro, Alberto, Guindani, Bruno, Lestingi, Livia, Rossi, Matteo
Formato: Preprint
Publicado: 2026
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866913047541448704
author Tagliaferro, Alberto
Guindani, Bruno
Lestingi, Livia
Rossi, Matteo
author_facet Tagliaferro, Alberto
Guindani, Bruno
Lestingi, Livia
Rossi, Matteo
contents Early-stage specifications of safety-critical systems are typically expressed in natural language, making it difficult to derive formal properties suitable for verification and needed to guarantee safety. While recent Large Language Model (LLM)-based approaches can generate formal artifacts from text, they mainly focus on syntactic correctness and do not ensure semantic alignment between informal requirements and formally verifiable properties. We propose an agentic methodology that automatically extracts verification-ready properties from unstructured specifications. The modular pipeline combines requirement extraction, compatibility filtering with respect to a target formalism, and translation into formal properties. Experimental results across three scenarios show that the pipeline generates syntactically and semantically aligned formal properties with a 77.8% accuracy. By explicitly accounting for modeling and verification constraints, the approach is a paving step towards exploiting Artificial Intelligence (AI) to bridge the gap between informal descriptions and semantically meaningful formal verification.
format Preprint
id arxiv_https___arxiv_org_abs_2604_18228
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Towards an Agentic LLM-based Approach to Requirement Formalization from Unstructured Specifications
Tagliaferro, Alberto
Guindani, Bruno
Lestingi, Livia
Rossi, Matteo
Software Engineering
Early-stage specifications of safety-critical systems are typically expressed in natural language, making it difficult to derive formal properties suitable for verification and needed to guarantee safety. While recent Large Language Model (LLM)-based approaches can generate formal artifacts from text, they mainly focus on syntactic correctness and do not ensure semantic alignment between informal requirements and formally verifiable properties. We propose an agentic methodology that automatically extracts verification-ready properties from unstructured specifications. The modular pipeline combines requirement extraction, compatibility filtering with respect to a target formalism, and translation into formal properties. Experimental results across three scenarios show that the pipeline generates syntactically and semantically aligned formal properties with a 77.8% accuracy. By explicitly accounting for modeling and verification constraints, the approach is a paving step towards exploiting Artificial Intelligence (AI) to bridge the gap between informal descriptions and semantically meaningful formal verification.
title Towards an Agentic LLM-based Approach to Requirement Formalization from Unstructured Specifications
topic Software Engineering
url https://arxiv.org/abs/2604.18228