MSTFNet: Multi-Scale Temporal Fusion Network with Frequency-Enhanced Attention for Financial Time Series Forecasting

Financial time series forecasting remains a persistent challenge due to the non-stationary nature, inherent noise, and multi-scale temporal dependencies present in market data. This paper presents MSTFNet, a multi-scale temporal fusion network that combines dilated causal convolutions with a frequency-enhanced sparse attention mechanism for improved financial prediction. The proposed architecture consists of three core components: a multi-scale dilated causal convolution module that extracts temporal patterns across different time horizons through parallel convolutional branches with varying dilation rates, a frequency-enhanced sparse attention mechanism that leverages Fast Fourier Transform to identify dominant periodic components and modulate attention weights accordingly, and an adaptive scale fusion gate that learns to dynamically combine representations from multiple temporal scales. Extensive experiments conducted on three public financial datasets (S&P 500, CSI 300, and NASDAQ Composite) spanning the period from January 2015 to December 2024 show two key results. First, consistent with near-efficient markets, the random-walk benchmark (y^t+1=yt) outperforms all the data-driven models on level-error metrics (MAE, RMSE, MAPE, and R2), establishing the martingale as the binding lower bound on point-prediction error. Second, MSTFNet achieves the highest directional accuracy (DA) across all three indices—56.3% on the S&P 500 versus 50.0% for the martingale—representing a 6.3 percentage-point improvement that generates positive pre-cost returns in a trading strategy backtest. Among the eight data-driven baselines (LSTM, GRU, TCN, Transformer, Autoformer, FEDformer, PatchTST, and iTransformer), MSTFNet also achieves the lowest MAE, reducing it by 13.6% relative to the strongest data-driven baseline (iTransformer) on the S&P 500. These results confirm that integrating multi-scale temporal modeling with frequency-domain guidance extracts a real, if modest, directional signal from financial time series.

Authors

Institutions

Publication Details

Journal
Mathematics
Published
2026-04-21
DOI
https://doi.org/10.3390/math14081391
Primary Topic
Stock Market Forecasting Methods
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

MSTFNet: Multi-Scale Temporal Fusion Network with Frequency-Enhanced Attention for Financial Time Series Forecasting

Wenhao Kang, Qian Xia
Mathematics
Stock Market Forecasting Methods
article

MSTFNet: Multi-Scale Temporal Fusion Network with Frequency-Enhanced Attention for Financial Time Series Forecasting

Wenhao Kang, Qian Xia
article en

Abstract

Financial time series forecasting remains a persistent challenge due to the non-stationary nature, inherent noise, and multi-scale temporal dependencies present in market data. This paper presents MSTFNet, a multi-scale temporal fusion network that combines dilated causal convolutions with a frequency-enhanced sparse attention mechanism for improved financial prediction. The proposed architecture consists of three core components: a multi-scale dilated causal convolution module that extracts temporal patterns across different time horizons through parallel convolutional branches with varying dilation rates, a frequency-enhanced sparse attention mechanism that leverages Fast Fourier Transform to identify dominant periodic components and modulate attention weights accordingly, and an adaptive scale fusion gate that learns to dynamically combine representations from multiple temporal scales. Extensive experiments conducted on three public financial datasets (S&P 500, CSI 300, and NASDAQ Composite) spanning the period from January 2015 to December 2024 show two key results. First, consistent with near-efficient markets, the random-walk benchmark (y^t+1=yt) outperforms all the data-driven models on level-error metrics (MAE, RMSE, MAPE, and R2), establishing the martingale as the binding lower bound on point-prediction error. Second, MSTFNet achieves the highest directional accuracy (DA) across all three indices—56.3% on the S&P 500 versus 50.0% for the martingale—representing a 6.3 percentage-point improvement that generates positive pre-cost returns in a trading strategy backtest. Among the eight data-driven baselines (LSTM, GRU, TCN, Transformer, Autoformer, FEDformer, PatchTST, and iTransformer), MSTFNet also achieves the lowest MAE, reducing it by 13.6% relative to the strongest data-driven baseline (iTransformer) on the S&P 500. These results confirm that integrating multi-scale temporal modeling with frequency-domain guidance extracts a real, if modest, directional signal from financial time series.

MathematicsVol. 14(8)
Hong Kong Polytechnic University (HK), Jiangxi University of Science and Technology (CN)
National Natural Science Foundation of China
Industry, innovation and infrastructure
Openalex Percentile: Top 16%
Stock Market Forecasting Methods
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.