Exploring LLMs for Verifying Technical System Specifications Against Requirements

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Reinpold, Lasse M., Schieseck, Marvin, Wagner, Lukas P., Gehlhoff, Felix, Fay, Alexander
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866915024623108096
author Reinpold, Lasse M.
Schieseck, Marvin
Wagner, Lukas P.
Gehlhoff, Felix
Fay, Alexander
author_facet Reinpold, Lasse M.
Schieseck, Marvin
Wagner, Lukas P.
Gehlhoff, Felix
Fay, Alexander
contents Requirements engineering is a knowledge intensive process and crucial for the success of engineering projects. The field of knowledge-based requirements engineering (KBRE) aims to support engineers by providing knowledge to assist in the elicitation, validation, and management of system requirements. The advent of large language models (LLMs) opens new opportunities in the field of KBRE. This work experimentally investigates the potential of LLMs in requirements verification. Therein, LLMs are provided with a set of requirements and a textual system specification and are prompted to assess which requirements are fulfilled by the system specification. Different experimental variables such as system specification complexity, the number of requirements, and prompting strategies were analyzed. Formal rule-based systems serve as a benchmark to compare LLM performance to. Requirements and system specifications are derived from the smart-grid domain. Results show that advanced LLMs, like GPT-4o and Claude 3.5 Sonnet, achieved f1-scores between 79 % and 94 % in identifying non-fulfilled requirements, indicating potential for LLMs to be leveraged for requirements verification.
format Preprint
id arxiv_https___arxiv_org_abs_2411_11582
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Exploring LLMs for Verifying Technical System Specifications Against Requirements
Reinpold, Lasse M.
Schieseck, Marvin
Wagner, Lukas P.
Gehlhoff, Felix
Fay, Alexander
Software Engineering
Systems and Control
Requirements engineering is a knowledge intensive process and crucial for the success of engineering projects. The field of knowledge-based requirements engineering (KBRE) aims to support engineers by providing knowledge to assist in the elicitation, validation, and management of system requirements. The advent of large language models (LLMs) opens new opportunities in the field of KBRE. This work experimentally investigates the potential of LLMs in requirements verification. Therein, LLMs are provided with a set of requirements and a textual system specification and are prompted to assess which requirements are fulfilled by the system specification. Different experimental variables such as system specification complexity, the number of requirements, and prompting strategies were analyzed. Formal rule-based systems serve as a benchmark to compare LLM performance to. Requirements and system specifications are derived from the smart-grid domain. Results show that advanced LLMs, like GPT-4o and Claude 3.5 Sonnet, achieved f1-scores between 79 % and 94 % in identifying non-fulfilled requirements, indicating potential for LLMs to be leveraged for requirements verification.
title Exploring LLMs for Verifying Technical System Specifications Against Requirements
topic Software Engineering
Systems and Control
url https://arxiv.org/abs/2411.11582