Engineering Safety Requirements for Autonomous Driving with Large Language Models
Paper in proceeding, 2024

Changes and updates in the requirement artifacts, which can be frequent in the automotive domain, are a challenge for SafetyOps. Large Language Models (LLMs), with their impressive natural language understanding and generating capabilities, can play a key role in automatically refining and decomposing requirements after each update. In this study, we propose a prototype of a pipeline of prompts and LLMs that receives an item definition and outputs solutions in the form of safety requirements. This pipeline also performs a review of the requirement dataset and identifies redundant or contradictory requirements. We first identified the necessary characteristics for performing HARA and then defined tests to assess an LLM's capability in meeting these criteria. We used design science with multiple iterations and let experts from different companies evaluate each cycle quantitatively and qualitatively. Finally, the prototype was implemented at a case company and the responsible team evaluated its efficiency.

Hazard Analysis Risk Assessment

Autonomous Vehicles

Requirement Engineering

Large Language Model

LLM

ChatGPT

Safety

Prompt Engineering

DevOps

Author

Ali Nouri

Software Engineering 1

Beatriz Cabrero-Daniel

Software Engineering 2

Fredrik Torner

Hakan Sivencrona

Christian Berger

Software Engineering 2

Proceedings of the IEEE International Conference on Requirements Engineering

1090705X (ISSN) 23326441 (eISSN)

218-228
9798350395112 (ISBN)

32nd IEEE International Requirements Engineering Conference, RE 2024
Reykjavik, Iceland,

Subject Categories

Software Engineering

DOI

10.1109/RE59067.2024.00029

More information

Latest update

9/13/2024