Introduction
Stock Trend Prediction (STP) remains one of the most challenging tasks in financial forecasting due to the non-stationary and chaotic nature of market data. Traditional approaches often rely on a single time scale—such as 5-minute or daily intervals—which leads to significant information loss. In contrast, experienced investors typically analyze multiple horizons simultaneously to distinguish short-term volatility from long-term trends.
To bridge this gap, this research introduces the Multi-scale Two-way Deep Neural Network (MTDNN). The model is designed to automatically learn and fuse multi-scale patterns, effectively capturing both high-frequency "noise" and low-frequency structural trends to improve prediction accuracy.
The MTDNN Architecture
The MTDNN employs a unique "two-way" structure to extract complementary features from financial time series:
- Wavelet-based Path: This branch utilizes a Discrete Wavelet Transform (DWT) to decompose stock signals into "approximation" (low-frequency) and "detail" (high-frequency) components. These features are processed using XGBoost, which the authors found superior to standard neural networks for handling the mixed distributions of wavelet-engineered features.
- Downsampling-based Path: The raw data is downsampled at various scales (e.g., every $s$-th data point). Each scale is processed by a dedicated CNN to capture local spatial features.
A critical innovation in the downsampling path is the "Key Operation", where spatial features from different scales are concatenated and padded. This creates a temporal cascade that is fed into a Gated Recurrent Unit (GRU), allowing the model to build a contextual understanding of the trend as it evolves over time.
Experimental Evaluation
The model was evaluated on two major benchmarks:
- FI-2010: A standard high-frequency dataset containing Limit Order Book (LOB) data from five Finnish stocks over 10 days.
- CSI-2016: A new, long-range dataset introduced by the authors, consisting of one-year's worth of one-minute interval data from the China Stock Index. This provides a more rigorous test for long-term trend stability compared to the shorter FI-2010 benchmark.
Results and Discussion
MTDNN achieved state-of-the-art (SOTA) results on both datasets. On FI-2010, it reached an F1 score of 81.05%, surpassing established models like DeepLOB. On the more difficult CSI-2016 dataset, it achieved an F1 score of 61.65%, significantly outperforming single-scale baselines.
Ablation studies (shown above) confirm that multi-scale variants consistently outperform their single-scale counterparts. This validates the hypothesis that frequency-based and resolution-based decompositions provide non-redundant, vital insights into market behavior. Furthermore, the success of the DWT-XGBoost path suggests that gradient-boosted trees remain a powerful tool for specific types of engineered financial features.
Conclusion
The MTDNN demonstrates that integrating multi-scale information through a two-way architecture significantly enhances stock trend prediction. While the current model uses fixed scales, future work will explore attention mechanisms to dynamically weight different time horizons based on real-time market conditions. This would allow the model to adaptively focus on the most relevant scale during periods of high volatility or stable growth.
Summary updated