Next Article in Journal
Occurrence, Dissipation and Risk Assessment of Widespread Pesticides and Their Metabolites in Pomegranates
Previous Article in Journal
Improved Hybrid Percolation–Ultrasound Extraction of Bioactive Compounds and Their Application as Nettle and Sage-Derived Biostimulants in Tomato and Pepper Crops
Previous Article in Special Issue
KCQI: Novel Index for Assessment of Comprehensive Quality of Kiwifruit During Shelf Life Using Hyperspectral Imaging and One-Dimensional Convolutional Neural Networks
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Impacts of Roasting Intensity and Cultivar on Date Seed Beverage Quality Traits and Volatile Compounds Using Digital Technologies

1
School of Agriculture, Food and Ecosystem Sciences, Faculty of Science, The University of Melbourne, Parkville, VIC 3010, Australia
2
Digital Agriculture, Food and Wine Research Group, School of Agriculture, Food and Ecosystem Sciences, Faculty of Science, The University of Melbourne, Parkville, VIC 3010, Australia
3
Tecnologico de Monterrey, School of Engineering and Science, Ave. Eugenio Garza Sada 2501, Monterrey 64849, Mexico
*
Author to whom correspondence should be addressed.
Foods 2025, 14(22), 3902; https://doi.org/10.3390/foods14223902
Submission received: 25 September 2025 / Revised: 9 November 2025 / Accepted: 12 November 2025 / Published: 14 November 2025

Abstract

Roasting intensity and cultivar shape the physicochemical composition and sensory characteristics of date seed-based coffee alternatives. This study evaluated quality traits among eight date seed cultivars (Zahidi, Medjool, Deglet nour, Thoory, Halawi, Barhee, Khadrawy, Bau Strami) roasted at three intensities (light: 180 °C; medium: 200 °C; dark: 220 °C) using digital technologies, including near-infrared spectroscopy (NIR), electronic nose (e-nose), and headspace solid-phase microextraction gas chromatography-mass spectrometry (HS-SPME-GC-MS), supported by machine learning (ML) modeling. NIR spectra showed distinct chemical fingerprints for date seed powders and beverages, with key absorption bands from 1673–2396 nm and 1720–1927/2238–2396 nm, respectively. E-nose outputs showed higher volatile emissions in dark-roasted samples, particularly for ethanol and NH3. GC-MS identified 25 volatile compounds, mainly pyrazines and furanic compounds. Pyrazine concentration was greatest in Bau Strami and Medjool cultivars, whereas Halawi and Thoory cultivars had greater content of furfural. Two ML classification models achieved high accuracy in classifying cultivars (NIR inputs: 99%; e-nose inputs: 98%) and roasting levels, while regression models (NIR inputs: R = 0.88; e-nose inputs: R = 0.90) effectively predicted volatile aromatic compounds obtained using GC-MS. Dark roasting resulted in a significant pH reduction and intensified browning, with furfural persisting as a stable aroma contributor. These findings highlight the potential of date seeds as a coffee alternative, with roasting level and cultivar selection influencing flavor profiles. The findings also demonstrate the utility of digital sensing technologies as an efficient, low-cost tool for rapid quality assessment and process optimization in the development of novel beverages.

Graphical Abstract

1. Introduction

The date palm (Phoenix dactylifera L.) is a historically important crop, widely cultivated in arid and semi-arid regions, with more than 2000 known cultivars worldwide, including prominent commercial ones such as Medjool, Barhee, and Deglet nour [1,2]. Although the fruit pulp is well known for its high carbohydrate content and essential minerals, the nutritional potential of the date seed is often underestimated. Previous studies have shown that date seeds contain comparable carbohydrate levels and, in some cases, significantly higher concentrations of trace minerals than the pulp. Moreover, they are rich in polyphenolic compounds and show strong antioxidant activity, which may contribute to health-promoting effects [2].
Despite these benefits, date seeds are typically treated as by-products and are usually discarded. In certain regions, particularly in Saudi Arabia and the United Arab Emirates, there is a traditional practice of roasting, grinding, and brewing date seeds to produce a caffeine-free, coffee-like beverage [3,4]. This beverage has gained interest as a coffee alternative due to its similar aroma, appearance, and texture, but without the stimulant effects of caffeine. As with conventional coffee, roasting plays an important role with two main reasons. Firstly, from a technological and safety perspective, roasting reduces moisture content, inactivates spoilage-related enzymes, and extends shelf life. Second, and more importantly for sensory quality, it promotes Maillard reactions, pyrolysis, and caramelization, which would generate the characteristic color, roasted flavor, and rich aroma that enhance consumer appeal [5,6].
While the roasting process of coffee has been studied in detail, leading to the identification of key volatile markers like furans, pyrazines, and pyrroles that define its sensory quality, research on date seed roasting still remains limited. A few existing studies have detected Maillard-derived volatiles in roasted date seeds similar to those in roasted coffee [7,8]. However, these studies often lack a systematic evaluation of how roasting parameters such as temperature and duration, as well as the intrinsic compositional differences among date cultivars might potentially influence volatile formation and sensory quality.
Despite growing interest in utilizing date seeds for the production of seed-based beverages, current studies remain limited and largely non-systematic, particularly concerning the combined influence of date seed cultivar and roasting intensity on beverage properties. The effects of these factors on the physicochemical characteristics, aroma compound development, and overall quality of date seed beverages remain poorly characterized. Therefore, the aim of this study was to investigate the influence of roasting intensity across eight date seed cultivars on quality traits of brewed date seed beverages. A combination of digital technologies, including NIR spectroscopy, e-nose, and headspace solid-phase microextraction gas chromatography-mass spectrometry (HS-SPME-GC-MS), was used to evaluate volatile profiles, chemical attributes, and classification performance. This research aims to contribute to a better understanding of how roasting and cultivar selection affect the development of high-quality, coffee-like beverages from date seeds.

2. Materials and Methods

2.1. Sample Preparation

Eight date cultivars at the Tamar ripening stage (Zahidi, Medjool, Deglet nour, Thoory, Halawi, Barhee, Khadrawy, and Bau Strami) were used in this study, obtained from the Desert Fruit Company (Alice Springs, Northern Territory, Australia). Date fruits were processed following the protocol described by Shi et al. [9]. First, the flesh and seeds were separated, and for each sample, 30 g of seeds were divided into three parts (10 g each) then roasted at three roasting levels (180 °C, 10 min; 200 °C, 10 min; 220 °C, 10 min) in a Qualtex Solidstat oven (Model IW24S, Qualtex Inc., Brisbane, Australia), based on the method of Wu et al. [10] with modifications. Roasting temperatures were monitored via the oven’s built-in thermometer, and roasting levels were quantified using the Agtron Scale as a standard reference. After roasting, the date seeds were ground into a powder with an 800 g capacity grinder (Laobenhang, model 400Y, Yongkang, Zhejiang, China) and sequentially sieved through a dual-layer mesh screen (upper 80-mesh and lower 100-mesh) to ensure uniform particle size distribution. For brewing, 2.5 g of the ground date seed powder was extracted using a Breville Creatista® Plus espresso machine (Breville Pty Ltd., Sydney, Australia) in Espresso mode, dispensing a constant volume of 25 mL at 78 °C. Each extraction was performed in triplicate. In total, 24 liquid samples derived from the different roasting conditions and cultivars (Table 1) were prepared for subsequent analysis.

2.2. Physicochemical Characterization of Date Seed Beverage Brew

2.2.1. pH Measurement

The pH of the date seed brew was assessed in triplicate with a LAQUAtwin Compact pH meter (HORIBA’s, Kyoto, Japan). The meter was calibrated prior to use with three standard buffer solutions at pH 4.0, 7.0, and 9.0.

2.2.2. Color Measurement

The color of date seed beverage samples with different roasting levels was measured in triplicate using a hand-held colorimeter NIX (Nix Pro Color Sensor™, Nix Sensor Ltd., Ontario, CA, USA). For powdered samples, 5 g of ground date seed was evenly distributed in a transparent plastic dish to create a uniform surface, and color measurements were taken at random positions across the sample area. For beverage samples, the colorimeter was immersed in 2 mL of the sample without touching the bottom of the container, and readings were taken against a pure white background. The background color was measured separately. The colorimetric coordinates (L*, a*, b*) were recorded and analyzed. The color difference (ΔE) was calculated using the following equation:
Δ E = L a 1 * L a 2 * 2 + a a 1 * a a 2 * 2 + b a 1 * b a 2 * 2
where a1 is the average value of the first roasting level of date seed beverages, and a2 is the average value of the second roasting level of date seed beverages.

