Abstract
The gated recurrent unit (GRU) deep model is interpreted to predict price’s falling or rising. By using a technique called Tree Regularization of Deep Models for Interpretability, a GRU network is converted to a decision tree (called GRU-Tree) to interpret its prediction rules. This approach was tested by experimenting on a few sample stocks (e.g., the Gree company) and a main stock market index (SSE Composite Index) in China. The discovered prediction rules actually reflect a general rule called Mean Reversion in stock market. Results show that the GRU-Tree is more effective (higher AUC) than the decision tree directly trained from the data for small and moderate average path length (APL) of trees. And the fidelity between GRU and its generated GRU-Tree is high (about 0.8).
W. Wu and Y. Wang contributed equally to the paper. This work is supported by National Natural Science Foundation of China (Project No. 61309030).
This work is also supported by Central University of Finance and Economics Year 2019 First-class Discipline Construction Project.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
Fama, E.F.: The behavior of stock-market prices. J. Bus. 38(1), 34–105 (1965)
Malkiel, B.G.: Is the stock market efficient? Science 243(4896), 1313–1318 (1989). New Series
Yao, S., Wang, Y.: An empirical study on the weak form market efficiency of Shanghai composite index in bull and bear markets. In: Proceeding of 12th International Conference on Management of e-Commerce and e-Government (ICMECG 2018), pp. 443–448 (2018)
Bodie, Z., Kane, A., Marcus, A.J.: Investments, 10th edn. McGraw-Hill Education, New York (2014)
Liu, Z., Wang, Y.: An empirical study on the forecasting effectiveness of price-based technical indicators in bull and bear cycles of China’s Shanghai stock market. In: Proceeding of 12th International Conference on Management of e-Commerce and e-Government (ICMECG 2018), pp. 412–417 (2018)
Wu, M., Hughes, M.C., Parbhoo, S., et al.: Beyond sparsity: tree regularization of deep models for interpretability. In: Proceeding of the Thirty-Second AAAI Conference on Artificial Intelligence (AAAI 2018), pp. 1670–1678 (2018)
Hinton, G., Vinyals, O., Dean, J.: Distilling the knowledge in a neural network. Arxiv preprint. https://arxiv.org/abs/1503.02531 (2015)
Kimoto, T., Asakawa, K., Yoda, M., Takeoka, M.: Stock market prediction system with modular neural networks. In: 1990 IJCNN International Joint Conference on Neural Networks, vol. 1, pp. 1–6 (1990)
Yoon, Y., Swales, G.: Predicting stock price performance: a neural network approach. In: Proceedings of the Twenty-Fourth Annual Hawaii International Conference on System Sciences, Kauai, HI, USA, vol. 4, pp. 156–162 (1991)
Hamid, S.A., Iqbal, Z.: Using neural networks for forecasting volatility of S&P 500 index futures prices. J. Bus. Res. 57(10), 1116–1125 (2004)
Kim, K.-J., Han, I.: Genetic algorithms approach to feature discretization in artificial neural networks for the prediction of stock price index. Expert Syst. Appl. 19(2), 125–132 (2000). ISSN 0957–4174
Zhang, Y., Lenan, W.: Stock market prediction of S&P 500 via combination of improved BCO approach and BP neural network. Expert Syst. Appl. 36(5), 8849–8854 (2009)
Pai, P.-F., Lin, C.-S.: A hybrid ARIMA and support vector machines model in stock price forecasting. Omega 33(6), 497–505 (2005)
Hadavandi, E., Shavandi, H., Ghanbari, A.: Integration of genetic fuzzy systems and artificial neural networks for stock price forecasting. Knowl.-Based Syst. 23(8), 800–808 (2010)
Gao, S.E., Lin, B.S., Wang, C.: Share price trend prediction using CRNN with LSTM structure. In: 2018 International Symposium on Computer, Consumer and Control (IS3C), Taichung, Taiwan, pp. 10–13 (2018)
Althelaya, K.A., El-Alfy, E.M., Mohammed, S.: Stock market forecast using multivariate analysis with bidirectional and stacked (LSTM, GRU). In: 2018 21st Saudi Computer Society National Computer Conference (NCC), Riyadh, pp. 1–7 (2018)
Nelson, D.M.Q., Pereira, A.C.M., de Oliveira, R.A.: Stock market’s price movement prediction with LSTM neural networks. In: 2017 International Joint Conference on Neural Networks (IJCNN), Anchorage, AK, pp. 1419–1426 (2017)
Li, H., Xu, Z., Taylor, G., Studer, C., Goldstein, T.: Visualizing the loss landscape of neural nets. In: International Conference on Learning Representations (2018)
Springenberg, J.T., Dosovitskiy, A., Brox, T., Riedmiller, M.: Striving for simplicity: the all convolutional net. In: International Conference on Learning Representations (2015)
Ribeiro, M.T., Singh, S., Guestrin, C.: Why should i trust you? Explaining the predictions of any classifier. In: Knowledge Discovery and Data Mining, pp. 1135–1144 (2016)
Ribeiro, M.T., Singh, S., Guestrin, C.: Anchor: high-precision model-agnostic explanations. In: AAAI Conference on Artificial Intelligence (2018)
Kumar, D., Taylor, G.W., Wong, A.: Opening the black box of financial AI with CLEAR-trade: a class-enhanced attentive response approach for explaining and visualizing deep learning-driven stock market prediction, arXiv preprint, arXiv: 1709.01574 (2017)
Shi, L., Teng, Z., Wang, L., Zhang, Y., Binder, A.: DeepClue: visual interpretation of text-based deep stock prediction. IEEE Trans. Knowl. Data Eng. 31(6), 1094–1108 (2018)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2019 Springer Nature Singapore Pte Ltd.
About this paper
Cite this paper
Wu, W. et al. (2019). Preliminary Study on Interpreting Stock Price Forecasting Based on Tree Regularization of GRU. In: Mao, R., Wang, H., Xie, X., Lu, Z. (eds) Data Science. ICPCSEE 2019. Communications in Computer and Information Science, vol 1059. Springer, Singapore. https://doi.org/10.1007/978-981-15-0121-0_37
Download citation
DOI: https://doi.org/10.1007/978-981-15-0121-0_37
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-15-0120-3
Online ISBN: 978-981-15-0121-0
eBook Packages: Computer ScienceComputer Science (R0)