Research Article

Comparative Evaluation of Deep Learning Model Complexity for Forecasting Non-Ferrous Metal Prices

DOI:

10.3791/71032

June 5th, 2026

In This Article

Summary

Loading...
$$\rightleftharpoonup{xx}$$ $$\longleftharp{xx}$$, $$\longrightharp{xx}$$,

A systematic reevaluation of 13 architectures for metal price forecasting shows that a simple gated recurrent unit outperforms more complex hybrid models. Models trained on copper and tested on aluminum and zinc demonstrate consistently high predictive accuracy, supporting the use of parsimonious approaches in commodity price forecasting.

Abstract

Loading...
$$\rightleftharpoonup{xx}$$ $$\longleftharp{xx}$$, $$\longrightharp{xx}$$,

This study examines whether increasing architectural complexity improves forecasting accuracy in deep learning–based financial models. Using daily spot price data from the Shanghai Metals Market for copper (Cu), aluminum (Al), and zinc (Zn) spanning January 2015 to September 2025, a standardized preprocessing pipeline was applied, including z-score normalization and sliding window sequence construction (window length = 30, forecast horizon = 1). A total of eighteen models were systematically evaluated, including gated recurrent units (GRUs), long short-term memory (LSTM) networks, convolutional neural network–bidirectional LSTM–attention hybrids (CNN–BiLSTM–Attention), as well as traditional econometric models (autoregressive integrated moving average and generalized autoregressive conditional heteroskedasticity), machine learning models (random forest and extreme gradient boosting), and a Transformer-based model. All deep learning models were trained exclusively on Cu data and evaluated on independent Al and Zn datasets to assess generalizability. Results show that the standard GRU model achieves the lowest error rates (mean absolute error [MAE] = 1032.85; root mean square error = 1344.30) and highest explanatory power (coefficient of determination [R2] = 0.907) on the Cu test set, while also performing strongly on Al (MAE = 167.51, R2 = 0.918) and Zn (MAE = 254.23, R2 = 0.952). Ablation analysis demonstrates that adding architectural components such as attention mechanisms, bidirectional layers, and convolutional modules reduces predictive accuracy. Statistical testing using the Diebold–Mariano test indicates that most performance differences are significant (p < 0.05). These findings highlight the limitations of unnecessary model complexity and support the use of simpler, robust approaches for commodity price forecasting.

Introduction

Loading...
$$\rightleftharpoonup{xx}$$ $$\longleftharp{xx}$$, $$\longrightharp{xx}$$,

The global non-ferrous metals market—encompassing copper (Cu), aluminum (Al), and zinc (Zn)—is a linchpin of the world economy. These metals are fundamental to construction, manufacturing, transportation, and the rapidly expanding green energy infrastructure1,2. Consequently, their price dynamics are characterized by high volatility, driven by a complex interplay of macroeconomic forces, geopolitical tensions, supply chain disruptions, speculative financial activities, and linkages to energy markets3,4. Accurate forecasting is not merely ac....

Access restricted. Please log in or start a trial to view this content.

Protocol

Loading...
$$\rightleftharpoonup{xx}$$ $$\longleftharp{xx}$$, $$\longrightharp{xx}$$,

This study did not involve human participants or vertebrate animal subjects. All data used are publicly available commodity price series from the SMM, which do not require ethical approval. Therefore, no ethical approval was sought or required for this research.

This section delineates the comprehensive and rigorous research design implemented to empirically test the core hypothesis. It provides a detailed exposition of the mathematical formulation and architectural specifics of the thirteen evaluated deep learning models, the precise training protocol, and the formal evaluation metrics. The overarching methodological workflow is visually s....

Access restricted. Please log in or start a trial to view this content.

Results

Loading...
$$\rightleftharpoonup{xx}$$ $$\longleftharp{xx}$$, $$\longrightharp{xx}$$,

qThis section presents a comprehensive empirical evaluation of the 13 DL models and additional baseline models, following the rigorous methodology outlined in Section 3. The analysis is structured in four parts: (1) a descriptive overview of the dataset, (2) a primary benchmarking of model performance on the held-out Cu test set, including visual diagnostics of fitting and training dynamics, (3) a detailed ablation study to deconstruct the effect of architectural complexity, and (4) a critical test of model generalizabil.......

Access restricted. Please log in or start a trial to view this content.

Discussion

Loading...
$$\rightleftharpoonup{xx}$$ $$\longleftharp{xx}$$, $$\longrightharp{xx}$$,

The empirical results presented in the Results section provide a clear and consistent answer to our central research question: for daily non-ferrous metal price forecasting under a realistic, data-limited regime (2,602 observations, univariate inputs, one-step-ahead horizon), the simplest deep learning architecture—the GRU—consistently and significantly outperforms a wide range of more complex models. These include hybrid CNNs, bidirectional RNNs, attention-augmented networks, and multicompon.......

Access restricted. Please log in or start a trial to view this content.

Disclosures

Loading...
$$\rightleftharpoonup{xx}$$ $$\longleftharp{xx}$$, $$\longrightharp{xx}$$,

The authors declare that they have no competing financial interests or personal relationships that could have appeared to influence the work reported in this study.

Acknowledgements

Loading...
$$\rightleftharpoonup{xx}$$ $$\longleftharp{xx}$$, $$\longrightharp{xx}$$,

This research received no external funding.

....

Access restricted. Please log in or start a trial to view this content.

Materials

