Skip to main content
QUICK REVIEW

[Paper Review] Can Large Language Models assist in Hazard Analysis?

Simon Diemert, Jens Weber|arXiv (Cornell University)|Mar 25, 2023
Occupational Health and Safety ResearchHealth Professions3 citations
TL;DR

This paper investigates the use of large language models (LLMs), specifically OpenAI's ChatGPT, in hazard analysis through a novel approach called co-hazard analysis (CoHA), where human analysts collaborate with LLMs via context-aware dialogue to identify potential hazard causes. Results show that LLMs can meaningfully support human analysts in eliciting hazards, particularly in early-stage analysis, though with notable limitations in accuracy and consistency.

ABSTRACT

Large Language Models (LLMs), such as GPT-3, have demonstrated remarkable natural language processing and generation capabilities and have been applied to a variety tasks, such as source code generation. This paper explores the potential of integrating LLMs in the hazard analysis for safety-critical systems, a process which we refer to as co-hazard analysis (CoHA). In CoHA, a human analyst interacts with an LLM via a context-aware chat session and uses the responses to support elicitation of possible hazard causes. In this experiment, we explore CoHA with three increasingly complex versions of a simple system, using Open AI's ChatGPT service. The quality of ChatGPT's responses were systematically assessed to determine the feasibility of CoHA given the current state of LLM technology. The results suggest that LLMs may be useful for supporting human analysts performing hazard analysis.

Motivation & Objective

  • To evaluate the feasibility of integrating large language models (LLMs) into hazard analysis processes for safety-critical systems.
  • To investigate whether LLMs can assist human analysts in identifying potential hazard causes through interactive, context-aware dialogue.
  • To assess the quality and reliability of LLM-generated hazard suggestions across increasingly complex system models.
  • To identify strengths and limitations of current LLM technology in supporting systematic hazard elicitation.
  • To establish a foundation for future human-AI collaboration in safety engineering workflows.

Proposed method

  • The study employs a co-hazard analysis (CoHA) framework where human analysts interact with ChatGPT through iterative, context-aware chat sessions to elicit hazard causes.
  • Three progressively complex versions of a simple system were designed to test the LLM’s ability to generate relevant hazard suggestions across varying levels of system complexity.
  • Responses from ChatGPT were systematically evaluated using predefined criteria for relevance, completeness, and technical accuracy.
  • The evaluation focused on the quality of hazard causes generated, including their alignment with safety engineering principles and domain-specific knowledge.
  • The analysis was conducted in a controlled experimental setting with structured prompts and iterative refinement of LLM outputs.
  • A qualitative assessment approach was used to analyze the nature and quality of LLM-generated hazard suggestions, focusing on their usefulness in real-world safety analysis contexts.

Experimental results

Research questions

  • RQ1Can large language models like ChatGPT effectively assist human analysts in identifying potential hazard causes during the early stages of hazard analysis?
  • RQ2How does the quality of LLM-generated hazard suggestions vary across systems of increasing complexity?
  • RQ3What are the strengths and limitations of LLMs in supporting hazard elicitation compared to traditional human-led methods?
  • RQ4To what extent can context-aware, interactive dialogue with LLMs improve the comprehensiveness of hazard identification?
  • RQ5How reliable and technically sound are the hazard causes suggested by LLMs in safety-critical system contexts?

Key findings

  • LLMs such as ChatGPT can generate relevant and technically plausible hazard causes, particularly for simple systems, demonstrating potential as a supportive tool in hazard analysis.
  • The quality of LLM responses varied significantly, with some outputs containing plausible but incorrect or irrelevant hazard causes, indicating a need for human validation.
  • As system complexity increased, the LLM's ability to generate accurate and comprehensive hazard suggestions declined, highlighting scalability limitations.
  • Context-aware dialogue enabled iterative refinement of LLM responses, improving the relevance and completeness of generated hazard causes over time.
  • LLMs showed promise in stimulating human analysts' thinking by suggesting alternative or overlooked hazard scenarios, enhancing brainstorming effectiveness.
  • Despite limitations, the study confirms that LLMs can serve as a valuable augmentation tool in early-stage hazard elicitation when used with expert oversight.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.