Applying System Safety Engineering and Risk Management to LLM•based applications

The Math Helper is a Large Language Model (LLM) app that uses a chat interface to help students identify errors in their math work. It takes a picture of an attempted math problem or equation and the person's question as input. The project aims to use the basics of system engineering within a safety context to explore its application in Artificial Intelligence (Al) applications within the project. We used the System Theoretic Process Analysis (STPA) methodology, a system safety engineering process, to identify loss scenarios that could result from unsafe control actions and hazards. We turned these into requirements for the project to measure its safety and performance. We are writing tests to determine the performance of the Math Helper. These tests included a Smoke Test that verifies the Math Helper's basic functionality and stability in responses and a Pass" Test that determines the reliability of LIM responses across multiple attempts, measuring consistency. We intend to use the results to determine if the Math Helper can be safely released to the public. These would be the next steps for this project, and in the future, this STPA methodology can be modified to work with other LLMs and Al agents.

Publication Details

Journal
DigitalCommons-IMSA (Illinois Mathematics and Science Academy)
Published
2025-04-17
Primary Topic
Occupational Health and Safety Research
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Applying System Safety Engineering and Risk Management to LLM•based applications

DigitalCommons-IMSA (Illinois Mathematics and Science Academy)
Occupational Health and Safety Research
article

Applying System Safety Engineering and Risk Management to LLM•based applications

article en

Abstract

The Math Helper is a Large Language Model (LLM) app that uses a chat interface to help students identify errors in their math work. It takes a picture of an attempted math problem or equation and the person's question as input. The project aims to use the basics of system engineering within a safety context to explore its application in Artificial Intelligence (Al) applications within the project. We used the System Theoretic Process Analysis (STPA) methodology, a system safety engineering process, to identify loss scenarios that could result from unsafe control actions and hazards. We turned these into requirements for the project to measure its safety and performance. We are writing tests to determine the performance of the Math Helper. These tests included a Smoke Test that verifies the Math Helper's basic functionality and stability in responses and a Pass" Test that determines the reliability of LIM responses across multiple attempts, measuring consistency. We intend to use the results to determine if the Math Helper can be safely released to the public. These would be the next steps for this project, and in the future, this STPA methodology can be modified to work with other LLMs and Al agents.

DigitalCommons-IMSA (Illinois Mathematics and Science Academy)
Quality Education
Openalex Percentile: Top 40%
Occupational Health and Safety Research
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Applying System Safety Engineering and Risk Management to LLM•based applications · DigitalCommons-IMSA (Illinois Mathematics and Science Academy) (2025) | TGRS Research Map | TGRS