BiGRU_AttentiveFusion: A Learnable Gated Fusion Network for Time Series Data of Financial Funds
Abstract
To address the inadequate contextual utilization and vulnerability to financial noise of gated recurrent unit (GRU) in financial time series forecasting, this paper proposes a hybrid architecture BiGRU_AttentiveFusion with four core improvements on standard GRU: bidirectional gated recurrent unit (BiGRU) for bidirectional temporal dependency capture, multi-head self-attention (MHA) for global relation modeling of hidden states, a learnable gated fusion unit for dynamic feature fusion and noise suppression, and adaptive time-step attention pooling to replace the naive last-time-step output for critical temporal information extraction in financial scenarios. Experiments on both latest Huian SSE Securities ETF and CCB Principal SSE 50 ETF real-world datasets show that the model steadily outperforms support vector regression (SVR), feed-forward network (FFN), long short-term memory (LSTM), GRU, Transformer, and CNN-LSTM-Attention in MSE, MAE, and MAPE, with a relatively favorable R2 score, demonstrating better noise robustness, global modeling, and adaptability for financial time series. Future work will focus on DWT-based preprocessing (discrete wavelet transform) and Mamba-optimized (a new selective state space model) time series modeling instead of GRU.
References
- Bhavani, A., Ramana, A. V., & Chakravarthy, A. S. N. (2022). Comparative analysis between LSTM and GRU in stock price prediction. In 2022 International Conference on Edge Computing and Applications (ICECAA) (pp. 532–537). IEEE.
- Borré, A., Seman, L. O., Camponogara, E., & others. (2023). Machine fault detection using a hybrid CNN-LSTM attention-based model. Sensors, 23(9), 4512.
- Fang, W., Zhang, S., & Xu, C. (2024). Improving prediction efficiency of Chinese stock index futures intraday price by VIX-Lasso-GRU model. Expert Systems with Applications, 238, 121968.
- Gao, Y., Wang, R., & Zhou, E. (2021). Stock prediction based on optimized LSTM and GRU models. Scientific Programming, 2021(1), 4055281.
- Gür, Y. E. (2024). Comparative analysis of deep learning models for silver price prediction: CNN, LSTM, GRU and hybrid approach. Akdeniz İİBF Dergisi, 24(1), 1–13.
- Hu, J., Chang, Q., & Yan, S. (2023). A GRU-based hybrid global stock price index forecasting model with group decision-making. International Journal of Computational Science and Engineering, 26(1), 12–19.
- Jaiswal, R., & Singh, B. (2022). A hybrid convolutional recurrent (CNN-GRU) model for stock price prediction. In 2022 IEEE 11th International Conference on Communication Systems and Network Technologies (CSNT) (pp. 299–304). IEEE.
- Kehinde T O, Khan W A, Chung S H. Financial market forecasting using RNN, LSTM, BiLSTM, GRU and transformer-based deep learning algorithms [C]//Proceedings of the IEOM International Conference on Smart Mobility and Vehicle Electrification, Detroit, MI, USA. 2023: 10-12.
- Li, X., & Tang, P. (2020). Stock index prediction based on wavelet transform and FCD‐MLGRU. Journal of Forecasting, 39(8), 1229–1237.
- Patra, G. R., & Mohanty, M. N. (2022). An LSTM-GRU based hybrid framework for secured stock price prediction. Journal of Statistics and Management Systems, 25(6), 1491–1499.
- Si, Y., Nadarajah, S., Zhang, Z., & others. (2024). Modeling opening price spread of Shanghai Composite Index based on ARIMA-GRU/LSTM hybrid model. PLOS ONE, 19(3), e0299164.
- Xu, Z., Liu, X., Xu, Q., & others. (2025). Time series forecasting with attention-augmented recurrent networks: A financial market application. In Proceedings of the 2025 2nd International Conference on Computer and Multimedia Technology (pp. 155–159).
- Zhao, J., Zeng, D., Liang, S., et al. (2021). Prediction model for stock price trend based on recurrent neural network. Journal of Ambient Intelligence and Humanized Computing, 12(1), 745–753..
- Zhou, Q., Zhou, C., & Wang, X. (2022). Stock prediction based on bidirectional gated recurrent unit with convolutional neural network and feature selection. PLOS ONE, 17(2), e0262501.
- Zhu, P., Li, Y., Hu, Y., et al. (2025). MCI-GRU: Stock prediction model based on multi-head cross-attention and improved GRU. Neurocomputing, 638, 130168.
- Zulqarnain, M., Ghazali, R., Ghouse, M. G., et al. (2020). Predicting financial prices of stock market using recurrent convolutional neural networks. International Journal of Intelligent Systems and Applications, 9(6), 21.