2.3. Near-Infrared Spectroscopy (NIR) Analysis

A handheld near-infrared (NIR) spectrometer, the microPHAZIR™ (RX Analyzer; Thermo Fisher Scientific, Waltham, MA, USA), was employed to assess both date seed powder and beverage samples, following the method described by Gonzalez Viejo, et al. [11]. The device operated across a spectral range of 1596–2396 nm. Measurements were performed in triplicate, with three readings per replicate (n = 9 measurements per sample). For measurement, a 7.0 cm qualitative grade 3 Whatman® filter paper (Whatman plc, Maidstone, UK) was soaked in each date seed beverage sample. To minimize interference from ambient light, a white background was placed above the sample during analysis. The absorbance readings of the dry, blank filter paper were deducted from those of the wet, sample-loaded filter paper to isolate the spectral signature of the date seed beverage, following the method of Gonzalez Viejo, Fuentes, Torrico, Howell and Dunshea [11]. Spectral data were processed using The Unscrambler X (version 10.3; CAMO Software, Oslo, Norway), applying Savitzky–Golay filtering to obtain first derivative spectra for subsequent analysis.

2.4. E-Nose and Data Extraction

To evaluate the volatile compounds in date seed beverage samples, a cost-effective and portable e-nose designed by the University of Melbourne’s Digital Agriculture Food and Wine Group (DAFW-UoM) was employed, as described by Gonzalez, et al. [12,13,14]. The device comprised nine different gas sensors: (i) MQ3: Alcohol (ethanol), (ii) MQ4: Methane (CH4), (iii) MQ7: Carbon monoxide (CO), (iv) MQ8: Hydrogen (H2), (v) MQ135: NH3/alcohol/benzene, (vi) MQ136: Hydrogen sulfide (H2S), (vii) MQ137: NH3, (viii) MQ138: Benzene/alcohol/NH3, and (ix) MG811: Carbon dioxide (CO2). Prior to measurement, a 30 s baseline reading was recorded, followed by a 1 min exposure of the samples to the sensors. Signal outputs were analyzed using a custom MATLAB® R2021a (MathWorks, Inc., Natick, MA, USA) script developed by DAFW-UoM. The software displayed sensor signal curves to identify the most stable region, which was then divided into 10 equal segments to calculate mean values for each section automatically [13].

2.5. Identification and Quantification of Volatiles by HS-SPME-GC-MS

The volatile composition of date seed beverage samples was characterized using an optimized headspace solid-phase microextraction gas chromatography-mass spectrometry (HS-SPME-GC-MS) protocol based on methodologies from Gonzalez Viejo, Tongson and Fuentes [13] and Wu et al. [15]. The analytical system consisted of three integrated components: (1) an Agilent 6850 Series II gas chromatograph (Agilent Technologies, Santa Clara, CA, USA), (2) a PAL RSI I20 automated headspace sampler (CTC Analytics AG, Zwingen, Switzerland), (3) an Agilent 5973 mass selective detector (Agilent Technologies, Santa Clara, CA, USA). Separation was achieved using an Agilent DB-Wax capillary column (30 m × 0.25 mm ID, 0.25 μm film thickness) paired with a 65 μm PDMS/DVB extraction fiber (Sigma-Aldrich, Sydney, Australia).
Helium served as the mobile phase at a constant head pressure of 60 kPa. Sample preparation involved 15 min thermal equilibration at 60 °C before volatile collection. The extraction process comprised 15 min adsorption followed by 6 min thermal desorption. The temperature gradient program initiated at 40 °C (5 min hold), then ramped at 5 °C/min to 190 °C (8 min), followed by a 10 °C/min increase to 220 °C (10 min final hold). Mass spectra were acquired in SCAN mode (35–350 m/z range) with a 2 min solvent delay.
A 2.5 g portion of date seed powder was mixed with 100 μL of 100 mg/L 3-heptanone as an internal standard and transferred into vials for analysis. The mixture was injected following the temperature gradient program previously described. The linear retention index (LRI) of each volatile compound was calculated using a series of n-alkane standards (C7–C30), according to the following equation:
LRI   target   compound = 100   × R T X     R T n R T n + 1     R T n + n
where RTx is the retention time of the target compound, and RTn and RTn+1 are the retention times of the n-alkanes eluting immediately before and after the target compound, respectively. The identification of volatile compounds in date seed beverage samples involved comprehensive spectral matching, with linear retention indices (LRIs) validated against reference values in the National Institute of Standards and Technology (NIST; National Institute of Standards and Technology, Gaithersburg, MD, USA) library and mass spectra compared to authentic standards in the NIST Mass Spectral Database (Washington, DC, USA). Following confirmation of compound identity through both LRI and mass spectral data, semi-quantitative analysis was performed by normalizing the peak areas of target compounds against the internal standard. Relative concentrations were subsequently determined using calibration curves constructed from analytical standards of known concentrations.

2.6. Statistical Analysis and Machine Learning (ML) Modeling

All results were presented as mean ± standard error (SE) based on three independent replicates, with values corrected by subtracting the corresponding blank or control measurements. Statistical analyses were performed using Minitab® 19 (Minitab Inc., Chicago, IL, USA) and GraphPad Prism version 9.0 (GraphPad Software, La Jolla, CA, USA). One-way analysis of variance (ANOVA) was conducted to evaluate differences among sample groups, with statistical significance set at p < 0.05. Pairwise comparisons were performed using Tukey’s HSD post hoc test (α = 0.05).
Four ML models were constructed using a MATLAB R2019b code developed by the Digital Agriculture Food and Wine group at the University of Melbourne to assess 17 training algorithms and identify the most accurate models with no under- or overfitting in a loop [16] as shown in Figure 1. Models 1 and 2 were developed for classification using the absorbance values obtained from NIR spectra within the range of 1596 and 2396 nm, and e-nose outputs, as inputs, respectively, to predict the cultivar of date seeds and the roasting level of date seed powder. For the NIR analysis, each sample was scanned in triplicate to account for instrumental variability. For the e-nose analysis, 10 consecutive measurements were collected from each sample after the gas sensors had stabilized. All models were constructed using the Bayesian regularization algorithm. Samples were divided using a random data division (dividerand) algorithm, with 70% allocated for the training stage and 30% for testing, based on a performance algorithm that minimized the mean squared error (MSE).

3. Results and Discussion

3.1. Physicochemical Properties

3.1.1. pH

The pH values of date seed beverages produced from eight cultivars of date seeds at three roasting levels are shown in Table 2. Overall, the roasting intensity significantly influenced the pH of the beverages. Beverages made from the Zahidi cultivar consistently exhibited the highest pH values across all roasting levels. In contrast, beverages produced from the Khadrawy cultivar showed the lowest pH values in each corresponding category. In addition, lightly roasted date seed beverages had significantly higher pH values (p < 0.05) compared to medium and dark roasted counterparts, with an overall average pH of 5.95. In some cases, the difference in pH between medium and dark roasts was not significant (p > 0.05); for example, in the Khadrawy cultivar (medium roasted: 3.79; dark roasted: 3.39). Nonetheless, a general trend of decreasing pH with increasing roasting intensity was observed. This reduction in pH may be attributed to the formation and subsequent dissolution of acidic compounds, such as pyruvic acid, during the caramelization process that occurs during roasting [17]. These findings are consistent with those reported by Fikry, Yusof, Al-Awaadh, Rahman, Chin, Mousa and Chang [8], who investigated the impact of roasting on the Sukkari date seed cultivar.

3.1.2. Color Measurement

