Next Article in Journal
Quantitative Assessment of Soluble Carbohydrates in Two Panels of Pulses (Phaseolus vulgaris and Pisum sativum) Using Ultrasound-Assisted Extraction (UAE) and HPLC
Previous Article in Journal
Deep Eutectic Solvents Mediated Extraction of a Pectin Polysaccharide from Processed Sweet Potato By-Products: Optimization and Characterization Studies
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Honey Botanical Origin Authentication Using HS-SPME-GC-MS Volatile Profiling and Advanced Machine Learning Models (Random Forest, XGBoost, and Neural Network)

by
Amir Pourmoradian
1,
Mohsen Barzegar
1,*,
Ángel A. Carbonell-Barrachina
2 and
Luis Noguera-Artiaga
2
1
Department of Food Science and Technology, Faculty of Agriculture, Tarbiat Modares University, Tehran P.O. Box 14115-336, Iran
2
Grupo de Investigación “Calidad y Seguridad Alimentaria”, Instituto de Investigación e Innovación Agroalimentaria y Agroambiental (CIAGRO-UMH), Universidad Miguel Hernández de Elche, Carretera de Beniel, km 3.2, 03312 Alicante, Spain
*
Author to whom correspondence should be addressed.
Foods 2026, 15(2), 389; https://doi.org/10.3390/foods15020389
Submission received: 30 December 2025 / Revised: 19 January 2026 / Accepted: 20 January 2026 / Published: 21 January 2026
(This article belongs to the Section Food Quality and Safety)

Abstract

This study develops a comprehensive workflow integrating Headspace Solid-Phase Microextraction Gas Chromatography–Mass Spectrometry (HS-SPME-GC-MS) with advanced supervised machine learning to authenticate the botanical origin of honeys from five distinct floral sources—coriander, orange blossom, astragalus, rosemary, and chehelgiah. While HS-SPME-GC-MS combined with traditional chemometrics (e.g., PCA, LDA, OPLS-DA) is well-established for honey discrimination, the application and direct comparison of Random Forest (RF), eXtreme Gradient Boosting (XGBoost), and Neural Network (NN) models represent a significant advancement in multiclass prediction accuracy and model robustness. A total of 57 honey samples were analyzed to generate detailed volatile organic compound (VOC) profiles. Key chemotaxonomic markers were identified: anethole in coriander and chehelgiah, thymoquinone in astragalus, p-menth-8-en-1-ol in orange blossom, and dill ester (3,6-dimethyl-2,3,3a,4,5,7a-hexahydrobenzofuran) in rosemary. Principal component analysis (PCA) revealed clear separation across botanical classes (PC1: 49.8%; PC2: 22.6%). Three classification models—RF, XGBoost, and NN—were trained on standardized, stratified data. The NN model achieved the highest accuracy (90.32%), followed by XGBoost (86.69%) and RF (83.47%), with superior per-class F1-scores and near-perfect specificity (>0.95). Confusion matrices confirmed minimal misclassification, particularly in the NN model. This work establishes HS-SPME-GC-MS coupled with deep learning as a rapid, sensitive, and reliable tool for multiclass honey botanical authentication, offering strong potential for real-time quality control, fraud detection, and premium market certification.

1. Introduction

Honey is a naturally derived product that has played a significant role in human nutrition since antiquity, primarily due to its nutritional and medicinal properties [1]. Although primarily composed of sugars, honey contains a diverse range of bioactive components, including enzymes, amino acids, organic acids, carotenoids, vitamins, minerals, and aromatic compounds. Its chemical profile and sensory attributes—color, aroma, and flavor—are predominantly influenced by botanical and geographical origin, while secondary factors such as packaging and storage conditions further modulate its quality [2].
In 2023, the global honey market reached approximately USD 9.3 billion, driven by rising consumer preference for natural, minimally processed sweeteners. Honey is widely recognized as a functional food due to its antioxidant, antimicrobial, and anti-inflammatory activities, contributing to cardiovascular support, immune enhancement, and accelerated wound healing [3].
Authenticity verification is essential because monofloral honey from specific botanical and geographic origins typically commands a higher market value. Authenticity involves both (i) ensuring purity by avoiding adulteration with sugars or lower-quality honey and (ii) verifying that labeling accurately represents the product’s origin. Traditional authentication approaches—melissopalynology, sensory evaluation, and physicochemical tests—are often labor-intensive, require expert knowledge, and exhibit limitations, particularly when pollen content fails to reflect floral origin. To address these issues, modern analytical tools, including spectroscopic methods (IR, Raman, and NMR), isotopic analyses, biosensors, and chromatographic techniques, are increasingly used, often in combination with chemometric methods [4].
Chromatographic techniques, especially liquid chromatography (LC) and gas chromatography (GC), provide chemical fingerprints that facilitate the identification of biomarkers such as phenolic acids, flavonoids, alkaloids, and certain aromatic aldehydes and furans [5].
GC-MS is particularly advantageous for VOC analysis due to its sensitivity, robustness, and reproducibility [6]. HS-SPME is the preferred extraction method because it enables solvent-free, minimally invasive pre-concentration of volatiles without thermal degradation [7].
Previous studies have demonstrated the usefulness of chemometrics for honey authentication. Corvucci et al. (2015) found strong agreement between PCA-based classification and traditional melissopalynology [8]. Karabagias et al. (2020) achieved >89% classification accuracy for monofloral honeys using only nine volatile compounds [9]. Tian et al. (2024) successfully applied LC-QTOF-MS with chemometrics for non-targeted discrimination of multiple honey origins [5]. These results highlight a rapid, straightforward, and robust analytical strategy for honey chemical fingerprinting, facilitating marker identification and the development of advanced predictive models for botanical origin authentication.
While the combination of HS-SPME-GC-MS with traditional chemometric methods (such as PCA, LDA, and OPLS-DA) is well-established and widely applied for the discrimination of honey botanical origins, the integration of advanced supervised machine learning algorithms—particularly the direct comparison of ensemble methods (RF, XGBoost) and NNs—for improved multiclass classification accuracy has received limited attention. The present work addresses this by developing and benchmarking three machine learning models on volatile profiles from five botanically diverse honeys (including less commonly studied sources such as chehelgiah and astragalus)

