Studies on Classification Prediction of Food Supervision Sampling Inspection Based on Spatio-temporal Transformer Model
CSTR:
Author:
Affiliation:

(1.School of Artificial Intelligence and Computer Science, Jiangnan University, Wuxi 214122, Jiangsu;2.Sino-UK Joint Laboratory on Artificial Intelligence of Ministry of Science and Technology, Jiangnan University, Wuxi 214122, Jiangsu)

Clc Number:

Fund Project:

  • Article
  • |
  • Figures
  • |
  • Metrics
  • |
  • Reference
  • |
  • Related
  • |
  • Cited by
  • |
  • Materials
  • |
  • Comments
    Abstract:

    Objectives: This study aimed to develop a multidimensional analytical model for spatiotemporal trends and risk food categories, with the objective of achieving efficient early warning of food safety risks and providing a scientific basis and decision support for the intelligent and precise management of supervision. Methods: Based on the food sampling data from Jiangsu Market Supervision and Administration Bureau from 2019 to 2024, a spatio-temporal Transformer based multi-class prediction model was proposed. This model deeply explored the evolution patterns of food safety incidents in both temporal and spatial dimensions and established intrinsic associations with risk categories. To mitigate the long-tail distribution problem caused by disparities in data volume across multiple categories, a weighted mean squared error loss function was introduced to optimize model training, thereby enhancing the sensitivity of the model to tail categories. Results: The accuracy of the model was comprehensively evaluated using four high-risk category classification metrics and three all-category risk classification metrics. It not only achieved prediction accuracy comparable to statistical methods in regions where risks had occurred, but also efficiently predicted all-category risks across the entire spatiotemporal scope. Conclusions: The spatio-temporal Transformer multi-class prediction model provides a novel and effective tool for food safety regulatory authorities, enabling the optimization of random inspection strategies and enhancing regulatory efficiency.

    Reference
    Related
    Cited by
Get Citation
Share
Article Metrics
  • Abstract:
  • PDF:
  • HTML:
  • Cited by:
History
  • Received:October 29,2024
  • Revised:
  • Adopted:
  • Online: December 25,2024
  • Published:
Article QR Code
Copyright :Journal of Chinese Institute of Food Science and Technology     京ICP备09084417号-4
Address :9/F, No. 8 North 3rd Street, Fucheng Road, Haidian District, Beijing, China      Postal code :100048
Telephone :010-65223596 65265376      E-mail :chinaspxb@vip.163.com
Supported by : Beijing E-Tiller Technology Development Co., Ltd.