The color of date seed beverages, a key quality attribute influencing consumer acceptance, was significantly affected by both roasting level and cultivar. The color values (L*, a*, and b*) of all the beverage samples and the color difference (ΔE) between the average value of the date seed beverages at different roasting levels are shown in Table 3. In this study, the roasting intensity had a significant impact on color, both in the date seed powder and the resulting beverages. A substantial color difference was observed between light and medium roasting levels (powder: ΔE = 20.62; beverage: ΔE = 18.51). In contrast, the differences between medium and dark roasting were relatively minor (powder: ΔE = 6.08; beverage: ΔE = 2.86), suggesting that beyond a certain threshold, the incremental effect of increasing temperature on color diminishes. In general, L* values decreased with increasing roasting intensity, indicating a progressive darkening of the samples. Similar trends were also observed for the a* and b* values, which may reflect changes in red-green and yellow-blue chromatic components, respectively. This has been previously reported by Babiker et al. [18] and Tsai and Jioe [19] who studied the effect of roasting level on Soukari cultivar date seeds and Coffea Arabica typical from three different origins, respectively. This phenomenon is primarily produced through the Maillard reaction and sugar caramelization reaction during roasting, which is widely observed in coffee and coffee-like beverages. The products generated from these reactions may exhibit functional properties and unique aromas [20].
Variations in color attributes were also evident among different date seed cultivars at specific roasting levels. Among the lightly roasted date seed powders, the Thoory cultivar had the highest L* value (51.9), along with relatively elevated a* and b* values (14.4 and 23.1, respectively), indicating a lighter and more vividly colored appearance. In contrast, the Barhee cultivar showed the lowest values across all three color parameters, suggesting a comparatively darker and less chromatic profile. After medium roasting, the color differences among the various date seed powders became less pronounced. No significant differences (p > 0.05) were observed in L*, a*, or b* values among the cultivars at this roasting level. However, with dark roasting, significant variations re-emerged. At this stage, the Bau Strami cultivar had the highest L* value (22.83), indicating a relatively lighter appearance compared to other cultivars. The Medjool cultivar had the highest a* (13.47) and b* (14.97) values, reflecting greater red and yellow color intensities, respectively.
No significant differences in L* values were observed among the beverages prepared from lightly roasted date seeds (p > 0.05). However, the Zahidi cultivar exhibited the highest a* value (5.13) among all eight cultivars, suggesting a more pronounced reddish hue in beverages brewed from Zahidi seeds at this roasting level. All lightly roasted beverages displayed negative b* values, indicating a bluish tint. At the medium roasting level, the highest L* value was recorded for the Khadrawy cultivar (54.77), while the lowest was found in the Zahidi cultivar (44.70). Compared to the lightly roasted samples, the average a* value significantly decreased from 3.43 to 1.74, indicating a reduction in red color intensity as roasting temperature increased. Conversely, the b* values increased substantially, with the average b* shifting from −13.43 to 4.33. This shift reflects a perceptible transition in color from bluish in lightly roasted beverages to yellowish in medium-roasted ones.
This trend became more pronounced at the dark roasting level. The average L* (46.77) and a* (1.44) values continued to decrease, but the average b* value increased further to 6.65, giving the beverages a deeper brown appearance. Such color development agrees with expectations for coffee alternatives and is primarily attributed to Maillard and caramelization reactions. However, the significant color variation among beverages at this roasting level may influence consumer perception and acceptance due to visual differences in the final product.

3.2. Near-Infrared Spectroscopy (NIR) Analysis

To further understand the chemical basis for the observed physicochemical differences, NIR was employed. The first derivative spectra of the NIR absorbance scans for roasted date seed powder and beverage samples are presented in Figure 2. The major absorbance peaks for the powder samples ranged from 1673 to 2396 nm, whereas the beverage samples exhibited peak regions between 1720 and 1927 nm and 2238–2396 nm. These spectral features correspond to the vibrational overtones and combination bands of various chemical groups associated with compounds such as water, lipids, carbohydrates, and volatile constituents. Based on the assignment of these NIR absorption peaks, the following compounds were tentatively identified: aliphatic hydrocarbons (1730 and 2368 nm), alcohols (1737 nm), aromatic hydrocarbons (1775 nm), sucrose (2306–2312 nm), aryl compounds (1694 and 2153–2172 nm), cellulose (1825 and 2275 nm), lipids (2315 nm), and polyamides (2217 nm), as reported by [21]. The NIR spectral profiles of both date seed powders and beverages were consistent with findings from previous studies on coffee by Wu, et al. [22], highlighting the similarity in compositional and structural characteristics between roasted date seeds and traditional coffee products.

3.3. Electronic Nose Outputs

The volatile compound profiles of date seed beverage brewed from eight cultivars of date seed at three roasting levels are shown in Figure 3. There were no significant differences in the total voltage responses across all sensors among the eight cultivars at the light and medium roasting levels. However, at the dark roasting level, beverages made from Medjool, Halawi, and Khadrawy cultivars had significantly higher sensor responses compared to the others. Among the sensors, the highest voltage was recorded by the MQ3 sensor, which is primarily sensitive to ethanol, followed by the MQ137 sensor, which detects NH3. These elevated responses suggest a greater release of ethanol and NH3-related volatiles in these particular cultivars after dark roasting, potentially due to increased degradation or transformation of organic compounds at higher roasting temperatures.
During the ripening and storage process of dates, microbial activity can act on the polysaccharides in the fruit, leading to the formation of alcohols and various organic acids, a phenomenon also observed in coffee cherries [23]. These fermentation by-products may become integrated into the cellular matrix of the date seed and subsequently be released during the brewing process. Upon roasting, date seeds emit a range of volatile organic compounds, including aldehydes, ketones, and nitrogen-containing compounds [24]. Some of these volatiles are likely responsible for fluctuations observed in the NH3-sensitive sensors. In this study, the Medjool cultivar showed notably higher NH3 sensor readings following both medium and dark roasting, suggesting an increased release of nitrogenous volatiles. Further, at the dark roasting level, the Medjool date seed beverage exhibited a significantly elevated response in the MQ138 sensor, which is sensitive to benzene and other aromatic compounds. This agrees with the findings of Farag et al. [24], who reported the presence of benzene derivatives in roasted date seed beverages.

3.4. Identification and Quantification of Volatile Compounds in Date Seed Beverage

The concentrations of 25 volatile compounds identified in date seed beverages made from eight cultivars at three roasting levels are presented in Table 4. The data showed significant variations in volatile profiles influenced by roasting level and cultivar differences. The results revealed significant variations in volatile profiles influenced by both roasting level and cultivar. Overall, the total volatile content tended to decrease with increasing roasting intensity, particularly for compound classes such as pyrazines and acids. In contrast, certain furanic compounds (most notably furfural) remained relatively stable across roasting levels. Among the cultivars, Bau Strami consistently exhibited the highest concentrations of key aroma-active compounds, including 2-methylpyrazine (1.76 μg/g in light roasting; 0.66 μg/g in medium roasting; 0.61 μg/g in dark roasting) and phenylethyl alcohol (0.11 μg/g in light roasting; 0.03 μg/g in medium roasting; 0.06 μg/g in dark roasting). These results may suggest the potential suitability of Bau Strami for developing a rich, coffee-like aroma profile, making it a promising candidate as a coffee alternative.
Furfural, an important furanic compound contributing to sweet and caramel-like aromas, also demonstrated cultivar-dependent trends. The Halawi cultivar showed the highest furfural concentrations at light and medium roasting levels (13.98 μg/g and 8.67 μg/g, respectively), while the Thoory cultivar exhibited the highest concentration at the dark roasting level (8.81 μg/g). These findings agree with established Maillard reaction pathways, where early stages of roasting promote the formation of pyrazines, while prolonged thermal exposure leads to their degradation and the concurrent accumulation of more thermally stable compounds such as furans, which is a trend also observed in coffee roasting studies [25,26].
Acetic acid concentrations showed a progressive decline with increasing roasting intensity, decreasing from an average of 7.14 μg/g in light-roasted samples to 3.45 μg/g in dark-roasted samples, likely due to thermal decomposition. Despite this reduction, acetic acid remained one of the most abundant volatile compounds even at the dark roasting stage. According to Diviš et al. [27], its formation is primarily attributed to the thermal degradation of saccharides (in particular sucrose and fructose) during the roasting process. This observation is consistent with findings from thermal degradation studies of carbohydrate-rich matrices, where hexose and pentose sugars undergo dehydration and fragmentation reactions that generate various organic acids, with acetic acid being a predominant byproduct [28].
The persistence of acetic acid at elevated roasting temperatures suggests a degree of thermal stability relative to other volatile compounds. Its continued presence contributes to the sour or overripe fruit-like aroma often perceived in roasted date seed beverages. This trend was most apparent in the Zahidi cultivar, where acetic acid concentrations declined from 8.42 μg/g in light-roasted samples to 2.97 μg/g in dark-roasted samples. A similar degradation pattern was observed for pyrazines. For example, 2,5-dimethylpyrazine showed an approximate 50% reduction in concentration from light to dark roasting across most cultivars. However, the Medjool cultivar demonstrated a significant retention of pyrazine compounds, particularly under medium-roasting conditions. This may suggest a possible cultivar-specific thermal stability or protective matrix effect that limits degradation of these aroma-contributing volatiles.
The persistence of furanic compounds, particularly furfural, contrasts with the general decline in volatile compounds observed with increasing roasting intensity. Although most volatile compounds decreased significantly as roasting intensity progressed, furfural concentrations remained relatively stable, exhibiting only a 20–30% reduction from light to dark roasting across most cultivars. This relative stability may be attributed to the continuous degradation of sugars, particularly pentoses, which continue to produce furfural even at elevated temperatures [29]. The Thoory cultivar demonstrated especially high furfural level, maintaining concentrations above 8 μg/g even at the dark roasting level. This trend mirrors observations in coffee roasting, where furfural functions as a key marker of caramelization and contributes to sweet, burnt-sugar aroma notes [30]. The ability of furfural to persist under high thermal conditions highlights its potential importance in contributing to the aroma complexity and sensory appeal of date seed beverages, particularly as a coffee alternative.
Minor volatile components showed more complex and non-linear patterns across roasting levels. For example, phenylethyl alcohol concentrations in the Bau Strami cultivar decreased from light to medium roasting, followed by a rebound at the dark roasting level. This irregular trend suggests the involvement of multiple, potentially competing chemical pathways, including both thermal degradation and formation from phenolic precursors. A similar pattern was observed for maltol, a compound known for its sweet, caramel-like aroma. Maltol concentrations peaked in medium-roasted samples before declining in dark-roasted samples, indicating that its formation is favored within a specific temperature range. These irregular variations highlight the intricate nature of aroma compound development during the roasting of date seeds. They emphasize the importance of precise temperature control and roasting optimization in order to maximize desirable flavor compounds while minimizing degradation. This control is essential for producing consistent and appealing sensory profiles, particularly when positioning date seed beverages as high-quality coffee alternatives.
The comparative analysis of cultivar performance revealed three distinct groups based on their volatile compound profiles. The Bau Strami and Medjool cultivars were identified as pyrazine-dominant, making them particularly well-suited for developing coffee-like roasted aromas. In contrast, the Halawi and Thoory cultivars demonstrated higher levels of furanic compounds, which are associated with sweet, caramel-like aromatic notes. The remaining cultivars (i.e., Zahidi, Deglet nour, Khadrawy, and Barhee) showed more complex and mixed volatile profiles, suggesting a broader range of aroma characteristics. These differences are likely attributable to intrinsic variations in the chemical composition of each cultivar, particularly in the ratios of reducing sugars to free amino acids, which play a critical role in driving Maillard reaction pathways [31]. The findings of this study highlight the potential of cultivar selection as a tool to modulate and optimize the aroma profiles of roasted date seed beverages, thereby enhancing their sensory appeal and positioning them as viable and attractive coffee alternatives.
Table 4. Concentrations of volatile compounds identified in date seed beverages by HS-SPME-GC-MS.
Table 4. Concentrations of volatile compounds identified in date seed beverages by HS-SPME-GC-MS.
No.Compound NameMolecular FormulaAromaRT * (min)Concentration (μg/g)
Light Roasting
ZA-LIME-LIDN-LITH-LIHA-LIBA-LIKH-LIBS-LI
12-methyltetrahydrofuran-3-oneC5H8O2Sweet/bready/buttery14.640.190.130.150.240.210.160.150.15
22-MethylpyrazineC5H6N2Nutty/cocoa/roasted14.730.590.720.511.030.951.100.351.76
3AcetoinC4H8O2Sweet/buttery/creamy15.290.290.390.170.250.891.020.710.39
42,5-DimethylpyrazineC6H8N2Nutty/peanut/musty/earthy16.540.050.090.050.100.100.110.030.24
52,6-DimethylpyrazineC6H8N2Chocolate/nutty/roasted16.720.130.160.120.240.240.260.100.49
62-EthylpyrazineC6H8N2Nutty/roasted/cocoa/coffee16.890.090.120.080.160.130.170.060.31
72,3-dimethylpyrazineC6H8N2Nutty/cocoa/coffee/walnut17.260.030.030.020.030.050.070.050.10
82-Ethyl-6-methylpyrazineC7H10N2Roasted potato18.470.050.070.050.100.080.110.050.21
9Acetic acidC2H4O2Sour/overripe fruit20.288.425.938.618.768.096.823.257.21
10FurfuralC5H4O2Sweet/woody/bready/caramel20.6411.165.6710.1812.8413.987.725.914.49
112-Furyl methyl ketoneC6H6O2Sweet/balsamic/almond/cocoa21.831.921.461.572.672.301.630.922.05
122-AcetoxymethylfuranC7H8O3Sweet/fruity/banana/horseradish22.760.380.210.260.380.200.230.220.30
132,3-ButanediolC4H10O2Fruity/creamy/buttery22.930.040.690.030.020.190.420.161.45
142-FuranmethanolC5H6O2Sweet/bready/coffee26.080.120.140.100.140.110.140.030.17
152(5H)-FuranoneC4H4O2Buttery28.330.240.280.200.360.290.290.130.46
16NonanalC9H18ORose/orris/orange peel/fatty18.660.020.020.040.040.040.020.010.01
175-Methylfurfuryl alcoholC6H8O2Caramellic/roasted/sweet/nutty27.660.020.040.010.020.020.03-0.06
182,3,5,6-TetramethylpyrazineC8H12N2Nutty/musty/chocolate/coffee21.06-----0.030.020.03
19Ethyl octanoateC10H20O2Fruity/winey/waxy/sweet19.93-0.01-----0.05
202-Methoxy-4-vinylphenolC7H8O2Spicy/peppery/smoky/woody30.930.020.010.010.010.010.020.030.02
21BenzaldehydeC7H6OSharp/bitter/almond22.300.060.030.030.050.050.030.020.03
22Dimethyl trisulfideC2H6S3Sulfurous/cooked onion/savory18.180.010.010.010.01-0.01-0.01
23StyreneC8H8Sweet/balsamic/floral/plastic14.380.030.010.020.020.020.020.010.02
24MaltolC6H6O3Sweet/caramellic/bread baked33.360.110.130.080.210.130.120.040.34
25Phenylethyl AlcoholC8H10OFloral/rose32.180.010.040.010.020.020.030.010.11
No.Compound NameMolecular FormulaAromaRT * (min)Concentration (μg/g)
Medium Roasting
ZA-MEME-MEDN-METH-MEHA-MEBA-MEKH-MEBS-ME
12-methyltetrahydrofuran-3-oneC5H8O2Sweet/bready/buttery14.640.130.140.110.160.130.180.120.18
22-MethylpyrazineC5H6N2Nutty/cocoa/roasted14.730.200.330.170.230.220.460.180.66
3AcetoinC4H8O2Sweet/buttery/creamy15.290.150.160.070.090.940.861.220.20
42,5-DimethylpyrazineC6H8N2Nutty/peanut/musty/earthy16.540.020.030.020.020.020.050.010.07
52,6-DimethylpyrazineC6H8N2Chocolate/nutty/roasted16.720.050.080.050.070.060.130.050.20
62-EthylpyrazineC6H8N2Nutty/roasted/cocoa/coffee16.890.040.060.030.040.030.080.030.13
72,3-dimethylpyrazineC6H8N2Nutty/cocoa/coffee/walnut17.260.010.02-0.010.020.050.020.04
82-Ethyl-6-methylpyrazineC7H10N2Roasted potato18.470.030.040.020.030.030.060.020.11
9Acetic acidC2H4O2Sour/overripe fruit20.284.214.913.974.434.055.483.575.55
10FurfuralC5H4O2Sweet/woody/bready/caramellic20.647.116.717.308.718.677.506.364.79
112-Furyl methyl ketoneC6H6O2Sweet/balsamic/almond/cocoa21.830.941.040.781.120.941.230.841.28
122-AcetoxymethylfuranC7H8O3Sweet/fruity/banana/horseradish22.760.270.210.170.250.130.240.180.28
132,3-ButanediolC4H10O2Fruity/creamy/buttery22.930.020.220.030.010.240.210.080.74
142-FuranmethanolC5H6O2Sweet/bready/coffee26.080.030.050.030.030.030.040.030.05
152(5H)-FuranoneC4H4O2Buttery28.330.090.130.080.120.120.150.080.19
16NonanalC9H18ORose/orris/orange peel/fatty18.660.010.010.020.010.030.01-0.01
175-Methylfurfuryl alcoholC6H8O2Caramellic/roasted/sweet/nutty27.66--------
182,3,5,6-TetramethylpyrazineC8H12N2Nutty/musty/chocolate/coffee21.06-----0.02-0.01
19Ethyl octanoateC10H20O2Fruity/winey/waxy/sweet19.93-0.02-----0.05
202-Methoxy-4-vinylphenolC7H8O2Spicy/peppery/smoky/woody30.930.010.020.010.010.010.020.010.01
21BenzaldehydeC7H6OSharp/bitter/almond22.300.030.020.020.020.030.030.030.02
22Dimethyl trisulfideC2H6S3Sulfurous/cooked onion/savory18.18-0.01-----0.01
23StyreneC8H8Sweet/balsamic/floral/plastic14.380.020.030.010.010.020.020.010.02
24MaltolC6H6O3Sweet/caramellic/bread baked33.360.030.040.020.040.040.050.020.07
25Phenylethyl AlcoholC8H10OFloral/rose32.180.010.030.010.010.010.010.010.03
No.Compound NameMolecular FormulaAromaRT * (min)Concentration (μg/g)
Dark Roasting
ZA-DAME-DADN-DATH-DAHA-DABA-DAKH-DABS-DA
12-methyltetrahydrofuran-3-oneC5H8O2Sweet/bready/buttery14.640.110.190.110.150.140.150.110.15
22-MethylpyrazineC5H6N2Nutty/cocoa/roasted14.730.140.280.140.190.190.350.140.61
3AcetoinC4H8O2Sweet/buttery/creamy15.290.120.150.070.090.590.710.730.14
42,5-DimethylpyrazineC6H8N2Nutty/peanut/musty/earthy16.540.010.040.040.020.020.030.040.06
52,6-DimethylpyrazineC6H8N2Chocolate/nutty/roasted16.720.040.090.040.050.050.100.040.19
62-EthylpyrazineC6H8N2Nutty/roasted/cocoa/coffee16.890.020.050.020.040.030.060.020.11
72,3-dimethylpyrazineC6H8N2Nutty/cocoa/coffee/walnut17.260.010.020.010.010.020.050.020.04
82-Ethyl-6-methylpyrazineC7H10N2Roasted potato18.470.020.040.020.020.020.050.020.10
9Acetic acidC2H4O2Sour/overripe fruit20.282.973.713.783.583.383.253.213.73
10FurfuralC5H4O2Sweet/woody/bready/caramellic20.646.305.917.688.818.575.917.544.43
112-Furyl methyl ketoneC6H6O2Sweet/balsamic/almond/cocoa21.830.740.910.821.000.900.920.941.18
122-AcetoxymethylfuranC7H8O3Sweet/fruity/banana/horseradish22.760.270.360.240.270.170.220.270.31
132,3-ButanediolC4H10O2Fruity/creamy/buttery22.930.020.280.02-0.130.160.060.64
142-FuranmethanolC5H6O2Sweet/bready/coffee26.080.020.030.020.030.020.030.020.04
152(5H)-FuranoneC4H4O2Buttery28.330.100.120.110.140.140.130.110.19
16NonanalC9H18ORose/orris/orange peel/fatty18.660.010.010.010.010.020.010.010.01
175-Methylfurfuryl alcoholC6H8O2Caramellic/roasted/sweet/nutty27.66--------
182,3,5,6-TetramethylpyrazineC8H12N2Nutty/musty/chocolate/coffee21.06-----0.02--
19Ethyl octanoateC10H20O2Fruity/winey/waxy/sweet19.93-0.01-----0.08
202-Methoxy-4-vinylphenolC7H8O2Spicy/peppery/smoky/woody30.930.020.050.020.010.010.030.030.02
21BenzaldehydeC7H6OSharp/bitter/almond22.300.020.020.020.020.020.020.020.02
22Dimethyl trisulfideC2H6S3Sulfurous/cooked onion/savory18.18-0.01------
23StyreneC8H8Sweet/balsamic/floral/plastic14.380.010.010.010.010.010.010.010.01
24MaltolC6H6O3Sweet/caramellic/bread baked33.360.030.030.030.030.040.040.020.06
25Phenylethyl AlcoholC8H10OFloral/rose32.180.010.030.010.010.010.010.010.06
* RT: retention time; -: volatile compound not detected. Note. Aroma descriptors were compiled from The Good Scents Company [32], accessed 9 June 2025.