2. Materials and Methods

2.1. Honey Sample Preparation

Nineteen honey samples from five botanical origins—coriander (n = 4), orange blossom (n = 4), chehelgiah (n = 4), astragalus (n = 4), and rosemary (n = 3)—were obtained from farms in Spain and Iran (Supplementary Materials), yielding a total of 57 samples (three technical/instrumental replicates per batch). Two grams of each honey sample were dissolved in 8 mL of deionized water and vortexed until a clear solution formed. Samples were stored in sealed containers at room temperature before analysis.

2.2. HS-SPME Extraction

Volatile compound extraction followed the method of Quintanilla-López et al. (2022) [4] with modifications. Ten milliliters of each honey solution was transferred to 20 mL SPME vials, leaving a 10 mL headspace. A 1 cm length Divinylbenzene/Carboxen/Polydimethylsiloxane (DVB/CAR/PDMS) fiber (50/30 µm) was used for adsorption. Samples were exposed to the fiber for 30 min at 60 °C with agitation (500 rpm). Extraction was performed using a Shimadzu AOC-6000 Plus autosampler (Shimadzu Corporation, Kyoto, Japan) for precise temperature and agitation control.

2.3. GC-MS Analysis

GC analysis was conducted using an SLB-5 MS capillary column (30 m × 0.25 mm × 0.25 µm; Teknokroma, Barcelona, Spain). The oven program was 50 °C (initial), 3 °C/min to 130 °C, then 8 °C/min to 205 °C, followed by 4 °C/min to 250 °C. Helium (99.9999%) was used as the carrier gas at 1 mL/min. Injection was performed in splitless mode at 250 °C. A Shimadzu TQ8040 NX mass spectrometer (Shimadzu Corporation, Kyoto, Japan) operated at temperatures of 230 °C for the ion source and 150 °C for the quadrupole, with 70 eV electron ionization. The scanning range was m/z 50–500 at 2 scans/s, with a solvent delay of 5.5 min. Volatile compounds were identified based on (i) calculating retention indices using a C8–C24 alkane series (Sigma-Aldrich, Steinheim, Germany); (ii) comparison with retention times of analytical standards; (iii) spectral matching with reference libraries [6].

2.4. Chemometric Analysis

The chemometric analyses were conducted on a data matrix of dimensions 57 × 40, where rows represent individual samples (including technical replicates) and columns correspond to the relative peak areas (%) of the 40 identified VOCs (see Table 1 and Table 2). These features were derived from integrated peak areas normalized to total ion current, rather than raw chromatographic signals, to emphasize origin-specific markers and minimize instrumental artifacts. PCA was employed to visualize clustering among botanical origins. For classification, RF, XGBoost, and NN models were implemented in Python 3.7 [10].
Data preprocessing included mean imputation for missing values, z-score standardization, and a stratified 70/30 train–test split performed at the independent batch level (n = 19 batches) to avoid data leakage. Missing values (~5–10% of entries) occurred due to compounds below LOD, unreliable integration at trace levels, or biological absence in specific botanical classes (see Table 2). These were imputed using column-wise mean substitution, a standard conservative approach in chemometrics for low-missingness datasets that preserves data structure without bias. Sensitivity tests verified negligible impact on PCA clustering or model performance. All technical replicates (three per batch) from the same independent honey batch were kept together in either the training or test set.
These classification models were utilized to differentiate among five distinct types of botanical honey.
RF (RandomForestClassifier): n_estimators = 100, criterion = ‘gini’) and random_state = 42.
XGBoost (XGBClassifier): use_label_encoder = False, eval_metric = ‘mlogloss’, random_state = 42. No hyperparameter tuning was performed beyond defaults.
NN (MLPClassifier): One hidden layer (100 neurons), max_iter = 500, random_state = 42. Default activation and solver settings were retained.
Performance metrics included accuracy, precision, recall, F1-score, sensitivity, and specificity [11].

3. Results

3.1. VOC Fingerprinting

HS-SPME-GC-MS identified 40 VOCs across samples, belonging to hydrocarbons, alcohols, aldehydes, ketones, acids, esters, heterocycles, terpenes/terpenoids, amines, nitriles, and phenolic compounds. Table 1 and Table 2 summarize the compound identities and distributions.
Anethole, a phenylpropanoid derivative with a characteristic anise-like aroma, was the dominant marker in coriander honey. This compound is biosynthetically derived from the shikimate pathway in Coriandrum sativum. Its presence confirms monofloral origin and aligns with previous findings [12]. The presence of anethole at such elevated levels not only validates botanical authenticity but also contributes to the honey’s potential antioxidant and antimicrobial properties.
Thymoquinone emerged as the major VOC reflecting the known phytochemistry of astragalus spp. [13]. This compound, known for its anti-inflammatory, antioxidant, and anticancer activities, is likely translocated from the plant’s root or aerial parts via nectar.
p-menth-8-en-1-ol was the hallmark compound of orange blossom honey, reflecting the rich monoterpenoid metabolism of Citrus sinensis and Citrus aurantium blossoms. This compound contributes to the fresh, citrusy, and slightly minty aroma typical of orange blossom honey. Its high concentration confirms the authenticity of the floral source and distinguishes this honey from others lacking citrus-derived volatiles [14]. The presence of this stereoisomer further supports the specificity of nectar transfer, as it is rarely found in significant amounts in non-citrus honeys.
The bicyclic furan derivative dill ester dominated the VOCs of rosemary honey. While not commonly reported as a primary marker, this compound is likely a degradation product or derivative of verbenone or camphor—key constituents of Rosmarinus officinalis. Its prevalence suggests active biochemical transformation during honey ripening or storage. This unique furanoid structure contributes to the warm, herbaceous, and slightly camphoraceous aroma of rosemary honey and serves as a novel candidate marker for authentication, particularly when combined with linalool and 1,8-cineole in multivariate models [15].

3.2. Chemometric Analysis

The PCA score plot presented in Figure 1 demonstrates a clear separation among the five honey samples originating from different botanical sources. The first principal component (PC1) explains 49.8% of the total variance, while the second principal component (PC2) accounts for 22.6%, together capturing the data variability. This differentiation is visually evident by the distinct clustering of the samples with minimal overlap, underscoring the robustness of PCA in distinguishing honey types based on their chemical or volatile profiles. Importantly, technical replicates from the same independent batch cluster tightly together (highlighted with connected markers), indicating low analytical variability and good method reproducibility under the automated HS-SPME-GC-MS conditions. The corresponding loading plot (Figure 2) reveals the volatile compounds responsible for this separation. Key chemotaxonomic markers exhibit prominent loadings: anethole shows a strong positive loading on PC1, aligning with the clustering of coriander and chehelgiah honeys; thymoquinone contributes significantly to the astragalus group positioning; p-menth-8-en-1-ol loads heavily on PC2, driving orange blossom distinction; and the bicyclic furan derivative (dill ester) influences rosemary separation.
Compounds exhibiting positive loadings on both PC1 and PC2 (upper-right quadrant of the loadings plot) are most influential in positioning the rosemary class, which occupies the positive–positive region in the score plot (Figure 1). These include dill ester (the primary rosemary marker with a strong positive contribution to PC1 and moderate positive to PC2), cedrol, 1-pentadecene, and 8-heptadecene. These volatiles, enriched in rosemary honey due to terpenoid and fatty acid pathways characteristic of Rosmarinus officinalis, collectively explain the distinct placement of rosemary samples in this quadrant.
Conversely, compounds with negative loadings on both PC1 and PC2 (lower-left quadrant) are key drivers of coriander separation, as this class clusters in the negative–negative region. Prominent examples include anethole (strong negative loading on PC1 and moderate negative on PC2, the signature phenylpropanoid of coriander), fenchone, (-)-carvone, and nonanoic acid. These compounds reflect the characteristic aromatic aldehyde, monoterpenoid ketone, and fatty acid profile of Coriandrum sativum nectar and are responsible for pulling coriander samples toward the negative–negative quadrant, underscoring their biochemical distinction from other classes.
These loadings confirm that PCA separation is biologically meaningful, driven by origin-specific VOCs identified in Table 1 and Table 2, and validate the robustness of HS-SPME-GC-MS volatile profiling for botanical authentication. The tight clustering of technical replicates from the same independent batch (highlighted with connected markers in Figure 1) further indicates low analytical variability and excellent method reproducibility under the automated extraction and analysis conditions.
Pourmoradian et al. detected honey adulteration with artificial sweeteners by distinguishing authentic honey using PCA [16]. Also, Akbari et al. (2020) determined the honey origin based on their floral components using PCA [17].
The classification performance of the three supervised models is presented in Table 3. Overall accuracy ranged from 83.47% in RF to 90.32% in NN, with XGBoost achieving 86.69%, indicating robust discriminative capability across all models, particularly for a multiclass problem involving subtle physicochemical and sensory differences among honey types. Model performance metrics reported in Table 3 and confusion matrices (Figure 3A–C) were calculated exclusively on the independent test set (~six batches, 18 replicates), confirming generalization beyond the training data.
NN: As a powerful deep learning framework, an NN excels in automated feature extraction and classification of food and agricultural products based on geographical origin, cultivar, and quality attributes [18]. In this study, the NN outperformed the ensemble methods, attaining the highest overall accuracy (90.32%) and demonstrating superior balance across precision (0.79–0.97), recall (0.79–0.96), and F1-score (0.82–0.96). Notably, the NN achieved near-perfect precision (0.97) and F1-score (0.93) for rosemary honey, alongside high sensitivity (0.96) for astragalus, suggesting effective capture of class-specific patterns in spectral or compositional features. Specificity remained consistently high (>0.95) across all classes and models, reflecting strong negative class discrimination. Our result matched with Koraqi et al. (2025), who used an NN to discriminate the Kosovan honey botanical origin [19].
XGBoost: As another advanced ensemble technique, this approach constructs a robust predictive model by sequentially integrating multiple weak learners. It efficiently manages missing data and scales to large datasets through parallel computation [20]. Despite extensive adoption across fields including finance, healthcare, e-commerce, transportation, industry, and meteorology, its application in food origin traceability is still emerging [21]. The results in Table 3 show that XGBoost followed closely with 86.69% accuracy and exhibited excellent precision (≥0.94) for orange blossom, astragalus, and rosemary, indicating low false positive rates in these classes. Its recall and sensitivity were particularly strong for chehelgiah (0.82 and 0.83, respectively), outperforming RF in this challenging class. The model’s use of gradient boosting likely enhanced its ability to model complex, non-linear interactions among input features. In 2025, Simão et al. employed digital image processing integrated with machine learning algorithms to classify bee pollen samples according to species origin, attaining testing accuracies of up to 77% with XGBoost [22].
RF: Developed in the early 2000s, RF is a reliable and intuitive ensemble learning algorithm that aggregates outputs from numerous decision trees to mitigate overfitting and enhance predictive accuracy [23]. In the current study, RF, while achieving the lowest accuracy (83.47%), maintained balanced performance, with F1-scores ranging from 0.69 (chehelgiah) to 0.93 (astragalus). Its highest precision and sensitivity were observed for astragalus (0.94 and 0.91), consistent with the algorithm’s robustness to noisy or correlated features commonly encountered in food authentication datasets. Its lower performance for chehelgiah and rosemary suggests potential overlap in feature distributions, possibly due to biochemical similarity with co-occurring floral sources. In a recent study, Kantemiris et al. (2025) [24] demonstrated the efficacy of Laser-Induced Breakdown Spectroscopy (LIBS), coupled with machine learning algorithms, for the rapid and in situ authentication of honey’s botanical origin. By analyzing emission spectra and using RF, the approach successfully classified samples from eight distinct botanical sources [24].
Across all models, astragalus was the most accurately classified (F1-score ≥ 0.93), likely due to distinct pollen or phytochemical markers. In contrast, chehelgiah consistently showed the lowest metrics (F1-score: 0.69–0.82), indicating greater classification difficulty—possibly attributable to intraspecific variability or underrepresentation in the training data. High specificity across classes (>0.94) underscores the models’ reliability in ruling out incorrect botanical assignments, a critical requirement for honey authenticity verification.
Overall, the NN emerged as the most effective classifier for botanical honey discrimination, followed by XGBoost and RF. These results support the viability of machine learning, particularly deep learning architectures, for high-accuracy, multiclass food authenticity tasks when coupled with appropriate preprocessing and stratified sampling. Furthermore, the confusion matrices for all models, presented in Figure 3, provide a detailed visualization of classification performance across the five botanical honey classes. These matrices confirm the reliability of the reported accuracy, precision, recall, and F1-score values by illustrating the distribution of true positives, true negatives, and misclassifications. The predominance of diagonal elements—particularly prominent in the NN model—validates its superior discriminative ability, while minimal off-diagonal entries across all models affirm high specificity and low confusion between classes, reinforcing the robustness of the proposed machine learning framework for honey botanical origin authentication.
The comparative overview in Table 4 illustrates representative studies employing chromatographic techniques combined with chemometrics for honey botanical origin discrimination. These works highlight the effectiveness of volatile or metabolite fingerprinting, but most rely on traditional multivariate methods (e.g., PCA, OPLS-DA, LDA) or limited ML approaches. Our study builds upon this foundation by integrating HS-SPME-GC-MS volatile profiling with advanced supervised machine learning (RF, XGBoost, and NN), achieving higher multiclass accuracy (90.32% with NN) for five botanically diverse honeys and identifying key markers that align with or extend previous findings. This positions our workflow as a promising enhancement for rapid, reliable authentication in complex multiclass scenarios.

