KFold Cross-Validation and Early Stopping in Foodomics Neural Networks: Practices, Pitfalls, and Recommendations
Open Access
- 17 October 2025
- journal article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Access
- Vol. 13, 190820-190832
Abstract
KFold Cross-Validation (CV) and Early Stopping (ES) are crucial methodologies often employed in the literature. On the one hand, KFold CV is fundamental for the robust evaluation of machine learning models, offering insights into their performance across multiple data splits and thereby enhancing evaluation reliability. On the other hand, ES plays a crucial role in the training phase of artificial neural network (ANN) models, preventing the degradation of the model’s generalizability to unseen data by avoiding overfitting. This review not only examines how these two methodologies have been applied in foodomics research, but also critically analyzes the strengths and limitations of the different integration strategies reported in the literature. Building on this analysis, we propose a recommended approach that minimizes risks such as data leakage or biased evaluation, while acknowledging the need for further theoretical and empirical validation. While demonstrating the inventiveness and flexibility of the research field, this diversity of approaches points to the urgent need for clear, unified guidelines regarding the integration of ES and KFold CV in ANN training, which is notably absent. Moreover, the chronological progression of the reviewed studies does not show a trend toward convergence, with different approaches being applied uniformly in recent years. As publicly available foodomics datasets grow in number and size, the systematic validation of existing strategies and the establishment of standardized protocols for their integration will be essential. Such guidelines would support more reliable model evaluation, improve comparability across studies, and ultimately foster more robust ANN applications in foodomics.Keywords
Funding Information
- E-MUSE Marie SkÅodowska-Curie Actions -Innovative Training Networks -2020 European Training Network through the Marie Skłodowska-Curie (956126)
- European Union Project within the framework of the Artificial Intelligence National Laboratory, Hungary, (RRF-2.3.1-21-2022-00004)
This publication has 64 references indexed in Scilit:
- Diagnosis of skin cancer using VGG16 and VGG19 based transfer learning modelsMultimedia Tools and Applications, 2023
- Hyperparameter optimization: Foundations, algorithms, best practices, and open challengesWIREs Data Mining and Knowledge Discovery, 2023
- BG-3DM2F: Bidirectional gated 3D multi-scale feature fusion for Alzheimer’s disease diagnosisMultimedia Tools and Applications, 2022
- Multitrait machine‐ and deep‐learning models for genomic selection using spectral information in a wheat breeding programThe Plant Genome, 2021
- Explainable deep neural networks for novel viral genome predictionApplied Intelligence, 2021
- A review of object detection based on deep learningMultimedia Tools and Applications, 2020
- Computer-aided diagnosis (CAD) system based on multi-layer feature fusion network for skin lesion recognition in dermoscopy imagesMultimedia Tools and Applications, 2019
- Multi-scale CNN based on region proposals for efficient breast abnormality recognitionMultimedia Tools and Applications, 2018
- Nonlinear process modeling of fructosyltransferase (FTase) using bootstrap re-sampling neural network modelBioprocess and Biosystems Engineering, 2009
- Nondestructive measurement of firmness and soluble solids content for apple fruit using hyperspectral scattering imagesSensing and Instrumentation for Food Quality and Safety, 2007