Evaluating the impact of hyperparameters on the performance of 1D CNN model for nutritional profiling of underutilized crops using NIRS data

The application of 1D Convolutional Neural Networks (CNNs) for nutritional profiling using Near-Infrared Spectroscopy (NIRS) data has increased significantly in recent times. The accuracy of 1D CNNs depends on hyperparameters, yet a thorough investigation into their impact on model performance is lacking. Therefore, in this study, we explored the effects of hyperparameters on the performance of 1D CNN models for predicting nutritional traits using NIRS data from perilla, lablab bean, and rice bean crops. We tested a range of hyperparameters, including convolutional layers, filters, kernel sizes, pooling methods, batch sizes, activation functions, and optimizers. Our results show that increasing the number of convolutional layers improved the model's predictive power by enhancing feature extraction; however, beyond a certain limit, performance declined due to overfitting. Similarly, increasing the number of filters enhanced performance, but the optimal number needs to be decided to mitigate underfitting. Moderate kernel sizes struck a balance between feature preservation and generalization, while larger kernels decreased accuracy. Max pooling with smaller sizes provided optimal results by retaining essential features, whereas larger pooling sizes caused information loss. Smaller batch sizes were more effective at improving generalization, while larger batch sizes led to over-smoothing. LeakyReLU outperformed standard ReLU by avoiding the problem of dead neurons. And, a lower learning rate combined with the Adam optimizer resulted in smoother convergence and higher accuracy. Thus, the present study provides a framework for selecting hyperparameters in 1D CNN models to achieve optimal performance in nutritional trait estimation using NIRS data.

Authors

Institutions

Publication Details

Journal
Smart Agricultural Technology
Published
2025-05-23
DOI
https://doi.org/10.1016/j.atech.2025.101025
Citations
7
Primary Topic
Spectroscopy and Chemometric Analyses
Type
article
Field-Weighted Citation Impact
5.27
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Evaluating the impact of hyperparameters on the performance of 1D CNN model for nutritional profiling of underutilized crops using NIRS data

W. S. Philanim, Amit Kumar, Amit Kumar Patil, Amritbir Riar et al.
7 citations
Smart Agricultural Technology
Spectroscopy and Chemometric Analyses
5.27
article

Evaluating the impact of hyperparameters on the performance of 1D CNN model for nutritional profiling of underutilized crops using NIRS data

W. S. Philanim, Amit Kumar, Amit Kumar Patil, Amritbir Riar, Rakesh Bhardwaj, Naseeb Singh, Veerendra Kumar Verma, Simardeep Kaur
article en
7 citations

Abstract

The application of 1D Convolutional Neural Networks (CNNs) for nutritional profiling using Near-Infrared Spectroscopy (NIRS) data has increased significantly in recent times. The accuracy of 1D CNNs depends on hyperparameters, yet a thorough investigation into their impact on model performance is lacking. Therefore, in this study, we explored the effects of hyperparameters on the performance of 1D CNN models for predicting nutritional traits using NIRS data from perilla, lablab bean, and rice bean crops. We tested a range of hyperparameters, including convolutional layers, filters, kernel sizes, pooling methods, batch sizes, activation functions, and optimizers. Our results show that increasing the number of convolutional layers improved the model's predictive power by enhancing feature extraction; however, beyond a certain limit, performance declined due to overfitting. Similarly, increasing the number of filters enhanced performance, but the optimal number needs to be decided to mitigate underfitting. Moderate kernel sizes struck a balance between feature preservation and generalization, while larger kernels decreased accuracy. Max pooling with smaller sizes provided optimal results by retaining essential features, whereas larger pooling sizes caused information loss. Smaller batch sizes were more effective at improving generalization, while larger batch sizes led to over-smoothing. LeakyReLU outperformed standard ReLU by avoiding the problem of dead neurons. And, a lower learning rate combined with the Adam optimizer resulted in smoother convergence and higher accuracy. Thus, the present study provides a framework for selecting hyperparameters in 1D CNN models to achieve optimal performance in nutritional trait estimation using NIRS data.

Smart Agricultural TechnologyVol. 11
Indian Grassland and Fodder Research Institute (IN), ICAR-National Bureau Of Plant Genetic Resources (IN), ICAR Research Complex for NEH Region (IN), Forschungsinstitut für Biologischen Landbau (CH)
Zero hunger
Openalex Percentile: Top 4%
Spectroscopy and Chemometric Analyses
5.27
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.