SPEC PerkinElmer 10.13
News|Articles|April 8, 2025

AI-Powered Spectroscopy Model Offers Real-Time Flour Quality Control Breakthrough

Author(s)Will Wetzel
Fact checked by: Jerome Workman, Jr.

Researchers in China have developed a lightweight deep learning system for rapid, non-destructive analysis of wheat flour composition.

A recent study conducted by researchers from Henan University of Technology and Northwestern Polytechnical University looked to investigate a new method for food quality monitoring. This method involved using near-infrared (NIR) spectroscopy spectral analysis with artificial intelligence (AI). This study, published in Spectrochimica Acta Part A: Molecular and Biomolecular Spectroscopy, was led by Quan Pan of Henan University of Technology and proposed a lightweight convolutional neural network (CNN) model capable of real-time, non-destructive analysis of wheat flour quality using NIR spectroscopy (1).

Wheat flour has been a domestic crop for thousands of years (2). It is a powder that is made from grinding wheat, and it is used for various purposes. For one, it is an important ingredient in many food products, including bread, cookies, and cakes, to name a few (2). As a result, consumers are invested in the quality of wheat flour. Two factors normally assess the quality of wheat flour, and that is the protein and moisture content (2). Conventional methods for assessing these qualities are typically accurate, but they are often labor-intensive, time-consuming, and impractical for real-time or large-scale processing. As a result, these limitations have posed a significant challenge to industries striving to maintain quality while scaling up production (1).

In this study, Pan and the team designed a novel CNN model, called LGAKNet, that leverages several features. These additional features include ghost bottlenecks, external attention modules, and a Kolmogorov-Arnold network (1). These features were important to the study because they helped significantly improve the model's ability to extract relevant features from spectral data, enabling it to predict protein and moisture content in wheat flour more accurately (1).

The research team found that the model achieved an R² value of 0.9653 for protein content prediction, with a root mean square error (RMSE) of 0.2886 g/100 g and a residual predictive deviation (RPD) of 5.8981 (1). For moisture content, the R² was slightly higher at 0.9683, with an RMSE of 0.3061 g/100 g and RPD of 5.1046—strong indicators of the model's predictive power and reliability (1).

As a result, the researchers demonstrated the practicality of the LGAKNet model. Because the LGAKNet model can perform rapid and highly accurate flour analysis, it is ideal for integration into online monitoring systems used in food manufacturing environments (1). Its lightweight architecture ensures efficient operation without the need for high-end computing resources, making it suitable for deployment in edge devices and factory-floor applications (1).

To develop and validate their model, the researchers compiled an extensive data set from 519 flour samples derived from ten different wheat flour varieties (1). These samples were sourced from major flour producers across three major producers: China, the United States, and Russia (1). The varieties represented three different gluten content levels: high, medium, and low, which allowed researchers to test the model across a wide range of flour types.

Then, these 519 flour samples were analyzed using NIR spectroscopy. After NIR analysis, these samples were divided into smaller portions to measure protein and moisture content through standard laboratory procedures (1). The average values from these measurements were used as reference data for training and validating the CNN model (1). This data set enabled the development of a reliable regression model capable of predicting key compositional parameters from NIR data alone.

Summarizing their findings, the research team suggests that the LGAKNet model could be adapted for analyzing other food products and additional quality parameters (1). They also suggest that future studies should incorporate advanced spectral preprocessing techniques and transfer learning strategies to improve adaptability in diverse settings (1).

As a result, this study shows another example of how AI is being used in the food analysis industry. As AI continues to be increasingly used in the food analysis industry, we can expect that quality control processes will become faster and more accurate as the technology develops. The goal in food analysis remains reducing waste, enhancing consistency, and ultimately improving consumer trust in food products, and spectroscopy is helping to realize this vision.

References

  1. Yang, Y.; Sun, R.; Li, H.; et al. Lightweight Deep Learning Algorithm for Real-time Wheat Flour Quality Detection via NIR Spectroscopy. Spectrochimica Acta Part A: Mol. Biomol. Spectrosc. 2025, 330, 125653. DOI: 10.1016/j.saa.2024.125653
  2. Rattray, D. What is Wheat Flour? The Spruce Eats. Available at: https://www.thespruceeats.com/about-wheat-and-wheat-flour-3050515 (accessed 2025-04-04).

Related to this article

NIR Spectroscopy of the Brain and Other Complex Analyses, ©   Navaporn  -chronicles-stock.adobe.com
Near-infrared spectroscopy has quietly stopped being a niche calibration exercise and started acting like an autonomous diagnostic partner, reading consciousness in an injured brain, steering a fermenter without a human hand, and hunting invisible plastic in a glass of water. The tool chemists once used to check moisture in grain is now fusing with artificial intelligence to make decisions no spectrometer could make alone.
Scientist With Portable Spectrometer in Natural Field Setting ©  By Tika -chronicles-stock.adobe.com
The bulky bench-top NIR spectrometer is quietly being dismantled and rebuilt as a wafer-scale photonic chip, a self-calibrating algorithm, and a sensor small enough to ride in a shirt pocket. What once demanded a grating, a moving mirror, and a climate-controlled lab now fits inside a handheld module, a bioreactor probe, or a drone payload, and it increasingly figures out what it is looking at on its own.
FACSS 2026 Award Interviews ©  Erin -chronicles-stock.adobe.com
Eight FACSS award winners at SciX 2026, One LIBS trailblazer. Forty-eight questions. And not one of them is a softball. Award season in spectroscopy usually means polite applause, a plaque, and a photo. We're not completely interested only in the award sessions. The eight scientists honored at SciX 2026 in Sparks, Nevada, along with LIBS researcher Alessandro De Giacomo, are pushing Raman into operating rooms, flying LIBS on drones, reading chemistry off Mars, and tracing toxic metals downwind of industrial sites. Their work makes big claims. In the coming days, Spectroscopy will sit down with eight of these researchers and ask whether those claims hold up. The interviews that follow won't just celebrate. They'll press on the gaps between simulation and experiment, between the lab bench and the clinic, and between a clever paper and an instrument someone will actually buy and use.
Infrared Reimagined: How FT-IR Spectroscopy Learned to Read Molecules, ©  Luis Eduardo  -chronicles-stock.adobe.com
FT-IR spectroscopy, long treated as a mature bench technique for confirming a carbonyl stretch or fingerprinting a polymer, has quietly become one of chemistry’s most versatile discovery engines: it now infers molecular structure straight from a spectrum without a reference library, resolves chemistry tens of nanometers wide, and screens a fingerstick of blood for disease in minutes. The last five years of published research show FT-IR moving from a confirmatory tool into a predictive, autonomous, and field-ready analytical platform.