4. Discussion

The integration of HS-SPME with GC-MS in this study yields comprehensive VOC profiles that serve as discriminative fingerprints for honey botanical origins, effectively bridging analytical chemistry and advanced chemometrics. By extracting and quantifying 40 VOCs across 57 samples from coriander, orange blossom, astragalus, rosemary, and chehelgiah sources, we identified class-specific markers such as anethole (predominant in coriander and chehelgiah, contributing to anisic notes via phenylpropanoid pathways) and thymoquinone (hallmark of astragalus, linked to quinone biosynthesis and potential bioactivity). These markers not only validate floral fidelity but also highlight biochemical crosstalk between nectar sources and honey maturation, where enzymatic transformations (e.g., the oxidation of monoterpenes in rosemary leading to furan derivatives like dill ester) amplify origin-specific signatures. PCA visualization (PC1: 49.8%, PC2: 22.6%) underscores this chemical divergence, with tight clustering reflecting minimal intrasource variability and robust intersource separation, attributable to standardized extraction conditions (e.g., 60 °C agitation at 500 rpm) that minimize thermal artifacts and enhance reproducibility.
Supervised classification models further transform these fingerprints into actionable authenticity tools, with the NN achieving superior performance (90.32% accuracy) through its multilayer perceptron architecture, which excels in hierarchical feature abstraction from high-dimensional GC-MS data. This edge over XGBoost (86.69%) and RF (83.47%) arises from the NN’s ability to model non-linear interactions among correlated VOCs—such as co-occurring terpenoids in citrus-derived honeys—via backpropagation and ReLU activation, yielding elevated F1-scores (e.g., 0.96 for astragalus). In contrast, XGBoost’s gradient-boosting paradigm, with its tree-based regularization and handling of sparse features (e.g., absent compounds denoted by zeros), proves advantageous for noisy classes like chehelgiah (recall: 0.82), where multifloral overlaps introduce ambiguity. RF’s ensemble averaging mitigates variance but struggles with subtle gradients, as evidenced by lower sensitivity in rosemary (0.71), potentially due to unoptimized tree depth limiting resolution of biochemical similarities (e.g., shared phenolic precursors). A technical insight here is the value of incorporating SHAP (SHapley Additive exPlanations) values post-training to interpret model decisions: for instance, anethole and thymoquinone emerge as top contributors in NN predictions, offering explainable AI for regulatory audits and reducing black-box concerns in food forensics.
Benchmarking against contemporary works reveals our framework’s advancements in multiclass precision. Unlike Simão et al. (2025) [22], who attained ~77% accuracy in bee pollen speciation via XGBoost on image-derived features, our VOC-centric approach leverages molecular specificity to surpass 90% in a comparable five-class scenario, minimizing the environmental confounders inherent to visual data. Similarly, Kantemiris et al. (2025) [24] reported strong RF performance with LIBS spectra for eight honey origins, but our method’s lower instrumentation barrier—HS-SPME-GC-MS requires no laser ablation and supports portable variants—enhances deployability for field-based fraud detection. A noteworthy technical edge is the potential for transfer learning: pretraining NNs on larger public VOC datasets (e.g., from NIST libraries) could fine-tune for rare origins, boosting generalization amid global honey trade variability. Limitations include the absence of hyperparameter optimization (e.g., grid search for NN hidden layers or XGBoost learning rates), which might elevate accuracies further, and sample size constraints for underrepresented classes like rosemary, warranting ensemble strategies (e.g., stacking an NN with XGBoost) to mitigate bias.
This methodology not only addresses gaps in authenticating Iranian–Spanish honeys—where regional nectar diversity challenges traditional melissopalynology—but also paves the way for hybrid systems integrating GC-MS with emerging sensors (e.g., e-noses calibrated via our VOC markers) for rapid, cost-effective screening. By emphasizing volatile chemotaxonomy and interpretable ML, it fortifies supply chain integrity against sophisticated adulteration, fostering sustainable beekeeping and consumer trust in premium monofloral markets.

