Submitted:
18 July 2026
Posted:
20 July 2026
You are already at the latest version
Abstract
Keywords:
1. Introduction
- Black grape seed extract was valorized as a sustainable phenolic-rich ingredient for the development of functional kefir.
- Alginate encapsulation was used as a delivery strategy to support phenolic retention and antioxidant functionality during refrigerated storage.
- Free and alginate-encapsulated grape seed extract formulations were compared using physicochemical, textural, color, and bioactive quality descriptors across storage time.
- A storage-time-aware chemometric modelling structure was developed by converting correlated quality descriptors into latent features and arranging them as temporal storage sequences.
- A deep learning model was constructed to predict total phenolic content and antioxidant capacity simultaneously as dual bioactive responses.
- Optimizer-guided hyperparameter tuning was incorporated to improve model configuration and reduce dependence on manual trial-and-error selection.
- The predictive behavior of the model was evaluated using error metrics, ablation analysis, residual diagnostics, normality assessment, and agreement analysis.
2. Background and Related Works
3. Materials and Methods
3.1. Materials, Grape Seed Extract Preparation, and Alginate Encapsulation
3.2. Bead Characterization and Encapsulation Performance
3.3. Kefir Production, Formulation Codes, and Storage Design
3.4. Physicochemical, Color, Textural, and Bioactive Measurements
3.5. Computational Framework: Dataset Construction, Leakage-Safe Preprocessing and Exploratory Analysis
3.6. Chemometric Feature Extraction by Principal Component Analysis
3.7. Storage-Time Encoding and Dual-Target PCA–CNN–LSTM Prediction Architecture
3.8. Crested Porcupine Optimizer (CPO) for Evolutionary Hyperparameter Tuning: Framework Synthesis and Validation Pipelines
3.9. Ablation Design, Performance Metrics and Diagnostic Validation
4. Results and Discussion
4.1. Encapsulation Performance and Bead Morphology
4.2. Storage Dynamics of Phenolic Content and Antioxidant Capacity
4.3. Distributional Structure and Analytical Precision
4.4. Correlation Structure and the Rationale for Orthogonalization
4.5. Chemometric Feature Extraction
4.6. Hyperparameter Optimization and Training Behavior
4.7. Predictive Performance and Diagnostic Validation
4.8. Ablation Analysis
5. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
Abbreviations
| Redness-greenness | |
| ANOVA | Analysis of variance |
| Yellowness-blueness | |
| BN | Batch normalization |
| BSE | Backscattered-electron detector |
| C | Control kefir / Unsupplemented control |
| CNN | Convolutional neural network |
| CPO | Crested porcupine optimizer |
| Encapsulation efficiency | |
| EG-1 | Encapsulated extract at 1% |
| EG-2 | Encapsulated extract at 3% |
| FG-1 | Free extract at 1% |
| FG-2 | Free extract at 3% |
| GAE | Gallic acid equivalents |
| IoT | Internet of things |
| ID | Identifier |
| Lightness | |
| Loading capacity | |
| LoA | Limits of agreement |
| LSTM | Long short-term memory |
| MAE | Mean absolute error |
| MAPE | Mean absolute percentage error |
| PBS | Phosphate-buffered saline |
| PCA | Principal component analysis |
| PSO | Particle swarm optimization |
| RMSE | Root mean square error |
| SD | Standard deviation |
| SEM | Scanning electron microscopy |
| Surface phenolic fraction | |
| Titratable acidity | |
| TE | Trolox equivalents |
| TEAC | Trolox-equivalent antioxidant capacity |
| Total phenolics | |
| TPC | Total phenolic content |
| UHT | Ultra-high-temperature |
| UV–Vis | Ultraviolet-visible |
| Vitis vinifera L. | Black grape seed |
| Water-holding capacity |
References
- Mukherjee, A.; Breselge, S.; Dimidi, E.; Marco, M.L.; Cotter, P.D. Fermented foods and gastrointestinal health: Underlying mechanisms. Nat. Rev. Gastroenterol. Hepatol. 2024, 21, 248–266. [CrossRef]
- Saleem, G.N.; Gu, R.; Qu, H.; Khaskheli, G.B.; Rajput, I.R.; Qasim, M.; Chen, X. Therapeutic potential of popular fermented dairy products and its benefits on human health. Front. Nutr. 2024, 11, 1328620. [CrossRef]
- Kurniawan, K.U.; Milanda, T.; Kusuma, S.A.F. Kefir as a functional probiotic: Microbial composition and health effects. Front. Food Sci. Technol. 2025, 5, 1725280. [CrossRef]
- Bagheri, H.; Akhavan-Mahdavi, S.; Sarabi-Aghdam, V.; Mirarab Razi, S.; Singh Beniwal, A.; Rashidinejad, A. Targeted dairy fortification: Leveraging bioactive compounds to enhance nutritional value. Crit. Rev. Food Sci. Nutr. 2026, 66, 295–319. [CrossRef]
- Ghani, K.; Kausar, T.; Bilal, M.; Kauser, S.; Gorsi, F.I.; Sidrah; Ghafran, M.; Hussain, A.; Woldemariam, H.W. An updated and comprehensive review about fruits and vegetables processing pomace enriched dairy products. Food Prod. Process. Nutr. 2026, 8, 7. [CrossRef]
- Bhutani, M.; Gaur, S.S.; Shams, R.; Dash, K.K.; Shaikh, A.M.; Béla, K. Valorization of grape by-products: Insights into sustainable industrial and nutraceutical applications. Future Foods 2025, 12, 100710. [CrossRef]
- Lopes, J.C.; Madureira, J.; Margaça, F.M.A.; Cabo Verde, S. Grape pomace: A review of its bioactive phenolic compounds, health benefits, and applications. Molecules 2025, 30, 362. [CrossRef]
- Magalhães, R.; Oliveira, M.B.P.P. Grape pomace valorization: Extraction of bioactive compounds and industrial applications within a circular economy framework. Sustainability 2026, 18, 5663. [CrossRef]
- López-Astorga, M.; Leon-Bejarano, M.; Gámez-Meza, N.; Del Toro-Sánchez, C.L.; Simsek, S.; Ovando-Martínez, M. Microencapsulated grape pomace extract as an antioxidant ingredient added to Greek-style yogurt: Storage stability and in vitro bioaccessibility. Food Chem. 2025, 477, 143550. [CrossRef]
- Paul, B.; Xie, L.; Yahia, Z.O.; Chen, W. Recent review on the stability of bioactive substances through encapsulation and their application in dairy products. Food Rev. Int. 2026, 42, 605–631. [CrossRef]
- Kalita, P.; Chakrabarti, S.; Bhattacharjee, B.; Paul, S.; Dutta, P.P.; Pachuau, L. Recent progress in improving delivery, bioavailability and bioactivity of polyphenolic compounds through encapsulation: A comprehensive review. Food Chem. 2025, 490, 145087. [CrossRef]
- Xie, S.; Qu, P.; Luo, S.; Wang, C. Graduate Student Literature Review: Potential uses of milk proteins as encapsulation walls for bioactive compounds. J. Dairy Sci. 2022, 105, 7959–7971. [CrossRef]
- Qazi, H.J.; Ye, A.; Acevedo-Fani, A.; Singh, H. Delivery of encapsulated bioactive compounds within food matrices to the digestive tract: Recent trends and future perspectives. Crit. Rev. Food Sci. Nutr. 2025, 65, 2921–2942. [CrossRef]
- Zhao, Q.; Chen, X.; Ji, W.; Zhang, J.; Li, X.; Liu, Z.; Wang, W.; Liu, H.; Wang, Y.; Nan, B.; Li, X.; Wang, Y.; Liu, J. From lab to table: Recent advances in the application of sodium alginate-based hydrogel beads in the food industry. Food Res. Int. 2025, 217, 116843. [CrossRef]
- Barutçu Mazi, I.; Yıldız, D.; Mazi, B.G. Alginate-based encapsulation of phenolic compounds: Insights into gastrointestinal stability, release behavior, and bioaccessibility. Mol. Nutr. Food Res. 2026, 70, e70505. [CrossRef]
- Rezagholizade-Shirvan, A.; Soltani, M.; Shokri, S.; Radfar, R.; Arab, M.; Shamloo, E. Bioactive compound encapsulation: Characteristics, applications in food systems, and implications for human health. Food Chem. X 2024, 24, 101953. [CrossRef]
- LeCun, Y.; Bengio, Y.; Hinton, G. Deep learning. Nature 2015, 521, 436–444. [CrossRef]
- Hochreiter, S.; Schmidhuber, J. Long short-term memory. Neural Comput. 1997, 9, 1735–1780. [CrossRef]
- Jolliffe, I.T.; Cadima, J. Principal component analysis: A review and recent developments. Philos. Trans. R. Soc. A Math. Phys. Eng. Sci. 2016, 374, 20150202. [CrossRef]
- Akgül, H.N.; Yıldız Akgül, F.; Doğan, T. Modeling of kefir production with fuzzy logic. Turk. J. Agric. Food Sci. Technol. 2014, 2, 251–255. [CrossRef]
- Pacco, H.C. Fermentation system in kefir production using fuzzy logic. Procedia Comput. Sci. 2026, 277, 207–216. [CrossRef]
- Akıllı, A.; Kezer, G.; Kul, E. Evaluation of microbiological properties in kefir production with fuzzy logic-based decision support system. Kafkas Univ. Vet. Fak. Derg. 2025, 31, 679–688. [CrossRef]
- Ray, A.; Sinha, C.; Sharma, A.K.; Khamrui, K.; Hussain, S.A.; Dabas, J.K.; Mohanty, T.K. AI-driven real-time monitoring and predictive control system for yoghurt fermentation. Food Control 2026, 182, 111857. [CrossRef]
- Saetae, D. Machine learning-based prediction of microbial growth and acidification in yogurt fermentation at industrial temperatures. LWT Food Sci. Technol. 2025, 231, 118326. [CrossRef]
- Alvarado, U.; Tacuri, J.; Coloma, A.; Gallegos Rojas, E.; Callo, H.; Valencia-Sullca, C.; Rafael, N.C.; Castillo, M. Development of a hybrid system based on the CIELAB colour space and artificial neural networks for monitoring pH and acidity during yogurt fermentation. Dairy 2025, 6, 41. [CrossRef]
- Chopde, S.S.; Minz, P.S.; Sinha, C.; Sharma, A.K.; Kumari, K.; Hussain, S.A. Novel approach to monitor yoghurt fermentation process using selected color parameters. Food Control 2025, 178, 111480. [CrossRef]
- Allende-Prieto, C.; Rodríguez-Gonzálvez, P.; Martínez, B.; Rodríguez, A.; García, P.; Fernández, L. Qualitative analysis of yogurt using VIS-NIR spectroscopy simultaneously allows prediction of the animal origin of milk as well as monitoring of pH and viscosity during yogurt production. J. Food Compos. Anal. 2025, 144, 107689. [CrossRef]
- Araújo, C.S.; Macedo, L.L.; Teixeira, L.J.Q. Use of mid-infrared spectroscopy to predict the content of bioactive compounds of a new non-dairy beverage fermented with water kefir. LWT Food Sci. Technol. 2023, 176, 114514. [CrossRef]
- Adeleke, I.; Adebo, O.A.; Nwulu, N. Leveraging IoT and machine learning for smart fermentation of amasi: A predictive framework for acidity control. J. Agric. Food Res. 2025, 24, 102409. [CrossRef]
- Asar, R.; Erenler, S.; Devecioglu, D.; Ispirli, H.; Karbancioglu-Guler, F.; Ozturk, H.I.; Dertli, E. Understanding the functionality of probiotics on the edge of artificial intelligence era. Fermentation 2025, 11, 259. [CrossRef]
- Okur, O.D.; Aboeldahab, M. Fortification of yogurt with free and encapsulated persimmon (Diospyros kaki L.) extracts: Effects on antioxidant activity, phenolic contents, sensory and physicochemical characteristics. Emir. J. Food Agric. 2025, 37, 1-10. [CrossRef]
- Singleton, V.L.; Rossi, J.A. Colorimetry of total phenolics with phosphomolybdic–phosphotungstic acid reagents. Am. J. Enol. Vitic. 1965, 16, 144–158. [CrossRef]
- Flamminii, F.; Paciulli, M.; Di Michele, A.; Littardi, P.; Carini, E.; Chiavaro, E.; Pittia, P.; Di Mattia, C.D. Alginate-based microparticles structured with different biopolymers and enriched with a phenolic-rich olive leaves extract: A physico-chemical characterization. Curr. Res. Food Sci. 2021, 4, 698–706. [CrossRef]
- González Morales, A.N.; López-Giraldo, L.J.; Sogamoso González, E.; Moscote Chinchilla, Y. Evaluation of the efficiency of encapsulation and bioaccessibility of polyphenol microcapsules from cocoa pod husks using different techniques and encapsulating agents. Processes 2025, 13, 3094. [CrossRef]
- Tolve, R.; Galgano, F.; Condelli, N.; Cela, N.; Lucini, L.; Caruso, M.C. Optimization model of phenolics encapsulation conditions for biofortification in fatty acids of animal food products. Foods 2021, 10, 881. [CrossRef]
- Thomas-Busani, C.; Sarabia Sainz, J.A.; García Hernández, J.; Madera Santana, T.J.; Vázquez Moreno, L.; Ramos Clamont Montfort, G. Synthesis of alginate–polycation capsules of different composition: Characterization and their adsorption for As(III) and As(V) from aqueous solutions. RSC Adv. 2020, 10, 28755–28765. [CrossRef]
- Yourdkhani, M.; Leme Kraus, A.A.; Aydin, B.; Bedran-Russo, A.K.; White, S.R. Encapsulation of grape seed extract in polylactide microcapsules for sustained bioactivity and time-dependent release in dental material applications. Dent. Mater. 2017, 33, 630–636. [CrossRef]
- Mudoor Sooresh, M.; Willing, B.P.; Bourrie, B.C.T. Fermentation of kefir with traditional freeze-dried starter cultures successfully recreates fresh-culture fermented kefir. Front. Microbiol. 2025, 16, 1655390. [CrossRef]
- Case, R.A.; Bradley, R.L.; Williams, R.R. Chemical and physical methods. In Standard Methods for the Examination of Dairy Products, 15th ed.; Richardson, G.H., Ed.; American Public Health Association: Washington, DC, USA, 1985; pp. 327-404.
- Bielska, P.; Cais-Sokolińska, D.; Teichert, J.; Biegalski, J.; Chudy, S. Effect of honeydew honey addition on the water activity and water-holding capacity of kefir in the context of its sensory acceptability. Sci. Rep. 2021, 11, 22956. [CrossRef]
- Boruczkowska, H.; Boruczkowski, T.; Drożdż, W.; Miedzianka, J. Comparison of colour measurement methods in the food industry. Processes 2025, 13, 1268. [CrossRef]
- De Flaviis, R.; Sacchetti, G. A 50-year theoretical gap on colour difference in food science: Critical insights and new perspectives. J. Food Sci. 2025, 90, e70317. [CrossRef]
- Glibowski, P.; Kowalska, A. Rheological, texture and sensory properties of kefir with high performance and native inulin. J. Food Eng. 2012, 111, 299–304. [CrossRef]
- Re, R.; Pellegrini, N.; Proteggente, A.; Pannala, A.; Yang, M.; Rice-Evans, C. Antioxidant activity applying an improved ABTS radical cation decolorization assay. Free Radic. Biol. Med. 1999, 26, 1231–1237. [CrossRef]
- Kaufman, S.; Rosset, S.; Perlich, C.; Stitelman, O. Leakage in data mining: Formulation, detection, and avoidance. ACM Trans. Knowl. Discov. Data 2012, 6, 15. [CrossRef]
- Varma, S.; Simon, R. Bias in error estimation when using cross-validation for model selection. BMC Bioinform. 2006, 7, 91. [CrossRef]
- Shorten, C.; Khoshgoftaar, T.M. A survey on image data augmentation for deep learning. J. Big Data 2019, 6, 60. [CrossRef]
- Ioffe, S.; Szegedy, C. Batch normalization: Accelerating deep network training by reducing internal covariate shift. In Proceedings of the 32nd International Conference on Machine Learning, Lille, France, 7-9 July 2015; Bach, F.; Blei, D., Eds.; PMLR: Lille, France, 2015; Volume 37, pp. 448-456. [CrossRef]
- Abdel-Basset, M.; Mohamed, R.; Abouhawwash, M. Crested Porcupine Optimizer: A new nature-inspired metaheuristic. Knowl.-Based Syst. 2024, 284, 111257. [CrossRef]
- Kennedy, J.; Eberhart, R. Particle swarm optimization. In Proceedings of the ICNN’95 International Conference on Neural Networks, Perth, Australia, 27 November–1 December 1995; IEEE: Piscataway, NJ, USA, 1995; Volume 4, pp. 1942–1948. [CrossRef]
- Kingma, D.P.; Ba, J. Adam: A method for stochastic optimization. arXiv 2014, arXiv:1412.6980. [CrossRef]
- Shapiro, S.S.; Wilk, M.B. An analysis of variance test for normality (complete samples). Biometrika 1965, 52, 591–611. [CrossRef]
- Bland, J.M.; Altman, D.G. Statistical methods for assessing agreement between two methods of clinical measurement. Lancet 1986, 327, 307–310. [CrossRef]
- Pedregosa, F.; Varoquaux, G.; Gramfort, A.; Michel, V.; Thirion, B.; Grisel, O.; Blondel, M.; Prettenhofer, P.; Weiss, R.; Dubourg, V.; et al. Scikit-learn: Machine learning in Python. J. Mach. Learn. Res. 2011, 12, 2825–2830. [CrossRef]
- Abadi, M.; Barham, P.; Chen, J.; Chen, Z.; Davis, A.; Dean, J.; Devin, M.; Ghemawat, S.; Irving, G.; Isard, M.; et al. TensorFlow: A system for large-scale machine learning. arXiv 2016, arXiv:1605.08695. [CrossRef]
- Ahmed, I.A.M.; Alqah, H.A.S.; Saleh, A.; Al-Juhaimi, F.Y.; Babiker, E.E.; Ghafoor, K.; Hassan, A.B.; Osman, M.A.; Fickak, A. Physicochemical quality attributes and antioxidant properties of set-type yogurt fortified with argel leaf extract. LWT 2021, 137, 110389. [CrossRef]
- Everette, J.D.; Bryant, Q.M.; Green, A.M.; Abbey, Y.A.; Wangila, G.W.; Walker, R.B. Thorough study of reactivity of various compound classes toward the Folin–Ciocalteu reagent. J. Agric. Food Chem. 2010, 58, 8139–8144. [CrossRef]
- Plumb, G.W.; De Pascual-Teresa, S.; Santos-Buelga, C.; Cheynier, V.; Williamson, G. Antioxidant properties of catechins and proanthocyanidins: Effect of polymerisation, galloylation and glycosylation. Free Radic. Res. 1998, 29, 351–358. [CrossRef]
- Lewis, C.D. Industrial and Business Forecasting Methods: A Practical Guide to Exponential Smoothing and Curve Fitting; Butterworth Scientific: London, UK, 1982.

























