Next Article in Journal
Factors Influencing Consumer Behavior and Purchasing Decisions Regarding Mud Crabs (Scylla paramamosain) in the Major Cities of Vietnam
Previous Article in Journal
Influence of Age at Harvest and Packaging Conditions on Color Stability of Bovine Psoas major Muscle
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Review

Terahertz Spectroscopy for Food Quality Assessment: A Comprehensive Review

School of Electrical and Information Engineering, Jiangsu University, Zhenjiang 212013, China
*
Author to whom correspondence should be addressed.
Foods 2025, 14(13), 2199; https://doi.org/10.3390/foods14132199
Submission received: 19 May 2025 / Revised: 19 June 2025 / Accepted: 21 June 2025 / Published: 23 June 2025
(This article belongs to the Section Food Analytical Methods)

Abstract

Terahertz spectroscopy (0.1~10 THz), as a new type of non-destructive testing method with both microwave and infrared characteristics, has shown remarkable potential in the field of food quality testing in recent years. Its unique penetration, high sensitivity, and low photon energy characteristics, combined with chemometrics and machine learning methods, provide an efficient solution for the qualitative and quantitative analysis of complex food ingredients. In this paper, we systematically review the principles of terahertz spectroscopy and its key applications in food testing, focusing on its research progress in pesticide residues, additives, biotoxins, and mold, adulteration identification, variety identification, and nutrient content detection. By integrating spectral data preprocessing, reconstruction algorithms, and machine learning model optimization strategies, this paper further analyzes the advantages and challenges of this technology in enhancing detection accuracy and efficiency. In addition, combined with the urgent demand for fast and nondestructive technology in the field of food detection, the future development direction of the deep integration of terahertz spectroscopy technology and artificial intelligence is envisioned, with a view to providing theoretical support and technical reference for food safety assurance and nutritional health research.

1. Introduction

As a critical domain impacting both public health and economic development, food safety and its associated technological advancements are closely tied to the protection of livelihoods and the upgrading of the agri-food industry. With the increasing globalization and complexity of the food supply chain [1], food contamination issues have become more trans-regional and latent in nature [2]. Taking agricultural products as an example, pesticide residues have evolved from traditional organophosphates to neonicotinoids, while illegal additives have progressed from industrial dyes to novel synthetic flavoring agents. Foodborne contaminants now span three major categories—chemical additives, microbial agents, and foreign matter [3]—encompassing over 300 specific compounds. These include a wide range of potential hazards, from pesticide residues to fragments of metallic debris introduced during processing [4]. Currently, chromatography-mass spectrometry (GC–MS or LC–MS) remains the most widely adopted technology for trace-level contaminant detection. However, each test typically requires complex sample pretreatment steps such as grinding, solvent extraction, and centrifugal filtration [5]. These labor-intensive processes are time-consuming and require expensive, large-scale instrumentation—often valued in the millions of dollars—restricting their use primarily to well-equipped key laboratories.
Notably, these technical bottlenecks are especially pronounced in the detection of certain food categories, such as genetically modified (GM) agricultural products. As new GM varieties continue to emerge, the detection challenge grows more complex. Artificially inserted gene fragments often share up to 98% sequence similarity with native crop genomes, rendering routine identification akin to locating a unique pattern within millions of nearly identical elements. Conventional polymerase chain reaction (PCR) methods are prone to false positives due to high genetic homology, while protein-based enzyme-linked immunosorbent assays (ELISA) [6] often fail when proteins are denatured during high-temperature processing. This growing disparity between detection capabilities and real-world needs has driven efforts to develop next-generation solutions. Emerging spectral imaging systems have demonstrated significant potential; for instance, optical scanning coupled with intelligent algorithms has achieved over 91% accuracy in mold detection [7]. Such non-contact, multi-parameter inspection platforms offer a viable path toward modernizing food safety monitoring in dynamic distribution environments. In parallel, advanced electromagnetic sensing technologies capable of identifying food components through packaging—by capturing molecular-level fluctuations rather than relying on surface imaging—are opening new frontiers in non-destructive food analysis [8,9].
As technology advances, global regulatory bodies are increasingly recognizing rapid, non-invasive methods. The Codex Alimentarius Commission (CAC), jointly established by FAO and WHO, supports the inclusion of emerging spectroscopic techniques in international food safety standards [10]. The European Food Safety Authority (EFSA) also endorsed innovative screening tools in its 2021 report on modernizing food surveillance [11]. In parallel, the U.S. FDA’s “New Era of Smarter Food Safety” blueprint highlights non-destructive technologies, including terahertz and hyperspectral imaging, as promising tools for intelligent quality control [12]. These initiatives demonstrate growing regulatory support for the adoption of terahertz spectroscopy in food safety frameworks.
Terahertz waves (0.1–10 THz), located between the microwave and infrared regions of the electromagnetic spectrum [13], have found broad applications in diverse fields such as agricultural product quality assessment, materials science, biomedicine, and communication technology [14], as illustrated in Figure 1.
Terahertz (THz) photons possess low energy—on the order of a few millielectron volts—and are weakly absorbed by most non-metallic and non-polar materials. This enables non-destructive identification and quantitative analysis of food components based on their characteristic absorption spectra. The core strength of THz spectroscopy lies in its complementary modalities: time-domain and frequency-domain techniques [3]. Terahertz time-domain spectroscopy (THz-TDS), which utilizes femtosecond laser pulses to capture broadband temporal responses, is particularly well-suited for rapid monitoring of compositional changes during food processing [15]. In contrast, terahertz frequency-domain spectroscopy (THz-FDS) offers high-resolution detection at specific frequencies, allowing for precise identification of trace contaminants [16]. Compared with conventional analytical methods, THz spectroscopy offers significant advantages: it requires minimal sample preparation, can penetrate common packaging materials to enable in situ detection, reduces the detection cycle to a matter of minutes [17], and can lower analytical costs by more than 70%. These features make it a promising disruptive technology for full-process monitoring across the food production chain.
However, despite its considerable potential, several challenges hinder its practical application. These include the strong absorption of THz radiation by water molecules, which complicates the analysis of high-moisture foods [18]; scattering effects induced by complex sample matrices that can obscure characteristic peaks; discrepancies in spectral resolution between portable and laboratory-grade devices; and the limited coverage of current spectral databases, particularly for emerging additives and toxins. Addressing these limitations is critical to advancing the industrial deployment of THz-based food quality assessment systems.
To overcome these challenges and fully leverage the advantages of terahertz spectroscopy, the incorporation of chemometric methods is essential. Through spectral pre-processing (e.g., noise suppression, baseline correction), feature wavelength selection, and machine learning model optimization, complex spectral signals can be transformed into quantifiable chemical information, thereby significantly improving detection accuracy and efficiency. Chemometrics not only optimizes the data analysis pipeline of terahertz spectroscopy [19] but also enhances its applicability in complex matrices through intelligent algorithms. At present, terahertz spectroscopy has been widely applied in food quality inspection [20], covering the entire food production chain from raw material screening to final product quality control. For example, its non-destructive nature enables in-situ detection of packaged foods, while its high sensitivity facilitates the rapid screening of trace contaminants [21], thus offering a new technological paradigm for food safety monitoring. Although terahertz spectroscopy has made significant progress in food safety testing, its future development still requires breakthroughs in several key areas.
In the future, the development of terahertz spectroscopy will focus on improving detection sensitivity [22], optimizing equipment performance, and expanding the range of applications. Specifically, signal enhancement using graphene-based meta-surface sensors can further improve detection accuracy. The integration of multiple spectroscopic techniques (e.g., Raman spectroscopy [23]) allows for more comprehensive extraction of food compositional information. Moreover, establishing a globally accessible spectral database would facilitate the rapid identification of emerging additives and contaminants. In addition, enhancing the performance of portable devices, developing adaptive scattering correction algorithms, and advancing standardization frameworks will accelerate the transition of THz spectroscopy from laboratory research to real-world applications, thereby improving its utility in food safety supervision.
In summary, terahertz spectroscopy, as an emerging technique for food safety detection [24], demonstrates substantial application potential in key areas of food quality monitoring due to its unique physical properties and chemometric optimization strategies. Nonetheless, several practical challenges remain, requiring continued technological innovation and interdisciplinary collaboration. However, it still faces many challenges in practical applications, which need to be addressed through technological innovation and interdisciplinary cooperation. In this paper, we systematically review the recent progress of terahertz spectroscopy in the field of food safety detection, focusing on its physical mechanism, chemometric optimization strategy, and innovative applications in key scenarios, summarizing the challenges faced, and looking forward to its future development direction, which is intended to provide a reference for the development of the intelligence and standardization of food safety detection technology. Figure 2 illustrates a representative application of THz spectroscopy in food quality assessment.

Review Methodology

Although this review primarily adopts a narrative approach, a structured and traceable literature retrieval process was adopted to ensure transparency, consistency, and academic rigor. The methodology was developed in reference to the PRISMA 2020 (Preferred Reporting Items for Systematic Reviews and Meta-Analyses) guidelines.
The literature search was conducted across two major academic databases: Web of Science and Scopus, covering the period from January 2010 to December 2024. The search strategy focused on retrieving studies involving terahertz technology in the field of food quality evaluation. The keyword “terahertz*” was applied in the title field, while the topic field (i.e., abstracts and keywords) employed Boolean operators to combine action descriptors such as “detection*”, “monitor*”, “test*”, and “determination*” with subject terms like “food*”, “crop*”, and “agricultural*”.
Only peer-reviewed original research articles and review papers published in English were considered, while other publication types—such as conference abstracts, editorials, patents, and non-peer-reviewed sources—were excluded.
Studies were included if they investigated the application of terahertz techniques in the detection, analysis, or evaluation of food or agricultural products. Particular emphasis was placed on studies addressing issues such as adulteration, chemical contamination, compositional analysis, and quality control. Articles were excluded if they focused on non-food applications (e.g., materials science, medical diagnostics), did not use terahertz technology, or were non-peer-reviewed.
All retrieved records were imported into EndNote 20, and duplicate entries were identified and removed. The remaining entries underwent manual screening of titles and abstracts, and full-text articles were further assessed for eligibility. A total of 1317 records were initially identified, with 96 duplicates removed. After screening the remaining 1221 records, 183 were excluded for not meeting the inclusion criteria. The remaining 1038 full-text articles were then assessed for eligibility. Based on the inclusion criteria, 95 studies were finally included in this review. Figure 3 summarizes the entire identification, screening, and inclusion process using the PRISMA flowchart.

2. Terahertz Spectroscopy

2.1. Principles

Terahertz spectroscopy is a spectral analysis technique that derives material properties by detecting the absorption, reflection, or transmission of terahertz waves as they interact with matter [25]. Figure 4 and Figure 5 illustrate a transmission-mode and a reflection-mode terahertz system, respectively. This electromagnetic radiation combines the penetration capability of microwaves with the resolving power of infrared light. Its photon energy, ranging from 0.4 to 40 meV, is significantly lower than the ionizing energy of X-rays [26], which makes it highly advantageous for safety inspection applications [27]. The technology enables non-destructive penetration through non-polar substrates such as paper and plastics, while simultaneously detecting the characteristic signals of polar substances like moisture and organic compounds with high sensitivity [22]. This combination of penetrative capability and molecular selectivity makes it an effective analytical tool for food quality inspection [28]. Terahertz spectroscopy can be divided into two detection systems, THz-TDS and THz-FDS, according to the working principle. THz-TDS is well suited for capturing dynamic processes such as molecular vibrations and conformational changes, whereas THz-FDS is more appropriate for the quantitative analysis of material components. These two approaches are complementary and find wide applications in both industrial inspection and scientific research.
From the perspective of THz-TDS, the core principle involves generating broadband terahertz pulses via ultrashort femtosecond laser excitation of nonlinear effects [29], and recording the complete time-domain electric field waveform through time-delayed scanning. A femtosecond laser generates pulses with durations of approximately 100 fs, which are split into pump and probe beams using a beam splitter [30]. The pump beam excites the terahertz emitter [31], such as a photoconductive antenna or a nonlinear crystal. For instance, under femtosecond laser excitation, a gallium arsenide (GaAs) photoconductive antenna rapidly accelerates photo-generated carriers, emitting broadband terahertz pulses. If electro-optic crystals such as zinc telluride (ZnTe) are used [32], the broadband spectrum of the femtosecond laser is converted into coherent terahertz radiation via optical rectification [33]. The probe light then enters the detector (e.g., electro-optic crystal or photoconductive antenna) in a common line with the terahertz pulse after the terahertz wave has penetrated or reflected from the sample through a precisely controlled time-delay system. In the electro-optical sampling technique, the terahertz electric field induces a change in the polarization state of the probe light, which is then converted into a light intensity signal using a bias detector and photodiode, enabling point-by-point recording of the electric field evolution over time. By adjusting the time delay between the pump and probe beams [34], the system captures the complete time-domain waveform of the terahertz pulse, which is then transformed into a frequency-domain spectrum via a Fourier transform [35] to extract key parameters such as absorption coefficient, refractive index, and others [36]. The advantages of the time-domain technique are its wide frequency coverage (typically 0.1–4 THz) and high signal-to-noise ratio [37] (up to 104 or more), the ability to acquire amplitude and phase information simultaneously, and the lack of dependence on the spontaneous radiation properties of the sample. In food testing, this technique is particularly suitable for analyzing fast dynamic processes such as water migration, lipid oxidation or real-time monitoring of protein conformational changes [38]. or example, in the detection of melamine in milk powder, the hydrogen-bonding vibrational modes of the amino and cyano groups exhibit characteristic absorption peaks in the 1.5–2.5 THz range [39]. These signals can be directly identified using non-destructive time-domain spectroscopy, with sensitivity reaching the ppm level.
THz-FDS, on the other hand, focuses on the direct measurement of a material’s response at a specific frequency. This is typically achieved using a continuous-wave (CW) terahertz source or a tunable laser, which constructs the frequency-domain spectrum by scanning each frequency point individually [40]. The core of a frequency domain system is to precisely control the frequency of the terahertz wave and measure its energy change upon interaction with the sample [41]. For example, systems based on photoelectric mixing technology use two near-infrared laser beams of similar wavelengths to generate differential-frequency terahertz radiation on a photoconductive antenna, and frequency tuning is achieved by adjusting the difference in laser wavelengths; quantum cascade laser (QCL), as a new type of solid-state terahertz source, can directly output a continuous wave of a specific frequency by changing the applied voltage or temperature [42]. On the detection side, THz-FDS often uses highly sensitive detectors (e.g., pyroelectric detectors or superconducting mixers) to directly record the intensity and phase of transmitted or reflected signals. Compared to THz-TDS, THz-FDS offers much higher frequency resolution (up to the MHz range) and is particularly suited for investigating narrowband resonances, such as the rotational transitions of pesticide molecules or the fine phonon structures in crystalline materials. For example, the molecular rotational energy level of organophosphorus pesticides (e.g., dichlorvos) has multiple absorption peaks in the range of 0.3–1.2 THz, and THz-FDS can match these peaks for the qualitative and quantitative analysis of trace pesticides, with the detection limit as low as the nanogram level [43]. However, THz-FDS usually covers a narrow frequency band (e.g., 0.1–1.5 THz) and requires a complex frequency tuning mechanism and is therefore limited in rapid detection or broadband analysis.
The physical basis of both time- and frequency-domain techniques relies on the microscopic mechanisms of terahertz wave interaction with matter. Terahertz photon energies are highly compatible with the energy scales of weak intermolecular interactions (e.g., hydrogen bonding vibrations, lattice phonon modes, van der Waals forces) and are therefore sensitive to structural changes in matter. For example, moisture in food is not only a representative of polar molecules, but dynamic changes in its hydrogen bonding network (e.g., conversion of free water to bound water [44]) cause significant differences in absorption coefficients in the terahertz band (0.5–3 THz). By analyzing the intensity and spread of the absorption spectra, the damage to the cellular structure caused by the dryness, freshness, or freeze-thaw cycle of the food can be assessed. In edible oil detection, differences in the molecular vibration modes of different fatty acids [45] (e.g., oleic acid, linoleic acid) can lead to peak shifts in the terahertz absorption spectrum, and trans fatty acids or oxidation products produced by high-temperature processing of gutter oils can further change the spectral characteristics for authenticity identification [46]. In addition, the penetration of terahertz waves into non-polar materials enables them to penetrate food packaging (e.g., plastic, cellophane) to directly detect internal foreign objects (e.g., metal fragments, insect remains) [47], while the low photon energy characteristics avoid thermal damage to the sample, which is particularly suitable for non-destructive testing of fresh food.
The core value of terahertz spectroscopy technology in food testing is mainly reflected in three aspects: accurate identification, non-destruction of samples, and comprehensive analytical capabilities [48]. Take grain storage as an example, when the grain is moldy, the aflatoxin produced by the mold will make the electrical properties of the grain change. At this stage, scanning with terahertz imaging equipment can reveal the distribution of mold spots, analogous to the imaging effect of X-rays. Another example is to determine the freshness of meat, with the protein structure gradually changing, the terahertz wave absorption curve will show obvious fluctuations [49]—absorption intensity is weakened, and the position of the characteristic peaks is shifted. A quality evaluation system can then be established using data analysis software based on these spectral fluctuations.
This technology is particularly useful in the detection of additives. Synthetic additives like sodium saccharin, due to their special molecular structure, show unique recognition characteristics in the terahertz band; in contrast, natural ingredients usually do not react significantly in this band. In practice, by comparing the position and shape of the characteristic peaks, inspectors can quickly pinpoint the offending chemical ingredients. However, when detecting foods with high water content (e.g., fresh fruits and vegetables, raw meat), the strong absorption of terahertz waves by water molecules [24] will significantly reduce the signal-to-noise ratio of the detection signal [50]. In order to overcome this technical bottleneck, two complementary strategies are currently employed. The first is a signal compensation approach, which involves establishing a physical model of water absorption and applying algorithmic corrections to the original spectral data to eliminate interference while preserving the native state of the sample. The second is a sample pretreatment method that utilizes freeze-drying technology to remove free water through a combination of physical dehydration and vacuum sealing [51]. This process helps to reduce the influence of moisture while maintaining the chemical integrity of the target analytes. These two methods are suitable for non-destructive rapid testing and laboratory precision analysis scenarios, forming a complete closed loop of technology application.
Now, as the detection equipment is getting smaller and smaller, the cost continues to decrease; there have been companies trying to integrate the terahertz detection module into the automated production line. From raw materials into the warehouse to the finished product packaging, the whole process can be monitored in real time for quality indicators. This intelligent detection is changing the traditional food industry quality control model.

