Automatic Instantiation of Assurance Cases from Patterns Using Large Language Models
Oluwafemi Odu, Alvine B. Belle, Song Wang, Segla Kpodjedo, Timothy C., Lethbridge, Hadi Hemmati

TL;DR
This paper explores using large language models like GPT-4 to automate the creation of assurance cases from predefined patterns, aiming to reduce manual effort and errors in safety-critical system documentation.
Contribution
It formalizes assurance case patterns with predicate-based rules and demonstrates how LLMs can generate compliant assurance cases, highlighting both potential and current limitations.
Findings
LLMs can generate assurance cases that follow specified patterns.
LLMs struggle with understanding some pattern-specific nuances.
A semi-automatic approach may be more practical given current capabilities.
Abstract
An assurance case is a structured set of arguments supported by evidence, demonstrating that a system's non-functional requirements (e.g., safety, security, reliability) have been correctly implemented. Assurance case patterns serve as templates derived from previous successful assurance cases, aimed at facilitating the creation of new assurance cases. Despite the use of these patterns to generate assurance cases, their instantiation remains a largely manual and error-prone process that heavily relies on domain expertise. Thus, exploring techniques to support their automatic instantiation becomes crucial. This study aims to investigate the potential of Large Language Models (LLMs) in automating the generation of assurance cases that comply with specific patterns. Specifically, we formalize assurance case patterns using predicate-based rules and then utilize LLMs, i.e., GPT-4o and GPT-4…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSafety Systems Engineering in Autonomy · Risk and Safety Analysis · Software Engineering Research
