Semi-Quantitative Detection of Borax Adulteration in Wheat Flour Based on Microwave Non-Destructive Testing and Machine Learning

The adulteration of wheat flour with borax poses a serious food safety risk, yet conventional rapid non-destructive screening methods remain limited. This study developed a machine learning-based microwave non-destructive semi-quantitative detection method for identifying borax adulteration in wheat flour. Using a proprietary microwave detection system, which acquires broadband frequency-domain amplitude attenuation and phase shift responses in the 2.5-11.5 GHz band, amplitude attenuation spectra and dimensional phase offset spectra were obtained from 155 samples prepared at three adulteration levels (0%, 0.1-0.9%, 1-5%). These samples simulated real-world adulteration scenarios. To address high-dimensionality and class imbalance, a hybrid Random Forest-Whale Optimization Algorithm (RF-WOA) was employed to synergistically optimize feature selection and model hyperparameters. Through hierarchical repeated validation and macro-level metric evaluation, this approach achieved an overall classification accuracy of 94.6% and a macro F1 score of 0.95 while compressing the original 1800-dimensional feature space to approximately 200 effective features. Confusion matrix analysis indicates 100% recall for undiluted samples, with misclassifications primarily occurring between adjacent adulteration levels and no false negatives introduced for adulterated samples. These results demonstrate that microwave sensing combined with the RF-WOA provides a rapid, non-destructive, and robust preliminary screening and grading evaluation strategy for borax adulteration in wheat flour, exhibiting significant potential in food safety monitoring and regulatory inspection.

Authors

Institutions

Publication Details

Journal
Foods
Published
2026-03-23
DOI
https://doi.org/10.3390/foods15061107
Primary Topic
Spectroscopy and Chemometric Analyses
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Semi-Quantitative Detection of Borax Adulteration in Wheat Flour Based on Microwave Non-Destructive Testing and Machine Learning

X. H. Bai, Yukun Ren, Jie Yang, Mei Kang
Foods
Spectroscopy and Chemometric Analyses
article

Semi-Quantitative Detection of Borax Adulteration in Wheat Flour Based on Microwave Non-Destructive Testing and Machine Learning

X. H. Bai, Yukun Ren, Jie Yang, Mei Kang
article en

Abstract

The adulteration of wheat flour with borax poses a serious food safety risk, yet conventional rapid non-destructive screening methods remain limited. This study developed a machine learning-based microwave non-destructive semi-quantitative detection method for identifying borax adulteration in wheat flour. Using a proprietary microwave detection system, which acquires broadband frequency-domain amplitude attenuation and phase shift responses in the 2.5-11.5 GHz band, amplitude attenuation spectra and dimensional phase offset spectra were obtained from 155 samples prepared at three adulteration levels (0%, 0.1-0.9%, 1-5%). These samples simulated real-world adulteration scenarios. To address high-dimensionality and class imbalance, a hybrid Random Forest-Whale Optimization Algorithm (RF-WOA) was employed to synergistically optimize feature selection and model hyperparameters. Through hierarchical repeated validation and macro-level metric evaluation, this approach achieved an overall classification accuracy of 94.6% and a macro F1 score of 0.95 while compressing the original 1800-dimensional feature space to approximately 200 effective features. Confusion matrix analysis indicates 100% recall for undiluted samples, with misclassifications primarily occurring between adjacent adulteration levels and no false negatives introduced for adulterated samples. These results demonstrate that microwave sensing combined with the RF-WOA provides a rapid, non-destructive, and robust preliminary screening and grading evaluation strategy for borax adulteration in wheat flour, exhibiting significant potential in food safety monitoring and regulatory inspection.

FoodsVol. 15(6)
Jiangsu University (CN), Henan University of Technology (CN)
Zero hunger
Openalex Percentile: Top 11%
Spectroscopy and Chemometric Analyses
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.