Automated Formalization of Probabilistic Requirements from Structured Natural Language

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Mavridou, Anastasia, Farrell, Marie, Vázquez, Gricel, Pressburger, Tom, Wang, Timothy E., Calinescu, Radu, Fisher, Michael
Formato: Preprint
Publicado: 2025
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866917153185202176
author Mavridou, Anastasia
Farrell, Marie
Vázquez, Gricel
Pressburger, Tom
Wang, Timothy E.
Calinescu, Radu
Fisher, Michael
author_facet Mavridou, Anastasia
Farrell, Marie
Vázquez, Gricel
Pressburger, Tom
Wang, Timothy E.
Calinescu, Radu
Fisher, Michael
contents Integrating autonomous and adaptive behavior into software-intensive systems presents significant challenges for software development, as uncertainties in the environment or decision-making processes must be explicitly captured. These challenges are amplified in safety- and mission-critical systems, which must undergo rigorous scrutiny during design and development. Key among these challenges is the difficulty of specifying requirements that use probabilistic constructs to capture the uncertainty affecting these systems. To enable formal analysis, such requirements must be expressed in precise mathematical notations such as probabilistic logics. However, expecting developers to write requirements directly in complex formalisms is unrealistic and highly error-prone. We extend the structured natural language used by NASA's Formal Requirement Elicitation Tool (FRET) with support for the specification of unambiguous and correct probabilistic requirements, and develop an automated approach for translating these requirements into logical formulas. We propose and develop a formal, compositional, and automated approach for translating structured natural-language requirements into formulas in probabilistic temporal logic. To increase trust in our formalizations, we provide assurance that the generated formulas are well-formed and conform to the intended semantics through an automated validation framework and a formal proof. The extended FRET tool enables developers to specify probabilistic requirements in structured natural language, and to automatically translate them into probabilistic temporal logic, making the formal analysis of autonomous and adaptive systems more practical and less error-prone.
format Preprint
id arxiv_https___arxiv_org_abs_2512_15788
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Automated Formalization of Probabilistic Requirements from Structured Natural Language
Mavridou, Anastasia
Farrell, Marie
Vázquez, Gricel
Pressburger, Tom
Wang, Timothy E.
Calinescu, Radu
Fisher, Michael
Programming Languages
Formal Languages and Automata Theory
Software Engineering
Integrating autonomous and adaptive behavior into software-intensive systems presents significant challenges for software development, as uncertainties in the environment or decision-making processes must be explicitly captured. These challenges are amplified in safety- and mission-critical systems, which must undergo rigorous scrutiny during design and development. Key among these challenges is the difficulty of specifying requirements that use probabilistic constructs to capture the uncertainty affecting these systems. To enable formal analysis, such requirements must be expressed in precise mathematical notations such as probabilistic logics. However, expecting developers to write requirements directly in complex formalisms is unrealistic and highly error-prone. We extend the structured natural language used by NASA's Formal Requirement Elicitation Tool (FRET) with support for the specification of unambiguous and correct probabilistic requirements, and develop an automated approach for translating these requirements into logical formulas. We propose and develop a formal, compositional, and automated approach for translating structured natural-language requirements into formulas in probabilistic temporal logic. To increase trust in our formalizations, we provide assurance that the generated formulas are well-formed and conform to the intended semantics through an automated validation framework and a formal proof. The extended FRET tool enables developers to specify probabilistic requirements in structured natural language, and to automatically translate them into probabilistic temporal logic, making the formal analysis of autonomous and adaptive systems more practical and less error-prone.
title Automated Formalization of Probabilistic Requirements from Structured Natural Language
topic Programming Languages
Formal Languages and Automata Theory
Software Engineering
url https://arxiv.org/abs/2512.15788