| Code | Formulation description |
| C | Control kefir without grape seed extract addition |
| FG-1 | Kefir containing 1% (w/v) free black grape seed extract |
| FG-2 | Kefir containing 3% (w/v) free black grape seed extract |
| EG-1 | Kefir containing 1% (w/v) alginate-encapsulated black grape seed extract |
| EG-2 | Kefir containing 3% (w/v) alginate-encapsulated black grape seed extract |
| Hyperparameter | Symbol | Domain | Type | Role in the model |
| Conv1D filters | [16, 96] | Integer | Number of local storage-transition feature maps | |
| Kernel size | {2, 3} | Integer | Width of the temporal convolution window | |
| LSTM units | [32, 128] | Integer | Recurrent memory capacity | |
| Dropout rate | [0.10, 0.50] | Continuous | Stochastic regularization | |
| Learning rate | ] | Log-continuous | Adam update magnitude | |
| Batch size | {4, 8, 16, 32} | Discrete | Sequences per gradient update |
| ID | Model | PCA | CNN | LSTM | Optimizer / Role |
| M1 | LSTM | — | — | ✓ | Default / recurrent baseline |
| M2 | CNN–LSTM | — | ✓ | ✓ | Default / adds local feature extraction |
| M3 | PCA–CNN–LSTM | ✓ | ✓ | ✓ | Default / adds chemometric orthogonalization |
| M4 | PCA–CNN–LSTM–PSO | ✓ | ✓ | ✓ | PSO / classical swarm tuning |
| M5 | PCA–CNN–LSTM–CPO | ✓ | ✓ | ✓ | CPO / proposed model |
| Target | RMSE | MAE | MAPE (%) | |
| TPC (mg GAE/L) | 41.04 | 32.14 | 2.82 | 0.988 |
| TEAC (mM) | 0.352 | 0.275 | 1.91 | 0.959 |
| TPC (mg GAE/L) | TEAC (mM) | ||||||||
| ID | Model | RMSE | MAE | MAPE | RMSE | MAE | MAPE | ||
| M1 | LSTM | 219.97 | 157.21 | 13.67 | 0.647 | 1.418 | 1.028 | 7.01 | 0.332 |
| M2 | CNN–LSTM | 183.73 | 137.51 | 10.86 | 0.754 | 1.121 | 0.951 | 6.43 | 0.583 |
| M3 | PCA–CNN–LSTM | 147.87 | 103.91 | 8.19 | 0.841 | 1.013 | 0.758 | 5.06 | 0.659 |
| M4 | PCA–CNN–LSTM–PSO | 90.51 | 66.74 | 5.42 | 0.940 | 0.866 | 0.651 | 4.51 | 0.751 |
| M5 | PCA–CNN–LSTM–CPO | 41.04 | 32.14 | 2.82 | 0.988 | 0.352 | 0.275 | 1.91 | 0.959 |
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. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).