arXiv(opens in a new tab)cs.LGOct 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2610.09654

DSTNet: Dynamic Spectral Trajectory Network for Causal Multi-Horizon Financial Forecasting

Aashish Bohra, Lokendra Vishwakarm

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Aashish Bohra, Lokenra Vishwakarma

Abstract—Wavelet-based financial forecasters typically use the transform only to denoise, or reduce it to a single spectral snapshot at the forecast origin, and the convolution that produces the coefficients is usually bilateral, so it can read past the forecast origin. DSTNet instead retains the recent evolution of filter-bank magnitudes as a causal Dynamic Spectral Trajectory, built from seven trailing technical indicators over a twenty-day lookback with a one-sided Morlet-derived filter bank and an explicit burn-in for the left-boundary transient. A factorized Scale-Temporal Spectral Transformer attends along the time and filter-bank axes separately, a learned gate fuses the spectral branch with a CNN-BiLSTM, and horizon-specific gates emit one, three, five, and ten day forecasts in a single pass. We evaluate seven equity indices and gold under a common expanding-window protocol and an untouched one-year hold-out, against nine learned baselines and a random-walk persistence benchmark. Under MAE and MAPE, persistence is the strongest of the ten fixed competitors in 29 of the 32 series-horizon cells and DSTNet is the only model below it in every cell, by 0.7 to 0.9 percent at one day and 3.4 to 4.5 percent at ten days. At one day, paired testing favours DSTNet against the weaker learned baselines but is inconclusive against persistence and the strongest learned forecasters. A downstream allocation diagnostic does not support an equity-timing advantage on any of the seven indices.

Index Terms—Time-frequency analysis, causal complex band-pass filtering, multi-horizon forecasting, factorized attention, financial time series, deep learning.

I. INTRODUCTION

PREDICTING equity indices at multiple horizons in a single forward pass requires one model to represent target dynamics that may differ across forecast scales. Information that is useful at one horizon need not receive the same emphasis at another. This motivates a representation that preserves how spectral structure evolves across the observed window and a decoder that can modulate the fused representation separately for each forecast horizon. We treat the relation between forecast horizon and spectral reliance as an empirical question rather than assuming a fixed frequency-to-horizon correspondence [1], [2]. The distinction we draw is between a spectral state and a spectral process. A static filter-bank slice records where coefficient magnitudes are concentrated at the forecast origin, but it does not retain how that configuration developed across the preceding window. Two windows can therefore share a similar final spectral state while following different recent spectral paths [3]–[5].

Recent transformer forecasters have made impressive progress on the second half of this problem [6]–[10]. The first half has fared less well. Wavelet-based hybrids exist [11], [12]. Bilateral wavelet preprocessing can introduce look-ahead leakage when coefficients are computed using observations beyond the forecast origin or when preprocessing is performed on the full series before chronological splitting. Such leakage can inflate reported forecasting accuracy. The few works that do use causal wavelets typically consume only a single time-slice of the result, discarding the temporal evolution of coefficient magnitudes that is the very feature making wavelets attractive in the first place. The proposed DSTNet addresses both halves with one architecture. The contributions are as follows:

  1. We introduce the Dynamic Spectral Trajectory (DST) tensor, D(i)∈Rw×S×M\mathbf{D}^{(i)} \in \mathbb{R}^{w \times S \times M}, which represents the evolution of causal spectral responses over the complete w-step lookback window across S fixed FIR scales and M technical indicators. Unlike static spectral representations that retain only a single temporal snapshot, DST explicitly preserves the scale-temporal evolution of each input sample, enabling the forecasting model to exploit changes in spectral structure over time. The contribution of this trajectory representation is isolated through the No-DST ablation.

  2. We develop a strictly causal end-to-end time-frequency processing pipeline designed to prevent future-information leakage during forecasting. The pipeline combines a one-sided FIR wavelet denoiser with thresholds estimated exclusively from the training data and a strictly causal Morlet filter bank with explicit burn-in exclusion. Proposition 1 establishes that the spectral transformation depends only on observations available at or before the forecast origin, while Corollary 1 derives the required burn-in constant. This provides an explicit causality guarantee for the complete spectral representation rather than relying solely on chronological train–test partitioning.

  3. We propose a factorized Scale–Temporal Spectral Transformer (STST) that separately models temporal dependencies and cross-scale interactions within the DST representation before integrating the resulting streams through a cross-stream MLP. This factorization reduces the attention-score complexity from O((wS)2d)\mathcal{O}((wS)^2d) for joint scale–time attention to O((w2+S2)d)\mathcal{O}((w^2 + S^2)d). Theorem 1 formally derives this reduction and distinguishes the equal-width theoretical ratio from the reductions obtained under the configured embedding widths and at the