Limitations

A key limitation of the present study is the relatively small number of independent batches per botanical class (three to four batches per origin, yielding 9–12 technical replicates after triplication), resulting in modest class numerosity for a five-class problem. This constraint is common in exploratory studies on monofloral honeys, where access to authenticated, batch-specific, pure samples from single floral sources is logistically and seasonally restricted, particularly for less commercially widespread origins such as chehelgiah and astragalus [12]. Although technical replicates were included to increase statistical power within each batch, the modest independent sample size per class increases the risk of model overfitting and limits the generalizability of the classification performance to broader populations. To mitigate these risks, we deliberately selected algorithms known for their robustness in small-sample, high-dimensional, and multiclass settings: RF and XGBoost benefit from ensemble mechanisms (bagging and regularized boosting, respectively) that inherently reduce variance and overfitting, while performing effectively with limited data and handling potential class imbalance through inherent mechanisms or stratified sampling [30]. The NN (MLPClassifier with a single hidden layer of 100 neurons) was included as a proof-of-concept comparison to evaluate deep learning potential, but we intentionally avoided extensive hyperparameter tuning or architectural complexity to prevent over-optimism and reduce the risk of overfitting on small data. All models were trained with stratified 70/30 train–test splitting at the independent batch level to avoid data leakage and ensure fair evaluation. Despite these safeguards, the reported accuracies (83.47–90.32%) should be interpreted cautiously as indicative of method feasibility in an exploratory context rather than definitive performance on large-scale datasets. Future validation on larger, more diverse cohorts will be essential to confirm robustness and generalizability.

5. Conclusions

As a preliminary and exploratory study with limited independent batches per botanical class (three to four per origin), this work demonstrates the feasibility of HS-SPME-GC-MS volatile profiling combined with advanced machine learning (RF, XGBoost, and NN) for multiclass botanical authentication of honeys. The achieved classification accuracies (83.47–90.32%) are encouraging in this constrained setting, but the modest sample size and class numerosity necessitate cautious interpretation and further validation on larger, more diverse cohorts. Future studies should expand sample diversity, optimize model hyperparameters, and explore multi-modal data integration to enhance robustness and support broader regulatory and industrial applications.

Supplementary Materials

The following supporting information can be downloaded at: https://www.mdpi.com/article/10.3390/foods15020389/s1, Table S1: Detailed information on honey samples.

Author Contributions

Conceptualization, A.P. and M.B.; methodology, A.P., L.N.-A., and Á.A.C.-B.; software, A.P.; validation, A.P., L.N.-A., and Á.A.C.-B.; formal analysis, A.P.; investigation, A.P.; resources, M.B., L.N.-A., and Á.A.C.-B.; data curation, A.P.; writing—original draft preparation, A.P.; writing—review and editing, A.P., M.B., L.N.-A., and Á.A.C.-B.; visualization, A.P.; supervision, M.B. (in Iran), Á.A.C.-B. (host supervisor) and L.N.-A. (daily supervisor); project administration, M.B. and Á.A.C.-B.; funding acquisition, Á.A.C.-B. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the project CIAICO/2023/198 financed by the Autonomous Community (Comunidad Valenciana) through Conselleria de Educación, Cultura, Universidades y Empleo.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The original contributions presented in the study are included in the article/Supplementary Materials. Further inquiries can be directed to the corresponding author.

Acknowledgments

This research was a part of Ph.D. Program of the Tarbiat Modares University of Iran. Authors want to thank to Esther Sendra for their help to gather honey samples.

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

GC–MSGas Chromatography–Mass Spectrometry
HS-SPMEHeadspace Solid-Phase Microextraction
VOCVolatile Organic Compound
PCAPrincipal Component Analysis
RFRandom Forest
XGBoosteXtreme Gradient Boosting
NNNeural Network
PC1Principal Component 1
PC2Principal Component 2

