SEAILGFeb 11, 2025

From Hazard Identification to Controller Design: Proactive and LLM-Supported Safety Engineering for ML-Powered Systems

arXiv:2502.07974v15 citationsh-index: 152025 IEEE/ACM 4th International Conference on AI Engineering – Software Engineering for AI (CAIN)
Originality Synthesis-oriented
AI Analysis

It addresses safety risks in ML-powered systems for developers and society, but is incremental as it builds on existing safety engineering methods.

This position paper tackles the problem of hazardous consequences from ML components in software by advocating for proactive hazard analysis and proposing an LLM-supported, modified STPA process to reduce dependency on experts and labor intensity, demonstrating that many issues can be anticipated.

Machine learning (ML) components are increasingly integrated into software products, yet their complexity and inherent uncertainty often lead to unintended and hazardous consequences, both for individuals and society at large. Despite these risks, practitioners seldom adopt proactive approaches to anticipate and mitigate hazards before they occur. Traditional safety engineering approaches, such as Failure Mode and Effects Analysis (FMEA) and System Theoretic Process Analysis (STPA), offer systematic frameworks for early risk identification but are rarely adopted. This position paper advocates for integrating hazard analysis into the development of any ML-powered software product and calls for greater support to make this process accessible to developers. By using large language models (LLMs) to partially automate a modified STPA process with human oversight at critical steps, we expect to address two key challenges: the heavy dependency on highly experienced safety engineering experts, and the time-consuming, labor-intensive nature of traditional hazard analysis, which often impedes its integration into real-world development workflows. We illustrate our approach with a running example, demonstrating that many seemingly unanticipated issues can, in fact, be anticipated.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes