Skip to content
Open access

A Stock Market Price Prediction Model Integrating a CNN–Transformer Dual-Channel Dynamic Attention Architecture

Aug 2026 · Mathematics · 0 citations · 47 references

TL;DR

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.

Read PDF

Similar papers

Open access Sep 2026

FCA-Transformer: A Feature Pyramid Time Series Forecasting Model Driven by Cross-Attention Mechanism

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.

Lin-Li Wu, Ji-Yong Zhang, Zhi-Ming Zhang et al. · 0 citations
Open access Sep 2026

Enhancing TimeXer with TCN and differential attention for multivariate stock forecasting

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. · 0 citations
Open access Aug 2026

CASCADED GLOBAL–LOCAL REPRESENTATION LEARNING FOR FINANCIAL TIME-SERIES FORECASTING

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.

Hao Wu · 0 citations
Open access Sep 2026

A multi-horizon CNN-GRU architecture for gold price forecasting

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 · 0 citations
Open access Aug 2026

A Hybrid CNN-LSTM Deep Learning Framework for Stock Price Prediction: Evidence from HDFC Bank on the National Stock Exchange of India

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 · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.