2.2. Chemometrics in Terahertz Spectral Analysis

In terahertz spectroscopy, chemometrics transforms complex spectral signals into quantifiable chemical information by systematically optimizing both data quality and modeling workflows. The core steps include spectral pre-processing, wavelength selection, outlier detection, dataset partitioning, model calibration, and performance evaluation. These steps are closely interlinked and collectively determine the analytical accuracy and practical utility of the results. Spectral pre-processing is the starting point of the process, and its core task is to eliminate noise, baseline drift, scattering effects, and other interfering factors. Taking the quality testing of agricultural products as an example, the original spectra of corn, wheat and other grain samples are often distorted due to the multilayered structure of starch particles, moisture gradient distribution and soil residue interference, at this time, the combination of Savitzky-Golay (SG) smoothing and wavelet transform can effectively separate the fingerprint characteristics of the crop’s active ingredient, and multiplicative scattering correction (MSC) can be used to eliminate scattering effects caused by differences in particle size, thereby forming a standardized preprocessing procedure [52]. For the quantitative analysis of isomeric mixtures [53] (e.g., galactose, fructose, mannose), asymmetric least squares baseline correction (ALS) combined with moving window fitting, and polynomial smoothing can accurately eliminate baseline shifts and enhance the resolution of spectral features. It is worth noting that the preprocessing method needs to be dynamically adjusted according to the sample characteristics: oil seeds need to be controlled in terms of slice thickness to maintain optical consistency, while leafy vegetables can be dried at low temperatures to minimize the coverage of moisture absorption peaks on the target signal. Although preprocessing significantly improves data quality, parameter settings—such as the SG window width or wavelet decomposition level—must be carefully optimized using cross-validation to prevent excessive smoothing that could suppress weak spectral signals. For example, when quantifying starch and protein in corn, a preprocessing combination of SG and standard normal variate (SNV) transformation reduced the root mean square error of prediction (RMSEP) of a partial least squares (PLS) model by 28% [54]. In comparison, deep learning models such as convolutional neural networks (CNNs) [55] applied to raw spectra can achieve similar accuracy but typically require significantly larger datasets, highlighting the practical benefits of traditional preprocessing methods, particularly in small- to medium-scale analytical tasks.
After optimizing data quality, spectral wavelength selection reduces data dimensionality via feature extraction, serving as a key step in enhancing model efficiency [56]. The genetic algorithm (GA) offers notable advantages in this context due to its bio-inspired optimization mechanism. By simulating natural selection, GA identifies a subset of wavelengths from the entire spectral range that are highly correlated with the target components [57]. For instance, in corn composition analysis, GA selects 10 key wavelengths from the 1100–2498 nm range, reducing the number of input features to just 0.4% of the original dataset and decreasing the prediction error by 30%. For multi-component systems, moving window polynomial smoothing dynamically adjusts the window width to capture localized spectral variations. In the analysis of ternary isomeric mixtures, this technique, combined with PLS modeling, has enabled simultaneous quantification of galactose, fructose, and mannose, with RMSEP values below 1.3%. Meanwhile, the integration of surface-enhanced infrared absorption (SEIRA) with machine learning further improves sensitivity by amplifying signal intensity in specific wavelength regions using nanostructured substrates [58], pushing detection limits for trace components (e.g., pesticide residues) down to the ppb level. Wavelength selection should be guided not only by statistical models but also by chemical interpretability. For example, the hydroxyl (-OH) stretching vibration in glucose—concentrated in the 1.6 to 1.8 THz range—corresponds to the intramolecular hydrogen bonding structure. Incorporating such domain knowledge narrows the algorithmic search space and enhances the reliability and chemical validity of the selected features.
With improved data quality, outlier detection and dataset partitioning become critical for ensuring model generalizability. Blocked Latin Partitioning Cross-Validation (BLP-CV) achieves a balanced distribution between training and test sets by integrating stratified sampling with multiple random iterations, thereby enhancing the representativeness of both sets. In a study on foreign substance detection in liquid dairy products [31], BLP-CV successfully identified and excluded anomalous spectra caused by the uneven distribution of milk fat globules, resulting in a 15% improvement in model prediction stability [59]. For highly heterogeneous samples such as coffee beans, Mahalanobis distance-based outlier detection quantifies spectral variability and, when combined with K-means clustering, enables dynamic identification of outlier points. Instrumental differences also affect dataset partitioning. In a multinational wheat aflatoxin detection project, systematic inter-instrumental errors in cross-platform terahertz spectra were corrected using Standard Normal Variate (SNV) transformation. Leave-one-out cross-validation (LOOCV) was then employed to assess model robustness. The ongoing standardization of terahertz spectral databases is fostering multi-center data sharing. By harmonizing sampling protocols and data formats, these efforts have significantly enhanced cross-laboratory data consistency. For instance, the Global Alliance for Grain Safety’s Cross-Country Producing Areas Database reduced the cross-validation error variance of PLS models developed by different research teams from 12% to less than 5%.
With high data quality ensured, calibration model development and performance evaluation represent the final stages of chemometric analysis. The partial least squares (PLS) algorithm dominates terahertz quantitative analysis [60] due to its ability to handle high-dimensional covariance data. For example, in analyzing three-component edible oils (palmitic acid, oleic acid, linoleic acid) [61], the PLS model achieves prediction errors below 1%, with R2 exceeding 0.93. Nonlinear models such as Random Forest (RF) [62] perform well in classification tasks, such as beef marbling grading. However, overfitting remains a concern, as demonstrated in the classification of grain-fed and grass-fed beef, where RF yielded 99% training accuracy but only 82% test accuracy [63]. After regularization and early stopping optimization, test performance improved to 89% [64]. While deep learning can process bimodal time–frequency data in THz-TDS systems, its black-box nature hampers industrial deployment. Conversely, transparent models, such as those using SG-wavelet preprocessing combined with PLS, are more amenable to ISO certification and have already enabled real-time, minute-level analysis in dairy production lines. Spectral database standardization (e.g., T/SATA 059-2023) further enhances cross-platform model transferability. In one case, a multinational food company achieved fat content prediction errors of less than 3% across spectrometers used in the U.S., China, and Europe, significantly lowering equipment replacement costs.
Currently, terahertz spectroscopic chemometrics is evolving toward greater intelligence and integration. The integration of quantum computational chemistry has enhanced the simulation accuracy of molecular vibrational modes at the femtosecond scale, offering a novel theoretical foundation for characteristic wavelength screening. Moreover, the integration of microfluidic chips with terahertz spectroscopy has significantly enhanced the analytical efficiency for complex biofluids through high-throughput detection of nanoscale samples. As application scenarios expand—such as multilevel structural analysis of grain starch and trace detection of plasticizers in food packaging—the deep integration of chemometric components, from adaptive preprocessing parameter optimization to the iterative refinement of wavelength selection and model development, is enabling terahertz spectroscopy to move beyond laboratory research and accelerate its adoption in industrial rapid detection settings. In this process, the synergy between standardized database construction and intelligent algorithms is expected to drive a paradigm shift from “artificial reference” to “data-driven” approaches [65], providing more robust technical support for quality control across the entire agricultural supply chain. Figure 6 illustrates the detailed process and algorithms involved in chemometric-based spectral data analysis.

2.3. Comparative Analysis with Other Detection Techniques

Although terahertz spectroscopy has seen expanding applications in food testing in recent years, it must be evaluated within the broader context of food testing methodologies to fully assess its technical strengths and limitations. Currently, food quality and safety testing encompasses a wide range of techniques, from traditional physicochemical analyses commonly used in laboratories to recently developed non-destructive testing methods. These techniques differ in detection principles, applicable targets, and operational efficiency, each with its own advantages and limitations [66]. A comparative evaluation allows for a more accurate understanding of the role of terahertz technology in various detection scenarios and provides a foundation for subsequent technology selection and system integration.
Table 1 summarizes several conventional methods commonly used in food testing. These methods are well-established and highly reliable in food safety regulation and laboratory analyses, making them particularly suitable for ingredient quantification and targeted detection. However, they typically involve complex procedures, lengthy testing times, and often require sample destruction, making them unsuitable for rapid, non-destructive, and real-time testing applications on production lines.
In recent years, as the demand for non-destructive and rapid detection methods in the food industry has continued to increase, several emerging techniques based on electromagnetic waves and imaging technologies have been progressively incorporated into food quality control processes. These include near-infrared spectroscopy, Raman spectroscopy, X-ray imaging, hyperspectral imaging, and millimeter-wave imaging [67,68]. These techniques typically require minimal sample preparation and can rapidly identify parameters such as moisture content, fat levels, foreign substances, or adulterants, while maintaining the integrity of the sample. As a result, the scope of non-destructive testing applications has gradually expanded within production lines.
To further clarify the technical characteristics and application advantages of terahertz spectroscopy, Table 2 provides a comparative summary of several representative non-destructive testing technologies. The comparison includes spectral range, operating principles, detection limits, key advantages, and existing technical challenges. Notably, terahertz technology offers unique advantages in identifying intermolecular interactions, imaging structural features, and penetrating non-metallic packaging materials. These strengths make it particularly well-suited for complex tasks such as adulteration screening, foreign object detection, and the identification of structural defects in packaged food [69].
Overall, although terahertz spectroscopy may not match traditional chromatographic methods in certain analytical accuracy metrics, it demonstrates significant potential in non-destructive detection due to its non-contact nature, ability to penetrate packaging materials, and suitability for online applications. A systematic comparison with both traditional and emerging detection technologies enables a more comprehensive understanding of its technical value and application boundaries, while also laying the groundwork for future integration with other technologies and the development of an intelligent detection system [70].

3. Application of Terahertz Spectroscopy in Food Quality Testing

Terahertz spectroscopy facilitates non-destructive evaluation of the internal structure of food products [71]. It detects internal cracks, voids, mold, or foreign matter by analyzing the transmission and reflection characteristics of terahertz waves as they interact with food matrices [72]. For instance, in fruit inspection, the technology can identify insect damage or internal decay in fruits such as apples and citrus without damaging the samples, thereby enhancing the efficiency of grading and sorting processes. In addition, it can be applied to assess the integrity of food packaging, preventing contamination resulting from micro-cracks or seal failures. For example, in canned food inspection, terahertz spectroscopy can detect micro-defects in packaging materials by analyzing their transmission properties, thereby ensuring product safety [73]. Terahertz spectroscopy also offers notable advantages in detecting food adulteration. Food adulteration—such as the addition of molasses to honey [74], incorporation of plant proteins into dairy products, or blending of inferior oils into cooking oil—poses a major challenge to food safety. Due to their distinct absorption features in the terahertz range [75], adulterants can be rapidly identified by comparing the spectral profile of a test sample with that of an authenticated reference. For example, the natural sugars in honey and artificial syrups exhibit distinguishable terahertz spectral features, allowing for the reliable identification of adulteration [76].
Compared with traditional food testing methods, terahertz spectroscopy offers advantages of being non-destructive, rapid, convenient, and highly sensitive [68]. While traditional detection methods often require complex sample pretreatment and may even destroy the sample [77], terahertz spectroscopy can rapidly acquire chemical composition and structural information without direct contact with the sample, making it especially suitable for real-time, online detection and quality control in food production lines. In addition, when combined with artificial intelligence and other data analysis technologies, terahertz spectroscopy can also enable automated and intelligent food quality inspection. For example, establishing a spectral database of food components and contaminants combined with machine learning algorithms allows rapid screening and accurate assessment of food quality. At present, terahertz spectroscopy has been widely applied in pesticide, additive, adulteration, mycotoxin, and mold detection, species identification, nutrient analysis, among other applications, as shown in Figure 7. Next, the specific applications of terahertz spectroscopy in food quality detection are reviewed in detail [78].

3.1. Pesticide Testing

The application of terahertz spectroscopy in pesticide detection has made remarkable progress in recent years, especially after combining with chemometric methods, the precision and applicability of its quantitative analysis have been effectively improved. In 2010, Hua Yuefang and Zhang Hong [86] conducted qualitative and quantitative studies of imidacloprid in polyethylene and glutinous rice flour using THz-TDS technology. The linear relationship between absorption coefficient and pesticide concentration was analyzed by PLS regression, and it was found that imidacloprid had characteristic absorption peaks in the frequency bands of 0.89 THz and 1.13 THz, which could be differentiated from other pesticides (e.g., carbendazim, tricyclazole) and food powders (glutinous rice flour, sweet potato flour, lotus root flour). In the quantitative analysis, the PLS model predicted imidacloprid in polyethylene matrix (concentration 0–50%) with a relative error of less than 5% and an RMSEP [87] of 0.699%, whereas in the more absorbing glutinous rice flour matrix (concentration 0–75%), the prediction error was kept at 4.58% despite the decreased signal-to-noise ratio in the high-frequency band [88]. The study also pointed out that the abrupt change in refractive index at the absorption peak could be used as an auxiliary identifying feature, but its correlation with concentration was weak and was not used in the modeling. In addition, the authors highlighted the influence of sample preparation (e.g., homogeneous mixing, tablet pressure) and spectral parameter extraction algorithms on the lower limit of detection, which provided directions for subsequent optimization.
In 2020, Binghua Cao [89] et al. proposed a THz-TDS-based pesticide residue detection method for analyzing mixtures of imidacloprid and carbendazim in flour. A total of 21 sets of mixture samples with different concentrations (pesticide concentration 0–50% with a 2.5% interval) were prepared, and the samples were categorized into a calibration set and a prediction set [89,90]. The research team eliminated the skewed baseline of the spectra by the multispectral baseline correction (MSBC) technique, and after improving the signal-to-noise ratio [91], the corrected absorption spectra were fitted by the Voigt function, and a quantitative model was established by combining with PLS regression [92]. The results showed that in the case of a small calibration set (5–7 sets), the RMSEP of the Voigt-PLS method was significantly lower than that of PLS alone (e.g., the RMSEP of imidacloprid was reduced from 3.738% to 2.646%), and the correlation coefficient (RP) was higher (from 0.9867 to 0.9914); when the calibration set was increased to 15 sets, the accuracies of the two methods were converged. It is also found that the Voigt function can be modeled without requiring pure component spectra by decomposing the mixture spectrum into multiple Voigt peaks (e.g., 0.89 THz, 1.13 THz, etc.), which greatly simplifies the conditions for practical applications. This work validates the advantages of THz-TDS in combining physical modeling and statistical methods in small sample scenarios, and provides a feasible solution for the rapid detection of multi-component pesticides in complex matrices.
In 2021, Qingxiao Ma et al. [93] introduced a quantitative analysis approach using terahertz spectroscopy combined with a back propagation neural network (BPNN) to detect low concentrations (0.33–2%) of a ternary pesticide mixture—6-BA, 2,6-D, and imidacloprid—in wheat flour. The research team pre-processed the spectra by wavelet threshold denoising and first-order derivative baseline correction, effectively eliminated the matrix scattering interference, and reduced the average lower limit of detection (LOD) from 1.24% to 0.45%; then optimized the parameters of the BPNN model by combining with GA (the number of hidden layers l = 2, the number of neurons n = 7, and the learning rate r = 0.014), and introduced the particle swarm optimization (PSO) to dynamically screen the high-efficient absorption peaks interval (1.87–2.17 THz), resulting in an RP of 0.9913–0.9948 and an RMSEP as low as 0.0176–0.0211%. Compared with the traditional support vector regression (SVR) method (RP only 0.8567–0.9323), this technique reduces the multi-component identification error by more than 50%, and the lower limit of detection is further compressed to 0.28% (0.42 mg/kg), which is the first time to realize the accurate quantitative analysis of pesticide mixtures with ultra-low concentration in real production scenarios [93]. The study also verified the feasibility of automated screening for 300 batches per hour and achieved the detection of residue levels as low as 0.5 mg in wheat flour, which reduced the failure rate during sample detection by 23%. The method improves the model training efficiency by 40% through the combination of Tan-sigmoid transfer function and dynamic moving window BPNN (MW-BPNN) and provides a standardized technical pathway for the simultaneous detection of multiple trace-level residues in complex food matrices. Table 3 summarizes the applications of terahertz spectroscopy for pesticide detection.
Terahertz spectroscopy has become a key innovative tool in the field of pesticide residue detection through the identification of molecular features [82], non-destructive detection, and intelligent analysis. Its application not only improves detection efficiency and accuracy but also promotes the green transformation of agricultural production and the intelligent upgrading of the food safety system. With the maturity of the technology, it is expected to become one of the standard testing tools for global pesticide regulation in the future.

