AI Chat Paper
Note: Please note that the following content is generated by AMiner AI. SciOpen does not take any responsibility related to this content.
{{lang === 'zh_CN' ? '文章概述' : 'Summary'}}
{{lang === 'en_US' ? '中' : 'Eng'}}
Chat more with AI
Home Food Science Article
PDF (2.2 MB)
Collect
Submit Manuscript AI Chat Paper
Show Outline
Outline
Show full outline
Hide outline
Outline
Show full outline
Hide outline
Publishing Language: Chinese | Open Access

Qualitative Prediction of Aflatoxin in Raw Milk Based on Transformer Architecture

Long WANG1 Xiaodong SONG2Haohan DING1,3 ( )Guanjun DONG2Xiaohui CUI3,4Huadi HUANG1Cheng ZHANG5Rina WU2
School of Artificial Intelligence and Computer Science, Jiangnan University, Wuxi 214122, China
State Key Laboratory of Dairy Quality Digital Intelligence Monitoring Technology, State Administration for Market Regulation, Hohhot 011517, China
Science Center for Future Foods, Jiangnan University, Wuxi 214122, China
School of Cyber Science and Engineering, Wuhan University, Wuhan 430072, China
School of Environment & Ecology, Jiangnan University, Wuxi 214122, China
Show Author Information

Abstract

In this study, using machine learning and deep learning techniques, we collected raw milk composition data from different regions and seasons in China during the period of 2022-2024 and proposed a method for qualitative prediction of aflatoxin M1 (AFM1) based on easy-to-measure data, aiming to reduce the cost of batch testing in dairy factories. Based on the 16 selected classes of feature datasets, we conducted prediction experiments using various machine learning methods such as linear regression (LR), random forest (RF), support vector machine (SVM) and a method based on Transformer architecture, and analyzed the prediction performance and variance stability of these models on negative samples and positive samples through comparative experiments. The experimental results confirmed that the prediction method based on Transformer architecture had the best overall performance. Meanwhile, we also explored the effect of location coding and attention mechanism on model performance under Transformer architecture through ablation experiments. Overall, the new method based on deep learning enabled efficient qualitative prediction of AFM1, which can meet the demand for high throughput and significantly reduce the detection cost by eliminating redundant detection steps when compared with the traditional method, providing a solution of digital transformation and a theoretical basis for model optimization for dairy product safety detection.

CLC number: TS207.3 Document code: A Article ID: 1002-6630(2025)19-0001-09

References

【1】
【1】
 
 
Food Science
Pages 1-9

{{item.num}}

Comments on this article

Go to comment

< Back to all reports

Review Status: {{reviewData.commendedNum}} Commended , {{reviewData.revisionRequiredNum}} Revision Required , {{reviewData.notCommendedNum}} Not Commended Under Peer Review

Review Comment

Close
Close
Cite this article:
WANG L, SONG X, DING H, et al. Qualitative Prediction of Aflatoxin in Raw Milk Based on Transformer Architecture. Food Science, 2025, 46(19): 1-9. https://doi.org/10.7506/spkx1002-6630-20250303-013

60

Views

0

Downloads

0

Crossref

0

Scopus

0

CSCD

Received: 03 March 2025
Published: 15 October 2025
© Beijing Academy of Food Sciences 2025.

This is an open access article under the CC BY-NC-ND license (http://creativecommons.org/licenses/by-nc-nd/4.0/).