An Improved GRU Financial Time Series Prediction Model
Abstract
1. Introduction
2. Fundamental Theories and Methods
2.1. VMD
2.2. Multifractal Analysis
2.3. Improved GRU
2.4. State Fusion Strategy for VMD-MF-GRU
2.5. FTS Forecasting Workflow
3. Experimental Design
3.1. Data Sources
3.2. Parameter Comparison Experiment
3.3. Decomposition of FTS Data and Its Corresponding Multifractal Spectrum Characteristics
3.4. Prediction Results of the VMD-MF-GRU
3.4.1. Frequency-Division Prediction of FTS
3.4.2. FTS Forecasting
4. Conclusions
Funding
Data Availability Statement
Conflicts of Interest
References
- Zhu, T. Latent factor model in asset pricing: A deep learning approach in the Chinese stock market. Financ. Res. Lett. 2025, 86, 108519. [Google Scholar] [CrossRef]
- Yang, J.; Chang, B.; Zhang, Y.; Luo, W.; Ge, S.; Wu, M. CNN coal and rock recognition method based on hyperspectral data. Int. J. Coal Sci. Technol. 2022, 9, 63. [Google Scholar] [CrossRef]
- Chen, W.; Hussain, W.; Cauteruccio, F.; Zhang, X. Deep Learning for Financial Time Series Prediction: A State-of-the-Art Review of Standalone and Hybrid Models. CMES—Comput. Model. Eng. Sci. 2023, 139, 187–224. [Google Scholar] [CrossRef]
- Hochreiter, S.; Schmidhuber, J. Long short-term memory. Neural Comput. 1997, 9, 1735–1780. [Google Scholar] [CrossRef]
- Li, C.; Wang, Z.; Rao, M.; Belkin, D.; Song, W.; Jiang, H.; Yan, P.; Li, Y.; Lin, P.; Hu, M.; et al. Long short-term memory networks in memristor crossbar arrays. Nat. Mach. Intell. 2019, 1, 49–57. [Google Scholar] [CrossRef]
- Yao, Y.; Zhang, Z.-Y.; Zhao, Y. Stock index forecasting based on multivariate empirical mode decomposition and temporal convolutional networks. Appl. Soft Comput. 2023, 142, 110356. [Google Scholar] [CrossRef]
- Jiang, Y.; Olmo, J.; Atwi, M. Deep reinforcement learning for portfolio selection. Glob. Financ. J. 2024, 62, 101016. [Google Scholar] [CrossRef]
- Martelo, S.; León, D.; Hernandez, G. Multivariate Financial Time Series Forecasting with Deep Learning. In Workshop on Engineering Applications; Springer: Cham, Switzerland, 2022. [Google Scholar] [CrossRef]
- Chung, J.; Gulcehre, C.; Cho, K.; Bengio, Y. Empirical evaluation of gated recurrent neural networks on sequence modeling. arXiv 2014, arXiv:1412.3555. [Google Scholar] [CrossRef]
- Cho, K.; Van Merriënboer, B.; Gulçehre, Ç.; Bahdanau, D.; Bougares, F.; Schwenk, H.; Bengio, Y. Learning phrase representations using RNN encoder decoder for statistical machine translation. In Proceedings of the Conference on Empirical Methods in Natural Language Processing, Doha, Qatar, 25–29 October 2014; pp. 1724–1734. [Google Scholar]
- Li, P.; Wei, Y.; Yin, L. Research on Stock Price Prediction Method Based on the GAN-LSTM-Attention Model. Comput. Mater. Contin. 2025, 82, 609–625. [Google Scholar] [CrossRef]
- Buczyński, M.; Chlebus, M.; Kopczewska, K.; Zajenkowski, M. Financial Time Series Models—Comprehensive Review of Deep Learning Approaches and Practical Recommendations. Eng. Proc. 2023, 39, 79. [Google Scholar]
- Sun, G.; Deng, S. Financial Time Series Forecasting: A Comparison Between Traditional Methods and AI-Driven Techniques. J. Comput. Signal Syst. Res. 2025, 2, 86–93. [Google Scholar] [CrossRef]
- Giantsidi, S.; Tarantola, C. Deep learning for financial forecasting: A review of recent trends. Int. Rev. Econ. Financ. 2025, 104, 104719. [Google Scholar] [CrossRef]
- Yao, Y.; Wang, X.; Chen, W.; Chen, Z. Extreme Risk Spillover among Global Stock Markets Based on Transformer-LSTM Quantile Regression. Chin. J. Manag. Sci. 2025, 33, 1–13. [Google Scholar]
- Bolchini, C.; Cassano, L.; Miele, A. Resilience of deep learning applications: A systematic literature review of analysis and hardening techniques. Comput. Sci. Rev. 2024, 54, 100682. [Google Scholar] [CrossRef]
- Wang, S. A Stock Price Prediction Method Based on BiLSTM and Improved Transformer. IEEE Access 2023, 11, 104211–104223. [Google Scholar] [CrossRef]
- Yang, K.; Wei, Y.; Li, S.; He, J. Asymmetric risk spillovers between Shanghai and Hong Kong stock markets under China’s capital account liberalization. N. Am. J. Econ. Financ. 2020, 51, 101100. [Google Scholar] [CrossRef]
- Zhang, Y.; Dong, Z.; Xu, W. Integrative stock price trend prediction via hierarchical LLM text processing and patch-based transformer with co-attention. Expert Syst. Appl. 2026, 302, 130441. [Google Scholar] [CrossRef]
- Li, S.; Xu, S. Enhancing stock price prediction using GANs and transformer-based attention mechanisms. Empir. Econ. 2025, 68, 373–403. [Google Scholar]
- Tsaknaki, I.Y.; Lillo, F.; Mazzarisi, P. Bayesian autoregressive online change-point detection with time-varying parameters. Commun. Nonlinear Sci. Numer. Simul. 2025, 142, 108500. [Google Scholar] [CrossRef]
- Wang, J.; Chen, Z. Factor-GAN: Enhancing stock price prediction and factor investment with Generative Adversarial Networks. PLoS ONE 2024, 19, e0306094. [Google Scholar] [CrossRef]
- Li, S.; Zhang, S.; He, J.; Ren, T. How does investor sentiment impact systemic risk contagion across industries? Evidence from the Chinese stock market. Appl. Econ. 2026, 58, 517–539. [Google Scholar] [CrossRef]
- Li, Y. Multifractal Characteristics of China’s Stock Market and Slump’s Fractal Prediction. Fractal Fract. 2022, 6, 499. [Google Scholar]
- Li, Y. The Importance of Non-Systemically Important Banks—A Network-Based Analysis for China’s Banking System. Fractal Fract. 2023, 7, 735. [Google Scholar]
- Cao, G.; Han, Y.; Li, Q.; Xu, W. Asymmetric MF-DCCA method based on risk conduction and its application in the Chinese and foreign stock markets. Phys. A Stat. Mech. Its Appl. 2017, 468, 119–130. [Google Scholar] [CrossRef]
- Wang, X.; Xu, J.; Shi, W.; Liu, J. OGRU An Optimized Gated Recurrent Unit Neural Network. J. Phys. Conf. Ser. 2019, 1325, 12–89. [Google Scholar] [CrossRef]
- Shi, W. Construction of adaptive gated recurrent hierarchical network with cross-modal dynamic interaction and its application in multimodal sentiment analysis. Discov. Appl. Sci. 2025, 7, 1404. [Google Scholar] [CrossRef]
- Shaikh, Z.M.; Ramadass, S. Unveiling deep learning powers: LSTM, BiLSTM, GRU, BiGRU, RNN comparison. Indones. J. Electr. Eng. Comput. Sci. 2024, 35, 263. [Google Scholar] [CrossRef]
- Ruan, L.; Yang, L. Investor-company interactions and stock price crash risk: Evidence from China. Res. Int. Bus. Financ. 2025, 76, 102830. [Google Scholar]
- Cavicchioli, M.; Ghezal, A.; Zemmouri, I. (Bi)spectral analysis of Markov switching bilinear time series. Stat. Methods Appl. 2025, 1–30. [Google Scholar] [CrossRef]
- Alraddadi, R. The—Model: A threshold-based volatility framework with logarithmic shocks for exchange rate dynamics. AIMS Math. 2025, 10, 19495–19511. [Google Scholar] [CrossRef]