3.2. Additive Testing

As an important component of the modern food industry, food additives play a key role in improving the color and luster of food, extending shelf life, and enhancing flavor. However, the illegal addition or overuse of additives has become a major global food safety concern. Benzoic acid, for example, is widely used as a preservative in flour products, but the World Health Organization stipulates that its maximum residue level in pasta should not exceed 0.1%. Excessive intake can trigger blood pH imbalance and gastrointestinal tract dysfunction, and even lead to liver and kidney damage. Similarly, although coumarin-like compounds have a flavor-enhancing effect, their metabolites are carcinogenic, and their use as food additives has been explicitly banned in the European Union and other regions. Even more egregious is the case of melamine and other industrial chemicals being illegally adulterated into milk powder, which has caused a public health crisis of tens of thousands of infants and children suffering from kidney stones. These cases highlight the urgency of food additives regulation, while high performance liquid chromatography (HPLC), gas chromatography-mass spectrometry (GC-MS), and other [94] traditional detection means, although high in precision, have complex sample pretreatment, long testing cycles [68], and expensive equipment, which makes it difficult to meet the demand for rapid screening in the distribution chain. As a result, creating fast, non-invasive, and highly sensitive detection methods has emerged as a major focus in food safety research [52].
Against this background, terahertz spectroscopy has come to the fore with its unique physical properties. According to existing studies, characteristic absorption peaks within the terahertz range are present in more than 60% of organic compounds. For example, benzoic acid exhibits significant absorption at 1.94 THz, while melamine has three characteristic peaks in the 2.0–2.6 THz range. This specificity provides a physical basis for accurate identification of additives, while the penetrating nature of terahertz waves enables direct detection of packaged foods, avoiding sample contamination caused by unpacking.
In 2012, Seung Hyun Baek et al. [84] used a reflectance THz-TDS system in the 0.1–3 THz band [95] to collect spectral and image data for the detection of melamine in mixed matrices. It was found that melamine had characteristic absorption peaks at 2.0, 2.26, and 2.6 THz [96] with a frequency shift of less than 0.03 THz [82]. The visual discrimination accuracy between melamine-containing regions and pure matrices was 91.4% by false-color imaging in the 2 THz band. Although LOD was 13.12% in the food matrix, the technique could penetrate OPP/PE film (attenuation rate of 7.2%) and paper packaging (attenuation rate of 12.5%), and the sensitivity only decreased by 3.1% after covering the packaging. This study breaks through the dependence of traditional spectroscopic techniques on homogenized samples and provides a new idea for the on-site detection of packaged foods, but the lack of sensitivity limits its application in trace detection.
To further improve the detection accuracy, machine learning algorithms were introduced into terahertz data analysis. In 2020, Jun Hu and Yan de Liu’s team [97] designed an optimized model combining competitive adaptive reweighted sampling (CARS) with least squares support vector machine (LS-SVM) to detect the unauthorized addition of benzoic acid in wheat flour. By preparing 172 sets of samples with a concentration gradient of 0.04–19.99% and collecting 0.1–5.0 THz data with a TAS7500 spectrometer, it was found that the absorption coefficients of BA were linearly and positively correlated with the concentration at 1.94 THz (R2 = 0.992). After MSC preprocessing, the signal-to-noise ratio was improved from 12.6 dB to 28.4 dB. Among the four variable selection techniques—CARS, GA, principal component analysis (PCA), and uninformative variable elimination (UVE)—the CARS method, when integrated with PCA dimensionality reduction (selecting 10 principal components), was used to build the CARS-PCA-LS-SVM model [97]. This model achieved an RP of 0.9956 and an RMSEP of just 0.64%, representing a 23% improvement in accuracy over the conventional PLS model. This study realized the quantitative detection of benzoic acid at low concentration (<0.1%) for the first time, but the generalizability of the model needs to be verified by cross-production wheat samples.
As terahertz detection technology moves from single indicator analysis to systematic intelligent detection, its breakthrough in the field of multi-component additive classification marks the maturity of the technology. In 2021, Ling Xiao Yu and Tao Chen [98] proposed a hybrid algorithm combining flow learning and an improved support vector machine (SVM) for the classification of six coumarin-based additives (e.g., 6-methylcoumarin, ethyl vanillin, etc.). A Z-3 THz-TDS system was used [99] to collect 216 sets of spectral data in the 0.5–2.0 THz band, and the traditional PCA method was found to suffer from nonlinear feature loss (97.22% accuracy). The innovative combination of t-distributed stochastic neighbor embedding (t-SNE) and PCA develops the parametric t-distributed stochastic neighbor embedding (P-t-SNE) algorithm, which reduces the feature dimension from 1200 to 3 dimensions by Gaussian kernel mapping and t-distribution optimization. Differential Evolution (DE) was incorporated to enhance the performance of the Gray Wolf Optimization (GWO) algorithm by configuring the mutation factor at F = 0.6 and the crossover probability at CR = 0.9. This integration led to a 40% increase in the efficiency of tuning support vector machine (SVM) parameters, specifically the penalty factor (c) and kernel parameter (g). The final constructed P-t-SNE-DEGWO-SVM model has a prediction accuracy of 98.61% [98], which is 2.78% higher than the baseline model, and the single-sample processing time is shortened to 0.8 s. Moreover, the identification error of the water of crystallization-containing samples is <1.2% in the low frequency band of 0.5 THz. The method provides an efficient solution for real-time screening of multi-component additives, but the database still covers limited compound types and needs to be extended to more novel additives.
Currently, terahertz spectroscopy has shown significant advantages in food additives detection, but it also faces key challenges. At the technical application level, the CARS algorithm has successfully reduced the dimensionality of the quantitative model of benzoic acid by 80% while maintaining 95% information integrity through the principle of “survival of the fittest” (attenuation factor of λ = 0.8) to screen the effective wavelength bands [97]. The DE-GWO algorithm optimizes the SVM parameters through the differential variance strategy, which improves the parameter optimization speed of the Gray Wolf algorithm by a factor of 2.3, and solves the defect of the traditional algorithm, that it is easy to fall into the local optimum [98]. However, the scattering effect of complex matrices remains a major obstacle—for example, the shielding of the 2.26 THz peak by cocoa butter in chocolate elevates the LOD of melamine from 2.45% in pure matrices to 13.12% in food products [84]. In addition, the existing characteristic peak database covers only more than 200 compounds, which makes it difficult to cope with new additive variants, such as coumarin derivatives, whose differences in molecular vibrational modes may lead to characteristic peak shifts of more than 0.03 THz [98]. In terms of equipment performance, there is a significant gap in the spectral resolution of commercially available portable terahertz meters compared to laboratory equipment, which limits the sensitivity of on-site detection. Future research will focus on the development of graphene super-surface sensors, terahertz-Raman multimodal fusion systems [67], and intelligent cloud-based databases [100], combined with the optimization of equipment performance, to promote the terahertz detection technology to overcome the challenges of detecting complex matrices within five years and become a core tool for additive regulation. Table 4 summarizes the applications of terahertz spectroscopy for additive detection.

3.3. Biotoxin and Mold Detection

Biotoxins and mold products pose multiple threats to food safety and human health, with hazards related to acute toxicity, chronic disease, and long-term carcinogenic risk [101]. Aflatoxin B1 (AFB1) is classified as a class I carcinogen by the International Agency for Research on Cancer (IARC) [102,103], is highly associated with hepatocarcinogenesis, and can affect fetal development through mother-to-child transmission [104], while ochratoxin A (OTA) is nephrotoxic and potentially teratogenic. Toxins produced by mold not only directly damage food nutrition but also accumulate in the body through biological side effects, leading to systemic health problems such as immunosuppression and reproductive dysfunction. Globally, about 25% of food is lost each year due to mold contamination [105], and toxins are highly insidious in complex food matrices. Terahertz spectroscopy provides an efficient solution to capture trace toxins through complex matrices, and is particularly suitable for online monitoring in scenarios such as food warehousing [106], making it a key technology to make up for the lack of timeliness of traditional methods.
Hongyi Ge et al. [107] were the first to explore terahertz spectroscopy for quantitative analysis of AFB1 in acetonitrile solutions in 2016. The study used 0.4–1.6 THz band spectra covering 160 samples in two concentration ranges of 1–50 μg/mL and 1–50 μg/L, and compared the performance of partial least squares regression (PLSR), principal component regression (PCR), SVM [108], and PCA-SVM models. The results showed that PLSR and PCR performed better in the high concentration range (1–50 μg/mL), with correction set correlation coefficients (R) of 0.978 and 0.965, respectively; whereas SVM demonstrated higher prediction accuracies in the low concentration range (1–50 μg/L) [107], with an R of 0.9376 for the prediction set of the SVM model with radial basis function (RBF) kernel [94], and the root mean square error (RMSE) was 0.0779 [109]. The study revealed that the nonlinear model was more robust to spectral noise than the linear model, but the kernel parameters (e.g., γ = 0.05) need to be optimized by cross-validation to avoid overfitting, which provides a theoretical basis for the rapid screening of trace toxins in solvent systems [31].
In the field of oil-containing matrix detection, M. Chen and L. Xie [35] used terahertz time-domain spectroscopy to achieve quantitative analysis of AFB1 in peanut oil. In the study, peanut oil samples with 0–200 ppm of AFB1 were prepared by artificial contamination, and 0.3–1.7 THz spectral data were collected using a Z3 terahertz system. Comparing the first-order derivative and second-order derivative preprocessing, it was found that the second-order derivative method could effectively suppress the baseline interference, which improved the correction set correlation coefficient (RC) of the PLSR model from 0.9322 to 0.9735, and the root-mean-square error (RMSEC) was reduced from 24.7 ppm to 15.6 ppm. Stepwise multiple linear regression (SMLR) combined with frequency selection was further employed to identify eight key frequencies, such as 1.11 THz and 0.72 THz. The resulting model yielded an RMSEC of 18.2 ppm and a cross-validated RMSECV of 27.7 ppm, with correlation coefficients reaching up to 0.963. This study innovatively combines frequency selection with SMLR to solve the problem of overlapping terahertz absorption spectra in grease media and demonstrates that the specific frequency combinations can be used to achieve the best results even under high background noise. This study demonstrates that the specific frequency combination can effectively characterize the changes of AFB1 concentration [110] even under high background noise, which provides a new method for the safety detection of edible oils [31,111].
In terms of trace toxin detection, in 2023, Gan Chen et al. [43] integrated terahertz spectroscopy with a surface plasmon resonance (SPR) biosensor [112] to enable highly sensitive detection of OTA in black tea [113]. Utilizing a TAS7400 terahertz time-domain spectroscopy system along with a customized SPR biosensor, the study operated within the 0.5–4.0 THz frequency range and measured OTA concentrations from 0 to 20 pg/mg. By examining the correlation between OTA concentration and shifts in SPR resonance frequency [114], the developed quantitative model achieved a detection limit as low as 1 pg/mg, enhancing sensitivity by a factor of 500 compared to conventional UV spectroscopy and aligning with the EU regulatory threshold of 10 pg/mg [43]. The experimental results show that the combination of the biosensors can significantly improve the signal-to-noise ratio in complex matrices (e.g., black tea), with the RMSEC and RMSEP of 0.28 pg/mg and 0.35 pg/mg, respectively. This study is the first time that terahertz metamaterials are used in conjunction with SPR for the detection of mycotoxins, which solves the technological bottleneck of the weak signals in trace analysis. This study presents a novel strategy for the safety monitoring of plant-based foods such as tea and offers effective technical support to mitigate the risk of mycotoxins entering the food chain. Table 5 summarizes the applications of terahertz spectroscopy for biotoxin and mold detection.

3.4. Adulteration

In recent years, terahertz spectroscopy has shown remarkable potential in the field of food adulteration detection by virtue of its advantages of non-destructiveness, high sensitivity [115], and specific response to low-frequency vibration of molecules. The problem of food adulteration not only jeopardizes consumers’ rights and interests but also threatens public health and safety [116], especially in high-end agricultural products (e.g., high-quality rice, functional food ingredients). Traditional detection methods, such as sensory evaluation and chromatographic analysis, have limitations such as low efficiency, high cost, or sample destruction [117], while terahertz spectroscopy provides a new idea for fast and accurate adulteration identification by combining with chemometric algorithms [118].
In 2019, Chao Li et al. [82] systematically evaluated the classification performance of terahertz spectroscopy combined with multimodal algorithms [119] for the first time for the rice adulteration problem. In the study, aromatic Wuzhang rice and ordinary long-grain rice were selected as samples, and the mixed powder was prepared and pressed by ball milling, and the transmission spectra were collected in the range of 0–6.4 THz using a terahertz time-domain spectroscopy system (TERA K15). To eliminate environmental interference, the team preprocessed the spectra using SNV, baseline correction (BC), and 1st derivative, and introduced PCA downscaling to extract key features. Based on this, the classification performance of partial least squares discriminant analysis (PLS-DA), support vector machines (SVM), and backpropagation neural networks (BPNN) was compared [120]. The experiments show that the accuracy of the SVM model preprocessed by 1st derivative is as high as 97.33% in the prediction set of five types of adulteration ratios (0%, 33.3%, 50%, 66.7%, and 100%), which is significantly better than other methods. This study not only verifies the feasibility of terahertz spectroscopy in distinguishing the mixing proportions of high- and low-quality rice but also reveals the key influence of preprocessing techniques and algorithm selection on the model performance, which lays a foundation for the subsequent research on complex adulteration scenarios.
In 2021, Li Bin’s team [121] further extended the terahertz spectroscopy technology to the field of kudzu flour adulteration detection. Aiming at the difficult problem that kudzu flour is often mixed with multi-component starches such as lotus root flour, potato flour and rice flour, the study used a TAS7400TS spectrometer from Edwin, Japan, to collect data in the 0.1–7 THz frequency band and focus on the absorption coefficients of 0.5–3.0 THz to analyze the data. The team first tried full-spectrum modeling and found that the PLS-DA model [121] had a high misclassification rate of 57.6%, whereas the least-squares support vector machine decision analysis (LS-SVM-DA) misclassification rate was reduced to 13.3% using both linear kernel (LIN) and RBF. To further improve the accuracy, the study introduces the successive projection algorithm (SPA) and UVE to screen the feature wavelengths. The results show that the PLS-DA misclassification rate is reduced to 33.3% after SPA optimization, while the LS-SVM-DA model with UVE combined with RBF kernel has a misclassification rate of only 6.7%, which is significantly better than other combinations. This result not only confirms the importance of variable selection for complex adulteration detection but also clarifies the advantage of UVE in eliminating spectral redundant information, which provides methodological support for accurate discrimination of multi-component adulteration.
In a similar study, LI Bin’s team [122] also explored the co-optimization strategy of GA and support vector machine. Aiming at the difficult problem of choosing c and g in SVM [123], the study conducted global optimization search by GA, set the population size to 20, the crossover rate to 0.4, and the mutation rate to 0.01, and identified the optimal parameter combinations (c ∈ [0.01, 100], g ∈ [0.01, 100]) using five-fold cross-validation. The optimized SVM model improves the classification accuracy on the kudzu flour adulteration dataset by about 8% compared with the traditional grid search method, which verifies the efficiency of the intelligent algorithm in parameter tuning. In addition, the team compared the hidden layer node self-generation method of BPNN and found that the initial hidden layer node, set to 1, was dynamically expanded to an optimal structure with 5 nodes, effectively avoiding overfitting, and the prediction set accuracy reached 94.5%. These technical innovations jointly enhance the robustness and generalization performance of terahertz spectral models [124]. Table 6 summarizes the applications of terahertz spectroscopy for adulteration detection.
Despite the significant progress in the above studies, terahertz spectroscopy still faces challenges in food adulteration detection. For example, in the rice study, samples need to be ground and pressed, thereby limiting their applicability for in situ detection. Although the kudzu flour experiment verified the multi-component adulteration model, it did not involve the sensitivity test for lower adulteration percentage (e.g., 5–10%). With the decrease of hardware cost and the acceleration of algorithm innovation, terahertz spectroscopy is expected to become an indispensable analytical tool in the food quality and safety monitoring system [125].