List of materials used in this article
NameCompanyCatalog NumberComments
DatasetDaily copper (Cu) spot price series – One of the three target metals; also part of multivariate input features.Shanghai Metals Market (SMM), publicly availableSMM price data; column = Cu; price type = spot; frequency = daily; unit = CNY/ton; date range = 2015-01-05 to 2025-09-12; RRID: not applicable
DatasetDaily aluminum (Al) spot price series – One of the three target metals; also part of multivariate input features.Shanghai Metals Market (SMM), publicly availableSMM price data; column = Al; price type = spot; frequency = daily; unit = CNY/ton; date range = 2015-01-05 to 2025-09-12; RRID: not applicable
DatasetDaily zinc (Zn) spot price series – One of the three target metals; also part of multivariate input features.Shanghai Metals Market (SMM), publicly availableSMM price data; column = Zn; price type = spot; frequency = daily; unit = CNY/ton; date range = 2015-01-05 to 2025-09-12; RRID: not applicable
DatasetPreprocessed multivariate metal price dataset – Chronologically sorted and cleaned Cu, Al, Zn series after missing-value handling and sliding-window construction (L = 30, h = 1).Author-generated from SMM dataStored in Zenodo repository (DOI: 10.5281/zenodo.19976985); file: Data.csv; RRID: not applicable
SoftwarePython programming language – Main language for data processing, model implementation, evaluation, and figure/table generation.Python Software Foundation / AnacondaPython 3.10.19; Anaconda distribution; RRID: SCR_008394
SoftwareTensorFlow/Keras – Deep learning framework for implementing GRU, LSTM, BiGRU, BiLSTM, CNN-hybrid, attention, and Transformer models.TensorFlow / KerasTensorFlow 2.20.0; RRID: SCR_016345
SoftwareNumPy – Numerical array processing and matrix operations.Open-source communityNumPy 1.26.4; RRID: SCR_008633
Softwarepandas – Data loading, tabular processing, and CSV/Excel output handling.Open-source communitypandas 2.3.3; RRID: SCR_018214
Softwarescikit-learn – Evaluation metrics, preprocessing, and machine-learning utilities.Open-source communityscikit-learn 1.7.2; RRID: SCR_002577
SoftwareStandardScaler (z-score normalization) – Feature standardization applied using training set statistics.scikit-learnIncluded in scikit-learn 1.7.2; RRID: SCR_002577
SoftwareRandom Forest – Machine learning baseline implementation (RandomForestRegressor).Open-source communityscikit-learn 1.7.2; RRID: SCR_002577
Softwarestatsmodels – ARIMA baseline implementation.Open-source communitystatsmodels 0.14.6; RRID: SCR_016074
Softwarearch – GARCH baseline implementation.Open-source communityarch 8.0.0; RRID: not available
SoftwareXGBoost – XGBoost regression baseline implementation.Open-source communityXGBoost 3.1.2; RRID: SCR_025884
SoftwareTransformer model – Baseline deep learning architecture for comparison.TensorFlow / KerasImplemented using TensorFlow 2.20.0; RRID: SCR_016345
SoftwareKeras callbacks (ReduceLROnPlateau) – Learning rate scheduler used during training.TensorFlow / KerasIncluded in TensorFlow 2.20.0; RRID: SCR_016345
SoftwareMatplotlib – Figure generation and export to PDF/SVG/PNG.Open-source communityMatplotlib 3.10.6; RRID: SCR_008595
Softwareopenpyxl – Excel workbook generation and export support.Open-source communityopenpyxl 3.1.5; RRID: not available
CodeGRU.py – Complete implementation of all 13 deep-learning models, Transformer comparison, ARIMA/GARCH/XGBoost/Random Forest baselines, Diebold–Mariano tests, and figure generation.Author-writtenAvailable at Zenodo (DOI: 10.5281/zenodo.19976985); RRID: not applicable
CodeREADME_reproducibility.md – Reproduction instructions and step-by-step protocol.Author-writtenAvailable at Zenodo (DOI: 10.5281/zenodo.19976985); RRID: not applicable
Coderequirements.txt – Software dependencies and exact version specifications.Author-writtenAvailable at Zenodo (DOI: 10.5281/zenodo.19976985); RRID: not applicable
HardwareComputing workstation – All model training, validation, testing, and figure/table generation.ASUSTeK COMPUTER INC. (ROG Strix G634JZ_G634JZ)Windows 11 Home 10.0.26200 Build 26200; x64-based PC; RRID: not applicable
HardwareCPU – Central processing unit for training and inference.IntelIntel64 Family 6 Model 183 Stepping 1, ~2.20 GHz; RRID: not applicable
HardwareRAM – Physical memory for all computational tasks.ASUSTeK workstation32,387 MB (~32 GB); RRID: not applicable
HardwareGPU acceleration – Status of graphics processing unit utilization.TensorFlow device querytf.config.list_physical_devices('GPU') returns []; CUDA/cuDNN not used; RRID: not applicable
Reagent/ModelRandom seed (main experiment) – Fixed seed for reproducibility of stochastic elements.Python random / NumPy / TensorFlowSeed = 42; RRID: not applicable
Reagent/ModelRandom seeds (robustness test) – Additional seeds for multi-run stability validation.Python random / NumPy / TensorFlowSeeds = {1, 7, 21, 42, 2024}; RRID: not applicable

Reprints and Permissions

Request permission to reuse the text or figures of this JoVE article

Request Permission

Tags

Deep Learning ForecastingMetal Price PredictionModel ComplexityGated Recurrent UnitsLSTM NetworksCNN BiLSTM AttentionTransformer ModelSliding WindowZ Score NormalizationDiebold Mariano Test

Related Articles