Back to Search Start Over

Intelligent Food Safety: A Prediction Model Based on Attention Mechanism and Reinforcement Learning

Authors :
Mingxia Wu
Wei Liu
Shengyang Zheng
Source :
Applied Artificial Intelligence, Vol 38, Iss 1 (2024)
Publication Year :
2024
Publisher :
Taylor & Francis Group, 2024.

Abstract

Food safety emerges as a locus of heightened concern across societal strata. The establishment of a robust bulwark, embodied in an adept food detection mechanism and prescient early warning system, assumes paramount importance in safeguarding the populace. As artificial intelligence strides forward in the realm of food safety, this investigation endeavors to address the challenge of prognosticating the compliance rate of food safety through a unified RL-ALSTM (Reinforcement learning-attention-long-short term memory) framework, amalgamating reinforcement learning, attention mechanism, and Long Short-Term Memory (LSTM). Anchored by historical correlation data and food-specific attributes, the framework initiates its journey by deploying a dual-layer LSTM network to extract salient features. Subsequently, the model undergoes feature augmentation via attention mechanism and reinforcement learning methodologies, culminating in the realization of highly precise food safety predictions. Examination of experimental outcomes, leveraging both public and internally curated datasets, attests that the performance of the RL-ALSTM approach, as gauged by Root Mean Square Error (RMSE) and Mean Absolute Error (MAE), surpasses that of the disparate LSTM and traditional machine learning methods by lower than 0.001 in the safety ratio. This contribution furnishes a theoretical and methodological foundation for prospective advancements in the realm of food safety prediction.

Details

Language :
English
ISSN :
08839514 and 10876545
Volume :
38
Issue :
1
Database :
Directory of Open Access Journals
Journal :
Applied Artificial Intelligence
Publication Type :
Academic Journal
Accession number :
edsdoj.2c481b6fb0564729818e15d17a59e6ca
Document Type :
article
Full Text :
https://doi.org/10.1080/08839514.2024.2379731