3.5. Identification of Varieties

Terahertz spectroscopy, as an emerging non-destructive means of detection, has demonstrated significant application potential in the field of food variety identification. Accurate identification of food varieties is of great significance in ensuring food safety, maintaining market order, and satisfying consumers’ right to know. For example, the protein content of different wheat varieties directly affects their processing use and economic value, the compositional characteristics of different tea varieties directly affect their flavor quality and market positioning [126], and the rapid identification of GM crops is related to biosafety regulation. In the following, the specific applications and technological advances of terahertz spectroscopy in varietal identification will be summarized from the perspectives of different food categories and research methods.
For grain variety identification, Chen et al. [127] earlier explored the possibility of combining THz-TDS with deep learning. They took 12 wheat varieties (strong, medium, and weak gluten) as the study object, obtained the absorption coefficient spectra in the 0.2–1.0 THz band by Fourier transform [128], and screened the feature spectra using CARS. The study compares the performance of four models, SVM, LS-SVM, BPNN, and CNN. The results show that the CNN model achieves 98.7% and 97.8% accuracy in the calibration and prediction sets, respectively, with a false identification rate of only 2.2%, which significantly outperforms traditional machine learning methods. This study validates for the first time the high efficiency of fusion of terahertz spectroscopy and deep learning in wheat variety identification and lays the foundation for the subsequent application of complex models.
The identification of genetically modified (GM) crops remains a core issue in food safety regulation. In 2017, Hu et al. [129] developed a joint model based on sparse representation (SR) and RF for GM rice seeds. Experiments were conducted using 200 samples (half of GM and half of non-GM), and an overcomplete dictionary was constructed by the K-SVD algorithm, and the sparse-coded features were extracted and then input to the RF classifier. The results show that the accuracy of the SR-RF model is 95% and 100% in the prediction and calibration sets, respectively [111], which outperforms the traditional LS-SVM method (with about a 5% decrease in accuracy). This study innovatively introduced sparse representation into terahertz data processing, solved the model instability problem caused by high-dimensional spectral features, and provided a new idea for rapid screening of genetically modified seeds. In the same year, Liu et al. [130] extended the study to oil products and established the continuous projection algorithm-linear discriminant analysis (SPA-LDA) with PLS-DA model by combining SG derivative preprocessing and PCA [77] with GM cottonseed oil. Validated by three sample division methods, namely Kennard-Stone, Duplex, and random, the SPA-LDA model has the highest classification accuracy in the test set, confirming that the feature wavelength selection can effectively improve the identification efficiency [131].
In the field of oil identification, another study by Liu [132] focused on genetically modified corn oil. The study compared the performance of PLS-DA models based on physicochemical data and terahertz spectral data. The experiment involved 50 samples (20 genetically modified and 30 non-genetically modified), revealing that the model based on physicochemical data had limited classification accuracy, whereas the model using terahertz spectral data achieved a prediction accuracy of 98.7%. This result highlights the high sensitivity of terahertz technology to microscopic compositional differences, and even if the physicochemical indexes of GM oils overlap with those of conventional oils, accurate differentiation can still be achieved through spectral features.
The identification of coffee varieties and roasting degree is an emerging direction in recent years. In 2024, Huang et al. [133] utilized terahertz spectroscopy combined with PCA [134] and multiple classification algorithms to classify three coffee varieties (Catimor, Typica 1, and Typica 2) and three degrees of roasting (light, medium, and dark) of the same variety. Experiments show that the linear discriminant (LD) model performs best after PCA dimensionality reduction, achieving 100% accuracy in varietal identification within 20 ms. For roasting degree identification, the model also achieves 100% accuracy for all three roasting levels of Typica 1, with a processing time of 25 ms. The study confirms that the terahertz technology not only distinguishes genetic differences among varieties but also captures chemical changes such as oxidation of oils, coking of sugars, etc., during roasting, and provides a good solution for the classification of coffee varieties. Terahertz technology not only distinguishes genetic differences between varieties but also captures chemical changes during the roasting process, such as oxidization of oils and sugars, and caramelization, providing an efficient tool for coffee quality control.
From the perspective of technological evolution, the application of terahertz spectroscopy in food identification presents two major trends: first, the transition from traditional machine learning to deep learning [135], such as the CNN model that significantly improves the classification accuracy of wheat varieties; and second, the optimization of feature extraction methods, such as SR, weighted discriminant analysis, etc., which gradually solve the problem of high-dimensional data redundancy and category imbalance. In addition, the research scope was extended from basic grains to complex matrices such as oils and coffee, which verified the universality of the technology. Table 7 summarizes the application of terahertz spectroscopy for species identification.

3.6. Nutrient Testing

Nutritional composition testing of food is a key link to ensure healthy diets and promote the upgrading of the food industry. Its importance lies not only in meeting consumers’ precise nutritional needs—such as for gluten-free or low-lactose products—but also in ensuring food quality control, calibrating functional ingredients, and addressing public health concerns including chronic disease prevention functional ingredient calibration, and the prevention and control of chronic diseases and other public health issues. With the global growth of diet-related metabolic diseases (e.g., diabetes, lactose intolerance), Terahertz spectroscopy technology not only avoids sample loss and reagent contamination risk of traditional methods by virtue of non-contact and label-free detection, but also provides real-time online quality control means in high-end manufacturing fields such as nutritional fortification of infant formula and precision formulation of specialty foods, and promotes the development of food testing from laboratory lag to digital management of the whole industrial chain. It further facilitates the transition of food testing from delayed laboratory sampling to integrated digital management across the entire industrial chain.
In 2020, Yuying Jiang et al. [136] proposed a quantitative analysis method based on the fusion of terahertz spectroscopy and imaging data to address the problem of maltose content changes due to germination during wheat storage [136]. The research team collected data by preparing mixed samples of wheat starch and polyethylene containing 0–25% maltose and utilizing a reflective THz-TDS and imaging system covering a spectral range of 0.1–3.5 THz. To overcome the limitations of a single data source, they innovatively combined spectral absorption coefficients with spatial features of the images and constructed a Boosting integrated learning framework based on a least squares support vector machine (LS-SVM) model, with dimensionality reduction performed using principal component analysis (PCA). The model parameters (e.g., regularization parameter C and kernel function parameter γ) are automatically optimized by designing an iterative termination index based on structural risk minimization. The experimental results show that the prediction performance of the data fusion model is significantly better than that of the single spectral or image model [137], with the RMSE of the calibration and prediction sets reduced to 0.12 and 0.15, respectively, and the R2 reaches more than 0.96. In addition, the prediction error of the model for four wheat samples of unknown concentration was less than 5%, which verified its usefulness in early sprouting detection and provided technical support for reducing post-production losses of grain.
In 2021, focusing on the needs of gluten-allergic populations, the team of Qingxia Li [138] explored the feasibility of terahertz spectroscopy for the detection of trace wheat gluten in potato starch [139]. In the study, a mixed sample containing 1.3–100% gluten was used to acquire the time-domain signal using a transmission THz-TDS system, and the absorption coefficients were extracted by Fourier transform in the 0.2–1.6 THz frequency band. To cope with the scattering interference of the powder sample, the team introduced polyethylene (PE) as a filler to improve the signal stability. At the data processing stage, SNV was used to eliminate baseline drift [140], followed by Gaussian process regression (GPR) and linear SVM models, respectively [138]. The findings indicated that the GPR model accurately predicted low gluten concentrations (1.3–20%), achieving an R2 of 0.859 and an RMSE of 0.070, outperforming the SVM model, which recorded an R2 of 0.715 and an RMSE of 0.101. Further analysis revealed a strong correlation between absorption peaks near 1.37 THz and gluten concentration, suggesting that this band may correspond to gluten protein-specific molecular vibrational modes of gluten proteins. This study is the first to apply THz technology to gluten detection, providing a rapid screening tool for gluten-free food certification.
In the same year, Xiao Wei et al. [141] successfully conducted a rapid quantitative analysis of soybean protein content using terahertz spectroscopy. In the study, 75 batches of soybean samples (30–50% protein content) were collected, 225 experimental samples were prepared by grinding and pressing, and 0.1–1.5 THz absorption spectra were acquired using a T-SPEC-type terahertz system. Comparison of the eight preprocessing methods revealed that auto-scaling could effectively improve the performance of the PLS model, with the Rp increasing from 0.9118 to 0.9282. The artificial bee colony optimization support vector regression (ABC-SVR) algorithm was further employed to screen the radial basis kernel function parameters (c = 3.2, g = 0.8), and the constructed model reached an Rp of 0.9659 in the prediction set with an RMSEP of 1.3085%, and the relative standard deviation (RSD) was only 3.5334%.
Terahertz spectroscopy has demonstrated high sensitivity and utility in the quantitative detection of nutrients such as carbohydrates and proteins when combined with advanced data processing algorithms (e.g., ensemble boosting, GPR, and characteristic wavelength selection). Table 8 summarizes the applications of terahertz spectroscopy for nutrient testing. However, environmental interferences (e.g., moisture, lipids), overlapping characteristic peaks, and high instrumentation costs remain key obstacles to its large-scale application. Future research needs to further explore multimodal data fusion, deep learning model optimization [142], and the development of portable THz devices to promote the full-scale application of this technology in food quality inspection [20].

4. Challenges and Future Developments

Although terahertz spectroscopy has demonstrated significant advantages in food quality testing (e.g., high sensitivity, non-destructiveness, and rapid detection capability), it should be noted that direct comparative data between terahertz analysis and other conventional methods are more limited in the current literature. For example, in the detection of pesticide residues, the detection limit of THz-FDS for organophosphorus pesticides was reported to be as low as nanograms, but no comparison data with methods such as GC-MS were provided. Similarly, in the detection of melamine in milk powder, the sensitivity of THz-TDS reached the ppm level, but a quantitative comparison with conventional methods was lacking. Future studies should further focus on the comparative validation of terahertz technology with mature analytical methods in order to comprehensively assess its reliability, precision, and accuracy and to promote the standardized application of this technology.
In addition, even with the results achieved in experimental studies, terahertz spectroscopy still faces many limitations in its practical application, and its practical use in industrial food inspection workflows is still hindered by significant technical and non-technical challenges. Key barriers include pronounced spectral interference from water, the lack of comprehensive spectral databases for complex food matrices, high instrumentation costs, and insufficient regulatory endorsement. These limitations collectively impede the transition of THz spectroscopy from laboratory-based research to real-world industrial applications, particularly in scenarios that demand continuous, in-line inspection on production lines.

4.1. Physical and Technical Limitations in Complex Matrices

One of the most significant technical limitations of terahertz spectroscopy arises from its strong interaction with water molecules [143]. Within the frequency range of 0.5–3 THz, liquid water exhibits substantial absorption, which attenuates the transmission of target signals and obscures critical chemical fingerprint information. This limitation is especially pronounced when analyzing high-moisture food products such as fresh produce, meat, and dairy. For instance, Qi Liang et al. [144] demonstrated in their study on the quantitative prediction of pork freshness using THz spectroscopy that the spectral signal experienced considerable attenuation across the 0.2–2.0 THz range as sample moisture content increased. Although the application of a BP-AdaBoost model enhanced prediction accuracy (R2 = 0.84), it remained challenging to fully mitigate the masking effects of moisture on characteristic spectral features.
In addition, the complexity of food matrices can lead to superposition, scattering, and nonlinear interference of terahertz spectral signals, thereby further compromising analytical accuracy. Jördens et al. [145], in a study employing pulsed THz spectroscopy to detect foreign objects in chocolate, observed that localized variations in chocolate thickness caused a double-peak structure in the THz pulse signal—indistinguishable from that produced by actual foreign objects—resulting in a high rate of false positives. While the false alarm rate was notably reduced by incorporating height correction through sensor fusion techniques, detection challenges persisted for samples packaged in aluminum foil as well as for foreign objects with compositions similar to that of chocolate.
To address the aforementioned challenges, researchers have proposed a series of technical strategies to enhance the applicability of terahertz spectroscopy in complex food detection. For high-moisture samples, moisture-induced background interference is often mitigated using empirically calibrated compensation models. These models improve the identifiability of target signals by capturing absorption intensities of samples with varying water content across specific frequency bands and constructing regression models for moisture correction during subsequent analysis. For example, Liang et al. [144] successfully applied this approach to achieve accurate modeling for pork freshness evaluation. In another study on aflatoxin B1 detection in peanut oil, Chen et al. [35] employed a combination of second-order derivative preprocessing and sparse multilinear regression to enhance signal resolution under high-humidity conditions, resulting in an RC of 0.96 and an RCV of 0.93.
To overcome spectral overlapping and scattering caused by complex food matrices, multispectral fusion has emerged as an effective strategy. The combination of THz spectroscopy with mid-infrared (MIR) or Raman spectroscopy leverages the complementary responses of each technique to different molecular vibrational modes, enabling higher-dimensional information acquisition and more accurate component identification. Although such fusion approaches remain limited in the field of food quality assessment, they have demonstrated promising performance and practical feasibility in related areas such as materials science and pharmaceutical analysis.
In summary, water absorption and complex matrix interference remain the primary obstacles limiting the widespread application of terahertz spectroscopy in practical food detection scenarios. The development of robust moisture compensation models, along with the integration of multi-source spectral fusion strategies, can effectively enhance the spectral resolution and anti-interference capability of THz systems for target analytes. These advancements offer more reliable technical support for the rapid and non-destructive detection of various food products, including dairy, meat, fruits, and edible oils.

4.2. Barriers to Industrial Implementation