A. Bohra is with the Department of Computer Science and Engineering, Indian Institute of Technology Jodhpur, Jodhpur, Rajasthan 342030, India (e-mail: bohra.1@iitj.ac.in).

L. Vishwakarma is with the School of Computing and Data Sciences, FLAME University, Pune Maharashtra, India (e-mail: lokendra.vishwakarma@flame.edu.in).

complete-model level. A joint-STST ablation quantifies the empirical trade-off introduced by the factorized attention structure.

The rest of the paper proceeds as follows. Section II reviews prior work. Section III presents DSTNet, with formal correctness arguments deferred to Section IV. Section V reports the empirical evaluation. Section VI concludes.

References (56)

  • A simple approximate long-memory model of realized volatility
  • An introduction to wavelets and other filtering methods in finance and economics
  • A practical guide to wavelet analysis
  • Regime changes and financial markets
  • International comovement of stock market returns: A wavelet analysis
  • Informer: Beyond efficient transformer for long sequence time-series forecasting
  • Autoformer: Decomposition transformers with auto-correlation for long-term series forecasting
  • A time series is worth 64 words: Long-term forecasting with transformers
  • iTransformer: Inverted transformers are effective for time series forecasting
  • TimeMixer: Decomposable multiscale mixing for time series forecasting
  • Enhancing financial time series forecasting: a comparative study of discrete wavelet transform and lstm models for selected global indices: K. ziolkowski, p. wieczyński
  • The importance of data noise reduction—wavelet transformation in stock price forecasting with bidirectional long short-term memory network
  • A theory for multiresolution signal decomposition: the wavelet representation
  • CBMS-NSF Regional Conference Series in Applied Mathematics
  • Ideal spatial adaptation by wavelet shrinkage
  • De-noising by soft-thresholding
  • Wavelet neural networks for nonlinear time series analysis
  • Financial time series forecasting with deep learning: A systematic literature review: 2005–2019
  • Wavefuse: Regime-adaptive equity index forecasting via channel-wise wavelet denoising and vertical attention fusion (opens arXiv in a new tab)
  • Fedformer: Frequency enhanced decomposed transformer for long-term series forecasting
  • Frequency-domain mlps are more effective learners in time series forecasting
  • Filternet: Harnessing frequency filters for time series forecasting
  • Nhits: Neural hierarchical interpolation for time series forecasting
  • Multi-resolution time-series transformer for long-term forecasting
  • Pathformer: Multi-scale transformers with adaptive pathways for time series forecasting
  • Waveletmixer: a multi-resolution wavelets based mlp-mixer for multivariate long-term time series forecasting
  • Stock price prediction using deep learning and frequency decomposition
  • Enhancing stock market forecasting: A hybrid model for accurate prediction of s&p 500 and csi 300 future prices
  • An intelligent framework based on optimized variational mode decomposition and temporal convolutional network: Applications to stock index multi-step forecasting
  • Predicting the highest and lowest stock price indices: A combined bilstm-sam-tcn deep learning model based on re-decomposition
  • Non-stationary transformers: Exploring the stationarity in time series forecasting
  • U-mixer: An unet-mixer architecture with stationarity correction for time series forecasting
  • Predicting stock market index using lstm
  • Information fusion-based genetic algorithm with long short-term memory for stock price and trend prediction
  • Bimt-tcn: A cutting-edge hybrid model for enhanced stock price prediction
  • Galformer: a transformer with generative decoding and a hybrid loss function for multi-step stock market index prediction
  • Enhanced financial market forecasting using a hybrid deep learning prediction model with encoder-decoder architecture
  • MASTER: Market-guided stock transformer for stock price forecasting
  • Vertifusex: Generalizable financial forecasting via multi-stream temporal fusion (opens arXiv in a new tab)
  • Deep learning with long short-term memory networks for financial market predictions
  • Financial time series forecasting with multi-modality graph neural network
  • Empirical asset pricing via machine learning
  • N-BEATS: Neural basis expansion analysis for interpretable time series forecasting
  • Temporal fusion transformers for interpretable multi-horizon time series forecasting
  • Are transformers effective for time series forecasting?
  • Forecasting multistep daily stock prices for long-term investment decisions: A study of deep learning models on global indices
  • Multifactor prediction model for stock market analysis based on deep learning techniques
  • Is gold a safe haven? international evidence
  • The jackknife and the bootstrap for general stationary observations
  • Comparing predictive accuracy
  • Testing the equality of prediction mean squared errors
  • Long short-term memory
  • XGBoost: A scalable tree boosting system
  • Attention is all you need
  • A test for superior predictive ability
  • A simple nonparametric test of predictive performance