| Number of Hidden Layers | Nodes in Layer 1 | Nodes in Layer 2 | Nodes in Layer 3 | MAE | RMSE | MAPE | R2 |
|---|---|---|---|---|---|---|---|
| 2 | 16 | 16 | — | 0.4754 | 0.5642 | 0.0220 | 0.5915 |
| 2 | 32 | 16 | — | 0.5398 | 0.6777 | 0.0268 | 0.4512 |
| 2 | 32 | 32 | — | 0.4583 | 0.5235 | 0.0198 | 0.7523 |
| 2 | 64 | 32 | — | 0.4844 | 0.5732 | 0.0216 | 0.6245 |
| 2 | 64 | 64 | — | 0.5258 | 0.5946 | 0.0229 | 0.6865 |
| 3 | 16 | 16 | 16 | 0.4777 | 0.5814 | 0.0217 | 0.6732 |
| 3 | 32 | 16 | 16 | 0.5498 | 0.6372 | 0.0241 | 0.6647 |
| 3 | 32 | 32 | 16 | 0.4989 | 0.5781 | 0.0227 | 0.5817 |
| 3 | 32 | 32 | 32 | 0.5573 | 0.6843 | 0.0252 | 0.4957 |
| Window Size | RMSE | Window Size | RMSE |
|---|---|---|---|
| 3 | 0.0844 | 15 | 0.0952 |
| 6 | 0.0836 | 18 | 0.1185 |
| 9 | 0.0809 | 21 | 0.1294 |
| 12 | 0.0816 | 24 | 0.1396 |
| Model | Components | MAE | RMSE | MAPE (%) | R2 |
|---|---|---|---|---|---|
| LSTM | Trend | 0.0913 | 1.1870 | 0.0388 | 0.7079 |
| cyclical | 0.2252 | 0.0852 | 0.0538 | 0.6898 | |
| random | 0.2582 | 0.0834 | 0.4118 | 0.6694 | |
| GRU | Trend | 0.0876 | 1.1425 | 0.0379 | 0.7702 |
| cyclical | 0.2156 | 0.0817 | 0.0525 | 0.7235 | |
| random | 0.2225 | 0.0996 | 0.3291 | 0.6958 | |
| Transformer | Trend | 0.0934 | 1.2518 | 0.0425 | 0.6788 |
| cyclical | 0.2475 | 0.1007 | 0.0659 | 0.6508 | |
| random | 0.2723 | 0.0982 | 0.5721 | 0.5791 | |
| VMD-MF-GRU | Trend | 0.0817 | 1.0518 | 0.0346 | 0.8387 |
| cyclical | 0.1929 | 0.0745 | 0.0475 | 0.8194 | |
| random | 0.2258 | 0.0871 | 0.3318 | 0.6595 |
| Compared Model | Components | Loss Function | DM Statistic | p-Value |
|---|---|---|---|---|
| LSTM | Trend | Squared Error | −4.285 | 0.0001 *** |
| Absolute Error | −4.127 | 0.0001 *** | ||
| cyclical | Squared Error | −4.823 | 0.0001 *** | |
| Absolute Error | −4.251 | 0.0001 *** | ||
| GRU | Trend | Squared Error | −3.572 | 0.0001 *** |
| Absolute Error | −3.146 | 0.0001 *** | ||
| cyclical | Squared Error | −3.967 | 0.0001 *** | |
| Absolute Error | −3.552 | 0.0001 *** | ||
| Transformer | Trend | Squared Error | −4.723 | 0.0001 *** |
| Absolute Error | −4.093 | 0.0001 *** | ||
| cyclical | Squared Error | −5.124 | 0.0001 *** | |
| Absolute Error | −4.896 | 0.0001 *** |
| Model | Components | MAE | RMSE | MAPE (%) | R2 |
|---|---|---|---|---|---|
| VMD-MF-GRU (with state fusion strategy) | Trend | 0.0817 | 1.0518 | 0.0346 | 0.8387 |
| cyclical | 0.1929 | 0.0745 | 0.0475 | 0.8194 | |
| random | 0.2258 | 0.0871 | 0.3318 | 0.6595 | |
| VMD-MF-GRU (without state fusion strategy) | Trend | 0.0876 | 1.1425 | 0.0379 | 0.7702 |
| cyclical | 0.2156 | 0.0817 | 0.0525 | 0.7235 | |
| random | 0.2225 | 0.0996 | 0.3291 | 0.6958 |
| Index | Model | MAE | RMSE | MAPE (%) | R2 |
|---|---|---|---|---|---|
| SSE 50 | LSTM | 0.5721 | 1.4269 | 0.4157 | 0.7821 |
| GRU | 0.5266 | 1.3465 | 0.3703 | 0.7266 | |
| Transformer | 0.6247 | 1.5326 | 0.5269 | 0.6247 | |
| VMD-MF-GRU | 0.4811 | 1.2192 | 0.3488 | 0.8211 | |
| CSI 300 | LSTM | 0.5624 | 1.3978 | 0.3269 | 0.7624 |
| GRU | 0.5168 | 1.3168 | 0.3016 | 0.7516 | |
| Transformer | 0.6123 | 1.5267 | 0.4206 | 0.6123 | |
| VMD-MF-GRU | 0.4181 | 1.1282 | 0.2192 | 0.8418 | |
| CSI 1000 | LSTM | 0.5817 | 1.4398 | 0.4267 | 0.7581 |
| GRU | 0.5326 | 1.3382 | 0.3641 | 0.7132 | |
| Transformer | 0.6429 | 1.5807 | 0.4334 | 0.6429 | |
| VMD-MF-GRU | 0.4583 | 1.2571 | 0.2314 | 0.8045 |
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 author. 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.
Share and Cite
Li, Y. An Improved GRU Financial Time Series Prediction Model. Fractal Fract. 2026, 10, 227. https://doi.org/10.3390/fractalfract10040227
Li Y. An Improved GRU Financial Time Series Prediction Model. Fractal and Fractional. 2026; 10(4):227. https://doi.org/10.3390/fractalfract10040227
Chicago/Turabian StyleLi, Yong. 2026. "An Improved GRU Financial Time Series Prediction Model" Fractal and Fractional 10, no. 4: 227. https://doi.org/10.3390/fractalfract10040227
APA StyleLi, Y. (2026). An Improved GRU Financial Time Series Prediction Model. Fractal and Fractional, 10(4), 227. https://doi.org/10.3390/fractalfract10040227