Although terahertz spectroscopy demonstrates considerable potential in laboratory research, its practical implementation in industrial settings is still impeded by numerous non-technical challenges, which significantly restrict its path toward commercialization.
A major obstacle lies in the lack of regulatory recognition. At present, global food safety and quality control frameworks have yet to formally acknowledge THz technology. Regulatory agencies such as the Codex Alimentarius, EFSA, and FDA have not issued any official guidelines or certification standards for the application of THz spectroscopy in food analysis. This regulatory gap prevents its inclusion in statutory inspection procedures [146] and limits its acceptance as valid analytical evidence in international food trade, thereby undermining its industrial feasibility [147].
Another critical issue is the absence of a standardized technical system. Compared with established techniques such as HPLC and NIR, which have been widely adopted in the food industry, THz systems still lack unified protocols in areas such as instrument calibration, data processing, sample preparation, and presentation [148]. Significant discrepancies in system architecture, spectral resolution, and algorithm design persist, leading to poor reproducibility across different laboratories. Furthermore, the scarcity of standardized reference materials and comprehensive public spectral databases for food testing hinders the translation of research findings into practical tools and limits the establishment of cross-institutional data comparability.
In addition to these institutional constraints, cost, reproducibility, and portability are key extra-technical factors that currently restrict the real-world deployment of THz spectroscopy [148]. Among these, cost is particularly prohibitive. The core components of THz systems—such as high-frequency sources and ultra-sensitive detectors—require complex manufacturing and precise control, resulting in significantly higher costs than conventional analytical instruments. This creates a high entry barrier, especially for small and medium-sized enterprises. Reproducibility is also a significant concern. THz signals are highly sensitive to environmental variables, such as temperature and humidity, as well as sample heterogeneity [149]. Consequently, the same sample analyzed under different conditions or by different laboratories may yield inconsistent results.
Portability and field-deployability further limit practical application. Most current THz instruments are benchtop systems with large physical footprints and high sensitivity to external conditions, making them unsuitable for on-site use in complex, dynamic industrial environments [150]. For food industry applications, practical deployment depends heavily on mobility, environmental robustness, and rapid response capabilities [151]. However, existing THz systems have not yet achieved sufficient miniaturization, modularity, or environmental adaptability to meet these requirements. Additionally, due to the complexity of system operation and high sensitivity to operator variability, differences in handling can introduce additional uncertainty, further undermining the reproducibility and reliability of detection outcomes.
In summary, despite the unique advantages of THz spectroscopy in non-destructive food analysis, widespread industrial adoption remains hindered by challenges related to regulatory endorsement, technical standardization, cost, and real-world adaptability. Overcoming these barriers is essential to enable the successful transition of THz spectroscopy from laboratory research to routine industrial practice.

4.3. Future Development Strategy

To facilitate the transition of terahertz spectroscopy from laboratory research to a practical tool for routine food quality control, it is imperative to establish a systematic and time-bound development roadmap. Given the current state of technological immaturity, lack of regulatory alignment, and fragmented practical applications, we propose a four-phase strategic framework spanning 2025 to 2030. This framework is designed to guide the gradual progression of THz technology toward standardization, engineering implementation, and industrial adoption.
Phase I: System Optimization (2025–2026)
The initial phase focuses on overcoming limitations associated with core hardware components. Miniaturization and cost reduction of terahertz modules are essential, particularly through the development of compact solid-state sources such as optically hybridized systems and quantum cascade lasers (QCLs), which offer high spectral purity and tunability across the 0.1–3 THz frequency range [152]. Enhancing detector sensitivity is also critical and can be achieved using advanced materials such as cryogen-free wavelength meters or graphene-based sensors [153], which enable higher signal-to-noise ratios (SNR) without requiring cryogenic cooling. Furthermore, commonly overlooked issues such as thermal drift and mechanical vibrations should be addressed through the implementation of robust system stabilization techniques to ensure measurement repeatability under real-world conditions.
Phase II: Validation and Benchmarking (2026–2027)
Once the system has been stabilized, establishing analytical credibility becomes essential. Cross-laboratory intercomparison studies involving representative food matrices (e.g., oils, grains, dairy powders) should be conducted under harmonized protocols. These studies are critical for defining baseline performance metrics such as limits of detection (LOD), reproducibility, and matrix effect compensation strategies. Ideally, these metrics should align with international standards such as the Codex Alimentarius or ISO 21570 [154]. Concurrently, a globally accessible open spectral database should be developed, comprising annotated terahertz spectra of contaminants, adulterants, and nutrients across a wide range of food categories. To ensure data interoperability, accompanying metadata should include detailed information on sample preparation procedures, environmental conditions, and spectrometer specifications.
Phase III: Regulatory Engagement (2027–2028)
With established performance indicators, targeted regulatory integration becomes imperative. Comprehensive validation dossiers—including system specifications, statistical analyses, and field trial data—should be submitted to regulatory authorities such as EFSA, FDA, and other relevant national agencies. Conducting pilot trials of terahertz protocols within controlled regulatory environments (e.g., import quarantine stations, grain elevators) can effectively demonstrate their practical applicability.
Phase IV: Industrial Integration (2028–2030)
In this final phase, terahertz spectroscopy will be integrated into industrial food processing workflows. THz instruments will be adapted for in-line or on-line deployment, enabling continuous monitoring [69,155] during critical operations such as sorting, moisture regulation, packaging, and storage. To enhance reliability, THz sensors can be combined with complementary techniques such as near-infrared (NIR) or visual imaging to provide comprehensive assessments of chemical and physical properties [156]. This multimodal approach facilitates the detection of issues including adulteration, microbial spoilage, and inconsistent mixing [157].
Spectral data will be processed by embedded software or transmitted to centralized systems for automated quality control, allowing for early warning without interrupting production [158,159]. Correlating THz measurements with batch records will improve traceability and support food safety auditing. This phase marks the completion of the transition from laboratory-based testing to widespread industrial application, positioning THz spectroscopy as a critical technology for smart food manufacturing.
Figure 8 illustrates the strategic framework, with each phase building upon the achievements of the previous one. This roadmap offers a practical, time-bound pathway to overcoming technical, regulatory, and operational challenges, ultimately facilitating the broad adoption of terahertz spectroscopy within the food industry.
In conclusion, the advancement of terahertz spectroscopy technology depends not only on innovations in hardware and algorithm optimization but also on the establishment of a closed-loop ecosystem that integrates technology, applications, and standards oriented toward practical needs. Realizing such a system necessitates alignment with international regulatory frameworks and method validation protocols. Standards such as ISO 22000:2018 for food safety management systems, the Codex Alimentarius guidelines for national food control, and the European Food Safety Authority’s criteria for analytical method validation provide foundational references for this process. Concurrently, transnational initiatives, including METROFOOD-RI and the Food Integrity project, offer platforms for harmonizing THz applications across diverse food matrices and regulatory jurisdictions [160]. With the continued advancement of AI-driven approaches and interdisciplinary integration, terahertz spectroscopy is poised to become a core tool for food quality and safety monitoring, ultimately driving the intelligent and sustainable transformation of the global food industry.

Funding

This research was funded by National Natural Science Foundation of China, grant number 32172291.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

