Temporal-Relational Hypergraph Tri-Attention Networks for Stock Trend Prediction

Chaoran Cui, Xiaojie Li, Juan Du, Chunyun Zhang, Xiushan Nie +2 more
7/22/2021
q-fin.STcs.LG

Official code: lixiaojieff/HGTAN (61 stars, Python, last commit 2021-10-29).

Abstract

Predicting the future price trends of stocks is a challenging yet intriguing problem given its critical role to help investors make profitable decisions. In this paper, we present a collaborative temporal-relational modeling framework for end-to-end stock trend prediction.

Show full abstract

The temporal dynamics of stocks is firstly captured with an attention-based recurrent neural network. Then, different from existing studies relying on the pairwise correlations between stocks, we argue that stocks are naturally connected as a collective group, and introduce the hypergraph structures to jointly characterize the stock group-wise relationships of industry-belonging and fund-holding. A novel hypergraph tri-attention network (HGTAN) is proposed to augment the hypergraph convolutional networks with a hierarchical organization of intra-hyperedge, inter-hyperedge, and inter-hypergraph attention modules. In this manner, HGTAN adaptively determines the importance of nodes, hyperedges, and hypergraphs during the information propagation among stocks, so that the potential synergies between stock movements can be fully exploited. Extensive experiments on real-world data demonstrate the effectiveness of our approach. Also, the results of investment simulation show that our approach can achieve a more desirable risk-adjusted return. The data and codes of our work have been released at https://github.com/lixiaojieff/HGTAN.

View on arXivView PDF

Code Implementations(1)

lixiaojieff/HGTANOfficial100%
6119PythonJul 5, 20215 years ago

Similar Papers

Cite this paper

@article{cui2021temporalrelational,
  title  = {Temporal-Relational Hypergraph Tri-Attention Networks for Stock Trend Prediction},
  author = {Chaoran Cui and Xiaojie Li and Juan Du and Chunyun Zhang and Xiushan Nie and Meng Wang and Yilong Yin},
  year   = {2021},
  eprint = {2107.14033},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2107.14033}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2107.14033.svg)](https://codeofpaper.com/paper/2107.14033)

Discussion