3.5. Machine Learning Modeling

As shown in Table 5, Model 1 achieved an overall classification accuracy of 99.1% in distinguishing between different types of date seed beverages using NIR absorbance values as input features. The training mean squared error (MSE) was 2.33 × 10−10, while the testing MSE was 0.11, indicating no evidence of underfitting or overfitting and demonstrating strong generalization to unseen data. Model 2, developed using electronic nose sensor outputs as inputs, also exhibited excellent performance, achieving an overall accuracy of 97.8%, comparable to that of Model 1. Similarly, the training MSE (1.42 × 10−9) was substantially lower than the testing MSE (0.11). This further confirms the absence of overfitting and suggests robust predictive capabilities. The consistent performance across both training and testing datasets, as well as the reproducibility of the results across multiple retraining attempts, reinforces the reliability and generalizability of both models for accurately classifying date seed beverage samples based on their volatile or spectral signatures.
The receiver operating characteristic curves for Models 1 and 2 are presented in Figure 4, with both models displaying curves that closely approach the top-left corner of the plot, an indicative of high sensitivity (true positive rate) and strong overall classification performance. However, Model 2 demonstrated relatively lower sensitivity for samples derived from lightly roasted date seeds compared to those from medium and dark roasts. This reduced sensitivity may be attributed to the incomplete progression of Maillard reactions and caramelization at lower roasting temperatures, which limits the formation of volatile organic compounds detectable by the electronic nose. Therefore, the chemical profiles of lightly roasted samples exhibit fewer distinct features, leading to reduced sensor output variability and, consequently, a diminished capacity of the model to distinguish between these samples with high precision.
Table 6 summarizes the performance of Models 3 and 4, both designed to predict the concentrations of 25 volatile compounds detected by GC-MS. Model 3, which used NIR absorbance values (1596–2396 nm), achieved a correlation coefficient of R = 0.88, while Model 4, based on e-nose sensor outputs, achieved a slightly higher correlation of R = 0.90. Both models showed strong predictive performance without signs of underfitting or overfitting. The training mean squared error (MSE) values were lower than those of the testing phase, indicating good generalization to new data (Model 3: training MSE = 0.006, testing MSE = 0.240; Model 4: training MSE = 0.051, testing MSE = 0.063). These results demonstrate the effectiveness of both NIR spectroscopy and e-nose data as reliable, non-destructive tools for predicting volatile profiles in roasted date seed beverages.
Figure 5 illustrates the overall regression results of Models 3 and 4, each accompanied by 95% prediction bounds. Both models exhibited a strong fit, with 5% outliers identified in each case (90 out of 1800 data points). In Model 3, most outliers were associated with furfural, dimethyl trisulfide, and 2,3-butanediol. Similarly, Model 4 showed a comparable outlier rate, with deviations primarily observed in dimethyl trisulfide and 2-furanmethanol predictions. In support of these findings, prior research by Wu, Lu, Liu, Sharifi-Rad and Suleria [15] reported high predictive accuracy (R = 0.96–0.99) using ANN models based on NIR and e-nose data to estimate the concentrations of 14 volatile aromatic compounds in coffee. The consistency across studies supports the effectiveness of combining spectroscopic and sensor-based data with machine learning for volatile compound prediction in complex beverage matrices.
The developed models demonstrated that both NIR (Models 1 and 3) and e-nose systems (Models 2 and 4) effectively captured significant patterns within the input data, enabling accurate predictions of cultivar, roasting level, and volatile aromatic compound concentrations in date seed beverages. These tools allowed for the objective, rapid, and reliable assessment of key beverage quality attributes using portable, cost-effective, and user-friendly technologies. Future research could focus on developing advanced machine learning models that use e-nose outputs to predict the intensity of sensory descriptors, such as aroma, flavor, and mouthfeel. This approach would offer deeper predictive information into the relationships between product processing, chemical composition, sensory perception, and consumer acceptance, ultimately supporting the optimization and commercialization of date seed beverages as coffee alternatives.

4. Conclusions

This study demonstrated that roasting level and cultivar significantly influence the physicochemical and aromatic properties of date seed beverages. Key volatile compounds, such as pyrazines and furanic compounds, varied across cultivars and roasting intensities, affecting the sensory attributes of the final product. The application of NIR spectroscopy and e-nose technologies, combined with ANN models, enabled accurate prediction of volatile compound concentrations in different cultivars and roasting intensities. These findings confirm the effectiveness of low-cost, non-destructive analytical tools for quality assessment and classification. Overall, the results support the potential of date seeds as an underutilized raw material for developing coffee-like beverages and suggest that optimized roasting conditions and appropriate cultivar selection can contribute to consistent quality and broader application within the beverage industry.

Author Contributions

Conceptualization, L.S. and H.A.R.S.; methodology, L.S., H.W., C.G.V. and H.A.R.S.; software, L.S.; formal analysis, L.S.; investigation, L.S. and H.A.R.S.; resources, H.A.R.S.; data curation, F.A.; writing—original draft preparation, L.S.; writing—review and editing, H.W., K.G., C.G.V., S.F., F.A. and H.A.R.S.; visualization, F.A. and H.A.R.S.; supervision, K.G., C.G.V., S.F., F.A. and H.A.R.S.; project administration, H.A.R.S.; funding acquisition, H.A.R.S. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Australian Government under “Australian Research Council—Discovery Early Career Award”, grant number ARC-DECRA—DE220100055; This research was funded by the University of Melbourne under “McKenzie Fellowship Scheme”, grant number UoM-18/21; This research was funded by the University of Melbourne under “Future Food Hallmark Research Initiative Funds”, grant number UoM-21/23; This research was funded by the Faculty of Veterinary and Agricultural Sciences, the University of Melbourne, Australia under “Collaborative Research Development Grant”, grant number UoM-21/23.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

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

Acknowledgments

We would like to thank Girija Page (Senior Research Horticulturist), Tourism and Trade (DITT), Northern Territory Government, Australia, for collaborating and supporting this research study. We would like to thank Shaun O’Connor for providing us with different Australian-grown date samples. We would like to thank the Honours/Master/PhD and postdoctoral researchers of the Hafiz Suleria group from School of Agriculture, Food and Ecosystem Sciences, Faculty of Science (the University of Melbourne) for their support.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Souda, B.; Rami, R.; Jalloul, B.; Mohamed, D. Roasted date palm seeds (Phoenix dactylifera) as an alternative coffee: Chemical composition and bioactive properties. Biomass Convers. Biorefin. 2022, 12, 3771–3781. [Google Scholar] [CrossRef]
  2. Shi, L.; de Souza, T.S.P.; Ahmadi, F.; Imran, A.; Dunshea, F.R.; Barrow, C.; Suleria, H.A.R. Valorization of Date Fruit (Phoenix dactylifera L.) Processing Waste and By-Products: A Review. Appl. Sci. 2023, 13, 12315. [Google Scholar] [CrossRef]
  3. Niazi, S.; Khan, I.M.; Rasheed, S.; Niazi, F.; Shoaib, M.; Raza, H.; Iqbal, M.W. An overview: Date palm seed coffee, a functional beverage. Int. J. Public Health 2017, 2, 18–25. [Google Scholar]
  4. Ghnimi, S.; Almansoori, R.; Jobe, B.; Hassan, M.; Afaf, K. Quality evaluation of coffee-like beverage from date seeds (Phoenix dactylifera L.). J. Food Process. Technol. 2015, 6, 1000525. [Google Scholar] [CrossRef]
  5. Hu, G.; Peng, X.; Gao, Y.; Huang, Y.; Li, X.; Su, H.; Qiu, M. Effect of roasting degree of coffee beans on sensory evaluation: Research from the perspective of major chemical ingredients. Food Chem. 2020, 331, 127329. [Google Scholar] [CrossRef]
  6. Choi, S.; Jung, S.; Ko, K.S. Effects of Coffee Extracts with Different Roasting Degrees on Antioxidant and Anti-Inflammatory Systems in Mice. Nutrients 2018, 10, 363. [Google Scholar] [CrossRef]
  7. Ismail, W.M.; Zayed, A.; Ramadan, N.S.; Sakna, S.T.; Farag, M.A. GC-MS based nutritional and aroma profiling of date palm seeds collected from different Egyptian cultivars for valorization purposes. Sci. Rep. 2025, 15, 16531. [Google Scholar] [CrossRef]
  8. Fikry, M.; Yusof, Y.A.; Al-Awaadh, A.M.; Rahman, R.A.; Chin, N.L.; Mousa, E.; Chang, L.S. Effect of the Roasting Conditions on the Physicochemical, Quality and Sensory Attributes of Coffee-Like Powder and Brew from Defatted Palm Date Seeds. Foods 2019, 8, 61. [Google Scholar] [CrossRef]
  9. Shi, L.; Ghafoor, K.; Viejo, C.G.; Jara, S.A.F.; Ahmadi, F.; Suleria, H.A. Impact of Roasting Temperature on Antioxidant Activities and Characterization of Polyphenols in Date Seed Beverages from Different Cultivars. J. Food Sci. 2025, 90, e70242. [Google Scholar] [CrossRef] [PubMed]
  10. Wu, H.; Viejo, C.G.; Fuentes, S.; Dunshea, F.R.; Suleria, H.A. Evaluation of spontaneous fermentation impact on the physicochemical properties and sensory profile of green and roasted arabica coffee by digital technologies. Food Res. Int. 2024, 176, 113800. [Google Scholar] [CrossRef]
  11. Gonzalez Viejo, C.; Fuentes, S.; Torrico, D.; Howell, K.; Dunshea, F.R. Assessment of beer quality based on foamability and chemical composition using computer vision algorithms, near infrared spectroscopy and machine learning algorithms. J. Sci. Food Agric. 2018, 98, 618–627. [Google Scholar] [CrossRef] [PubMed]
  12. Gonzalez Viejo, C. The Effect of Bubble Formation Within Carbonated Drinks on the Brewage Foamability, Bubble Dynamics and Sensory Perception by Consumers; The University of Melbourne: Melbourne, Australia, 2020. [Google Scholar]
  13. Gonzalez Viejo, C.; Tongson, E.; Fuentes, S. Integrating a low-cost electronic nose and machine learning modelling to assess coffee aroma profile and intensity. Sensors 2021, 21, 2016. [Google Scholar] [CrossRef]
  14. Gonzalez Viejo, G.; Fuentes, S.; Godbole, A.; Widdicombe, B.; Unnithan, R.R. Development of a low-cost e-nose to assess aroma profiles: An artificial intelligence application to assess beer quality. Sens. Actuators B Chem. 2020, 308, 127688. [Google Scholar] [CrossRef]
  15. Wu, H.; Lu, P.; Liu, Z.; Sharifi-Rad, J.; Suleria, H.A. Impact of roasting on the phenolic and volatile compounds in coffee beans. Food Sci. Nutr. 2022, 10, 2408–2425. [Google Scholar] [CrossRef]
  16. Gonzalez Viejo, C.; Torrico, D.D.; Dunshea, F.R.; Fuentes, S. Emerging technologies based on artificial intelligence to assess the quality and consumer preference of beverages. Beverages 2019, 5, 62. [Google Scholar] [CrossRef]
  17. Yousif, A.K.; Alghzawi, H. Processing and characterization of carob powder. Food Chem. 2000, 69, 283–287. [Google Scholar] [CrossRef]
  18. Babiker, E.E.; Atasoy, G.; Özcan, M.M.; Juhaimi, F.A.; Ghafoor, K.; Ahmed, I.A.M.; Almusallam, I.A. Bioactive compounds, minerals, fatty acids, color, and sensory profile of roasted date (Phoenix dactylifera L.) seed. J. Food Process. Preserv. 2020, 44, e14495. [Google Scholar] [CrossRef]
  19. Tsai, C.-F.; Jioe, I.P.J. The Analysis of Chlorogenic Acid and Caffeine Content and Its Correlation with Coffee Bean Color under Different Roasting Degree and Sources of Coffee (Coffea arabica Typica). Processes 2021, 9, 2040. [Google Scholar] [CrossRef]
  20. Noda, K.; Amano, Y.; Shimamura, Y.; Murata, M. Distribution of pyrrolothiazolate, a pigment formed through the Maillard reaction between cysteine and glucose, in foods and beverages and some of its properties. Food Sci. Technol. Res. 2020, 26, 735–742. [Google Scholar] [CrossRef]
  21. Ciurczak, E.W.; Igne, B.; Workman, J., Jr.; Burns, D.A. Handbook of Near-Infrared Analysis; CRC Press: Boca Raton, FL, USA, 2021. [Google Scholar]
  22. Wu, H.; Viejo, C.G.; Fuentes, S.; Dunshea, F.R.; Suleria, H.A.R. The Impact of Wet Fermentation on Coffee Quality Traits and Volatile Compounds Using Digital Technologies. Fermentation 2023, 9, 68. [Google Scholar] [CrossRef]
  23. Silva, C.F.; Schwan, R.F.; Dias, Ë.S.; Wheals, A.E. Microbial diversity during maturation and natural processing of coffee cherries of Coffea arabica in Brazil. Int. J. Food Microbiol. 2000, 60, 251–260. [Google Scholar] [CrossRef] [PubMed]
  24. Farag, M.A.; Otify, A.M.; El-Sayed, A.M.; Michel, C.G.; ElShebiney, S.A.; Ehrlich, A.; Wessjohann, L.A. Sensory Metabolite Profiling in a Date Pit Based Coffee Substitute and in Response to Roasting as Analyzed via Mass Spectrometry Based Metabolomics. Molecules 2019, 24, 3377. [Google Scholar] [CrossRef] [PubMed]
  25. Gruczyńska, E.; Kowalska, D.; Kozłowska, M.; Majewska, E.; Tarnowska, K. Furan in roasted, ground and brewed coffee. Rocz. Panstw. Zakl. Hig. 2018, 69, 111–118. [Google Scholar]
  26. Doughty, A.; Mackie, J.C.; Palmer, J.M. Kinetics of the thermal decomposition and isomerisation of pyrazine (1,4 diazine). Symp. (Int.) Combust. 1994, 25, 893–900. [Google Scholar] [CrossRef]
  27. Diviš, P.; Pořízka, J.; Kříkala, J. The effect of coffee beans roasting on its chemical composition. Slovak J. Food Sci. Potravin. 2019, 13, 344–350. [Google Scholar] [CrossRef] [PubMed]
  28. Kim, J.-H.; Cho, S.-M.; Choi, J.-H.; Jeong, H.; Lee, S.M.; Koo, B.; Choi, I.-G. A Simultaneous Conversion and Extraction of Furfural from Pentose in Dilute Acid Hydrolysate of Quercus mongolica Using an Aqueous Biphasic System. Appl. Sci. 2021, 11, 163. [Google Scholar] [CrossRef]
  29. Wang, J.; Cheng, Z.; Gao, N.; Zhang, Y.; Wang, M.; Ren, G.; Song, B.; Liang, Q.; Bao, Y.; Tan, H.; et al. Effects of sucrose degradation product furfural on cyanidin-3-O-glucoside: Mechanism of action, stability, and identification of products in sugar solutions. Food Res. Int. 2023, 168, 112788. [Google Scholar] [CrossRef]
  30. Liu, Q.; Zhou, P.; Luo, P.; Wu, P. Occurrence of Furfural and Its Derivatives in Coffee Products in China and Estimation of Dietary Intake. Foods 2023, 12, 200. [Google Scholar] [CrossRef]
  31. Muttucumaru, N.; Powers, S.; Elmore, J.; Briddon, A.; Mottram, D.; Halford, N. Evidence for the complex relationship between free amino acid and sugar concentrations and acrylamide-forming potential in potato. Ann. Appl. Biol. 2014, 164, 286–300. [Google Scholar] [CrossRef]
  32. The Good Scents Company. TGSC Information System—Odor and Flavor Database. Available online: https://www.thegoodscentscompany.com/search.php (accessed on 9 June 2025).
