Skip to main content
QUICK REVIEW

[Paper Review] Enhanced forecasting of stock prices based on variational mode decomposition, PatchTST, and adaptive scale-weighted layer

Xiaorui Xue, Shaofang Li|arXiv (Cornell University)|Aug 29, 2024
Energy Load and Power ForecastingEngineering3 citations
TL;DR

This paper proposes a novel stock price forecasting framework, VMD-PatchTST-ASWL, which decomposes raw index prices into intrinsic mode functions (IMFs) via variational mode decomposition (VMD), models each IMF with PatchTST for temporal pattern learning, and applies an adaptive scale-weighted layer (ASWL) to enhance predictions by incorporating scale-specific information. The method achieves significant improvements in accuracy, reducing MSE by up to 38.26% and sMAPE in key components across SP500, DJI, SSEC, and FTSE indices.

ABSTRACT

The significant fluctuations in stock index prices in recent years highlight the critical need for accurate forecasting to guide investment and financial strategies. This study introduces a novel composite forecasting framework that integrates variational mode decomposition (VMD), PatchTST, and adaptive scale-weighted layer (ASWL) to address these challenges. Utilizing datasets of four major stock indices--SP500, DJI, SSEC, and FTSE--from 2000 to 2024, the proposed method first decomposes the raw price series into intrinsic mode functions (IMFs) using VMD. Each IMF is then modeled with PatchTST to capture temporal patterns effectively. The ASWL module is applied to incorporate scale information, enhancing prediction accuracy. The final forecast is derived by aggregating predictions from all IMFs. The VMD-PatchTST-ASWL framework demonstrates significant improvements in forecasting accuracy compared to traditional models, showing robust performance across different indices. This innovative approach provides a powerful tool for stock index price forecasting, with potential applications in various financial analysis and investment decision-making contexts.

Motivation & Objective

  • To address the challenge of non-stationarity and complex dynamics in stock index price series, which hinder accurate forecasting using traditional models.
  • To improve univariate stock price forecasting accuracy by integrating signal decomposition with advanced deep learning architectures.
  • To enhance model performance by explicitly modeling scale-specific characteristics of decomposed components through an adaptive weighting mechanism.
  • To validate the robustness and generalization of the proposed framework across multiple major global stock indices (SP500, DJI, SSEC, FTSE).

Proposed method

  • The raw stock price time series are decomposed into multiple intrinsic mode functions (IMFs) using Variational Mode Decomposition (VMD), reducing non-stationarity and isolating distinct frequency components.
  • Each IMF is processed by PatchTST, a Transformer-based model that segments the sequence into non-overlapping patches to capture long-range temporal dependencies and complex patterns.
  • An Adaptive Scale-Weighted Layer (ASWL) is applied to dynamically adjust the contribution of each IMF to the final forecast based on its scale (frequency), improving model generalization.
  • The final prediction is obtained by aggregating the outputs from all IMFs, leveraging the strengths of decomposition and scale-aware integration.
  • The framework follows a 'decomposition and integration' paradigm, where signal complexity is reduced before modeling, and scale-aware fusion enhances predictive accuracy.
  • The model is trained end-to-end on historical data from 2000 to 2024 for four major global indices: S&P 500, DJI, SSEC, and FTSE.

Experimental results

Research questions

  • RQ1Can the integration of VMD, PatchTST, and ASWL significantly improve forecasting accuracy for non-stationary and complex stock price time series?
  • RQ2How does the adaptive scale-weighting mechanism in ASWL affect prediction performance across different frequency components (low vs. high frequency IMFs)?
  • RQ3To what extent does VMD-based decomposition enhance the predictive capability of deep learning models like PatchTST in univariate stock price forecasting?
  • RQ4Does the proposed framework outperform traditional statistical models and standalone deep learning models in terms of MSE and sMAPE across diverse global indices?
  • RQ5How does the model perform on high-frequency IMFs, which are typically more volatile and harder to predict?

Key findings

  • The VMD-PatchTST-ASWL framework achieved a 38.26% reduction in MSE for IMF0-2 in the DJI dataset compared to VMD+PatchTST without ASWL, demonstrating the effectiveness of scale-aware weighting.
  • For high-frequency IMFs such as IMF9 in the FTSE index, the model recorded an MSE of 1.3338 and sMAPE of 40.62%, showing strong performance on volatile, short-term fluctuations.
  • The inclusion of ASWL led to a 14.20% reduction in MSE for IMF9 in the SP500 dataset, indicating improved stability and accuracy in handling high-frequency noise.
  • IMFs 1–3, representing mid-frequency trends, showed the most accurate predictions with VMD+PatchTST+ASWL, contributing significantly to overall forecasting performance.
  • The model outperformed baseline models across all four indices (SP500, DJI, SSEC, FTSE), with consistent improvements in both MSE and sMAPE metrics.
  • The adaptive weighting mechanism in ASWL was particularly effective in reducing prediction error and volatility in low-frequency components, while also stabilizing high-frequency forecasts.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.