References

  1. Ntakoulas, D.D.; Pasias, I.N.; Raptopoulou, K.G.; Proestos, C. Authenticity of Greek honey based on phenolic compounds and physicochemical characteristics. Food Chem. 2025, 476, 143465. [Google Scholar] [CrossRef]
  2. Mărgăoan, R.; Topal, E.; Balkanska, R.; Yücel, B.; Oravecz, T.; Cornea-Cipcigan, M.; Vodnar, D.C. Monofloral honeys as a potential source of natural antioxidants, minerals and medicine. Antioxidants 2021, 10, 1023. [Google Scholar] [CrossRef]
  3. Bratosin, E.D.; Tit, D.M.; Pasca, M.B.; Purza, A.L.; Bungau, G.; Marin, R.C.; Radu, A.F.; Gitea, D. Physicochemical and Sensory Evaluation of Romanian Monofloral Honeys from Different Supply Chains. Foods 2025, 14, 2372. [Google Scholar] [CrossRef]
  4. Quintanilla-López, J.E.; Lebrón-Aguilar, R.; Soria, A.C. Volatile fingerprinting by solid-phase microextraction mass spectrometry for rapid classification of honey botanical source. LWT 2022, 169, 114017. [Google Scholar] [CrossRef]
  5. Tian, L.; Bilamjian, S.; Liu, L.; Akiki, C.; Cuthbertson, D.J.; Anumol, T.; Bayen, S. Development of a LC-QTOF-MS based dilute-and-shoot approach for the botanical discrimination of honeys. Anal. Chim. Acta 2024, 1304, 342536. [Google Scholar] [CrossRef] [PubMed]
  6. Wei, Q.; Sun, J.; Guo, J.; Li, X.; Zhang, X.; Xiao, F. Authentication of chaste honey adulterated with high fructose corn syrup by HS-SPME-GC-MS coupled with chemometrics. LWT 2023, 176, 114509. [Google Scholar] [CrossRef]
  7. Teruel-Andreu, C.; Issa-Issa, H.; Noguera-Artiaga, L.; Sendra, E.; Hernández, F.; Cano-Lamadrid, M. Volatile profile of breba and fig fruits (peel and pulp) from different Ficus carica L. varieties. Sci. Hortic. 2024, 328, 112892. [Google Scholar] [CrossRef]
  8. Corvucci, F.; Nobili, L.; Melucci, D.; Grillenzoni, F.-V. The discrimination of honey origin using melissopalynology and Raman spectroscopy techniques coupled with multivariate analysis. Food Chem. 2015, 169, 297–304. [Google Scholar] [CrossRef] [PubMed]
  9. Karabagias, I.K.; Badeka, A.; Kontominas, M.G. A decisive strategy for monofloral honey authentication using analysis of volatile compounds and pattern recognition techniques. Microchem. J. 2020, 152, 104263. [Google Scholar] [CrossRef]
  10. Ongalbek, D.; Şahin, B.; Berdesh, T.; Taş-Küçükaydın, M.; Tokul-Ölmez, Ö.; Yeskaliyeva, B.; Öztürk, M. Biomarker Aroma Compounds of Monofloral Honey From Kazakhstan by Gas Chromatography–Mass Spectrometry (GC–MS) and Chemometric Analysis*. Anal. Lett. 2025, 58, 2056–2073. [Google Scholar] [CrossRef]
  11. Egido, C.; Saurina, J.; Sentellas, S.; Núñez, O. Honey fraud detection based on sugar syrup adulterations by HPLC-UV fingerprinting and chemometrics. Food Chem. 2024, 436, 137758. [Google Scholar] [CrossRef] [PubMed]
  12. Kaškonienė, V.; Venskutonis, P.R. Floral Markers in Honey of Various Botanical and Geographic Origins: A Review. Compr. Rev. Food Sci. Food Saf. 2010, 9, 620–634. [Google Scholar] [CrossRef]
  13. Shahzad, M.; Shabbir, A.; Wojcikowski, K.; Wohlmuth, H.; CGobe, G. The antioxidant effects of Radix Astragali (Astragalus membranaceus and related species) in protecting tissues from injury and disease. Curr. Drug Targets 2016, 17, 1331–1340. [Google Scholar] [CrossRef]
  14. Alissandrakis, E.; Tarantilis, P.A.; Harizanis, P.C.; Polissiou, M. Aroma investigation of unifloral Greek citrus honey using solid-phase microextraction coupled to gas chromatographic–mass spectrometric analysis. Food Chem. 2007, 100, 396–404. [Google Scholar] [CrossRef]
  15. Castro-Vázquez, L.; Pérez-Coello, M.S.; Cabezudo, M.D. Analysis of volatile compounds of rosemary honey. Comparison of different extraction techniques. Chromatographia 2003, 57, 227–233. [Google Scholar] [CrossRef]
  16. Pourmoradian, A.; Barzegar, M.; Gharaghani, S.; Sahari, M.A. Honey adulteration detection using the HS-SPME-IMS technique combined with chemometric analysis. Food Chem. X 2025, 32, 103365. [Google Scholar] [CrossRef]
  17. Akbari, E.; Baigbabaei, A.; Shahidi, M. Determination of the floral origin of honey based on its phenolic profile and physicochemical properties coupled with chemometrics. Int. J. Food Prop. 2020, 23, 506–519. [Google Scholar] [CrossRef]
  18. Liang, J.; Zhou, C. Criticality enhances the multilevel reliability of stimulus responses in cortical neural networks. PLoS Comput. Biol. 2022, 18, e1009848. [Google Scholar] [CrossRef]
  19. Koraqi, H.; Wawrzyniak, J.; Aydar, A.Y.; Pandiselvam, R.; Khalide, W.; Petkoska, A.T.; Karabagias, I.K.; Ramniwas, S.; Rustagi, S. Application of multivariate analysis and Kohonen Neural Network to discriminate bioactive components and chemical composition of kosovan honey. Food Control 2025, 172, 111072. [Google Scholar] [CrossRef]
  20. Agrawal, U.; Bawane, N.; Alsubaie, N.; Alqahtani, M.S.; Abbas, M.; Soufiene, B.O. Design & development of adulteration detection system by fumigation method & machine learning techniques. Sci. Rep. 2024, 14, 25366. [Google Scholar] [CrossRef]
  21. Wu, L.; Wang, M. Geographical origin identification of sweet cherry based on quality traits combined with DD-SIMCA and XGBoost. Food Chem. 2025, 492, 145525. [Google Scholar] [CrossRef] [PubMed]
  22. Simão, C.; Nascimento, J.E.d.M.; Toledo VdAAd de Lima, V.A.; Felsner, M.L. Digital image processing combined with machine learning: A novel approach for bee pollen classification. Food Res. Int. 2025, 212, 116399. [Google Scholar] [CrossRef]
  23. de Santana, F.B.; Neto, W.B.; Poppi, R.J. Random forest as one-class classifier and infrared spectroscopy for food adulteration detection. Food Chem. 2019, 293, 323–332. [Google Scholar] [CrossRef] [PubMed]
  24. Kantemiris, G.; Kourelias, P.; Panagiotopoulou, C.; Stefas, D.; Couris, S. Authentication of the botanical origin of honey via Laser Induced Breakdown Spectroscopy. Microchem. J. 2025, 212, 113537. [Google Scholar] [CrossRef]
  25. Kaczmarek, A.M.; Muzolf-Panek, M.; Tomaszewska-Gras, J.; Konieczny, P. Predicting the Botanical Origin of Honeys with Chemometric Analysis According to Their Antioxidant and Physicochemical Properties. Pol. J. Food Nutr. Sci. 2019, 69, 191–201. [Google Scholar] [CrossRef]
  26. Arroyo-Manzanares, N.; García-Nicolás, M.; Zafra-Navarro, F.; Campillo, N.; Viñas, P. A non-targeted metabolomic strategy for characterization of the botanical origin of honey samples using headspace gas chromatography—Ion mobility spectrometry. Anal. Methods 2022, 14, 5047–5055. [Google Scholar] [CrossRef]
  27. Puścion-Jakubik, A.; Borawska, M.H.; Socha, K. Modern Methods for Assessing the Quality of Bee Honey and Botanical Origin Identification. Foods 2020, 9, 1028. [Google Scholar] [CrossRef]
  28. Baranauskienė, R.; Venskutonis, P.R.; Galdikas, A.; Senulienė, D.; Šetkus, A. Testing of microencapsulated flavours by electronic nose and SPME–GC. Food Chem. 2005, 92, 45–54. [Google Scholar] [CrossRef]
  29. Zhang, Y.-Z.; Si, J.-J.; Li, S.-S.; Zhang, G.-Z.; Wang, S.; Zheng, H.-Q.; Hu, F.-L. Chemical Analyses and Antimicrobial Activity of Nine Kinds of Unifloral Chinese Honeys Compared to Manuka Honey (12+ and 20+). Molecules 2021, 26, 2778. [Google Scholar] [CrossRef]
  30. Probst, P.; Wright, M.N.; Boulesteix, A.L. Hyperparameters and tuning strategies for random forest. Wiley Interdisciplinary Reviews: Data mining and knowledge discovery. WIREs Data Min. Knowl. Discov. 2019, 9, e1301. [Google Scholar] [CrossRef]