Figure 1. Diagrams of the two-layer feedforward artificial neural network (a) classification Models 1 and 2, and (b) regression Models 3 and 4, showing the specific inputs, targets, and number of neurons used. Abbreviations: W = weights; b = bias.
Figure 1. Diagrams of the two-layer feedforward artificial neural network (a) classification Models 1 and 2, and (b) regression Models 3 and 4, showing the specific inputs, targets, and number of neurons used. Abbreviations: W = weights; b = bias.
Foods 14 03902 g001
Figure 2. Savitzky−Golay first derivative near-infrared (NIR) spectra (1596–2396 nm) of date seed samples in powder form (A) and beverage form (B). Spectral curves of different colors represent individual replicate measurements.
Figure 2. Savitzky−Golay first derivative near-infrared (NIR) spectra (1596–2396 nm) of date seed samples in powder form (A) and beverage form (B). Spectral curves of different colors represent individual replicate measurements.
Foods 14 03902 g002
Figure 3. Stacked mean voltage of the nine different e-nose gas sensors among date seed beverages produced from eight cultivars of date seeds at three roasting levels. Differences are compared for each sensor among samples (bar colors). Different letters (a–f) denote statistically significant differences among cultivar means (p < 0.05), as determined by one-way analysis of variance (ANOVA) followed by Tukey’s post hoc test. For sample abbreviations, refer to Table 1.
Figure 3. Stacked mean voltage of the nine different e-nose gas sensors among date seed beverages produced from eight cultivars of date seeds at three roasting levels. Differences are compared for each sensor among samples (bar colors). Different letters (a–f) denote statistically significant differences among cultivar means (p < 0.05), as determined by one-way analysis of variance (ANOVA) followed by Tukey’s post hoc test. For sample abbreviations, refer to Table 1.
Foods 14 03902 g003
Figure 4. Receiver operating characteristic (ROC) curves comparing prediction performance for date seed roasting level and cultivar: (a) Model 1 developed using inputs of near-infrared spectral data and (b) Model 2 developed using the electronic nose inputs.
Figure 4. Receiver operating characteristic (ROC) curves comparing prediction performance for date seed roasting level and cultivar: (a) Model 1 developed using inputs of near-infrared spectral data and (b) Model 2 developed using the electronic nose inputs.
Foods 14 03902 g004
Figure 5. Regression Models 3 (a) and 4 (b) predicted 25 volatile aromatic compounds identified by GC-MS analysis, as shown in the scatter plots comparing observed (x-axis) versus predicted (y-axis) values. R = correlation coefficient.
Figure 5. Regression Models 3 (a) and 4 (b) predicted 25 volatile aromatic compounds identified by GC-MS analysis, as shown in the scatter plots comparing observed (x-axis) versus predicted (y-axis) values. R = correlation coefficient.
Foods 14 03902 g005
Table 1. Description of date seed beverage samples used in this study, including cultivar, roasting level, and sample abbreviation.
Table 1. Description of date seed beverage samples used in this study, including cultivar, roasting level, and sample abbreviation.
CultivarLight Roasted (LI)Medium Roasted (ME)Dark Roasted (DA)
ZahidiZA-LIZA-MEZA-DA
MedjoolME-LIME-MEME-DA
Deglet nourDN-LIDN-MEDN-DA
ThooryTH-LITH-METH-DA
HalawiHA-LIHA-MEHA-DA
BarheeBA-LIBA-MEBA-DA
KhadrawyKH-LIKH-MEKH-DA
Bau StramiBS-LIBS-MEBS-DA
Table 2. The pH of different roasting levels and cultivars of date seeds.
Table 2. The pH of different roasting levels and cultivars of date seeds.
Sample NameZahidiMedjoolDeglet NourThooryHalawiBarheeKhadrawyBau Strami
Roasting LevelpHAverage
LightZA-LIME-LIDN-LITH-LIHA-LIBA-LIKH-LIBS-LI
6.22 ± 0.01 aA5.72 ± 0.01 cA5.38 ± 0.05 dA5.89 ± 0.03 bA5.90 ± 0.03 bA5.95 ± 0.03 bA5.49 ± 0.05 cA5.95 ± 0.02 bA5.95 ± 0.05
MediumZA-MEME-MEDN-METH-MEHA-MEBA-MEKH-MEBS-ME
4.30 ± 0.02 aB4.37 ± 0.02 aB3.71 ± 0.01 cB3.77 ± 0.02 cB4.03 ± 0.02 bB4.04 ± 0.05 bB3.79 ± 0.02 cB3.94 ± 0.03 bB3.99 ± 0.05
DarkZA-DAME-DADN-DATH-DAHA-DABA-DAKH-DABS-DA
3.97 ± 0.01 aC3.25 ± 0.01 cC3.76 ± 0.06 abB3.93 ± 0.06 abB3.30 ± 0.02 cC3.87 ± 0.02 abC3.39 ± 0.09 cB3.74 ± 0.06 bB3.65 ± 0.06
The data are shown as mean ± standard error (n = 3); a,b,c,d indicate the means in a row, A,B,C indicate the means in a column with significant difference (p < 0.05) using a one-way analysis of variance (ANOVA) and Tukey’s test.
Table 3. Color measurements of date seed powder and beverage made from different roasting levels and cultivars of date seeds.
Table 3. Color measurements of date seed powder and beverage made from different roasting levels and cultivars of date seeds.
SampleLight RoastedMedium RoastedDark Roasted
L*a*b*L*a*b*L*a*b*
PowderZahidi46.33 ± 1.12 ab15.07 ± 0.49 a22.17 ± 0.21 ab20.53 ± 6.70 a12.40 ± 2.72 a14.40 ± 4.46 a20.67 ± 0.83 ab10.73 ± 0.32 bcd12.67 ± 0.38 abc
Medjool43.80 ± 7.24 ab14.73 ± 0.29 a21.30 ± 2.25 ab27.13 ± 1.89 a15.20 ± 0.92 a18.33 ± 1.04 a20.67 ± 1.86 ab13.47 ± 0.46 a14.97 ± 0.14 a
Deglet nour45.57 ± 0.75 ab14.87 ± 0.83 a22.40 ± 0.36 ab21.03 ± 3.10 a12.17 ± 1.15 a14.47 ± 1.80 a18.03 ± 1.91 b9.37 ± 0.45 de11.20 ± 0.36 c
Thoory51.90 ± 0.62 a14.43 ± 0.29 a23.10 ± 0.20 a22.20 ± 1.21 a12.50 ± 0.50 a14.83 ± 0.80 a18.20 ± 0.99 ab9.17 ± 0.45 e10.80 ± 0.56 c
Halawi43.30 ± 1.49 ab13.07 ± 0.23 ab19.73 ± 0.57 ab23.40 ± 3.54 a13.37 ± 1.76 a16.10 ± 2.36 a16.87 ± 1.25 b10.83 ± 0.15 bcd11.30 ± 0.62 c
Barhee31.23 ± 3.96 c11.43 ± 1.11 b16.13 ± 2.05 c24.73 ± 3.06 a14.10 ± 1.31 a16.87 ± 1.89 a18.97 ± 0.99 ab10.03 ± 0.49 cde11.73 ± 0.58 c
Khadrawy39.43 ± 2.91 bc13.80 ± 0.89 a19.43 ± 1.36 bc24.80 ± 1.50 a13.53 ± 0.55 a15.90 ± 0.70 a16.87 ± 1.32 b11.27 ± 1.17 bc12.33 ± 0.99 bc
Bau Strami46.23 ± 0.93 ab14.37 ± 0.45 a21.93 ± 0.32 ab23.67 ± 2.90 a13.70 ± 1.31 a16.53 ± 1.80 a22.83 ± 0.21 a11.80 ± 0.11 b14.67 ± 0.15 a
Average43.48 ± 6.3813.97 ± 1.3020.78 ± 2.3923.44 ± 3.5113.37 ± 1.5415.93 ± 2.2219.14 ± 2.4410.83 ± 1.4312.46 ± 1.69
ΔE 20.62 6.08
BeverageZahidi52.67 ± 1.83 a5.13 ± 0.32 a−10.33 ± 1.01 a44.70 ± 5.09 b4.77 ± 0.32 a10.20 ± 4.10 ab48.20 ± 0.40 c3.47 ± 0.21 a6.50 ± 1.25 bc
Medjool58.60 ± 8.79 a3.30 ± 2.08 ab−15.37 ± 7.29 a51.97 ± 1.65 ab1.33 ± 0.50 cd−5.37 ± 3.83 c31.93 ± 1.92 e2.03 ± 0.38 ab19.03 ± 1.47 a
Deglet nour53.53 ± 1.70 a3.13 ± 0.58 ab−12.70 ± 0.80 a46.63 ± 1.41 ab2.63 ± 0.29 b8.63 ± 1.89 ab48.83 ± 0.67 bc1.50 ± 0.10 ab1.10 ± 0.10 c
Thoory50.90 ± 4.61 a4.00 ± 0.17 ab−11.30 ± 1.21 a48.27 ± 1.32 ab1.00 ± 0.36 d3.80 ± 1.30 b55.80 ± 2.02 a0.80 ± 0.44 ab−9.07 ± 2.29 d
Halawi54.10 ± 1.40 a2.53 ± 0.32 b−15.53 ± 1.60 a47.43 ± 2.32 ab2.17 ± 0.50 bc12.80 ± 2.79 a41.77 ± 2.15 d0.63 ± 2.75 ab11.47 ± 1.41 ab
Barhee55.07 ± 3.27 a2.27 ± 0.29 b−18.20 ± 3.63 a46.67 ± 2.89 ab−0.77 ± 0.23 e5.80 ± 3.24 ab53.37 ± 0.93 ab−0.40 ± 0.46 b2.50 ± 1.06 c
Khadrawy52.63 ± 4.96 a3.63 ± 0.32 ab−12.40 ± 1.75 a54.77 ± 3.25 a0.67 ± 0.50 d−9.13 ± 1.21 c41.30 ± 2.10 d1.13 ± 0.87 ab12.53 ± 1.93 ab
Bau Strami49.47 ± 1.36 a3.47 ± 0.57 ab−11.57 ± 0.80 a46.80 ± 3.75 ab2.12 ± 0.06 bc7.87 ± 4.04 ab47.90 ± 2.01 c2.37 ± 0.31 ab9.17 ± 2.32 bc
Average53.37 ± 4.413.43 ± 1.09−13.43 ± 3.6248.40 ± 4.021.74 ± 1.584.33 ± 7.7846.77 ± 6.871.44 ± 1.446.65 ± 8.56
ΔE 18.51 2.86
All values represent the average of three replicates from date seed powder and beverage with eight different cultivars and three different roasting levels. ΔE represents the color difference between the average value of two adjacent roasting levels, calculated using Equation (1). a–e indicate the mean values of different cultivars that show significant differences (p < 0.05) using a one-way analysis of variance (ANOVA) and Tukey’s test.
Table 5. Results of the classification of artificial neural network Models 1 and 2.
Table 5. Results of the classification of artificial neural network Models 1 and 2.
StageSamplesAccuracyErrorPerformance (MSE)
Model 1: Inputs: NIR; Targets: type of date seed beverage
Training151100%0%2.33 × 10−10
Testing6596.9%3.1%0.11
Overall21699.1%0.9%-
Model 2: Inputs: electronic nose; Targets: type of date seed beverage
Training504100%0%1.42 × 10−9
Testing21692.6%7.4%0.11
Overall72097.8%2.2%-
MSE: means mean squared error.
Table 6. The results of the artificial neural network regression Models 3 and 4.
Table 6. The results of the artificial neural network regression Models 3 and 4.
StageSamplesObservationsRSlopePerformance (MSE)
Model 3: Inputs: NIR; Targets: volatile aromatic compounds
Training5012500.990.870.006
Testing225500.670.800.240
Overall7218000.880.92-
Model 4: Inputs: electronic nose; Targets: volatile aromatic compounds
Training50412,6000.900.810.051
Testing21654000.880.790.063
Overall72018,0000.900.81-
R: correlation coefficient; MSE: mean squared error.
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

