NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

RECKONition: a NLP-based system for Industrial Accidents at Work Prevention

Patrizia Agnello, Silvia Maria Ansaldi, Emilia Lenzi, Alessio Mongelluzzo, Manuel Roveri

Abstract

Extracting patterns and useful information from Natural Language datasets is a challenging task, especially when dealing with data written in a language different from English, like Italian. Machine and Deep Learning, together with Natural Language Processing (NLP) techniques have widely spread and improved lately, providing a plethora of useful methods to address both Supervised and Unsupervised problems on textual information. We propose RECKONition, a NLP-based system for Industrial Accidents at Work Prevention. RECKONition, which is meant to provide Natural Language Understanding, Clustering and Inference, is the result of a joint partnership with the Italian National Institute for Insurance against Accidents at Work (INAIL). The obtained results showed the ability to process textual data written in Italian describing industrial accidents dynamics and consequences.

Introduction

Industrial accidents represent a significant social and economic burden, with over 500,000 incidents recorded annually in Italy alone. The Italian National Institute for Insurance against Accidents at Work (INAIL) maintains extensive repositories of textual descriptions detailing these events. However, the unstructured nature of this data and the specific nuances of the Italian language in a technical safety context make manual analysis at scale nearly impossible. RECKONition was developed to bridge this gap, utilizing advanced NLP techniques to transform raw accident reports into actionable prevention strategies.

System Architecture

The RECKONition system is designed as a multi-modal pipeline that processes textual descriptions to provide three distinct outputs: association rules, text clusters, and predictive inferences.

The RECKONition system architecture, illustrating the flow from the accident repository to the three core analysis modules.

The architecture integrates three primary algorithmic modules:

  1. Association Rule Generator: Utilizes the FISinFIS Apriori approach to identify both frequent and infrequent patterns, capturing rare but critical safety hazards.
  2. Textual Description Clustering: Groups accidents based on semantic and syntactic similarities.
  3. Textual Description Inference: Predicts potential consequences based on the described dynamics of an accident.

Methodology

Association Rule Mining

Standard Apriori algorithms often overlook infrequent itemsets. In the context of industrial safety, rare equipment or specific injury types are often the most informative. RECKONition employs the FISinFIS (Frequent Itemsets in Infrequent Itemsets) approach, which uses Inverse Document Frequency (IDF) thresholds to highlight these "long-tail" events that are crucial for expert analysis.

Natural Language Clustering

The system employs two strategies for clustering using the K-Medoids algorithm:

  • Ontology-based Clustering: This method maps domain-specific words to ontological "TAGs" (e.g., grouping different types of saws under a "CUTTER" tag). This reduces noise and improves the calculation of TF-IDF scores for the clustering-ready dataset.
  • Transformer-based Clustering: An Italian BERT model, fine-tuned on the INAIL dataset, is used to extract high-dimensional semantic features. Dimensionality is reduced via Incremental Principal Component Analysis (IPCA) before clustering.
The workflow for the ontology-based clustering process, from dataset splitting to the final K-Medoids clustering.

Predictive Inference

To model the relationship between accident dynamics and outcomes, the system uses a Bidirectional LSTM (Long Short-Term Memory) network. This model acts as a sequence-to-sequence generator, taking a description of "what happened" and predicting a sequence of likely consequences, such as the injured body part or the type of trauma.

Results and Discussion

The evaluation of RECKONition on the INAIL dataset (2013–2018) yielded several key insights:

  • Effective Categorization: The clustering modules successfully identified distinct accident types, such as those involving hand tools versus those involving mobile machinery, providing safety experts with a structured view of the data.
  • Semantic Understanding: Transformer-based models proved superior at capturing the "syntactic structure" of accidents—grouping events by the nature of the activity rather than just shared keywords.
  • Predictive Accuracy: The inference model demonstrated a qualitative ability to map scenarios to realistic medical outcomes, such as predicting "cervical trauma" for commuting-related car accidents.

Conclusion

RECKONition demonstrates the power of specialized NLP tools in the domain of industrial safety. By focusing on the "infrequent" and utilizing domain-specific fine-tuning, the system provides a comprehensive toolkit for accident analysis. Future work will focus on expanding the predictive vocabulary and moving toward real-time prevention by integrating the system with factory-floor sensor data.

Summary updated

BibTeX
@inproceedings{agnello2021reckonition,
  author = {Patrizia Agnello and Silvia Maria Ansaldi and Emilia Lenzi and Alessio Mongelluzzo and Manuel Roveri},
  title = {{RECKONition: a NLP-based system for Industrial Accidents at Work Prevention}},
  booktitle = {Sebd},
  year = {2021},
}
Figure