No new data were created or analyzed in this study. Data sharing is not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Khairi, M.T.M.; Ibrahim, S.; Yunus, M.A.M.; Faramarzi, M. Noninvasive techniques for detection of foreign bodies in food: A review. J. Food Process Eng. 2018, 41, e12808. [Google Scholar] [CrossRef]
  2. Raki, H.; Aalaila, Y.; Taktour, A.; Peluffo-Ordonez, D.H. Combining AI Tools with Non-Destructive Technologies for Crop-Based Food Safety: A Comprehensive Review. Foods 2024, 13, 11. [Google Scholar] [CrossRef] [PubMed]
  3. Sindhu, S.; Manickavasagan, A. Nondestructive testing methods for pesticide residue in food commodities: A review. Compr. Rev. Food Sci. Food Saf. 2023, 22, 1226–1256. [Google Scholar] [CrossRef]
  4. Deng, J.H.; Zhao, X.K.; Luo, W.F.; Bai, X.; Xu, L.J.; Jiang, H. Microwave detection technique combined with deep learning algorithm facilitates quantitative analysis of heavy metal Pb residues in edible oils. J. Food Sci. 2024, 89, 6005–6015. [Google Scholar] [CrossRef]
  5. Lambropoulou, D.A.; Albanis, T.A. Methods of sample preparation for determination of pesticide residues in food matrices by chromatography-mass spectrometry-based techniques: A review. Anal. Bioanal. Chem. 2007, 389, 1663–1683. [Google Scholar] [CrossRef]
  6. Wang, B.; Deng, J.H.; Jiang, H. Markov Transition Field Combined with Convolutional Neural Network Improved the Predictive Performance of Near-Infrared Spectroscopy Models for Determination of Aflatoxin B1 in Maize. Foods 2022, 11, 2210. [Google Scholar] [CrossRef]
  7. Zhao, Y.Q.; Deng, J.H.; Chen, Q.S.; Jiang, H. Near-infrared spectroscopy based on colorimetric sensor array coupled with convolutional neural network detecting zearalenone in wheat. Food Chem.-X 2024, 22, 101322. [Google Scholar] [CrossRef]
  8. Jeong, N.; Gan, Y.; Kong, L. Emerging non-invasive microwave and millimeter-wave imaging technologies for food inspection. Crit. Rev. Food Sci. Nutr. 2025, 65, 3302–3313. [Google Scholar] [CrossRef]
  9. Jelali, M.; Papadopoulos, K. Inline Inspection of Packaged Food Using Microwave/Terahertz Sensing-An Overview with Focus on Confectionery Products. Processes 2024, 12, 712. [Google Scholar] [CrossRef]
  10. More, S.J.; Bampidis, V.; Benford, D.; Bragard, C.; Hernandez-Jerez, A.; Bennekou, S.H.; Halldorsson, T.I.; Koutsoumanis, K.P.; Lambre, C.; Machera, K.; et al. Guidance Document on Scientific criteria for grouping chemicals into assessment groups for human risk assessment of combined exposure to multiple chemicals. Efsa J. 2021, 19, e07033. [Google Scholar] [CrossRef]
  11. Cabrera, L.C.; Di Piazza, G.; Dujardin, B.; Marchese, E.; Pastor, P.M.; European Food Safety Authority, E. The 2023 European Union report on pesticide residues in food. Efsa J. 2025, 23, e9398. [Google Scholar] [CrossRef]
  12. Wetherington, D. New Era of Smarter Food Safety FDA’s Blueprint for the Future; U.S. Food and Drug Administration: Silver Spring, MD, USA, 2022. [Google Scholar]
  13. Huang, Y.X.; Wang, C.; Qin, J.Y.; Xu, W.D.; Chen, M.; Du, J.X.; Xie, L.J.; Ying, Y.B. Feasibility Study on Rapid Analysis of Doxycycline Hydrochloride Aqueous Solution by Terahertz Time-Domain Spectroscopy. Trans. Asabe 2019, 62, 205–212. [Google Scholar] [CrossRef]
  14. Olakanmi, S.J.; Bharathi, V.S.K.; Jayas, D.S.; Paliwal, J. Innovations in nondestructive assessment of baked products: Current trends and future prospects. Compr. Rev. Food Sci. Food Saf. 2024, 23, e13385. [Google Scholar] [CrossRef] [PubMed]
  15. Zhang, L.; Zhang, M.; Mujumdar, A.S. Terahertz Spectroscopy: A Powerful Technique for Food Drying Research. Food Rev. Int. 2023, 39, 1733–1750. [Google Scholar] [CrossRef]
  16. Jiao, Y.; Ruan, C.; Chen, K.; Wu, Y.; He, W. Investigating the Molecular Rearrangement of Polar Liquid Mixtures Using Terahertz Frequency Domain Reflection Spectroscopy. J. Phys. Chem. A 2023, 127, 5502–5510. [Google Scholar] [CrossRef]
  17. Li, H.; Zhou, Y.; Wu, Y.; Jiang, Y.; Bao, H.; Peng, A.; Shao, Y. Real-time and accurate calibration detection of gout stones based on terahertz and Raman spectroscopy. Front. Bioeng. Biotechnol. 2023, 11, 1218927. [Google Scholar] [CrossRef]
  18. Lang, L.; Cai, N. Study of Application of Thz Time Domainspectroscopy in Food Safet. In Proceedings of the Computer and Computing Technologies in Agriculture II; Springer: Boston, MA, USA, 2009; Volume 3, pp. 1691–1697. [Google Scholar]
  19. Lu, Y.; Asante, E.A.; Duan, H.; Hu, Y. Quantitative Assessment of Cold Injury in Tea Plants by Terahertz Spectroscopy Method. Agronomy 2023, 13, 1376. [Google Scholar] [CrossRef]
  20. Pu, H.; Yu, J.; Sun, D.-W.; Wei, Q.; Wang, Z. Feature construction methods for processing and analysing spectral images and their applications in food quality inspection. Trends Food Sci. Technol. 2023, 138, 726–737. [Google Scholar] [CrossRef]
  21. Ortiz-Martínez, M.; González, J.A.M.; García, G.R.; Bugallo, A.D.; Guerrero, M.A.J.; Strupiechonski, E.C. Enhancing Sensitivity and Selectivity in Pesticide Detection: A Review of Cutting-Edge Techniques. Environ. Toxicol. Chem. 2024, 43, 1468–1484. [Google Scholar] [CrossRef]
  22. Jiang, Y.; Li, G.; Ge, H.; Wang, F.; Li, L.; Chen, X.; Lu, M.; Zhang, Y. Machine Learning and Application in Terahertz Technology: A Review on Achievements and Future Challenges. IEEE Access 2022, 10, 53761–53776. [Google Scholar] [CrossRef]
  23. Jiang, H.; Wang, Z.Y.; Deng, J.H.; Ding, Z.D.; Chen, Q.S. Quantitative detection of heavy metal Cd in vegetable oils: A nondestructive method based on Raman spectroscopy combined with chemometrics. J. Food Sci. 2024, 89, 8054–8065. [Google Scholar] [CrossRef] [PubMed]
  24. Cong, M.; Zhang, Z.; Song, W.; Qiu, J. Food safety application of Terahertz spectroscopy based on metamaterials: A review. J. Food Compos. Anal. 2025, 139, 107034. [Google Scholar] [CrossRef]
  25. Qiu, Z.; Chen, X.; Xie, D.; Ren, Y.; Wang, Y.; Yang, Z.; Guo, M.; Song, Y.; Guo, J.; Feng, Y.; et al. Identification and detection of frozen-thawed muscle foods based on spectroscopy and machine learning: A review. Trends Food Sci. Technol. 2025, 155, 104797. [Google Scholar] [CrossRef]
  26. Wei, X.; Li, S.; Zhu, S.; Zheng, W.; Xie, Y.; Zhou, S.; Hu, M.; Miao, Y.; Ma, L.; Wu, W.; et al. Terahertz spectroscopy combined with data dimensionality reduction algorithms for quantitative analysis of protein content in soybeans. Spectrochim. Acta Part A-Mol. Biomol. Spectrosc. 2021, 253, 119571. [Google Scholar] [CrossRef]
  27. Qin, J.; Ying, Y.; Xie, L. The Detection of Agricultural Products and Food Using Terahertz Spectroscopy: A Review. Appl. Spectrosc. Rev. 2013, 48, 439–457. [Google Scholar] [CrossRef]
  28. Feng, C.-H.; Otani, C. Terahertz spectroscopy technology as an innovative technique for food: Current state-of-the-Art research advances. Crit. Rev. Food Sci. Nutr. 2021, 61, 2523–2543. [Google Scholar] [CrossRef]
  29. Li, Q.; Lei, T.; Sun, D.-W. Analysis and detection using novel terahertz spectroscopy technique in dietary carbohydrate-related research: Principles and application advances. Crit. Rev. Food Sci. Nutr. 2023, 63, 1793–1805. [Google Scholar] [CrossRef]
  30. Xu, S.; Guo, Y.; Liang, X.; Lu, H. Intelligent Rapid Detection Techniques for Low-Content Components in Fruits and Vegetables: A Comprehensive Review. Foods 2024, 13, 1116. [Google Scholar] [CrossRef]
  31. Hu, J.; Zhan, C.; Shi, H.; Qiao, P.; He, Y.; Liu, Y. Rapid non-destructive detection of foreign bodies in fish based on terahertz imaging and spectroscopy. Infrared Phys. Technol. 2023, 131, 104448. [Google Scholar] [CrossRef]
  32. Cao, B.; Fan, M. Quantitative Analyses of Tartaric Acid based on Terahertz Time Domain Spectroscopy. In Proceedings of the 5th International Symposium on Advanced Optical Manufacturing and Testing Technologies—Optical Test and Measurement Technology and Equipment, Dalian, China, 26–29 April 2010; pp. 26–29. [Google Scholar]
  33. Kawase, M. Application of Terahertz Waves to Food Science. Food Sci. Technol. Res. 2012, 18, 601–609. [Google Scholar] [CrossRef]
  34. Hu, J.; Yang, S.; Zhan, C.; Liu, Y. Application of terahertz time-domain spectroscopy and chemometrics-based crested porcupine algorithm in identification of different medicinal parts of Angelica sinensis. Infrared Phys. Technol. 2024, 143, 105584. [Google Scholar] [CrossRef]
  35. Chen, M.; Xie, L. A Preliminary Study of Aflatoxin B1 Detection in Peanut Oil by Terahertz Time-Domain Spectroscopy. Trans. Asabe 2014, 57, 1793–1799. [Google Scholar]
  36. Dinovitser, A.; Valchev, D.G.; Abbott, D. Terahertz time-domain spectroscopy of edible oils. R. Soc. Open Sci. 2017, 4, 170275. [Google Scholar] [CrossRef] [PubMed]
  37. Liu, J.; Li, Z. The terahertz spectrum detection of transgenic food. Optik 2014, 125, 6867–6869. [Google Scholar] [CrossRef]
  38. Cheng, J.H.; Sun, J.; Yao, K.S.; Xu, M.; Dai, C.X. Multi-task convolutional neural network for simultaneous monitoring of lipid and protein oxidative damage in frozen-thawed pork using hyperspectral imaging. Meat Sci. 2023, 201, 109196. [Google Scholar] [CrossRef]
  39. Liu, Y.; Pu, H.; Li, Q.; Sun, D.-W. Discrimination of Pericarpium Citri Reticulatae in different years using Terahertz Time-Domain spectroscopy combined with convolutional neural network. Spectrochim. Acta Part A-Mol. Biomol. Spectrosc. 2023, 286, 122035. [Google Scholar] [CrossRef]
  40. Vogt, D.W.; Erkintalo, M.; Leonhardt, R.; IEEE. Terahertz frequency domain spectroscopy using Hilbert transformation. In Proceedings of the Conference on Lasers and Electro-Optics Europe/European Quantum Electronics Conference (CLEO/Europe-EQEC), Munich, Germany, 23–27 June 2019. [Google Scholar]
  41. Mueller, S.; Hill, K.; Vogt, D.W.; Puppe, T.A.; Mayzlin, Y.; Wilk, R. Ultra-high precision comb-locked terahertz frequency-domain spectroscopy of whispering-gallery modes. APL Photonics 2024, 9, 076109. [Google Scholar] [CrossRef]
  42. Gao, L.; Feng, C.; Zhao, X. Recent developments in terahertz quantum cascade lasers for practical applications. Nanotechnol. Rev. 2023, 12, 20230115. [Google Scholar] [CrossRef]
  43. Chen, G.; Liu, B.; Lu, P.; Peng, Y. Rapid Determination of Ochratoxin A in Black Tea Using Terahertz Ultrasensitive Biosensor. Photonics 2024, 11, 9. [Google Scholar] [CrossRef]
  44. Ge, H.; Sun, Z.; Jiang, Y.; Wu, X.; Jia, Z.; Cui, G.; Zhang, Y. Recent Advances in THz Detection of Water. Int. J. Mol. Sci. 2023, 24, 10936. [Google Scholar] [CrossRef]
  45. Jiang, H.; Deng, J.H.; Chen, Q.S. Olfactory sensor combined with chemometrics analysis to determine fatty acid in stored wheat. Food Control 2023, 153, 109942. [Google Scholar] [CrossRef]
  46. Jiang, H.; He, Y.C.; Xu, W.D.; Chen, Q.S. Quantitative Detection of Acid Value During Edible Oil Storage by Raman Spectroscopy: Comparison of the Optimization Effects of BOSS and VCPA Algorithms on the Characteristic Raman Spectra of Edible Oils. Food Anal. Methods 2021, 14, 1826–1835. [Google Scholar] [CrossRef]
  47. Kim, G.; Lee, S.D.; Moon, J.H.; Kim, K.B.; Lee, D.K.; IEEE. Terahertz Technology for the Detection of Food Contaminants. In Proceedings of the 37th International Conference on Infrared, Millimeter, and Terahertz Waves (IRMMW-THz), Wollongong, Australia, 23–28 September 2012. [Google Scholar]
  48. Shen, F.; Ying, Y.-B. Applications of Terahertz Spectroscopy and Imaging Techniques in Food Safety Inspection. Spectrosc. Spectr. Anal. 2009, 29, 1445–1449. [Google Scholar] [CrossRef]
  49. Zhang, Z.; Fan, F.; Shi, W.; Zhang, T.; Chang, S. Terahertz circular polarization sensing for protein denaturation based on a twisted dual-layer metasurface. Biomed. Opt. Express 2022, 13, 209–221. [Google Scholar] [CrossRef]
  50. Baxter, J.B.; Guglietta, G.W. Terahertz Spectroscopy. Anal. Chem. 2011, 83, 4342–4368. [Google Scholar] [CrossRef]
  51. Wang, X.; Zhou, D.; Li, M.; Zheng, J.; Jiang, L.; Li, R.; Wang, S. Developing a two-stage strategy in the dehydration treatment of fresh apple slices: Combined freeze and radio frequency-vacuum drying. Innov. Food Sci. Emerg. Technol. 2024, 92, 103596. [Google Scholar] [CrossRef]
  52. Yao, K.S.; Sun, J.; Tang, N.Q.; Xu, M.; Cao, Y.; Fu, L.H.; Zhou, X.; Wu, X.H. Nondestructive detection for Panax notoginseng powder grades based on hyperspectral imaging technology combined with CARS-PCA and MPA-LSSVM. J. Food Process Eng. 2021, 44, e13718. [Google Scholar] [CrossRef]
  53. Bec, K.B.; Grabska, J.; Huck, C.W. Chemometric methods in analytical spectroscopy technology. Anal. Bioanal. Chem. 2023, 415, 2147–2149. [Google Scholar] [CrossRef]
  54. Nirere, A.; Sun, J.; Atindana, V.A.; Hussain, A.; Zhou, X.; Yao, K. A comparative analysis of hybrid SVM and LS-SVM classification algorithms to identify dried wolfberry fruits quality based on hyperspectral imaging technology. J. Food Process. Preserv. 2022, 46, e16320. [Google Scholar] [CrossRef]
  55. Deng, J.H.; Ni, L.H.; Bai, X.; Jiang, H.; Xu, L.J. Simultaneous analysis of mildew degree and aflatoxin B1 of wheat by a multi-task deep learning strategy based on microwave detection technology. Lwt-Food Sci. Technol. 2023, 184, 115047. [Google Scholar] [CrossRef]
  56. Qiao, Y.; Kang, Y.; Long, T.; Yi, H.; Wang, F.; Chen, C. Rapid quality evaluation of moutan cortex (Paeonia suffruticosa Andrews) by near-infrared spectroscopy and bionic swarm intelligent optimization algorithm. J. Pharm. Biomed. Anal. 2025, 260, 116822. [Google Scholar] [CrossRef] [PubMed]
  57. Jiang, H.; Liu, T.; He, P.H.; Ding, Y.H.; Chen, Q.S. Rapid measurement of fatty acid content during flour storage using a color-sensitive gas sensor array: Comparing the effects of swarm intelligence optimization algorithms on sensor features. Food Chem. 2021, 338, 127828. [Google Scholar] [CrossRef] [PubMed]
  58. Deng, G.; Liu, H.; Li, J.; Wang, Y. Fingerprinting of Boletus bainiugan: FT-NIR spectroscopy combined with machine learning a new workflow for storage period identification. Food Microbiol. 2025, 129, 104743. [Google Scholar] [CrossRef] [PubMed]
  59. Yan, Y.; Chen, R.; Yang, Z.; Ma, Y.; Huang, J.; Luo, L.; Liu, H.; Xu, J.; Chen, W.; Ding, Y.; et al. Application of back propagation neural network model optimized by particle swarm algorithm in predicting the risk of hypertension. J. Clin. Hypertens. 2022, 24, 1606–1617. [Google Scholar] [CrossRef]
  60. Charron, D.M.; Ajito, K.; Kim, J.-Y.; Ueno, Y. Chemical Mapping of Pharmaceutical Cocrystals Using Terahertz Spectroscopic Imaging. Anal. Chem. 2013, 85, 1980–1984. [Google Scholar] [CrossRef]
  61. Tahir, H.E.; Arslan, M.; Mahunu, G.K.; Mariod, A.A.; Hashim, S.B.H.; Xiaobo, Z.; Jiyong, S.; El-Seedi, H.R.; Musa, T.H. The use of analytical techniques coupled with chemometrics for tracing the geographical origin of oils: A systematic review (2013–2020). Food Chem. 2022, 366, 130633. [Google Scholar] [CrossRef]
  62. Yu, M.; Yan, J.; Chu, J.W.; Qi, H.; Xu, P.; Liu, S.Q.; Zhou, L.; Gao, J.L. Accurate prediction of wood moisture content using terahertz time-domain spectroscopy combined with machine learning algorithms. Ind. Crops Prod. 2025, 227, 120771. [Google Scholar] [CrossRef]
  63. He, Q.; Huang, H.; Wang, Y. Detection technologies, and machine learning in food: Recent advances and future trends. Food Biosci. 2024, 62, 105558. [Google Scholar] [CrossRef]
  64. Yu, J.; Pu, H.; Sun, D.-W. Stacked long and short-term memory (SLSTM)- assisted terahertz spectroscopy combined with permutation importance for rapid red wine varietal identification. Talanta 2025, 291, 127650. [Google Scholar] [CrossRef]
  65. Yang, S.; Li, C.; Mei, Y.; Liu, W.; Liu, R.; Chen, W.; Han, D.; Xu, K. Discrimination of corn variety using Terahertz spectroscopy combined with chemometrics methods. Spectrochim Acta A Mol Biomol Spectrosc 2021, 252, 119475. [Google Scholar] [CrossRef]
  66. El-Mesery, H.S.; Mao, H.; Abomohra, A.E.-F. Applications of Non-destructive Technologies for Agricultural and Food Products Quality Inspection. Sensors 2019, 19, 846. [Google Scholar] [CrossRef] [PubMed]
  67. Ma, L.; Yang, X.; Xue, S.; Zhou, R.; Wang, C.; Guo, Z.; Wang, Y.; Cai, J. “Raman plus X” dual-modal spectroscopy technology for food analysis: A review. Compr. Rev. Food Sci. Food Saf. 2025, 24, e70102. [Google Scholar] [CrossRef] [PubMed]
  68. Fakhlaei, R.; Babadi, A.A.; Sun, C.; Ariffin, N.M.; Khatib, A.; Selamat, J.; Xiaobo, Z. Application, challenges and future prospects of recent nondestructive techniques based on the electromagnetic spectrum in food quality and safety. Food Chem. 2024, 441, 138402. [Google Scholar] [CrossRef] [PubMed]
  69. Fu, Y.; Ren, Y.; Sun, D.-W. Novel analysis of food processes by terahertz spectral imaging: A review of recent research findings. Trends Food Sci. Technol. 2024, 147, 104463. [Google Scholar] [CrossRef]
  70. Tonouchi, M. Sate-of-the-Art of Terahertz Science and Technology. In Frontiers in Optical Methods: Nano-Characterization and Coherent Control; Shudo, K.-I., Katayama, I., Ohno, S.-Y., Eds.; Springer: Berlin/Heidelberg, Germany, 2014; pp. 153–166. [Google Scholar]
  71. Tang, T.; Luo, Q.; Yang, L.; Gao, C.L.; Ling, C.J.; Wu, W.B. Research Review on Quality Detection of Fresh Tea Leaves Based on Spectral Technology. Foods 2024, 13, 25. [Google Scholar] [CrossRef]
  72. Feng, C.-H.; Otani, C.; Ogawa, Y. Innovatively identifying naringin and hesperidin by using terahertz spectroscopy and evaluating flavonoids extracts from waste orange peels by coupling with multivariate analysis. Food Control 2022, 137, 108897. [Google Scholar] [CrossRef]
  73. Lian, F.; Xu, D.; Fu, M.; Ge, H.; Jiang, Y.; Zhang, Y. Identification of Transgenic Ingredients in Maize Using Terahertz Spectra. IEEE Trans. Terahertz Sci. Technol. 2017, 7, 378–384. [Google Scholar] [CrossRef]
  74. Zhang, H.T.; Gao, J.H.; Tan, L.; Zheng, L.; Wang, L.J. Research on the Application of Terahertz Technology in Detecting Additives in Milk Powder. Food Anal. Methods 2025, 18, 398–415. [Google Scholar] [CrossRef]
  75. Chen, Y.; Meng, T.; Wu, M.; Hu, W.; Yang, D.; Wu, W. Nucleobase discrimination based on terahertz spectroscopy using multi-scale convolutional neural network with convolutional block attention module and long short-term memory. Sens. Actuators A-Phys. 2025, 387, 116434. [Google Scholar] [CrossRef]
  76. Fakhlaei, R.; Babadi, A.A.; Ariffin, N.M.; Zou, X. Development of FTIR-ATR spectra and PLS regression combination model for discrimination of pure and adulterated acacia honey. Food Control 2025, 169, 110996. [Google Scholar] [CrossRef]
  77. Zhang, T.; Wu, X.; Wu, B.; Dai, C.; Fu, H. Rapid authentication of the geographical origin of milk using portable near-infrared spectrometer and fuzzy uncorrelated discriminant transformation. J. Food Process Eng. 2022, 45, e14040. [Google Scholar] [CrossRef]
  78. Fu, X.; Liu, Y.; Chen, Q.; Fu, Y.; Cui, T.J. Applications of Terahertz Spectroscopy in the Detection and Recognition of Substances. Front. Phys. 2022, 10, 869537. [Google Scholar] [CrossRef]
  79. Chen, Q.; Jia, S.; Qin, J.; Du, Y.; Zhao, Z. A Feasible Approach to Detect Pesticides in Food Samples Using THz-FDS and Chemometrics. J. Spectrosc. 2020, 2020, 3859076. [Google Scholar] [CrossRef]
  80. Liu, W.; Liu, C.; Yu, J.; Zhang, Y.; Li, J.; Chen, Y.; Zheng, L. Discrimination of geographical origin of extra virgin olive oils using terahertz spectroscopy combined with chemometrics. Food Chem 2018, 251, 86–92. [Google Scholar] [CrossRef]
  81. Liu, W.; Zhao, P.; Shi, Y.; Liu, C.; Zheng, L. Rapid Determination of Peroxide Value of Peanut Oils During Storage Based on Terahertz Spectroscopy. Food Anal. Methods 2021, 14, 1269–1277. [Google Scholar] [CrossRef]
  82. Li, C.; Li, B.; Ye, D. Analysis and Identification of Rice Adulteration Using Terahertz Spectroscopy and Pattern Recognition Algorithms. IEEE Access 2020, 8, 26839–26850. [Google Scholar] [CrossRef]
  83. Peng, S.; Wei, S.; Zhang, G.; Xiong, X.; Ai, M.; Li, X.; Shen, Y. Discrimination of wheat gluten quality utilizing terahertz time-domain spectroscopy (THz-TDS). Spectrochim. Acta A Mol. Biomol. Spectrosc. 2025, 328, 125452. [Google Scholar] [CrossRef]
  84. Baek, S.H.; Lim, H.B.; Chun, H.S. Detection of melamine in foods using terahertz time-domain spectroscopy. J. Agric. Food Chem. 2014, 62, 5403–5407. [Google Scholar] [CrossRef]
  85. Zhou, Y.; Wang, X.; Chen, K.; Han, C.; Guan, H.; Wang, Y.; Zhao, Y. Feasibility and potential of terahertz spectral and imaging technology for Apple Valsa canker detection: A preliminary investigation. Spectrochim. Acta A Mol. Biomol. Spectrosc. 2025, 327, 125308. [Google Scholar] [CrossRef]
  86. Yuefang, H.; Hongjian, Z. Qualitative and Quantitative Detection of Pesticides With Terahertz Time-Domain Spectroscopy. IEEE Trans. Microw. Theory Tech. 2010, 58, 2064–2070. [Google Scholar] [CrossRef]
  87. Jiang, H.; Wang, W.; Mei, C.; Huang, Y.; Chen, Q. Rapid Diagnosis of Normal and Abnormal Conditions in Solid-State Fermentation of Bioethanol Using Fourier Transform Near-Infrared Spectroscopy. Energy Fuels 2017, 31, 12959–12964. [Google Scholar] [CrossRef]
  88. Liu, W.; Zhang, Y.; Li, M.; Han, D.; Liu, W. Determination of invert syrup adulterated in acacia honey by terahertz spectroscopy with different spectral features. J. Sci. Food Agric. 2020, 100, 1913–1921. [Google Scholar] [CrossRef] [PubMed]
  89. Cao, B.; Li, H.; Cai, E.; Fan, M. Determination of Pesticides in Flour by Terahertz Time-Domain Spectroscopy (THz-TDS) with Voigt Function Fitting and Partial Least Squares (PLS) Analysis. Anal. Lett. 2020, 54, 830–841. [Google Scholar] [CrossRef]
  90. Yin, M.; Wang, J.; Huang, H.; Huang, Q.; Fu, Z.; Lu, Y. Analysis of Flavonoid Compounds by Terahertz Spectroscopy Combined with Chemometrics. ACS Omega 2020, 5, 18134–18141. [Google Scholar] [CrossRef]
  91. Cao, B.; Li, H.; Fan, M.; Wang, W.; Wang, M. Determination of pesticides in a flour substrate by chemometric methods using terahertz spectroscopy. Anal. Methods 2018, 10, 5097–5104. [Google Scholar] [CrossRef]
  92. Qu, B.; Wang, J.; Zhu, H.; Liao, Q.; Hu, L.; Wang, H. Relationship between the characteristic temperature and terahertz permittivity of different rank coals considering FeS2 content. Infrared Phys. Technol. 2023, 135, 104995. [Google Scholar] [CrossRef]
  93. Ma, Q.; Teng, Y.; Li, C.; Jiang, L. Simultaneous quantitative determination of low-concentration ternary pesticide mixtures in wheat flour based on terahertz spectroscopy and BPNN. Food Chem. 2022, 377, 132030. [Google Scholar] [CrossRef]
  94. Luo, W.F.; Deng, J.H.; Li, C.X.; Jiang, H. Quantitative Analysis of Peanut Skin Adulterants by Fourier Transform Near-Infrared Spectroscopy Combined with Chemometrics. Foods 2025, 14, 466. [Google Scholar] [CrossRef]
  95. Wang, C.; Qin, J.Y.; Xu, W.D.; Chen, M.; Xie, L.J.; Ying, Y.B. Terahertz Imaging Applications in Agriculture and Food Engineering: A Review. Trans. Asabe 2018, 61, 411–424. [Google Scholar] [CrossRef]
  96. Huang, S.; Deng, H.; Wei, X.; Zhang, J. Progress in application of terahertz time-domain spectroscopy for pharmaceutical analyses. Front. Bioeng. Biotechnol. 2023, 11, 1219042. [Google Scholar] [CrossRef] [PubMed]
  97. Hu, J.; Liu, Y.; He, Y.; Sun, X.; Li, B. Optimization of quantitative detection model for benzoic acid in wheat flour based on CARS variable selection and THz spectroscopy. J. Food Meas. Charact. 2020, 14, 2549–2558. [Google Scholar] [CrossRef]
  98. Chen, T.; Ma, L.; Tang, Z.; Yu, L.X. Identification of coumarin-based food additives using terahertz spectroscopy combined with manifold learning and improved support vector machine. J. Food Sci. 2022, 87, 1108–1118. [Google Scholar] [CrossRef] [PubMed]
  99. Yi, C.; Zhang, Z.; Liu, S.; Tuo, S.; Guan, H. On ALIF-WT-GDA-based Terahertz spectral method for identification of transgenic cotton seeds. Infrared Phys. Technol. 2022, 127, 104476. [Google Scholar] [CrossRef]
  100. Xue, Y.C.; Jiang, H. Monitoring of Chlorpyrifos Residues in Corn Oil Based on Raman Spectral Deep-Learning Model. Foods 2023, 12, 2402. [Google Scholar] [CrossRef]
  101. Deng, J.H.; Jiang, H.; Chen, Q.S. Characteristic wavelengths optimization improved the predictive performance of near-infrared spectroscopy models for determination of aflatoxin B1 in maize. J. Cereal Sci. 2022, 105, 103474. [Google Scholar] [CrossRef]
  102. Zhu, C.Y.; Jiang, H.; Chen, Q.S. High Precisive Prediction of Aflatoxin B1 in Pressing Peanut Oil Using Raman Spectra Combined with Multivariate Data Analysis. Foods 2022, 11, 1565. [Google Scholar] [CrossRef]
  103. Wang, Y.; Li, P.; Zhang, Q.; Hu, X.; Zhang, W. A toxin-free enzyme-linked immunosorbent assay for the analysis of aflatoxins based on a VHH surrogate standard. Anal. Bioanal. Chem. 2016, 408, 6019–6026. [Google Scholar] [CrossRef]
  104. Xu, L.J.; Chen, Z.S.; Bai, X.; Deng, J.H.; Zhao, X.; Jiang, H. Determination of aflatoxin B1 in peanuts based on millimetre wave. Food Chem. 2025, 464, 141867. [Google Scholar] [CrossRef]
  105. Cao, Y.; Li, H.; Sun, J.; Zhou, X.; Yao, K.; Nirere, A. Nondestructive determination of the total mold colony count in green tea by hyperspectral imaging technology. J. Food Process Eng. 2020, 43, e13570. [Google Scholar] [CrossRef]
  106. Tong, Y.; Ding, L.; Han, K.; Zou, X.; Wang, S.; Wen, Z.; Ye, Y.; Ren, X. Detection of carbendazim in oranges with metal grating integrated microfluidic sensor in terahertz. Food Addit. Contam. Part A-Chem. Anal. Control Expo. Risk Assess. 2022, 39, 1555–1564. [Google Scholar] [CrossRef] [PubMed]
  107. Ge, H.; Jiang, Y.; Lian, F.; Zhang, Y.; Xia, S. Quantitative determination of aflatoxin B1 concentration in acetonitrile by chemometric methods using terahertz spectroscopy. Food Chem. 2016, 209, 286–292. [Google Scholar] [CrossRef] [PubMed]
  108. Wang, S.; Sun, J.; Fu, L.; Xu, M.; Tang, N.; Cao, Y.; Yao, K.; Jing, J. Identification of red jujube varieties based on hyperspectral imaging technology combined with CARS-IRIV and SSA-SVM. J. Food Process Eng. 2022, 45, e14137. [Google Scholar] [CrossRef]
  109. Hu, J.; Zhan, C.; Wang, Q.; Shi, H.; He, Y.; Ouyang, A. Research on highly sensitive quantitative detection of aflatoxin B2 solution based on THz metamaterial enhancement. Spectrochim. Acta Part A-Mol. Biomol. Spectrosc. 2023, 300, 122809. [Google Scholar] [CrossRef]
  110. Cai, L.; Li, J.; Zhang, H.; Zhang, Y.; Zhang, J.; Hao, H. Determination of the SSC in oranges using Vis-NIR full transmittance hyperspectral imaging and spectral visual coding: A practical solution to the scattering problem of inhomogeneous mixtures. Food Chem. 2025, 474, 143239. [Google Scholar] [CrossRef]
  111. Song, Z.; Tu, B.; Zeng, L.; Yin, C.; Zhang, H.; Zheng, X.; He, D.-P.; Qi, P. Classification of Edible Vegetable Oils by Laser Near-infrared Spectra. In Proceedings of the 2nd IEEE International Conference on Progress in Informatics and Computing (PIC), Shanghai, China, 16–18 May 2014; pp. 123–127. [Google Scholar]
  112. Li, Z.; Lin, H.; Wang, L.; Gao, L.; Sui, J.; Wang, K. Optical sensing techniques for rapid detection of agrochemicals: Strategies, challenges, and perspectives. Sci. Total Environ. 2022, 838, 156515. [Google Scholar] [CrossRef]
  113. Tong, Y.; Wang, S.; Han, K.; Song, X.; Zhang, W.; Ye, Y.; Ren, X. Development of a Novel Metal Grating and Its Applications of Terahertz Spectroscopic Detection of CuSO4 in Fruit (Mar, 10.1007/s12161-021-01999-1, 2021). Food Anal. Methods 2021, 14, 1590–1599. [Google Scholar] [CrossRef]
  114. Liu, G.; Sun, Z.; Yuan, T.; Xu, X.; Liu, J.; Du, Y. Trace determination of dimethyl phthalate based on double F-type multi-frequency resonant metamaterial sensor. Opt. Commun. 2025, 578, 131482. [Google Scholar] [CrossRef]
  115. Pu, H.; Fang, T.; Wu, Z.; Sun, D.-W. Advancements in recyclable photocatalytic semiconductor substrates for SERS detection in food safety applications. Trends Food Sci. Technol. 2023, 138, 697–707. [Google Scholar] [CrossRef]
  116. Fakhlaei, R.; Selamat, J.; Khatib, A.; Razis, A.F.A.; Sukor, R.; Ahmad, S.; Babadi, A.A. The Toxic Impact of Honey Adulteration: A Review. Foods 2020, 9, 1538. [Google Scholar] [CrossRef]
  117. Xie, C.; Zhou, W. A Review of Recent Advances for the Detection of Biological, Chemical, and Physical Hazards in Foodstuffs Using Spectral Imaging Techniques. Foods 2023, 12, 2266. [Google Scholar] [CrossRef]
  118. Guan, H.; Zhang, Z.-T.; Bai, L.; Chen, L.; Yuan, D.; Liu, W.; Chen, P.; Shi, Z.; Hu, C.; Xue, M.; et al. Multi-spectra combined with Bayesian optimized machine learning algorithms for rapid and non-destructive detection of adulterated functional food Panax notoginseng powder. J. Food Compos. Anal. 2024, 133, 106412. [Google Scholar] [CrossRef]
  119. Cheng, J.H.; Sun, J.; Shi, L.; Dai, C.X. An effective method fusing electronic nose and fluorescence hyperspectral imaging for the detection of pork freshness. Food Biosci. 2024, 59, 103880. [Google Scholar] [CrossRef]
  120. Peng, T.-Q.; Yin, X.-L.; Gu, H.-W.; Sun, W.; Ding, B.; Hu, X.-C.; Ma, L.-A.; Wei, S.-D.; Liu, Z.; Ye, S.-Y. HPLC-DAD fingerprints combined with chemometric techniques for the authentication of plucking seasons of Laoshan green tea. Food Chem. 2021, 347, 128959. [Google Scholar] [CrossRef]
  121. Li, B.; Luo, B.; Liu, Y.-D.; Wu, J. Detection of adulteration of kudzu powder by terahertz time-domain spectroscopy. J. Food Meas. Charact. 2021, 15, 4380–4387. [Google Scholar] [CrossRef]
  122. Li, B.; Yin, H.; Yang, A.K.; Ouyang, A.-G.; Cozzolino, D. Detection of Adulteration of Panax Notoginseng Powder by Terahertz Technology. J. Spectrosc. 2022, 2022, 7247941. [Google Scholar] [CrossRef]
  123. Chen, C.; Wang, J.; Chen, C.; Tang, J.; Lv, X.; Ma, C. Rapid and efficient screening of human papillomavirus by Raman spectroscopy based on GA-SVM. Optik 2020, 210, 164514. [Google Scholar] [CrossRef]
  124. Zheng, P.; Solomon Adade, S.Y.-S.; Rong, Y.; Zhao, S.; Han, Z.; Gong, Y.; Chen, X.; Yu, J.; Huang, C.; Lin, H. Online System for Monitoring the Degree of Fermentation of Oolong Tea Using Integrated Visible-Near-Infrared Spectroscopy and Image-Processing Technologies. Foods 2024, 13, 1708. [Google Scholar] [CrossRef] [PubMed]
  125. Yin, M.; Tang, S.; Tong, M. Identification of edible oils using terahertz spectroscopy combined with genetic algorithm and partial least squares discriminant analysis. Anal. Methods 2016, 8, 2794–2798. [Google Scholar] [CrossRef]
  126. Ding, Y.H.; Yan, Y.L.; Li, J.; Chen, X.; Jiang, H. Classification of Tea Quality Levels Using Near-Infrared Spectroscopy Based on CLPSO-SVM. Foods 2022, 11, 1658. [Google Scholar] [CrossRef]
  127. Chen, F.; Shen, Y.; Li, G.; Ai, M.; Wang, L.; Ma, H.; He, W. Classification of wheat grain varieties using terahertz spectroscopy and convolutional neural network. J. Food Compos. Anal. 2024, 129, 106060. [Google Scholar] [CrossRef]
  128. Deng, J.H.; Chen, Z.Y.; Jiang, H.; Chen, Q.S. High-precision detection of dibutyl hydroxytoluene in edible oil via convolutional autoencoder compressed Fourier-transform near-infrared spectroscopy. Food Control 2025, 167, 110808. [Google Scholar] [CrossRef]
  129. Hu, X.; Lang, W.; Liu, W.; Xu, X.; Yang, J.; Zheng, L. A Non-destructive Terahertz Spectroscopy-Based Method for Transgenic Rice Seed Discrimination via Sparse Representation. J. Infrared Millim. Terahertz Waves 2017, 38, 980–991. [Google Scholar] [CrossRef]
  130. Liu, J.; Mao, L.; Ku, J.; Peng, H.; Lao, Z.; Chen, D.; Yang, B. Using terahertz spectroscopy to identify transgenic cottonseed oil according to physicochemical quality parameters. Optik 2017, 142, 483–488. [Google Scholar] [CrossRef]
  131. Wang, Y.; Xie, M.; Hu, B.; Jiang, Q.; Shi, Z.; He, Y.; Peng, J. Desert Soil Salinity Inversion Models Based on Field In Situ Spectroscopy in Southern Xinjiang, China. Remote Sens. 2022, 14, 4962. [Google Scholar] [CrossRef]
  132. Liu, J. Terahertz spectroscopy and chemometrics classification of transgenic corn oil from corn edible oil. Microw. Opt. Technol. Lett. 2017, 59, 654–658. [Google Scholar] [CrossRef]
  133. Huang, L.; Liu, M.; Li, B.; Chitrakar, B.; Duan, X. Terahertz Spectroscopic Identification of Roast Degree and Variety of Coffee Beans. Foods 2024, 13, 389. [Google Scholar] [CrossRef] [PubMed]
  134. Zhu, H.; Qu, B.; Liao, Q.; Wang, H.; Wang, J.; Hu, L.; Gao, R. Study on the effects of oxidation temperature and ambient humidity on the terahertz spectroscopy characteristics of lignite. Fuel 2023, 349, 128693. [Google Scholar] [CrossRef]
  135. Huo, X.; Chen, P.; Li, J.; Xu, Y.; Liu, D.; Chu, X. Commentary on the review articles of spectroscopy technology combined with chemometrics in the last three years. Appl. Spectrosc. Rev. 2024, 59, 423–482. [Google Scholar] [CrossRef]
  136. Jiang, Y.; Ge, H.; Zhang, Y. Quantitative analysis of wheat maltose by combined terahertz spectroscopy and imaging based on Boosting ensemble learning. Food Chem. 2020, 307, 125533. [Google Scholar] [CrossRef]
  137. Zhang, X.; Wang, Y.; Zhou, Z.; Zhang, Y.; Wang, X. Detection Method for Tomato Leaf Mildew Based on Hyperspectral Fusion Terahertz Technology. Foods 2023, 12, 535. [Google Scholar] [CrossRef]
  138. Li, Q.; Lei, T.; Cheng, Y.; Wei, X.; Sun, D.W. Predicting wheat gluten concentrations in potato starch using GPR and SVM models built by terahertz time-domain spectroscopy. Food Chem. 2024, 432, 137235. [Google Scholar] [CrossRef]
  139. Hu, J.; Lv, H.; Qiao, P.; Shi, H.; He, Y.; Liu, Y. Research on Rice Seed Fullness Detection Method Based on Terahertz Imaging Technology and Feature Extraction Method. J. Infrared Millim. Terahertz Waves 2023, 44, 407–429. [Google Scholar] [CrossRef]
  140. Pu, H.; Yu, J.; Sun, D.-W.; Wei, Q.; Li, Q. Distinguishing pericarpium citri reticulatae of different origins using terahertz time-domain spectroscopy combined with convolutional neural networks. Spectrochim. Acta Part A-Mol. Biomol. Spectrosc. 2023, 299, 122771. [Google Scholar] [CrossRef]
  141. Wei, X.; Li, S.; Zhu, S.; Zheng, W.; Zhou, S.; Wu, W.; Xie, Z. Quantitative analysis of soybean protein content by terahertz spectroscopy and chemometrics. Chemom. Intell. Lab. Syst. 2021, 208, 104199. [Google Scholar] [CrossRef]
  142. Han, C.; Qu, F.; Wang, X.; Zhai, X.; Li, J.; Yu, K.; Zhao, Y. Terahertz Spectroscopy and Imaging Techniques for Herbal Medicinal Plants Detection: A Comprehensive Review. Crit. Rev. Anal. Chem. 2024, 54, 2485–2499. [Google Scholar] [CrossRef] [PubMed]
  143. Peng, Y.; Zhang, J.; Yan, F.; Zhao, Y.; Guo, Z. Wide angle microfluidic terahertz sensor in aqueous environment. Opt. Laser Technol. 2024, 172, 110405. [Google Scholar] [CrossRef]
  144. Qi, L.; Zhao, M.; Zhao, J.; Tang, Y. Preliminary investigation of Terahertz spectroscopy to predict pork freshness non-destructively. Food Sci. Technol. 2019, 39, 563–570. [Google Scholar] [CrossRef]
  145. Joerdens, C.; Koch, M. Detection of foreign bodies in chocolate with pulsed terahertz spectroscopy. Opt. Eng. 2008, 47, 037003. [Google Scholar] [CrossRef]
  146. Grau-Noguer, E.; Rodriguez-Sanz, M.; Suppi, R.; Serratosa, J.; Lunden, J.; Bolao, A.; Cedano, D.; Portana, S. Effectiveness of official food safety control in Barcelona city: Digital and traditional inspections. Food Control 2024, 165, 110655. [Google Scholar] [CrossRef]
  147. Qian, J.; Wu, W.; Yu, Q.; Ruiz-Garcia, L.; Xiang, Y.; Jiang, L.; Shi, Y.; Duan, Y.; Yang, P. Filling the trust gap of food safety in food trade between the EU and China: An interconnected conceptual traceability framework based on blockchain. Food Energy Secur. 2020, 9, e249. [Google Scholar] [CrossRef]
  148. Afsah-Hejri, L.; Hajeb, P.; Ara, P.; Ehsani, R.J. A Comprehensive Review on Food Applications of Terahertz Spectroscopy and Imaging. Compr. Rev. Food Sci. Food Saf. 2019, 18, 1563–1621. [Google Scholar] [CrossRef]
  149. Richter, S.H.; Garner, J.P.; Wuerbel, H. Environmental standardization: Cure or cause of poor reproducibility in animal experiments? Nat. Methods 2009, 6, 257–261. [Google Scholar] [CrossRef]
  150. Latha, A.M.; Ranjan, R. Development of a Compact and Portable Terahertz Imaging System for Industrial Applications. In Proceedings of the 2024 IEEE Microwaves, Antennas, and Propagation Conference (MAPCON), Hyderabad, India, 9–13 December 2024; pp. 1–4. [Google Scholar]
  151. Zhang, X.; Wang, Y.; Wu, S.; Han, J.; Raghavan, V.; Wang, J. Portable sensor devices based on multifunctional framework materials: Recent advances for food safety assurance by on-site detection. Trends Food Sci. Technol. 2025, 159, 104965. [Google Scholar] [CrossRef]
  152. Tonouchi, M. Cutting-edge terahertz technology. Nat. Photonics 2007, 1, 97–105. [Google Scholar] [CrossRef]
  153. Sensale-Rodriguez, B.; Yan, R.; Liu, L.; Jena, D.; Xing, H.G. Graphene for Reconfigurable Terahertz Optoelectronics. Proc. IEEE 2013, 101, 1705–1716. [Google Scholar] [CrossRef]
  154. International Organisation for Standardisation. Nature 1947, 160, 389. [CrossRef]
  155. Khushbu, S.; Yashini, M.; Rawson, A.; Sunil, C.K. Recent Advances in Terahertz Time-Domain Spectroscopy and Imaging Techniques for Automation in Agriculture and Food Sector. Food Anal. Methods 2022, 15, 498–526. [Google Scholar] [CrossRef]
  156. Bhat, M.A.; Rather, M.Y.; Singh, P.; Hassan, S.; Hussain, N. Advances in smart food authentication for enhanced safety and quality. Trends Food Sci. Technol. 2025, 155, 104800. [Google Scholar] [CrossRef]
  157. Goyal, R.; Singha, P.; Singh, S.K. Spectroscopic food adulteration detection using machine learning: Current challenges and future prospects. Trends Food Sci. Technol. 2024, 146, 104377. [Google Scholar] [CrossRef]
  158. Porep, J.U.; Kammerer, D.R.; Carle, R. On-line application of near infrared (NIR) spectroscopy in food production. Trends Food Sci. Technol. 2015, 46, 211–230. [Google Scholar] [CrossRef]
  159. Chen, Z.; Lovett, D.; Morris, J. Process analytical technologies and real time process control a review of some spectroscopic issues and challenges. J. Process Control 2011, 21, 1467–1482. [Google Scholar] [CrossRef]
  160. Tsimidou, M.Z.; Ordoudi, S.A.; Mantzouridou, F.T.; Nenadis, N.; Stelzl, T.; Rychlik, M.; Belc, N.; Zoani, C. Strategic Priorities of the Scientific Plan of the European Research Infrastructure METROFOOD-RI for Promoting Metrology in Food and Nutrition. Foods 2022, 11, 599. [Google Scholar] [CrossRef]
