A Multi-Task Learning Model for Stock Market Forecasting
Abstract
Time series analysis plays a pivotal role in diverse domains, facilitating critical tasks such as forecasting, classification, and anomaly detection. This paper introduces a multi-task learning (MTL) model utilizing a deep learning framework to simultaneously predict three key financial indicators: trading volume, closing price, and volatility. By leveraging shared representations across tasks, the MTL model captures intricate dependencies and enhances generalization, outperforming single-task benchmark models—ARIMA and univariate Deep Learning (DL). The MTL model achieves over 50% reduction in MAE and RMSE compared to ARIMA and approximately 10% improvement over DL. The results demonstrate the ability of MTL to exploit inter-task relationships, delivering more accurate and robust forecasting for stock markets. This work highlights the potential of multi-task learning framework in enhancing financial time series forecasting.
References
- Sen, J., & Chaudhuri, T. D. (2017, April 25). A time series Analysis-Based Forecasting Framework for the Indian Healthcare sector. arXiv.org. https://arxiv.org/abs/1705.01144
- Helli, S. S., Tanberk, S., & Demir, O. (2022). Forecasting Energy Consumption Using Deep Learning in Smart Cities. IEEE, 1–6. https://doi.org/10.1109/icaiot57170.2022.10121846
- Hoseinzade, E., & Haratizadeh, S. (2019). CNNpred: CNN-based stock market prediction using a diverse set of variables. Expert Systems With Applications, 129, 273–285. https://doi.org/10.1016/j.eswa.2019.03.029
- Mondal, P., Shit, L., & Goswami, S. (2014). Study of Effectiveness of Time Series Modeling (ARIMA) in forecasting stock Prices. International Journal of Computer Science Engineering and Applications, 4(2), 13–29. https://doi.org/10.5121/ijcsea.2014.4202
- Petrică, A., Stancu, S., & Tindeche, A. (2016). Limitation of ARIMA models in financial and monetary economics. DOAJ (DOAJ: Directory of Open Access Journals). https://doaj.org/article/3b26dede3d584d9f8d3e52e0d0c5ae6e
- Vasudevan, R. D., & Vetrivel, S. C. (2016). Forecasting Stock Market Volatility using GARCH Models: Evidence from the Indian Stock Market. Asian Journal of Research in Social Sciences and Humanities, 6(8), 1565. https://doi.org/10.5958/2249-7315.2016.00694.8
- Siami-Namini, S., Tavakoli, N., & Namin, A. S. (2019, November 21). A comparative analysis of forecasting financial time series using ARIMA, LSTM, and BILSTM. arXiv.org. http://arxiv.org/abs/1911.09512
- Büyükşahin, Ü. Ç., & Ertekin, Ş. (2019). Improving forecasting accuracy of time series data using a new ARIMA-ANN hybrid method and empirical mode decomposition. Neurocomputing, 361, 151–163. https://doi.org/10.1016/j.neucom.2019.05.099
- Mei, W., Xu, P., Liu, R., Liu, J., & School of Management Science and Engineering Nanjing University of Finance and Economics. (2018). Stock price prediction based on ARIMA - SVM model. In 2018 International Conference on Big Data and Artificial Intelligence (ICBDAI 2018) [Conference-proceeding]. Francis Academic Press. https://doi.org/10.25236/icbdai.2018.00849
- Ranjan, R., Patel, V. M., & Chellappa, R. (2017). HyperFace: a deep Multi-Task learning framework for face detection, landmark localization, pose estimation, and gender recognition. IEEE Transactions on Pattern Analysis and Machine Intelligence, 41(1), 121–135. https://doi.org/10.1109/tpami.2017.2781233
- Samala, R. K., Chan, H., Hadjiiski, L. M., Helvie, M. A., Richter, C., & Cha, K. H. (2018). Cross-domain and multi-task transfer learning of deep convolutional neural network for breast cancer diagnosis in digital breast tomosynthesis. Medical Imaging 2018: Computer-Aided Diagnosis, 25. https://doi.org/10.1117/12.2293412
- Ma, T., & Tan, Y. (2020). Multiple Stock Time Series Jointly Forecasting with Multi-Task Learning. 2022 International Joint Conference on Neural Networks (IJCNN), 1–8. https://doi.org/10.1109/ijcnn48605.2020.9207543
- Yuan, C., Ma, X., Wang, H., Zhang, C., & Li, X. (2023). COVID19-MLSF: A multi-task learning-based stock market forecasting framework during the COVID-19 pandemic. Expert Systems With Applications, 217, 119549. https://doi.org/10.1016/j.eswa.2023.119549
- Geurts, M., Box, G. E. P., & Jenkins, G. M. (2015). Time Series Analysis: Forecasting and Control (5th Ed.) https://doi.org/10.2307/3150485
- Hyndman, R. J., & Athanasopoulos, G. (2013). Forecasting: principles and practice.
- LeCun, Y., Bengio, Y., & Hinton, G. (2015). Deep learning. Nature, 521(7553), 436–444. https://doi.org/10.1038/nature14539
- Dive into Deep Learning — Dive into Deep Learning 1.0.3 documentation. (n.d.). https://d2l.ai/
- Gers, F. A., Schmidhuber, J., & Cummins, F. (2000). Learning to Forget: Continual Prediction with LSTM. Neural Computation, 12(10), 2451–2471. https://doi.org/10.1162/089976600300015015
- Zhang, Y., & Yang, Q. (2017). An overview of multi-task learning. National Science Review, 5(1), 30–43. https://doi.org/10.1093/nsr/nwx105
- Ruder, S. (2017, June 15). An overview of Multi-Task learning in deep neural networks. arXiv.org. https://arxiv.org/abs/1706.05098