CI-STHPAN: Pre-trained Attention Network for Stock Selection with Channel-Independent Spatio-Temporal Hypergraph

Authors

  • Hongjie Xia School of Computer Science, Fudan University, Shanghai, China Institute of FinTech, Fudan University, Shanghai, China
  • Huijie Ao School of Computer Science, Fudan University, Shanghai, China Institute of FinTech, Fudan University, Shanghai, China
  • Long Li School of Computer Science, Fudan University, Shanghai, China Institute of FinTech, Fudan University, Shanghai, China
  • Yu Liu School of Computer Science, Fudan University, Shanghai, China Institute of FinTech, Fudan University, Shanghai, China
  • Sen Liu School of Computer Science, Fudan University, Shanghai, China Institute of FinTech, Fudan University, Shanghai, China
  • Guangnan Ye School of Computer Science, Fudan University, Shanghai, China Institute of FinTech, Fudan University, Shanghai, China
  • Hongfeng Chai School of Computer Science, Fudan University, Shanghai, China Institute of FinTech, Fudan University, Shanghai, China

DOI:

https://doi.org/10.1609/aaai.v38i8.28770

Keywords:

DMKM: Mining of Spatial, Temporal or Spatio-Temporal Data, APP: Other Applications, ML: Graph-based Machine Learning, ML: Time-Series/Data Streams, ML: Unsupervised & Self-Supervised Learning

Abstract

Quantitative stock selection is one of the most challenging FinTech tasks due to the non-stationary dynamics and complex market dependencies. Existing studies rely on channel mixing methods, exacerbating the issue of distribution shift in financial time series. Additionally, complex model structures they build make it difficult to handle very long sequences. Furthermore, most of them are based on predefined stock relationships thus making it difficult to capture the dynamic and highly volatile stock markets. To address the above issues, in this paper, we propose Channel-Independent based Spatio-Temporal Hypergraph Pre-trained Attention Networks (CI-STHPAN), a two-stage framework for stock selection, involving Transformer and HGAT based stock time series self-supervised pre-training and stock-ranking based downstream task fine-tuning. We calculate the similarity of stock time series of different channel in dynamic intervals based on Dynamic Time Warping (DTW), and further construct channel-independent stock dynamic hypergraph based on the similarity. Experiments with NASDAQ and NYSE markets data over five years show that our framework outperforms SOTA approaches in terms of investment return ratio (IRR) and Sharpe ratio (SR). Additionally, we find that even without introducing graph information, self-supervised learning based on the vanilla Transformer Encoder also surpasses SOTA results. Notable improvements are gained on the NYSE market. It is mainly attributed to the improvement of fine-tuning approach on Information Coefficient (IC) and Information Ratio based IC (ICIR), indicating that the fine-tuning method enhances the accuracy and stability of the model prediction.

Published

2024-03-24

How to Cite

Xia, H., Ao, H., Li, L., Liu, Y., Liu, S., Ye, G., & Chai, H. (2024). CI-STHPAN: Pre-trained Attention Network for Stock Selection with Channel-Independent Spatio-Temporal Hypergraph. Proceedings of the AAAI Conference on Artificial Intelligence, 38(8), 9187-9195. https://doi.org/10.1609/aaai.v38i8.28770

Issue

Section

AAAI Technical Track on Data Mining & Knowledge Management