Figure 1. Location of the terahertz band in the electromagnetic spectrum and application areas of terahertz spectroscopy technology. (a) Agricultural products quality testing field; (b) Materials science field; (c) Biomedical field; (d) Communications technology field.
Figure 1. Location of the terahertz band in the electromagnetic spectrum and application areas of terahertz spectroscopy technology. (a) Agricultural products quality testing field; (b) Materials science field; (c) Biomedical field; (d) Communications technology field.
Foods 14 02199 g001
Figure 2. Application of terahertz spectroscopy for food quality testing.
Figure 2. Application of terahertz spectroscopy for food quality testing.
Foods 14 02199 g002
Figure 3. PRISMA literature screening flowchart.
Figure 3. PRISMA literature screening flowchart.
Foods 14 02199 g003
Figure 4. Transmissive terahertz system. The arrows indicate the directions of the laser beam, probe beam, and signal transmission.
Figure 4. Transmissive terahertz system. The arrows indicate the directions of the laser beam, probe beam, and signal transmission.
Foods 14 02199 g004
Figure 5. Reflective terahertz system. Dashed arrows indicate the paths of optical signals, including the femtosecond laser pulse, pumping light, and probe beam. Solid arrows represent the propagation and reflection of terahertz radiation from the source, via the sample surface, to the detector.
Figure 5. Reflective terahertz system. Dashed arrows indicate the paths of optical signals, including the femtosecond laser pulse, pumping light, and probe beam. Solid arrows represent the propagation and reflection of terahertz radiation from the source, via the sample surface, to the detector.
Foods 14 02199 g005
Figure 6. Flow and algorithms for chemometric processing of spectral data.
Figure 6. Flow and algorithms for chemometric processing of spectral data.
Foods 14 02199 g006
Figure 7. (a) Terahertz spectroscopy for pesticide detection [79]; (b) Terahertz spectroscopy to identify the origin of olive oil. EVOO samples from Spain (○), Italy (+), Greece (*), Australia (◊). PCA plot shows absorbance-based distribution [80,81]; (c) Terahertz spectroscopy to identify rice adulteration [82]; (d) Terahertz time-domain spectroscopy to identify the quality of wheat gluten [83]; (e) Terahertz time-domain spectroscopy for the detection of melamine in food products [84]; (f) Terahertz spectroscopy for the detection of apple rot disease [85].
Figure 7. (a) Terahertz spectroscopy for pesticide detection [79]; (b) Terahertz spectroscopy to identify the origin of olive oil. EVOO samples from Spain (○), Italy (+), Greece (*), Australia (◊). PCA plot shows absorbance-based distribution [80,81]; (c) Terahertz spectroscopy to identify rice adulteration [82]; (d) Terahertz time-domain spectroscopy to identify the quality of wheat gluten [83]; (e) Terahertz time-domain spectroscopy for the detection of melamine in food products [84]; (f) Terahertz spectroscopy for the detection of apple rot disease [85].
Foods 14 02199 g007
Figure 8. Strategic map of future directions of terahertz spectroscopy in food quality testing.
Figure 8. Strategic map of future directions of terahertz spectroscopy in food quality testing.
Foods 14 02199 g008
Table 1. Characteristics of traditional inspection techniques.
Table 1. Characteristics of traditional inspection techniques.
Detection TechnologyTechnical
Characteristics
Detection TimeAdvantageDisadvantage
HPLCHighly efficient separationMinutes to tens of minutesHigh sensitivity for multi-component analysisHigh cost and complex pre-treatment
GCVolatility analysisMinutes to 20 minHigh sensitivity to volatile components, clear structural informationRequires derivatization and cumbersome sample pretreatment
ELISABioimmune recognition1–3 hHighly specific, rapid screening for low concentration indicatorsHigh antibody quality dependence and risk of cross-reactivity
PCRMolecular detection2–4 hHigh specificity for microbial/transgenic testingComplex process, strict control of contamination, specialized equipment required
TAStoichiometryManual: 5~20 min
Automatic: 3~10 min
Simple instrument, low cost, suitable for acid-base, salinity and other routine testingHigh human error and lower accuracy than instrumental methods
UV–VisAbsorbance measurement5–30 minFast, low equipment cost, easy to use for color and characterization quantificationSensitive to sample matrix interference, not suitable for complex systems
HPLC, High-performance liquid chromatography; GC, Gas chromatography; ELISA, Enzyme-linked immunosorbent assay; PCR, Polymerase chain reaction; TA, Titration analysis; UV–Vis, Ultraviolet–visible spectroscopy.
Table 2. Characteristics of emerging non-destructive testing technologies.
Table 2. Characteristics of emerging non-destructive testing technologies.
Detection TechnologyWavelength/
Frequency
Brief Outline of PrincipleDetection LimitAdvantageDisadvantage
NIR780–2500 nmMolecular vibration absorption%Fast, non-destructive, simultaneous measurement of componentsSensitive to complex matrices, model-dependent
THz3 mm–30 µmLow-frequency resonance absorptionppmWearable packaging, identifies adulteration, non-ionizing and harmlessHeavy water interference, limited sensitivity and penetration
Raman532–1064 nm (excitation light)Molecular vibration induced scattered radio frequency shiftsppmHighly sensitive, resistant to water interference, rapid detectionFluorescence interference, high equipment cost
X-ray0.01–10 nmPenetration and absorption imagingµg–mgIndustrially proven, efficient identification of hard foreign objectsWeak recognition of low-density foreign objects such as mixed plastics
CVVisible light 400–700 nmVisual feature extraction and recognitionµmReal-time online sorting at low costVulnerable to light and background
UT16 kHz–20 MHzEcho detection of sound wavesmmDetects sealing defects, internal tissue structureRequires coupling agent, fast signal attenuation, poor results with complex samples
MW30–300 GHzDielectric response to EM wavesSecure, low cost, penetrating packaging, suitable for onlineLow resolution, difficult to identify small particles or trace adulteration
NMR43–100 MHzNuclear spin resonance detection%Non-destructive quantification, suitable for water/lipid analysisExpensive equipment, insufficient sensitivity for trace adulteration detection
HSI400–2500 nmCombined spectral and spatial analysisppmGraphically rich, detects spoilage, adulteration, spottingLarge data volumes, complex models, expensive equipment
NIR, Near-infrared spectroscopy; THz, Terahertz spectroscopy; Raman, Raman spectroscopy; X-ray, X-ray inspection; CV, Computer vision; UT, Ultrasonic testing; MW, Microwave sensing; NMR, Nuclear magnetic resonance spectroscopy; HIS, Hyperspectral imaging.
Table 3. Applications of terahertz spectroscopy for pesticide detection.
Table 3. Applications of terahertz spectroscopy for pesticide detection.
FoodTarget of DetectionTypologyArithmeticOutcomeReference
Polyethylene and glutinous rice flourImidaclopridPesticide detectionPLSRelative error of prediction < 5.00%
RMSEP = 0.70%
[86]
FlourImidacloprid
Carbendazim
Pesticide detectionMSBC-PLS-VoigtRP = 0.9914
RC = 0.9957
[89]
Wheat flour6-BA
2,6-D
Imidacloprid
Pesticide detectionBPNNRP = 0.9913
RP = 0.9948
RP = 0.9923
[93]
Table 4. Application of terahertz spectroscopy for additive detection.
Table 4. Application of terahertz spectroscopy for additive detection.
FoodTarget of DetectionTypologyArithmeticOutcomeReference
Wheat flourBenzoic acidAdditive detectionCARS-PCA-LS-SVMRP = 0.9956
RMSEP = 0.64%
[97]
Coumarin-based food additivesCoumarin-based food additivesAdditive detectionP-t-SNE-DEGWO-SVMRP = 0.9861[98]
Table 5. Application of terahertz spectroscopy for biotoxin and mold detection.
Table 5. Application of terahertz spectroscopy for biotoxin and mold detection.
FoodTarget of DetectionTypologyArithmeticOutcomeReference
Acetonitrile solutionAFB1Toxins and mildewPLSR (High concentration)
RBF-SVM (low concentration)
R = 0.9780 [107]
R = 0.9376
RMSE = 0.0779
Peanut oilAFB1Toxins and mildewSecond derivative-SMLRRCV = 0.9309
RC = 0.9639
[35]
Black teaOTAToxins and mildew/RMSEC = 0.2800
RMSEP = 0.3500
[112]
Table 6. Application of terahertz spectroscopy for adulteration detection.
Table 6. Application of terahertz spectroscopy for adulteration detection.
FoodTarget of DetectionTypologyArithmeticOutcomeReference
RiceDifferent mixed proportions of riceAdulteration1st derivative-PCA-SVMAccuracy = 97.33% [82]
Kudzu powderLotus root powder and potato powderAdulterationUVE-LS-SVM-RBF-DAMisjudgment rate = 6.70% [121]
Panax notoginseng powderZedoary turmeric powder
Wheat flour
AdulterationLS-SVMRP = 0.9015
RMSEP = 0.0723
RP = 0.9305
RMSEP = 0.0677
[122]
Rice flourPLSRP = 0.9424
RMSEP = 0.0601
Table 7. Application of terahertz spectroscopy for species identification.
Table 7. Application of terahertz spectroscopy for species identification.
FoodTarget of DetectionTypologyArithmeticOutcomeReference
Wheat grainStrong-gluten Medium-gluten Weak-glutenVariety identificationSNV-CNNMisjudgment rate = 2.20% [127]
Rice seedsGeneVariety identificationSR-RFAccuracy = 95.00% [129]
Cottonseed oilGeneVariety identificationPLS-DAAccuracy = 97.00% [130]
Corn oilGeneVariety identificationPLS-DAAccuracy = 98.70% [132]
Coffee beansDegree of bakingVariety identificationPCA-LDAccuracy = 100.00% [133]
Table 8. Application of terahertz spectroscopy for nutrient detection.
Table 8. Application of terahertz spectroscopy for nutrient detection.
FoodTarget of DetectionTypologyArithmeticOutcomeReference
WheatMaltoseNutrient contentPCA-Boosting-LS-SVMR2 > 0.9600
RMSEC = 0.1200
RMSEP = 0.1500
[136]
Potato starchWheat glutenNutrient contentGPRR2 = 0.8590
RMSE = 0.0700
[138]
SoybeansProteinNutrient contentSNV-second derivative- ABC-SVRRP = 0.9659
RMSEP = 1.31%
RSD = 3.53%
[141]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Yang, J.; Bai, X.; Wei, M.; Jiang, H.; Xu, L. Terahertz Spectroscopy for Food Quality Assessment: A Comprehensive Review. Foods 2025, 14, 2199. https://doi.org/10.3390/foods14132199

AMA Style

Yang J, Bai X, Wei M, Jiang H, Xu L. Terahertz Spectroscopy for Food Quality Assessment: A Comprehensive Review. Foods. 2025; 14(13):2199. https://doi.org/10.3390/foods14132199

Chicago/Turabian Style

Yang, Jie, Xue Bai, Mingji Wei, Hui Jiang, and Leijun Xu. 2025. "Terahertz Spectroscopy for Food Quality Assessment: A Comprehensive Review" Foods 14, no. 13: 2199. https://doi.org/10.3390/foods14132199

APA Style

Yang, J., Bai, X., Wei, M., Jiang, H., & Xu, L. (2025). Terahertz Spectroscopy for Food Quality Assessment: A Comprehensive Review. Foods, 14(13), 2199. https://doi.org/10.3390/foods14132199

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop