KIT | KIT-Bibliothek | Impressum | Datenschutz

On Converting Natural Language Requirements into Semi-Formal Templates Using LLMs

Roßkothen, Julian ORCID iD icon 1; Fuchß, Dominik ORCID iD icon 1; Erdösi, Florian; Floruß, Maria; Keim, Jan ORCID iD icon 1; Hey, Tobias ORCID iD icon 1
1 Institut für Informationssicherheit und Verlässlichkeit (KASTEL), Karlsruher Institut für Technologie (KIT)

Abstract (englisch):

[Context and Motivation]
Semi-formal syntax templates for natural language requirements positively impact various requirements metrics, such as singularity. Using templates such as MASTeR or EARS also improves understandability. Requirements that conform to templates are easier for humans to understand than unrestricted requirements.
[Question/Problem]
However, converting requirements into templates is time-consuming and requires substantial prior training and in-depth domain knowledge. Thus, most requirements are still written in unrestricted natural language.
[Principal Ideas and Results]
Our approach is to use large language models (LLMs) to convert unrestricted natural language requirements into templates. Our evaluation demonstrates the proficiency of LLM-based systems. LLM-converted requirements are rated similarly to human rephrasings, especially for shorter requirements. Thus, they can be used to accelerate the requirements rephrasing process.
[Contribution]
In this paper, we present an approach for automatically parsing free-text requirements into templates with LLMs. We also provide an overview of metrics for automatically validating such systems and use them to compare our rephrased requirements with a ground truth. ... mehr


Postprint §
DOI: 10.5445/IR/1000194588
Veröffentlicht am 23.06.2026
Cover der Publikation
Zugehörige Institution(en) am KIT Institut für Informationssicherheit und Verlässlichkeit (KASTEL)
Publikationstyp Proceedingsbeitrag
Publikationsmonat/-jahr 08.2026
Sprache Englisch
Identifikator KITopen-ID: 1000194588
HGF-Programm 46.23.01 (POF IV, LK 01) Methods for Engineering Secure Systems
Erschienen in 2026 IEEE 34th International Requirements Engineering Conference (RE)
Veranstaltung 34th IEEE International Requirements Engineering Conference (RE 2026), Montreal, Kanada, 17.08.2026 – 21.08.2026
Projektinformation SFB 1608/1, 501798263 (DFG, DFG KOORD, SFB 1608)
Relationen in KITopen
KIT – Die Universität in der Helmholtz-Gemeinschaft
KITopen Landing Page