Abstract
Stock prediction models face inherent uncertainty in model selection, parameter estimation, and feature engineering—a challenge compounded by the non-stationary nature of financial markets. Individual models, regardless of their sophistication, cannot capture all relevant patterns in market data, and their predictions can be overly sensitive to particular model specifications or data realizations. Ensemble methods offer a principled approach to addressing these challenges by combining predictions from multiple diverse models, reducing prediction variance, improving robustness to model misspecification, and providing natural uncertainty estimates through prediction disagreement. This paper proposes a comprehensive ensemble framework for stock prediction based on the Stock State Space Graph architecture, integrating Bayesian model averaging, stacked generalization, and bootstrap aggregation to improve prediction robustness and accuracy. Our approach, Ensemble Stock State Space Graph (E-S3G), combines multiple S3G models with diverse configurations—including different graph structures, state space dimensions, and temporal horizons—through weighted aggregation based on Bayesian posterior probabilities and meta-learner training. Through extensive experiments on benchmark financial datasets, we demonstrate that E-S3G substantially improves prediction accuracy, reduces variance, and provides well-calibrated uncertainty estimates compared to individual model baselines. Our work contributes to the growing literature on ensemble learning in quantitative finance, providing a principled framework for combining graph-based state space models to achieve robust and reliable stock prediction.
References
1. Breiman, L. (1996). Bagging predictors. Machine Learning, 24(2), 123-140.
2. Lu, Y., Hu, K., & Zhang, L. (2026, May). S3G: Stock State Space Graph for Enhanced Stock Trend Prediction. In ICASSP 2026-2026 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP) (pp. 4081-4085). IEEE.
3. Freund, Y., & Schapire, R. E. (1997). A decision-theoretic generalization of on-line learning and an application to boosting. Journal of Computer and System Sciences, 55(1), 119-139.
4. Hoerl, A. E., & Kennard, R. W. (1970). Ridge regression: Biased estimation for nonorthogonal problems. Technometrics, 12(1), 55-67.
5. Madigan, D., & Raftery, A. E. (1994). Model selection and accounting for model uncertainty in graphical models using Occam's window. Journal of the American Statistical Association, 89(428), 1535-1546.
6. Wolpert, D. H. (1992). Stacked generalization. Neural Networks, 5(2), 241-259.
7. Zhou, J., Cui, G., Hu, S., Zhang, Z., Yang, C., Liu, Z., & Sun, M. (2020). Graph neural networks: A survey of methods and applications. AI Open, 1, 57-81.
8. Lakshminarayanan, B., Pritzel, A., & Blundell, C. (2017). Simple and scalable predictive uncertainty estimation using deep ensembles. In Advances in Neural Information Processing Systems 30 (NeurIPS) (pp. 6402-6413). Curran Associates.
9. Chen, T., & Guestrin, C. (2016). XGBoost: A scalable tree boosting system. In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (pp. 785-794). ACM.
10. Ke, G., Meng, Q., Finley, T., Wang, T., Chen, W., Ma, W., ... & Liu, T. (2017). LightGBM: A highly efficient gradient boosting decision tree. In Advances in Neural Information Processing Systems 30 (NeurIPS) (pp. 3146-3154). Curran Associates.
11. Polikar, R. (2012). Ensemble learning. In Ensemble Machine Learning (pp. 1-34). Springer.
12. Hansen, L. K., & Salamon, P. (1990). Neural network ensembles. IEEE Transactions on Pattern Analysis and Machine Intelligence, 12(10), 993-1001.
13. Krogh, A., & Vedelsby, J. (1995). Neural network ensembles, cross validation, and active learning. In Advances in Neural Information Processing Systems 7 (NeurIPS) (pp. 231-238). MIT Press.
14. Bates, J. M., & Granger, C. W. J. (1969). The combination of forecasts. Journal of the Operational Research Society, 20(4), 451-468.
15. Timmermann, A. (2006). Forecast combinations. In Handbook of Economic Forecasting (pp. 135-196). Elsevier.
