Skip to main content
QUICK REVIEW

[Paper Review] Temporal-Relational Hypergraph Tri-Attention Networks for Stock Trend Prediction

Chaoran Cui, Xiaojie Li|arXiv (Cornell University)|Jul 22, 2021
Stock Market Forecasting MethodsDecision Sciences47 references9 citations
TL;DR

This paper proposes HGTAN, a temporal-relational hypergraph tri-attention network that models stock trends by capturing temporal dynamics via an attention-based RNN and modeling collective stock relationships through hypergraphs of industry and fund-holding links. The method achieves superior risk-adjusted returns in backtesting, outperforming existing methods on real-world data.

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. 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.

Motivation & Objective

  • To address the challenge of stock trend prediction by modeling not just pairwise stock correlations but collective group-level relationships.
  • To improve the representation of stock movements by integrating temporal dynamics with relational hypergraph structures capturing industry and fund-holding connections.
  • To develop a hierarchical attention mechanism that adaptively weights nodes, hyperedges, and hypergraphs during information propagation.
  • To achieve end-to-end stock trend prediction with enhanced modeling of synergistic stock behaviors.
  • To demonstrate superior performance in investment simulation with better risk-adjusted returns compared to state-of-the-art methods.

Proposed method

  • An attention-based recurrent neural network (RNN) is used to model the temporal dynamics of individual stock sequences.
  • Hypergraph structures are constructed to represent collective relationships among stocks based on shared industry membership and fund holdings.
  • A novel hypergraph tri-attention network (HGTAN) is introduced with three attention modules: intra-hyperedge, inter-hyperedge, and inter-hypergraph attention.
  • The intra-hyperedge attention focuses on node importance within a single hyperedge, capturing local relationships.
  • The inter-hyperedge attention aggregates information across multiple hyperedges to model cross-group interactions.
  • The inter-hypergraph attention enables learning across different hypergraph structures (e.g., industry vs. fund-holding), enhancing global representation learning.

Experimental results

Research questions

  • RQ1Can modeling collective stock relationships through hypergraphs improve stock trend prediction beyond pairwise correlations?
  • RQ2How effectively can a hierarchical tri-attention mechanism capture node, hyperedge, and hypergraph-level importance in stock relationship modeling?
  • RQ3Does the integration of temporal dynamics and relational hypergraph structures lead to better predictive performance and risk-adjusted returns?
  • RQ4To what extent does HGTAN outperform existing attention-based and graph-based models in stock trend prediction on real-world data?

Key findings

  • HGTAN achieves state-of-the-art performance on real-world stock trend prediction benchmarks, outperforming existing attention-based and graph-based models.
  • The investment simulation results show that HGTAN generates a more desirable risk-adjusted return compared to baseline models.
  • The ablation study confirms that each component of the tri-attention mechanism—especially inter-hypergraph attention—contributes significantly to performance gains.
  • The use of hypergraph structures effectively captures group-level synergies among stocks, particularly in industry and fund-holding contexts.
  • The model demonstrates robustness and generalization across different market conditions due to its hierarchical attention mechanism.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.