Skip to content
Open access

A Hybrid Model for Stock Index Forecasting Integrating Multi-Scale Local Attention and State-Space Modeling

Aug 2026 · Mathematics · 0 citations · 43 references

TL;DR

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.

Abstract

Stock index forecasting is essential for financial market analysis and risk monitoring, yet it remains challenging because index price series are nonlinear, non-stationary, and driven by heterogeneous market factors. Existing methods remain limited in preserving local price patterns, capturing multi-scale local dependencies, and integrating attention-derived structures with long-range state-space representations. To address these limitations, we propose AG-SSM, an attention-guided state-space model for multi-step stock index forecasting. The model first uses variable-wise patch embedding to construct local semantic units, which are then processed by the AG-SSM architecture for temporal representation learning. Its core block integrates dual-path local attention (DPLA), S4D-based state-space feature generation, attention-guided aggregation (AGA), and gated update (GU). Specifically, DPLA combines sliding and dilated local attention to capture contiguous and sparsely distributed dependencies, while AGA reuses local attention maps to refine state-space features, thereby coupling local market structures with long-range sequential dynamics. Experiments on six stock index datasets (SSE, SZSE, SMESE, SP500, DJIA, and NIKKEI225) under one-, five-, ten-, and fifteen-step forecasting horizons show that AG-SSM achieves the lowest horizon-averaged MAPE on all six datasets while maintaining competitive performance across other metrics and individual horizons. Averaged over five independent runs, the horizon-averaged MAPE values are 1.5466%, 2.2173%, 2.2293%, 1.4373%, 1.2995%, and 1.8738% on the six datasets, respectively. Ablation studies, state-space variant comparisons, sensitivity analyses, and statistical tests further support the effectiveness and robustness of the proposed framework.

Read PDF

Similar papers

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 Aug 2026

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

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.

Chengcheng Han, Jing-Wei Guo, Xingyu Feng · 0 citations
Open access Aug 2026

Attention-enhanced LSTM framework for stock forecasting using Bayesian optimization

A hybrid framework by integrating Multi-Head Self-Attention mechanism into baseline LSTM architecture to dynamically weight critical historical features, combined with Bayesian optimization to systematically refine hyper-parameters for superior forecasting accuracy is proposed.

S. Shameem, Sonal S. Deshmukh · 0 citations

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