Hyperparameter Tuning of Artificial Neural Network-Based Machine Learning to Optimize Number of Hidden Layers and Neurons in Metal Forming
Open Access
- 3 August 2025
- journal article
- research article
- Published by MDPI AG in Journal of Manufacturing and Materials Processing
- Vol. 9 (8) , 260
Abstract
Cold rolling is widely recognized as a key industrial process for enhancing the mechanical properties of materials, particularly hardness, through strain hardening. Despite its importance, accurately predicting the final hardness remains a challenge due to the inherently nonlinear nature of the deformation. While several studies have employed artificial neural networks to predict mechanical properties, architectural parameters still need to be investigated to understand their effects on network behavior and model performance, ultimately supporting the design of more effective architectures. This study investigates hyperparameter tuning in artificial neural networks trained using Resilient Backpropagation by evaluating the impact of varying number of hidden layers and neurons on the prediction accuracy of hardness in 70-30 brass specimens subjected to cold rolling. A dataset of 1000 input–output pairs, containing dimensional and hardness measurements from multiple rolling passes, was used to train and evaluate 819 artificial neural network architectures, each with a different configuration of 1 to 3 hidden layers and 4 to 12 neurons per layer. Each configuration was tested over 50 runs to reduce the influence of randomness and enhance result consistency. Enhancing the network depth from one to two hidden layers improved predictive performance. Architectures with two hidden layers achieved better performance metrics, faster convergence, and lower variation than single-layer networks. Introducing a third hidden layer did not yield meaningful improvements over two-hidden-layer architectures in terms of performance metrics. While the top three-layer model converged in fewer epochs, it required more computational time due to increased model complexity and weight elements.Keywords
Funding Information
- NSF CMMI (1763147, N000142112861)
- Office of Naval Research Award (1763147, N000142112861)
This publication has 45 references indexed in Scilit:
- Enhancing damage prediction in bulk metal forming through machine learning-assisted parameter identificationArchive of Applied Mechanics, 2024
- Polymer extrusion die design using a data-driven autoencoders techniqueInternational Journal of Material Forming, 2023
- Predicting flatness of strip tandem cold rolling using a general regression neural network optimized by differential evolution algorithmThe International Journal of Advanced Manufacturing Technology, 2023
- Artificial neural network-based decision support systems in manufacturing processes: A systematic literature reviewComputers & Industrial Engineering, 2022
- Springback optimization of deep drawing process based on FEM-ANN-PSO strategyStructural and Multidisciplinary Optimization, 2021
- Effect of number of neurons and layers in an artificial neural network for generalized concrete mix designNeural Computing and Applications, 2020
- Sensitivity analysis of the artificial neural networks in a system for durability prediction of forging tools to forgings made of C45 steelThe International Journal of Advanced Manufacturing Technology, 2020
- Durability analysis of forging tools after different variants of surface treatment using a decision-support system based on artificial neural networksArchives of Civil and Mechanical Engineering, 2018
- Integration of artificial neural network and simulated annealing algorithm to optimize deep drawing processThe International Journal of Advanced Manufacturing Technology, 2014
- Artificial neural network predictors for mechanical properties of cold rolling productsAdvances in Engineering Software, 2012