Skip to content
#explainable ai Open access

Explainable AI for food safety risk prediction with uncertainty quantification using RASFF data

Sep 2026 · Discover Food · 0 citations
Food Safety and Hygiene

Abstract

Food safety incidents pose significant public health risks globally, necessitating robust predictive frameworks for identifying high-risk contamination notifications. This study presents an explainable artificial intelligence framework for food safety risk prediction that integrates SHAP-based feature attribution, temporal precedence analysis, what-if sensitivity modeling, and conformal prediction for uncertainty quantification. The framework was developed and evaluated using 25,615 notifications from the European Rapid Alert System for Food and Feed (RASFF) spanning 2019–2025, with a strict 80/20 temporal train–test split. Among the evaluated classifier configurations, LightGBM achieved the highest AUC-ROC (the primary metric) on the final 18-feature set identified through ablation (AUC-ROC = 0.8970 [0.8884, 0.9052], Accuracy = 0.8087 [0.7976, 0.8196], F1 = 0.8077). Notification Type was the most influential predictor (mean absolute SHAP = 1.86), but it is a downstream regulatory variable available only after regulatory classification. We therefore distinguish a post-notification prioritization model that retains Notification Type (AUC-ROC = 0.8970) from a deployment-oriented early-prediction model that excludes it (AUC-ROC = 0.7993). The latter value, approximately 0.80, is the relevant estimate for early-warning deployment; the higher value applies only to post-notification prioritization. Historical-rate and count-statistic features were non-contributory after leakage correction (Delta-AUC = + 0.021 when removed). Granger temporal precedence testing with Augmented Dickey–Fuller (ADF) stationarity checks and Bonferroni correction ( p < 0.00167) identified three significant inter-hazard temporal relationships out of 30 tests (strongest: Pathogenic Microorganisms to Migration, F = 17.91). What-if sensitivity analysis produced a maximum model-predicted shift of 3.90 percentage points absolute (5.89% relative) under the EU-harmonization scenario; this is a feature-perturbation result rather than a causal policy-effect estimate. Multi-target prediction achieved hazard-type accuracy of 59.63% and notification-type accuracy of 65.02%. Conformal prediction with temporal calibration achieved 87.53% empirical coverage at a nominal 90% level; because the observations are temporally ordered, this result is reported as empirical rather than guaranteed coverage. All principal classification results are accompanied by bootstrap 95% confidence intervals and paired significance testing.

Read PDF

Similar papers

#artificial intelligence Conference Open access Apr 2020

ECCOLA - a Method for Implementing Ethically Aligned AI Systems

The method, ECCOLA, is presented, which aims at making the high-level AI ethics principles more practical, making it possible for developers to more easily implement them in practice.

Ville Vakkuri, Kai-Kristian Kemell, P. Abrahamsson · 64 citations · ⚡6
#computer vision Review Apr 2024

AI-powered Code Review with LLMs: Early Results

The goal is to not only refine the accuracy of the LLM-based tool but also to underscore its potential in streamlining the software development lifecycle through proactive code improvement and education.

Z. Rasheed, Malik Abdul Sami, Muhammad Waseem et al. · 62 citations · ⚡3
#computer vision Open access Mar 2024

LLM-based agents for automating the enhancement of user story quality: An early report

The use of large language models to automatically improve the user story quality in Austrian Post Group IT agile teams is explored, with a reference model for an Autonomous LLM-based Agent System developed and implemented at the company.

Zheying Zhang, M. Rayhan, Tomas Herda et al. · 48 citations · ⚡4
#computer vision Review Mar 2024

System for systematic literature review using multiple AI agents: Concept and an empirical evaluation

This paper introduces a novel multi-AI-agent system designed to fully automate SLRs, and demonstrates how it substantially reduces the time and effort traditionally required for SLRs while maintaining comprehensiveness and precision.

Abdul Malik Sami, Z. Rasheed, Kai-Kristian Kemell et al. · 44 citations · ⚡2
#computer vision Feb 2024

Can Large Language Models Serve as Data Analysts? A Multi-Agent Assisted Approach for Qualitative Data Analysis

The proposed LLM-based multi-agent system automates qualitative data analysis process, creating opportunities for researchers and practitioners, and future improvements focus on enhancing multilingual performance and integrating continuous expert feedback.

Z. Rasheed, Muhammad Waseem, Aakash Ahmad et al. · 41 citations
#artificial intelligence Conference Open access Jun 2018

The Key Concepts of Ethics of Artificial Intelligence

It is suggested that the focus on finding keywords is the first step in guiding and providing direction for future research in the AI ethics field.

Ville Vakkuri, P. Abrahamsson · 39 citations · ⚡2

Related blog posts

GPT-Lab Sep 17, 2026

Beyond Prompt Engineering: The Role of Tacit Knowledge in Software Engineering

AI is making software generation faster, but speed does not remove the need for expertise. As more work is delegated to AI, tacit knowledge may become one of the most important human advantages in software engineering. The post Beyond Prompt Engineering: The Role of Tacit Knowledge in Software Engineering appeared first on GPT-Lab.

MIT News · Artificial Intelligence Sep 14, 2026

New method enables AI for safety-critical situations

The “HardFlow” algorithm could help generative AI models produce high-quality outputs that obey strict requirements when “pretty close” doesn’t cut it.

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.