Abstract
Financial market forecasting is notoriously difficult due to high noise and non-linearity. This paper proposes CGBoost, a novel framework that integrates 1D Residual Networks (ResNets) as base learners within a Gradient Boosting architecture. By utilizing Sparse Autoencoders (SAEs) for data denoising, the model captures complex temporal patterns while avoiding overfitting. Experimental results across six global stock indices demonstrate that CGBoost achieves superior predictive performance compared to state-of-the-art LSTM models.
Introduction
Stock market forecasting is a "wicked" problem characterized by extreme noise, non-linearity, and uncertainty. While Deep Learning (DL) models like LSTMs excel at capturing long-term dependencies, they are prone to overfitting on financial noise. Conversely, Ensemble Learning methods like Gradient Boosting are highly robust but typically rely on decision trees, which may struggle to extract complex temporal features from raw financial time series.
CGBoost bridges this gap by creating a model that is both a powerful feature extractor and a robust generalizer, capable of handling the low signal-to-noise ratio inherent in market data.
Methods
The proposed CGBoost system operates in three distinct stages to transform raw financial data into accurate forecasts:
- Denoising with Sparse Autoencoders (SAEs): Before prediction, raw data passes through SAEs. This unsupervised step filters out random market "jitter" and retains only the most salient features.
- 1D Residual Networks (ResNet) as Base Learners: Instead of standard decision trees, CGBoost uses 1D CNNs with residual connections. These are specifically designed to extract local temporal patterns without suffering from the vanishing gradient problem.
- Gradient Boosting Framework: The model follows the XGBoost philosophy, using a second-order Taylor expansion of the loss function to iteratively add new CNN learners that correct the residuals of previous ones.
Experimental Setup
The study utilizes a comprehensive dataset spanning from July 2008 to September 2016, covering six major indices: CSI 300 (China), DJIA (USA), Hang Seng (Hong Kong), Nifty 50 (India), Nikkei 225 (Japan), and S&P 500 (USA). Input features include OHLC variables, technical indicators (such as MACD and Bollinger Bands), and macroeconomic variables like the US Dollar Index.
Key Results and Discussion
The model was evaluated using Mean Absolute Percentage Error (MAPE), Theil U, and linear correlation ($R$). CGBoost consistently outperformed the WSAEs-LSTM baseline across these metrics.
Key findings include:
- Superior Accuracy: CGBoost achieved higher stability and lower error rates than traditional deep learning models. For instance, linear correlation ($R$) between predicted and actual prices was frequently above 0.97.
- Cross-Market Synergy: A version of the model trained on all six indices simultaneously (CGBoost6) performed better than models trained on single indices, suggesting that global markets share underlying structural dynamics.
- Volatility Reduction: Qualitative analysis indicates that CGBoost produces smoother predictions that track the actual price trend more closely than individual models.
Conclusion
By marrying the feature-extraction prowess of CNNs with the robust ensemble logic of Gradient Boosting, CGBoost offers a significant advancement in financial time-series forecasting. Future work will explore introducing diversity into the ensemble by using different CNN architectures for different boosting rounds and testing the framework on other noisy sequential data problems like weather forecasting.
Summary updated