Figure 1. PCA plot showing clustering of different botanical honeys.
Figure 1. PCA plot showing clustering of different botanical honeys.
Foods 15 00389 g001
Figure 2. PCA loading plot showing the contributions of the 40 identified VOCs.
Figure 2. PCA loading plot showing the contributions of the 40 identified VOCs.
Foods 15 00389 g002
Figure 3. Confusion matrices: (A) RF, (B) XGBoost, and (C) NN.
Figure 3. Confusion matrices: (A) RF, (B) XGBoost, and (C) NN.
Foods 15 00389 g003
Table 1. Profile of honey volatile compounds identified using GC-MS analysis.
Table 1. Profile of honey volatile compounds identified using GC-MS analysis.
RT 1Volatile Compounds Chemical ClassKovat Index (KI) 2
Exp.Lit.
6.844 NonaneAlkane900900
8.929BenzaldehydeAromatic aldehyde964961
10.554OctanalAldehyde10081000
11.682D-LimoneneMonoterpene10281030
12.211BenzeneacetaldehydeAromatic aldehyde10471045
12.8882-Octenal, (E)-Unsaturated aldehyde10651062
13.4811-OctanolAlcohol10821076
14.245FenchoneMonoterpenoid ketone10861088
14.777LinaloolMonoterpenoid alcohol10981098
14.976NonanalAldehyde11031102
15.246Phenylethyl alcoholAromatic alcohol11091110
16.627p-Menth-8-en-1-ol, stereoisomerMonoterpenoid alcohol11411146
16.991Bicyclo [3.1.0] hexan-3-ol, 4-methyl-1-(1methylethyl)-Monoterpenoid alcohol11491155
18.0681-NonanolAlcohol11731172
18.714dill esterFuran derivative (sesquiterpenoid-like)11871192
19.238EstragolePhenylpropanoid12001196
19.650DecanalAldehyde12031203
20.1253-Cyclohexene-1-acetaldehyde,.alpha.,4-dimethyl-Monoterpenoid aldehyde12141217
21.308(-)-CarvoneMonoterpenoid ketone12391240
22.1962-Decenal, (E)-Unsaturated aldehyde12581264
22.524Nonanoic acidFatty acid12671272
22.6981-DecanolAlcohol12691272
23.341AnetholePhenylpropanoid12851284
23.459ThymolMonoterpenoid phenol12871287
23.460p-Mentha-1,8-dien-7-olMonoterpenoid alcohol12871295
25.568Methyl anthranilateAromatic ester13341341
26.223Naphthalene, 1,2-dihydro-1,1,6-trimethyl-Sesquiterpene derivative13481355
28.436TetradecaneAlkane13981400
28.731TetradecanalAldehyde14051409
30.3115,9-Undecadien-2-one, 6,10-dimethyl-Sesquiterpenoid ketone14431435
32.2961-PentadeceneAlkene14981492
34.118.alpha.-CalacoreneSesquiterpene15351542
36.625HexadecaneAlkane15981600
36.769CedrolSesquiterpenoid alcohol16031596
39.5228-HeptadeceneAlkene16761680
42.483Octadecanoic acidFatty acid17571761
1 Retention Time (min). 2 KI: (Exp.) = experimental Kovats index; (Lit.) = literature Kovats index (using NIST libraries).
Table 2. Main volatile components of different botanical honey samples identified by GC-MS (%).
Table 2. Main volatile components of different botanical honey samples identified by GC-MS (%).
Volatile CompoundsRT (min)CorianderAstragalusChehelgiahOrange blossomRosemary
Nonane6.8443.38 (3.38 ± 0.12)2.20 (2.20 ± 0.09)2.24 (2.24 ± 0.11)2.80 (2.80 ± 0.15)
Benzaldehyde8.9291.79 (1.79 ± 0.08)
Octanal10.5541.71 (1.71 ± 0.10)9.42 (9.42 ± 0.25)
Benzeneacetaldehyde (phenylacetaldehyde)12.2110.33 (0.33 ± 0.04)1.19 (1.19 ± 0.07)
1-Octanol13.48111.99 (11.99 ± 0.45)
Fenchone14.2452.31 (2.31 ± 0.14)
Linalool14.7771.93 (1.93 ± 0.09)6.08 (6.08 ± 0.22)1.27 (1.27 ± 0.06)
Nonanal14.97617.54 (17.54 ± 0.68)9.86 (9.86 ± 0.41)2.42 (2.42 ± 0.13)4.86 (4.86 ± 0.19)4.00 (4.00 ± 0.17)
p-Menth-8-en-1-ol16.6273.64 (3.64 ± 0.16)
Sabinene hydrate16.9912.40 (2.40 ± 0.12)6.13 (6.13 ± 0.28)
1-Nonanol18.0681.02 (1.02 ± 0.05)1.73 (1.73 ± 0.08)1.03 (1.03 ± 0.06)
Dill ester18.7142.10 (2.10 ± 0.11)1.78 (1.78 ± 0.09)3.32 (3.32 ± 0.18)
Decanal19.658.24 (8.24 ± 0.32)2.35 (2.35 ± 0.12)2.66 (2.66 ± 0.14)1.14 (1.14 ± 0.07)
Perillaldehyde20.1252.09 (2.09 ± 0.10)3.75 (3.75 ± 0.17)
(-)-Carvone21.3084.77 (4.77 ± 0.21)
Thymoquinone21.568.17 (8.17 ± 0.38)
Nonanoic acid22.5241.36 (1.36 ± 0.07)
Anethole23.3413.84 (3.84 ± 0.18)2.11 (2.11 ± 0.10)
Naphthalene, 1,2-dihydro-1,1,6-trimethyl-26.2232.45 (2.45 ± 0.13)1.20 (1.20 ± 0.06)
Tetradecane28.43612.94 (12.94 ± 0.52)
1-Pentadecene32.2961.36 (1.36 ± 0.08)1.90 (1.90 ± 0.11)
Hexadecane36.6253.67 (3.67 ± 0.16)2.56 (2.56 ± 0.12)
Cedrol36.7691.65 (1.65 ± 0.09)
8-Heptadecene39.5221.04 (1.04 ± 0.05)2.11 (2.11 ± 0.10)2.62 (2.62 ± 0.14)
Octadecanoic acid (stearic acid)42.4831.44 (1.44 ± 0.07)2.26 (2.26 ± 0.12)
Chemical components present at concentrations below one percent are not listed in the Table.
Table 3. Comparative performance of classification models.
Table 3. Comparative performance of classification models.
ModelEvaluation MetricSamples
CorianderOrange Blossom Astragalus Rosemary Chehelgiah
RF Precision0.840.770.940.780.70
 Recall0.840.880.920.720.68
 F1-score0.840.820.930.750.69
 Sensitivity0.840.880.910.710.67
 Specificity0.970.940.960.960.95
 Accuracy = 83.47%  
