Skip to main content

Hierarchical Node Representation Learning for Stock Prediction

  • Conference paper
  • First Online:
Advances in Swarm Intelligence (ICSI 2023)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 13969))

Included in the following conference series:

  • 504 Accesses

Abstract

The stock market is a highly complex and dynamic system, where relationships between stocks play a critical role in predicting price movements. To capture these relationships, we propose a novel approach called the hierarchical predictive representation (HPR). The pairwise attention network is first employed to identify effective relationships between stocks. Then, the hierarchical node matching identifies the most predictive relationship subset at various hierarchical levels. By concatenating representations from various levels, our method achieves a comprehensive representation that reflects local to global information. We further introduce a representation ensemble mechanism to leverage multiple relationships, enhancing the model’s predictive performance. Extensive experiments on various datasets demonstrate the superiority of HPR compared to existing state-of-the-art methods.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 79.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 99.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Brockwell, P.J., Davis, R.A.: Introduction to Time Series and Forecasting. STS, Springer, Cham (2016). https://doi.org/10.1007/978-3-319-29854-2

    Book  MATH  Google Scholar 

  2. Chen, D., Lin, Y., Li, W., Li, P., Zhou, J., Sun, X.: Measuring and relieving the over-smoothing problem for graph neural networks from the topological view. In: Proceedings of the AAAI Conference On Artificial Intelligence, vol. 34, pp. 3438–3445 (2020)

    Google Scholar 

  3. Dai, W., An, Y., Long, W.: Price change prediction of ultra high frequency financial data based on temporal convolutional network. Proc. Comput. Sci. 199, 1177–1183 (2022)

    Article  Google Scholar 

  4. Deng, S., Zhang, N., Zhang, W., Chen, J., Pan, J.Z., Chen, H.: Knowledge-driven stock trend prediction and explanation via temporal convolutional network. In: Companion Proceedings of The 2019 World Wide Web Conference, pp. 678–685 (2019)

    Google Scholar 

  5. Ding, Q., Wu, S., Sun, H., Guo, J., Guo, J.: Hierarchical multi-scale gaussian transformer for stock movement prediction. In: IJCAI, pp. 4640–4646 (2020)

    Google Scholar 

  6. Edmonds, J.: Paths, trees, and flowers. Can. J. Math. 17, 449–467 (1965)

    Article  MathSciNet  MATH  Google Scholar 

  7. Feng, F., He, X., Wang, X., Luo, C., Liu, Y., Chua, T.S.: Temporal relational ranking for stock prediction. ACM Trans. Inform. Syst. (TOIS) 37(2), 1–30 (2019)

    Article  Google Scholar 

  8. Hamilton, W., Ying, Z., Leskovec, J.: Inductive representation learning on large graphs. In: Advances in Neural Information Processing Systems 30 (2017)

    Google Scholar 

  9. Hsu, Y.L., Tsai, Y.C., Li, C.T.: Fingat: Financial graph attention networks for recommending top-\( k \) k profitable stocks. IEEE Trans. Knowl. Data Eng. 35(1), 469–481 (2021)

    Google Scholar 

  10. Kim, R., So, C.H., Jeong, M., Lee, S., Kim, J., Kang, J.: Hats: A hierarchical graph attention network for stock movement prediction. arXiv preprint arXiv:1908.07999 (2019)

  11. Kipf, T.N., Welling, M.: Semi-supervised classification with graph convolutional networks. In: International Conference on Learning Representations (2017). https://openreview.net/forum?id=SJU4ayYgl

  12. Loshchilov, I., Hutter, F.: Decoupled weight decay regularization. arXiv preprint arXiv:1711.05101 (2017)

  13. Nelson, B.K.: Time series analysis using autoregressive integrated moving average (arima) models. Acad. Emerg. Med. 5(7), 739–744 (1998)

    Article  Google Scholar 

  14. Qin, Y., Song, D., Chen, H., Cheng, W., Jiang, G., Cottrell, G.: A dual-stage attention-based recurrent neural network for time series prediction. arXiv preprint arXiv:1704.02971 (2017)

  15. Sims, C.A.: Macroeconomics and reality. Econometrica: J. Economet. Soc., 1–48 (1980)

    Google Scholar 

  16. Veličković, P., Cucurull, G., Casanova, A., Romero, A., Liò, P., Bengio, Y.: Graph attention networks. In: International Conference on Learning Representations (2018). https://openreview.net/forum?id=rJXMpikCZ

  17. Xu, Y., Cohen, S.B.: Stock movement prediction from tweets and historical prices. In: Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics, vol. 1: Long Papers, pp. 1970–1979 (2018)

    Google Scholar 

  18. Yoo, J., Soun, Y., Park, Y.c., Kang, U.: Accurate multivariate stock movement prediction via data-axis transformer with multi-level contexts. In: Proceedings of the 27th ACM SIGKDD Conference on Knowledge Discovery & Data Mining, pp. 2037–2045 (2021)

    Google Scholar 

  19. Yue, Z., Tan, Y.: Non-local graph aggregation for diversified stock recommendation. In: Data Mining and Big Data: 7th International Conference, DMBD 2022, Beijing, China, 21–24 November 2022, Proceedings, Part II, pp. 147–159. Springer (2023). https://doi.org/10.1007/978-981-19-8991-9_12

  20. Zhang, L., Aggarwal, C., Qi, G.J.: Stock price prediction via discovering multi-frequency trading patterns. In: Proceedings of the 23rd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, pp. 2141–2149 (2017)

    Google Scholar 

  21. Zhu, J., Yan, Y., Zhao, L., Heimann, M., Akoglu, L., Koutra, D.: Beyond homophily in graph neural networks: Current limitations and effective designs. Adv. Neural. Inf. Process. Syst. 33, 7793–7804 (2020)

    Google Scholar 

Download references

Acknowledgements

This work is supported by Science and Technology Innovation 2030 - ‘New Generation Artificial Intelligence’ Major Project (Grant Nos.: 2018AAA0100302) and partially supported by the National Natural Science Foundation of China (Grant No. 62250037, No. 62076010 and No. 62276008).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Ying Tan .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Yue, Z., Tan, Y. (2023). Hierarchical Node Representation Learning for Stock Prediction. In: Tan, Y., Shi, Y., Luo, W. (eds) Advances in Swarm Intelligence. ICSI 2023. Lecture Notes in Computer Science, vol 13969. Springer, Cham. https://doi.org/10.1007/978-3-031-36625-3_37

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-36625-3_37

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-36624-6

  • Online ISBN: 978-3-031-36625-3

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics