Skip to content
Conference

Evaluating Template- and Model-Guided LLMs for Requirements Specification

Aug 2026 · 2026 IEEE 34th International Requirements Engineering Conference Workshops (REW) · pp. 321-330 · 1 citation · 30 references

Abstract

Requirements specification is a pivotal activity in software development. The use of structured templates for specifying requirements can improve their clarity, consistency, and analyzability, which is particularly important in safety-critical domains such as avionics to support verification and certification activities. However, template-based requirements specification is typically a manual, resource-intensive process that requires domain expertise. Large Language Models (LLMs) provide promising capabilities for automating this task, especially when augmented with domain knowledge, yet their effectiveness in template-based requirement specification remains unexplored. In this paper, we present an empirical evaluation of LLMs for generating template-based functional requirements from raw textual specifications, and we investigate the impact of enriching LLM inputs with explicit domain models compared to unstructured textual context. We conducted 138 experiments evaluating three LLMs with multiple prompting strategies on two avionics datasets containing 146 requirements. The results indicate that simple few-shot prompting is the most effective strategy for this task. Although domain models improve execution efficiency, the gains over unstructured text are not substantial enough to justify the overhead of creating and maintaining those models.

View source

Similar papers

Open access Aug 2026

Intelligent Technique for Optimizing Requirements Elicitation in Software Engineering Projects

Requirements elicitation is a critical activity in software engineering, as incomplete, ambiguous, or inconsistent requirements can adversely affect software quality and project outcomes. Although Large Language Models (LLMs) have demonstrated considerable potential for supporting Requirements Engineering, conventional...

Esra Zuhair Majeed · 0 citations
#software testing Preprint Sep 2026

On the Impact of Requirement Smells in LLM-Based Code Generation

The results suggest that increasing \textit{smell density} was generally associated with lower test-suite-based functional correctness, although non-smelly requirements could still produce faulty code, and motivates further investigation into task-dependent quality effects in LLM-assisted software engineering.

Hugo Villamizar, Jannik Fischbach, Mert Şahin et al. · 0 citations
Conference Aug 2026

Toward Cost-Efficient Automated Requirements Traceability with Large Language Models

Automated requirements traceability is a critical activity in software engineering, supporting impact analysis, verification and validation, and regulatory compliance. As modern software-intensive systems grow in scale and complexity, maintaining trace links manually becomes increasingly impractical. Recent work has sh...

Nouf Alturayeif, Jameleddine Hassine, Irfan Ahmad · 0 citations
Preprint Sep 2026

LLM-enabled Behavior Driven Development Workflow for Formally Verified Hardware Designs

This work proposes an integrated view on the use of LLMs for EDA and establishes an LLM-enabled behavior driven hardware development workflow, introducing and defining Formal Verification Gherkin Scenarios (FV Gherkin Scenarios), unlocking CNL specifications as the foundation for formally verified hardware designs via...

Luca Müller, Qian Liu, Rolf Drechsler · 0 citations
Preprint Aug 2026

Large Language Models for Requirements Engineering: A Cross-Task Empirical Evaluation

This work presents the first cross-task empirical evaluation of LLMs spanning five RE-related activities, as well as replication materials supporting reproducibility, and a broader understanding of the capabilities, limitations, and practical readiness of current LLMs for RE.

Jacek Dabrowski, Manjeshwar Aniruddh Mallya, Alessio Ferrari et al. · 1 citation
#small language model Preprint Sep 2026

Path2Spec: Path-Aware Specification Generation via Large Language Models

This work introduces Path2Spec, a divide-and-conquer framework that leverages LLMs to extract all execution paths from an input program, generates path-specific specifications for each, and merges them into a comprehensive overall specification.

Dan Huang, Zhensu Sun, Hui-Hui Huang et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.