3.1. Primary and Secondary Oxidation Attributes
The physicochemical properties of the oils varied substantially (
Figure 2) depending on the treatment conditions, particularly deep frying temperature, duration, and the presence of polyphenol supplementation. Control samples (C1, C2, and S), representing non-fried oils, generally exhibited low values for acidity, K
232, K
270, ΔK, peroxide value, anisidine value, and TOTOX index, indicating minimal oxidative degradation. However, oils subjected to deep frying without supplementation (Experiments 1–4) exhibited a marked increase in all oxidative markers compared to the supplemented oil samples (Experiments 5–8), with the highest values consistently observed at 210 °C after 6 h of heating. These samples exhibited elevated acidity, increased conjugated diene and triene formation (K
232 and K
270), and substantial rises in both peroxide and anisidine values, leading to significantly higher TOTOX indices, which reflect overall oxidation. In contrast, olive oils supplemented with polyphenols (Experiments 5–8) demonstrated improved oxidative stability under the same frying conditions. While oxidative markers still increased compared to control levels, the rate and extent of degradation were notably reduced, confirming the protective effect of olive fruit extract. Among oil types, high-oleic sunflower oil (SOHO) and certain olive cultivars like EVOO Empeltre and EVOO Arbosana maintained better stability than regular sunflower oil (SO), which showed the highest levels of degradation. Overall, the data highlight that frying time and temperature are major drivers of oil oxidation, but polyphenol enrichment and the intrinsic properties of specific oils can substantially mitigate this deterioration.
Our findings, supported by previous studies [
23,
24], demonstrate the crucial role of phenolic compounds in preserving the oxidative stability and quality of olive oils. Virgin olive oils naturally rich in phenols showed lower acidity, reduced initial peroxide values, and greater resistance to oxidative degradation compared to refined oils, which often rely on added antioxidants. Under deep frying conditions, all oils exhibited increased oxidative markers—such as acidity, K
232, K
270, peroxide and anisidine values—especially at higher temperatures and longer durations. However, oils supplemented with olive-derived polyphenols, particularly extracts rich in hydroxytyrosol and oleuropein aglycone, showed significantly improved stability. These phenolic compounds, more resistant to thermal breakdown than α-tocopherol, effectively reduced oxidation rates and maintained better quality indices, even during prolonged heat exposure. Enzymatic hydrolysates from olive leaves emerged as particularly potent antioxidants, enhancing the stability of both refined and pomace oils under accelerated storage and frying. Among the oil types tested, high-phenol extra virgin olive oils and high-oleic sunflower oil outperformed regular sunflower oil in oxidative resistance. Overall, the combination of intrinsic oil composition and phenolic enrichment significantly mitigates thermal oxidation, emphasizing the importance of phenol content and antioxidant strategy in extending oil shelf life and functionality.
Moreover, all oxidation indices show strong positive correlations (r > 0.84). TOTOX is most strongly correlated with anisidine value (r = 0.981) and peroxide value (r = 0.967). Strong correlations between K
232, K
270, ΔK, and peroxide value in EVOOs confirm the progression from primary to secondary oxidation during deep frying (
Table S1).
3.2. Chemometrics Models for Acidity Quantification
To quantify the acidity levels of various olive oil and sunflower oil types using NIR spectroscopy, predictive models were developed by integrating the SELECT-OLS algorithm with targeted variable selection procedures. The current analysis centered on acidity as a key indicator of oil degradation.
Table 1A presents the most informative wavelengths selected from the original 700 variables recorded in the NIR system. The model identified a subset of 23 latent wavelengths, with 1792 nm ranked as the most influential predictor based on its weight and regression coefficient. This wavelength is particularly sensitive to chemical changes associated with acidity, aligning with the O-H and C-H overtone and combination bands involved in lipid oxidation and hydrolysis.
The NIR region between 1700 and 2000 nm is especially relevant for detecting subtle changes in oil quality. Absorption patterns in this region reflect vibrational overtones associated with hydroperoxides (primary oxidation products) and free fatty acids, both of which influence acidity.
The wavelength identified in our study, around 1792 nm, corresponds closely to the 1760 nm region reported in previous research, which is associated with the first overtone of C–H stretching vibrations in –CH
2, –CH
3, and =CH
2 groups of fatty acid chains. This region is sensitive to primary oxidation products and reflects changes in lipid hydrocarbon chains during oxidative degradation. The slight shift to 1792 nm can be attributed to differences in oil type, thermal treatment, and instrument calibration, but it similarly captures oxidation dynamics and hydrolysis processes, confirming that our NIR-SELECT-OLS models are effectively targeting chemical changes relevant to primary oxidation [
13].
Oils subjected to thermal treatment, particularly deep frying at elevated temperatures and prolonged durations, exhibited decreased absorbance at selected wavelengths such as 1792 nm, correlating with increased acidity. For instance, control samples of extra virgin olive oils (e.g., Picual_Control 1, Hojiblanca_Control 2) showed higher absorbance and lower acidity values, while heavily fried samples (e.g., Olive 1°_Exp 4 or Hojiblanca_Exp 4) demonstrated the opposite trend, indicating advanced lipid degradation.
The performance of the developed SELECT-OLS model is detailed in
Table 1B. The model demonstrates excellent predictive capability, with a multiple correlation coefficient (R) of 0.96, confirming that over 92% of the variability in acidity is explained by the selected spectral data. The model also yielded a low standard deviation of the error (0.04) and a MAE of 0.03, underscoring its accuracy. Leave-one-out (LOO) cross-validation further validated model robustness, with an explained variance of 89.21% and a residual standard deviation of 0.05.
In conclusion, the findings confirm that NIR spectroscopy, when combined with a chemometrically optimized model, provides a rapid, non-destructive, and reliable approach for predicting acidity levels in edible oils. This method also proves valuable for quality control and process monitoring in the olive and edible oils sector, as previously reported [
25,
26]. The selected wavelengths—especially in the 1700–1800 nm range—capture essential information related to oxidation and hydrolysis processes, making this approach well-suited for quality monitoring across different oil varieties, processing treatments, and storage conditions.
3.3. Chemometrics Models for K232 Quantification
To monitor the oxidative status and conjugated dienes (K232 index) in various olive and sunflower oil samples, a SELECT-OLS regression model was developed using NIR spectral data, with a particular focus on the 1392 nm region. This wavelength emerged as a key predictor in the optimal model, reflecting its sensitivity to C-H combination overtones associated with unsaturated fatty acid degradation and lipid oxidation processes.
The detailed chemometric variable selection procedure (
Table 2A) reveals that the 1392 nm wavelength (predictor index 147) was the first and most heavily weighted variable selected (weight 0.73), with a strong negative correlation coefficient (−109.72).
The wavelength at 1392 nm is primarily associated with the –CH
3 functional group, reflecting a combination of C–H stretching and C–H deformation vibrations (2C–H stretching + C–H deformation). This region is sensitive to variations in fatty acid composition, making it valuable for differentiating oils and characterizing fatty acid profiles [
27,
28]. In our study, this wavelength was identified by the SELECT algorithm as one of the most informative for predicting oxidation-related parameters, suggesting that subtle changes in methyl group environments—caused by oxidation or thermal stress—can contribute to the discrimination of oil types and fatty acid composition. These results are consistent with previous studies reporting the usefulness of the 1400 nm region in oil differentiation and fatty acid characterization.
This indicates that absorbance at this wavelength decreases as K232 values increase, consistent with the oxidation-induced degradation of unsaturated bonds in fatty acids. Subsequent selected wavelengths span from 1330 nm to 2430 nm, each contributing to capturing subtle spectral variations associated with oil composition and oxidative changes.
For example, sunflower oil samples (SO and SOHO) exhibited the highest K232 values (up to 4.69), indicative of severe primary oxidation, and correspondingly showed the lowest absorbance values (~0.3840–0.3939) at 1392 nm. Conversely, control samples such as EVOO Manzanilla (MZ_C1) and EVOO Royuela (RY_C2) oils had low K232 indices (1.35–1.65) and higher absorbance values (~0.4082–0.4108), demonstrating minimal oxidative degradation. These opposing trends validate the diagnostic relevance of the 1392 nm band as a robust marker of oxidative status.
Statistically, the developed SELECT-OLS model demonstrated excellent predictive performance (
Table 2B). Key metrics include a high multiple correlation coefficient (R = 0.97), low mean absolute error (MAE = 0.14), and a residual variance below 8% in leave-one-out cross-validation, indicating strong generalization ability. The explained variance of 92.17% further confirms that the model effectively captures the spectral-chemical relationship underlying K
232 variations across diverse oil types and frying conditions.
Overall, the integration of chemometric variable selection and regression modeling confirms that NIR spectroscopy, particularly absorption around 1392 nm, offers a rapid, non-destructive, and reliable approach for estimating conjugated diene content and assessing oxidative stability in oils. This capability is critical for quality control during processing and storage, allowing for timely detection of oxidative damage and maintenance of oil quality.
3.4. Chemometrics Models for K270 Index, ∆K, and PV Quantification
To assess the oxidative status of the oil samples further, the absorbance at 270 nm (K270 index), which reflects secondary oxidation products such as conjugated trienes, was also analyzed alongside the NIR spectral region around 2114 nm. This wavelength was chosen due to its sensitivity to chemical changes related to oil degradation and oxidation.
The dataset indicates that K
270 values varied markedly across oil types and treatment conditions, with higher K
270 values reflecting greater secondary oxidation and lipid degradation. For example, sunflower oil samples (SO series) exhibited the highest K
270 values, ranging from 2.47 to 2.72, consistent with substantial formation of secondary oxidation products after thermal stress. These samples also showed elevated absorbance at 2114 nm (~1.126), corresponding to the C–H stretching and C=C stretching vibrations of HC=CH– groups, which are indicative of aldehyde and ketone formation arising from lipid degradation [
13,
27,
28].
In contrast, control and less oxidized olive oil samples, such as Picual (PC) and Cornicabra (CC), displayed significantly lower K
270 values (~0.13–0.20) along with lower absorbance at 2114 nm (~1.079–1.088). This reflects their preserved quality and minimal oxidative damage, demonstrating that the NIR signal at 2114 nm effectively tracks the accumulation of secondary oxidation products and can differentiate oils according to their oxidative status (
Table 3A).
Intermediate values were observed for other oil types and treatments, such as Arbequina (AQ), Hojiblanca (HB), Manzanilla (MZ), and high-oleic sunflower oils (SOHO), highlighting a gradient of oxidative degradation linked with their deep frying conditions.
This correlation between K270 and NIR absorbance at 2114 nm supports the use of NIR spectroscopy as a non-destructive technique to monitor oil quality, specifically tracking the formation of secondary oxidation products. Absorbance changes in the 2114 nm region can thus serve as a proxy for oxidative stability, complementing traditional UV indices such as K270.
Overall, these findings (
Table 3B) emphasize the complementary roles of spectral analysis and chemical indices like K
270 for comprehensive quality assessment. This approach allows rapid, real-time monitoring of oxidative changes in various oils during processing, storage, and thermal exposure, aiding in better quality control and shelf-life prediction.
The chemometric model for ∆K developed via SELECT-OLS from column auto-scaled NIR spectra (
Table 4) demonstrates excellent predictive capacity, with a correlation coefficient R = 0.97 and an explained variance of ~92.6%. Selected wavelengths near 2118 nm, corresponding to overtone absorptions of CH and OH groups, suggest the model effectively captures chemical changes linked to oxidation and antioxidant depletion.
In addition to Delta K (∆K), which reflects secondary oxidation products, the PV was measured across a wide range of olive oil cultivars and treatment conditions to assess primary oxidation products—critical indicators of oil quality and shelf life. The PV data (
Table 5) reveal significant variation dependent on cultivar type and thermal treatment.
High-oleic sunflower oil (SOHO) consistently exhibits low PVs (~4–8 meq O2/kg), indicative of its inherent oxidative stability. Conversely, oils subjected to prolonged heating or originating from less stable cultivars—such as Hojiblanca (HB) and refined olive oils (1ºO)—show elevated PVs reaching ~17–27 and ~19–26 meq O2/kg, respectively. Control samples (C1, S, C2) typically maintain lower PVs (~7–10 meq O2/kg), demonstrating the protective effect of polyphenol supplementation, while samples exposed to intensive thermal stress (e.g., PC_4, HB_4, 1ºO_4) show PVs exceeding 20 meq O2/kg, reflecting ongoing lipid peroxidation.
Oxidation in olive oil leads to the formation of compounds that can be identified using spectroscopic methods, especially infrared [
29], as also reported by Guzmán et al. [
30] and Tena et al. [
31]. These compounds are closely linked to the development of rancid off-flavors [
32].
Correlation analysis between PV and ∆K values highlights their complementary roles as oxidation markers. Samples with elevated peroxide content generally exhibit increased ∆K values, confirming a progression from primary to secondary oxidation products. For example, Hojiblanca oils (HB) with PVs above 20 meq O2/kg correspond to ∆K values up to 0.32, while high-oleic sunflower oils (SOHO) maintain both low PV and ∆K values, indicating superior oxidative stability.
Together, this integrated approach—combining rapid, non-destructive NIR spectroscopy with robust chemometric modeling—provides a powerful tool for monitoring oil oxidation under various conditions, including frying. It facilitates the evaluation of polyphenol supplementation efficacy and enhances quality control by offering comprehensive insight into the oxidative status of oils, from early peroxide formation to secondary conjugated dienes. This dual-marker strategy enables improved shelf-life prediction and better-informed decisions in oil deep frying processing.
3.5. Chemometrics Models for Anisidine Value (AnV) and TOTOX Index Quantification
The AnV and TOTOX index serve as critical complementary parameters for assessing the oxidative status of oils, particularly focusing on secondary oxidation products. While AnV quantifies aldehydes, mainly 2-alkenals formed during lipid oxidation, the TOTOX index integrates primary (peroxide value) and secondary (AnV) oxidation markers, providing a holistic measure of oil deterioration.
The data (
Figure 2) reveal that control samples (e.g., PC_C1, CC_C1) exhibit low AnV values (approximately 2–4), consistent with minimal secondary oxidation and good oil quality. Polyphenol-supplemented samples (PC_S, CC_S) maintain similarly low AnV values, supporting the protective antioxidant effect of supplementation.
In contrast, oils subjected to prolonged or intense thermal stress show marked increases in AnV. For instance, samples such as PC_4, CC_4, and HB_4 register notably high AnV values, reaching 35–67, signaling substantial aldehyde formation and advanced oxidation. This is particularly evident in cultivars known for lower oxidative stability, like Hojiblanca (HB), where AnV reaches values above 60 under extended deep frying.
The TOTOX index parallels AnV trends closely, with values nearly doubling in stressed samples compared to controls. For example, HB_4 exhibits a TOTOX value of 121.66, reflecting cumulative primary and secondary oxidation. This high TOTOX corresponds well with the elevated peroxide and Delta K values previously discussed, indicating severe oxidative degradation.
Lower AnV and TOTOX values in EVOO Empeltre (EP) and other more stable cultivars highlight inherent resistance to oxidation, which is further enhanced by polyphenol supplementation. Moreover, high-oleic sunflower oils (SOHO) and similar oils display moderate AnV and TOTOX values, reflecting their better oxidative stability despite some thermal exposure.
Overall, AnV and TOTOX indices underscore the progression of lipid oxidation from primary peroxides to reactive aldehydes. Their combined evaluation is crucial for a comprehensive understanding of oil quality, confirming that polyphenol supplementation effectively mitigates oxidative damage under frying conditions. These parameters, alongside NIR-based ∆K and PV measurements, enable robust monitoring of oil stability and shelf life.
The chemometric analysis detailed in
Table 6 and
Table 7 demonstrates the efficacy of the SELECT variable selection combined with ordinary least squares regression for predicting key oxidation parameters—AnV and TOTOX—across different oil types, including extra virgin olive oils, refined and virgin olive oils, sunflower oil, and high-oleic sunflower oil.
The variable selection procedure in both models highlights specific NIR wavelengths strongly correlated with the oxidation indices. For AnV (
Table 6), the most relevant wavelengths cluster primarily between 1150 and 2450 nm, with the highest weighted predictors located around 1392 nm (predictor index 147), 1970 nm (index 436), and 2362 nm (index 632). These wavelengths likely correspond to molecular vibrations related to aldehydes and secondary oxidation products, which directly impact the AnV.
In addition, the absorption band at 1392 nm arises from the combination of C–H stretching and deformation vibrations of –CH
2– and –CH
3 groups in linear alkane chains, reflecting the methyl and methylene content of fatty acids. The bands observed between 2120 and 2176 nm can be attributed to combination bands of C–H stretching vibrations from –HC=CH– (cis) groups of unsaturated fatty acids, as well as the combined absorption of C=O stretching vibrations. These regions are therefore sensitive to both the degree of unsaturation and the presence of carbonyl-containing oxidation products, enabling NIR spectroscopy to detect structural changes associated with lipid oxidation and thermal degradation [
33].
Similarly, the TOTOX model (
Table 7) selected wavelengths also concentrate within a similar spectral region, emphasizing bands near 1394 nm (index 148), 1970 nm (index 436), and 2254–2404 nm (indices 578, 633, 653). The selected predictors indicate the combined sensitivity of TOTOX to both primary (peroxide value) and secondary oxidation products (anisidine value), consistent with the known chemical nature of the TOTOX index.
The NIR region between 2100 and 2200 nm is associated with combination bands of C–H stretching in –HC=CH– (cis) groups of unsaturated fatty acids and C=O stretching vibrations of carbonyl compounds. Variations in absorbance within this region reflect differences in free fatty acid content, the degree of unsaturation, formation of trans-fatty acids, and the extent of lipid oxidation. In our study, oils subjected to thermal stress exhibited higher absorbance in this region, consistent with increased oxidation, hydrolysis, and structural alterations of unsaturated lipids, whereas less oxidized oils showed lower absorbance, indicating preserved chemical integrity. This demonstrates that the 2100–2200 nm spectral range is particularly sensitive to both compositional and oxidative changes, making it a valuable marker for monitoring oil quality and degradation under frying or storage conditions [
34].
The weighting and correlation coefficients vary in magnitude and sign, reflecting the complex interplay of overlapping spectral features that influence the oxidation parameters. Notably, several wavelengths exhibit very high correlation coefficients, suggesting that these are critical for capturing the variation in AnV and TOTOX values.
Moreover, both models achieved strong performance metrics indicative of their robustness and reliability for practical application:
AnV model (
Table 6) demonstrated excellent predictive ability with a multiple correlation coefficient (R) of 0.96 and a relatively low standard deviation of error (5.25). The Leave-One-Out (LOO) cross-validation results further confirmed model stability, with an explained variance of 86.5% and a modest MAE of 3.34.
TOTOX model (
Table 7) also performed well, albeit with slightly lower accuracy, reflected in an R value of 0.90 and a higher error standard deviation (10.72). The LOO explained variance was 72.6%, demonstrating good but comparatively reduced model robustness for the more complex TOTOX parameter. The MAE of 7.37 suggests the model’s predictions are within acceptable limits for many practical quality control scenarios.
Higher complexity and larger error margin in the TOTOX model are expected, as TOTOX is a composite index incorporating both peroxide and anisidine values, inherently introducing more variability.
Furthermore, the detailed wavelength selection offers insight into the specific spectral regions most informative for oxidation-related compounds, supporting future refinement and development of tailored NIR sensor technologies.
Indeed, the traditional methods for assessing olive oil quality rely on chemical lab tests, which are costly, time-consuming, and generate waste [
35]. Near-infrared spectroscopy (NIRS) has emerged as a promising alternative for rapid, on-site measurement of key quality parameters—free acidity, peroxide value, K
232, and K
270—with high accuracy [
5]. Quality assessment models often use multivariate calibration techniques such as multiple linear regression, principal component regression, and most commonly, partial least squares (PLS) regression [
36,
37]. A recent advancement involves combining chemometric variable selection with NIRS, using targeted methods like SELECT-OLS to identify the most informative wavelengths [
13,
14,
15]. This enhances model precision and computational efficiency [
38].
The current results reveal that the targeted NIRS approach is especially valuable for industry, enabling fast, non-destructive quality control at olive oil or other edible oils. These systems can continuously update and improve their predictive models by incorporating new samples from different harvests, regions, and olive varieties. This adaptability ensures robust, precise quality control despite natural variability in oil samples and processing conditions.
The SELECT-OLS algorithm consistently achieves high predictive accuracy for various olive oil quality parameters. For acidity, it reported excellent metrics with a correlation coefficient (R) of 0.96, explaining over 92% of acidity variability through selected spectral variables. Similarly, the K232 parameter showed strong prediction performance with R = 0.97, 92.17% explained variance, and a low MAE of 0.14.
SELECT-OLS also demonstrated robustness across oxidation parameters: ΔK had R = 0.97 and ~92.6% explained variance, anisidine value showed R = 0.96 and MAE = 3.34, and the complex TOTOX index achieved R = 0.90 with MAE = 7.37.
A key advantage is its computational efficiency, selecting 23–30 optimal wavelengths from an initial 700 variables. This reduces complexity while maintaining or improving model accuracy compared to more complex methods, facilitating development of simplified, cost-effective NIR instruments for edible oil quality.
Leave-one-out cross-validation confirmed the models’ robustness, with explained variance from 86.5% to 92.6% across oxidation parameters, supporting their reliability on independent samples—a crucial factor for industrial quality control [
38]. The method’s versatility extends to various oil types, including extra virgin olive oils, refined oils, and sunflower oils under diverse processing conditions [
39].
By integrating rapid, non-destructive NIR spectroscopy with robust chemometric modeling, SELECT-OLS offers a powerful tool for real-time monitoring of oil oxidation during thermal processing and storage. Its high correlation and low errors enhance industrial quality control workflows, providing comprehensive insights into oil oxidative status from early peroxide formation to secondary conjugated dienes [
40].