A CNN–Transformer dual-channel architecture equipped with a dynamic attention fusion module for stock price forecasting that reduces mean absolute error and root mean square error and remains effective across markets with differing volatility profiles is introduced.
Abstract
Stock market price prediction remains a persistent challenge owing to the non-stationarity, high noise content, and intricate spatiotemporal dependencies that characterize financial time series. Existing approaches typically excel at either local pattern extraction or long-range dependency modeling, yet seldom reconcile both within a unified framework. This paper introduces a CNN–Transformer dual-channel architecture equipped with a dynamic attention fusion module for stock price forecasting. The convolutional channel applies hierarchical dilated convolutions to distill fine-grained local patterns from multi-indicator sequences while suppressing high-frequency noise. Simultaneously, the Transformer channel employs multi-head self-attention to capture long-distance temporal correlations and regime-shift dynamics. A learnable gating mechanism then fuses the two feature streams by adaptively weighting local detail against global trend information according to market conditions. Experiments conducted on four real-world stock datasets spanning the S&P 500, CSI 300, NASDAQ Composite, and Hang Seng Index show that the proposed model reduces mean absolute error by 9.7–15.3% and root mean square error by 9.5–13.8% relative to competitive baselines including LSTM, CNN–LSTM, Informer, and PatchTST. Ablation studies further indicate that both channels and the fusion module contribute to prediction accuracy, and the architecture remains effective across markets with differing volatility profiles.
The findings indicate that the proposed architecture successfully reconciles multi-scale feature extraction with lightweight dependency modeling, enhancing structural generalization and providing a scalable framework for real-time temporal analysis in complex industrial environments.
Experiments on six stock index datasets show that AG-SSM achieves the lowest horizon-averaged MAPE on all six datasets while maintaining competitive performance across other metrics and individual horizons.
Hao-Rong Liao, Xiang-Zeng Kong, Yiming Mu et al.· Mathematics· 0 citations
DAT-TimeXer is proposed, a structure-aware adaptation of TimeXer for closing-price forecasting that achieves the lowest mean forecasting errors among the compared models in the one-step evaluations and maintains lower errors at horizons of 1, 3, 5, and 10 in the evaluated multi-step tasks.
Si-Xing Liu, Quan-Xiang Lan, Jing Zhang et al.· Complex & Intelligent Sy...· 0 citations
The findings indicate that passing attention-derived context into a bidirectional memory module offers a practical means of combining long-horizon structure with local temporal variation, although computational cost remains relevant for latency-sensitive trading applications.
These findings confirm that fusing convolutional pattern mining with streamlined recurrent gating mechanisms significantly enhances predictive precision while optimizing computational efficiency for high-dimensional financial datasets.
Hoang Ha Nguyen, Dinh Hoa Cuong Nguyen, An Binh Truong· HUE UNIVERSITY JOURNAL OF SC...· 0 citations
Accurate forecasting of stock prices prediction has historically been considered one of the most complex issues in capital-related research. Markets are inherently messy they are nonlinear, constantly changing and full of noise. This study proposes and tests a hybrid CNN-LSTM model that blends Convolutional Neural Netw...
A. Malik, Ramesh Kait, Ashish Girdhar· International journal of com...· 0 citations
We use cookies to run the site and, with your consent, for analytics and to show ads.
See our Cookie Policy.