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

Research output: Contribution to journalJournal Articlepeer-review

6 Citations (Scopus)

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 using 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 Turbo, to automatically instantiate assurance cases from these formalized patterns. Our findings suggest that LLMs can generate assurance cases that comply with the given patterns. However, this study also highlights that LLMs may struggle with understanding some nuances related to pattern-specific relationships. While LLMs exhibit potential in the automatic generation of assurance cases, their capabilities still fall short compared to human experts. Therefore, a semi-automatic approach to instantiating assurance cases may be more practical at this time.

Original languageEnglish
Article number112353
JournalJournal of Systems and Software
Volume222
DOIs
Publication statusPublished - Apr 2025

!!!Keywords

  • Assurance case patterns
  • Assurance cases
  • GPT
  • Generative artificial intelligence
  • Large language models
  • Pattern formalization
  • Requirement engineering

Fingerprint

Dive into the research topics of 'Automatic instantiation of assurance cases from patterns using large language models'. These topics are generated from the title and abstract of the publication. Together, they form a unique fingerprint.

Cite this