Shi, L.; Wu, H.; Ghafoor, K.; Gonzalez Viejo, C.; Fuentes, S.; Ahmadi, F.; Suleria, H.A.R. Impacts of Roasting Intensity and Cultivar on Date Seed Beverage Quality Traits and Volatile Compounds Using Digital Technologies. Foods 2025, 14, 3902. https://doi.org/10.3390/foods14223902

AMA Style

Shi L, Wu H, Ghafoor K, Gonzalez Viejo C, Fuentes S, Ahmadi F, Suleria HAR. Impacts of Roasting Intensity and Cultivar on Date Seed Beverage Quality Traits and Volatile Compounds Using Digital Technologies. Foods. 2025; 14(22):3902. https://doi.org/10.3390/foods14223902

Chicago/Turabian Style

Shi, Linghong, Hanjing Wu, Kashif Ghafoor, Claudia Gonzalez Viejo, Sigfredo Fuentes, Farhad Ahmadi, and Hafiz A. R. Suleria. 2025. "Impacts of Roasting Intensity and Cultivar on Date Seed Beverage Quality Traits and Volatile Compounds Using Digital Technologies" Foods 14, no. 22: 3902. https://doi.org/10.3390/foods14223902

APA Style

Shi, L., Wu, H., Ghafoor, K., Gonzalez Viejo, C., Fuentes, S., Ahmadi, F., & Suleria, H. A. R. (2025). Impacts of Roasting Intensity and Cultivar on Date Seed Beverage Quality Traits and Volatile Compounds Using Digital Technologies. Foods, 14(22), 3902. https://doi.org/10.3390/foods14223902

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