Hybrid CNN-BiGRU-AM Model with Anomaly Detection for Nonlinear Stock Price Prediction
To address challenges in stock price prediction including data nonlinearity and anomalies, we propose a hybrid CNN-BiGRU-AM framework integrated with deep learning-based anomaly detection. First, an anomaly detection module identifies irregularities in stock price data. The CNN component then extracts local features while filtering anomalous information, followed by nonlinear pattern modeling through BiGRU with attention mechanisms. Final predictions undergo secondary anomaly screening to ensure reliability. Experimental evaluation on Shanghai Composite (SSE) daily closing prices demonstrates superior performance with R2 = 0.9903, RMSE = 22.027, MAE = 19.043, and a Sharpe Ratio of 0.65. It is noteworthy that the MAE of this model is reduced by 14.7%, and the RMSE is decreased by 7.7% compared to its ablation model. The framework achieves multi-level feature extraction through convolutional operations and bidirectional temporal modeling, effectively enhancing model generalization via nonlinear mapping and anomaly correction. Comparative Sharpe Ratio analysis across models provides practical insights for investment decision-making. This dual-functional system not only improves prediction accuracy but also offers interpretable references for market mechanism analysis and regulatory policy formulation.
Authors
- Kai Xie (ORCID: https://orcid.org/0000-0002-2511-5942)
- Yang Ruan (ORCID: https://orcid.org/0000-0002-0094-3936)
- Chang Wen (ORCID: https://orcid.org/0000-0001-7339-3130)
- Wei Zhang (ORCID: https://orcid.org/0000-0002-9446-7319)
- Jinpeng Ji (ORCID: https://orcid.org/0009-0001-8419-8119)
- Yun Cao (ORCID: https://orcid.org/0009-0003-0618-4015)
- Jianbiao He (ORCID: https://orcid.org/0000-0003-3524-8877)
- Jiacheng Luo (ORCID: https://orcid.org/0000-0002-8582-0707)
Institutions
- Central South University (CN)
- Yangtze University (CN)
Publication Details
- Journal
- Electronics
- Published
- 2025-03-24
- DOI
- https://doi.org/10.3390/electronics14071275
- Citations
- 6
- Primary Topic
- Stock Market Forecasting Methods
- Type
- article
- Field-Weighted Citation Impact
- 12.64
Funders
- National Natural Science Foundation of China