Automatic Generation of Job Safety Reports with Explainable RAG-Based LLMs

Abstract Monitoring workplace activities is critical for ensuring job safety. Generative Artificial Intelligence (Gen-AI) and Human-centered Artificial Intelligence (Hum-AI) can suggest new trustworthy solutions to automate these monitoring procedures, ensuring improved work accident prevention. In this paper, we present a novel framework that combines Retrieval Augmented Generation (RAG) with explainable LLMs to automatically generate job safety reports from unstructured accident descriptions. Our method integrates embeddings like BERT and SciBERT and explainable AI exploiting Layer-Wise Relevance Propagation (LRP) to highlight root causes of accidents within the generated reports. We evaluate multiple LLMs, including LLaMA 3.1, Mixtral-8x7B, and DeepSeek v2, on the Aviation Safety Reporting System (ASRS) dataset. Results show that our best configuration (Mixtral-8x7B with SciBERT) achieves F1-scores up to 0.909 and GLEU and METEOR scores above 0.3 and 0.2. These findings demonstrate the effectiveness and interpretability of the proposed system in real-world job safety contexts and how the proposed approach could assist safety experts or inspectors more explicitly.

Authors

Institutions

Publication Details

Journal
Information Systems Frontiers
Published
2025-08-13
DOI
https://doi.org/10.1007/s10796-025-10634-x
Primary Topic
Occupational Health and Safety Research
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Automatic Generation of Job Safety Reports with Explainable RAG-Based LLMs

Riccardo Pecori, Marta Cimitile, Mario Luca Bernardi, Giuditta Simoncelli et al.
Information Systems Frontiers
Occupational Health and Safety Research
article

Automatic Generation of Job Safety Reports with Explainable RAG-Based LLMs

Riccardo Pecori, Marta Cimitile, Mario Luca Bernardi, Giuditta Simoncelli, Giovanni Panella
article en

Abstract

Abstract Monitoring workplace activities is critical for ensuring job safety. Generative Artificial Intelligence (Gen-AI) and Human-centered Artificial Intelligence (Hum-AI) can suggest new trustworthy solutions to automate these monitoring procedures, ensuring improved work accident prevention. In this paper, we present a novel framework that combines Retrieval Augmented Generation (RAG) with explainable LLMs to automatically generate job safety reports from unstructured accident descriptions. Our method integrates embeddings like BERT and SciBERT and explainable AI exploiting Layer-Wise Relevance Propagation (LRP) to highlight root causes of accidents within the generated reports. We evaluate multiple LLMs, including LLaMA 3.1, Mixtral-8x7B, and DeepSeek v2, on the Aviation Safety Reporting System (ASRS) dataset. Results show that our best configuration (Mixtral-8x7B with SciBERT) achieves F1-scores up to 0.909 and GLEU and METEOR scores above 0.3 and 0.2. These findings demonstrate the effectiveness and interpretability of the proposed system in real-world job safety contexts and how the proposed approach could assist safety experts or inspectors more explicitly.

Information Systems Frontiers
University of Sannio (IT), Università degli Studi eCampus (IT), Institute of Materials for Electronics and Magnetism (IT), Istituto Nazionale per l'Assicurazione Contro gli Infortuni sul Lavoro (IT), Unitelma Sapienza University (IT), University of Naples Federico II (IT)
Università degli Studi di Napoli Federico II, Istituto Nazionale di Alta Matematica "Francesco Severi", Istituto Nazionale per l'Assicurazione Contro Gli Infortuni sul Lavoro, Gruppo Nazionale per il Calcolo Scientifico
Openalex Percentile: Top 71%
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.