[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. In a practitioner survey comparing LLM- and human-converted requirements, we assess the validity of these metrics.
| Related KIT institution | Institute of Information Security and Dependability (KASTEL) |
|---|---|
| Language | English |
| KITopen ID | 1000194588 |
| Publisher | Institute of Electrical and Electronics Engineers (IEEE) |
| Event | 34th IEEE International Requirements Engineering Conference (RE), Montreal, Canada, Aug 17 – 21, 2026 |
| Relations in KITopen | |
| Referenced in | Scopus |
| HGF programme | 46.23.01 (POF IV, LK 01) Methods for Engineering Secure Systems |
| Project | SFB 1608/1, 501798263 (DFG, DFG KOORD, SFB 1608) |