XGBoostPrecision0.790.940.940.940.74
 Recall0.820.900.920.790.82
 F1-score0.810.870.930.860.78
 Sensitivity0.810.900.910.790.83
 Specificity0.960.960.960.990.95
 Accuracy = 86.69%  
NNPrecision0.790.880.960.970.84
 Recall0,890.880.960.900.79
 F1-score0.840.880.960.930.82
 Sensitivity0.890.880.950.890.79
 Specificity0.950.970.970.990.97
 Accuracy = 90.32%  
Table 4. Several studies on honey botanical discriminations.
Table 4. Several studies on honey botanical discriminations.
Technique/MethodsChemometrics ModelKey FindingsReference
Physicochemical parametersLDA, ANN, PCAHigh-accuracy classification of honeys according to botanical origin[25]
HS-GC-IMSOPLS-DAIdentification of volatile compounds for botanical characterization[26]
LC-QTOF-MSRF, PLS-DARapid and reliable classification using metabolomic fingerprinting[5]
NIRPCAIdentification of botanical markers enabling varietal honey discrimination[27]
Electronic Nose and SPME-GC-MSPCASuccessful volatile profile discrimination of botanical origin[28]
HS-GC-IMSPCAEffective detection of carbohydrate markers to detect adulteration[29]
HS-SPME-GC-MSPCA-RF-XGBoost-NNRapid and reliable classification of five different botanical honey samples Our study
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

Pourmoradian, A.; Barzegar, M.; Carbonell-Barrachina, Á.A.; Noguera-Artiaga, L. Honey Botanical Origin Authentication Using HS-SPME-GC-MS Volatile Profiling and Advanced Machine Learning Models (Random Forest, XGBoost, and Neural Network). Foods 2026, 15, 389. https://doi.org/10.3390/foods15020389

AMA Style

Pourmoradian A, Barzegar M, Carbonell-Barrachina ÁA, Noguera-Artiaga L. Honey Botanical Origin Authentication Using HS-SPME-GC-MS Volatile Profiling and Advanced Machine Learning Models (Random Forest, XGBoost, and Neural Network). Foods. 2026; 15(2):389. https://doi.org/10.3390/foods15020389

Chicago/Turabian Style

Pourmoradian, Amir, Mohsen Barzegar, Ángel A. Carbonell-Barrachina, and Luis Noguera-Artiaga. 2026. "Honey Botanical Origin Authentication Using HS-SPME-GC-MS Volatile Profiling and Advanced Machine Learning Models (Random Forest, XGBoost, and Neural Network)" Foods 15, no. 2: 389. https://doi.org/10.3390/foods15020389

APA Style

Pourmoradian, A., Barzegar, M., Carbonell-Barrachina, Á. A., & Noguera-Artiaga, L. (2026). Honey Botanical Origin Authentication Using HS-SPME-GC-MS Volatile Profiling and Advanced Machine Learning Models (Random Forest, XGBoost, and Neural Network). Foods, 15(2), 389. https://doi.org/10.3390/foods15020389

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