REST: Relational Event-driven Stock Trend Forecasting

Wentao Xu, Weiqing Liu, Chang Xu, Jiang Bian, Jian Yin, Tie-Yan Liu · OpenReview

Abstract

Stock trend forecasting is a complex challenge due to the volatile nature of financial markets and the intricate web of relationships between listed companies. Traditional event-driven models often fail because they treat events as having universal impacts and ignore the ripple effects across related stocks. This paper introduces the Relational Event-driven Stock Trend (REST) forecasting framework. REST addresses these gaps by modeling stock-dependent influence—how a company’s unique context shapes its reaction to an event—and cross-stock influence—how events propagate through a relational graph of industry peers, shareholders, and supply chain partners.

Introduction

Predicting stock market movements is notoriously difficult, as prices react to a continuous stream of news, social media sentiment, and official announcements. While event-driven models have gained popularity, they typically suffer from two major limitations: context blindness and isolation.

Context blindness occurs when a model assumes an event, such as a "CEO Resignation," has a uniform signal across all firms. In reality, a leadership change at a struggling firm might signal a positive turnaround, while the same event at a high-growth firm might be viewed negatively. Isolation refers to the failure to account for the interconnectedness of the market; an event affecting a major technology firm inevitably impacts its hardware suppliers and software competitors, even in the absence of direct news regarding those secondary entities. REST aims to bridge these gaps by modeling the specific "personality" of a stock and its position within a complex corporate network.

The REST Framework

The REST framework utilizes a multi-layered neural architecture to capture the nuances of market reactions:

1. Event Information Encoder

The model employs a type-specific multi-head attention mechanism to process textual data from official announcements. This component learns to prioritize specific keywords based on the event type (e.g., litigation, financial reports, or personnel changes), ensuring that the most relevant semantic information is extracted.

2. Stock Context Encoder

A primary innovation of REST is the Stock Context Encoder. To represent a stock's unique context, the model analyzes historical events alongside the market’s actual feedback—specifically, price and volume changes following those events. This allows the model to quantify a stock's sensitivity or "personality" in response to news.

3. Relational Stock Graph and Dynamic Propagation

REST constructs a directed graph where nodes represent stocks and edges represent four distinct relationship types: Industry, Business, Shareholder, and Upstream/Downstream. Unlike standard Graph Convolutional Networks (GCNs) that use static weights, REST utilizes a dynamic propagation layer. This layer calculates the strength of influence between two stocks on-the-fly, based on their current contexts. By stacking these layers, the model achieves multi-hop propagation, capturing the "ripple effects" of an event as it moves through the market network.

Experimental Evaluation

The researchers evaluated REST using data from two major Chinese stock indices between 2013 and 2018:

  • CSI 300: Comprising the 300 largest and most liquid stocks.
  • CSI 500: Comprising small-to-mid-cap stocks.

The dataset included 100,629 events for the CSI 300 and 183,325 for the CSI 500, sourced from official company announcements to ensure high data quality. Relationship data was sourced via the Tushare API, covering industry sectors, business ties, shareholding structures, and supply chain links.

Results and Discussion

REST consistently outperformed baseline models, including ARIMA, standard GCNs, and traditional event-driven architectures, across several key metrics:

  • Prediction Accuracy: REST achieved the lowest Root Mean Squared Error (RMSE) and Mean Absolute Error (MAE) on both datasets, demonstrating superior predictive precision.
  • Investment Simulation: In back-tested trading strategies, REST delivered a significantly higher Annual Return (AR) and Sharpe Ratio (SHR). On the CSI 300, the Sharpe Ratio—a measure of risk-adjusted return—was notably higher than that of competing models.
  • Ablation Studies: The authors confirmed that both the Stock Context and Multi-hop components were essential to the model's success; removing either led to a measurable decline in performance.

A case study within the paper illustrated the model's efficacy: a positive event for a liquor company (WLY) correctly predicted a rise for a non-direct competitor (KCMT) but a fall for a direct competitor (LZLJ), while also identifying the influence on a downstream partner (Tongwei). This demonstrates the power of modeling dynamic, multi-hop relationships.

Conclusion

The REST framework represents a significant advancement in stock trend forecasting by integrating textual event analysis with relational graph modeling. By accounting for the specific context of individual stocks and the dynamic nature of corporate relationships, REST provides a more accurate and robust tool for financial prediction. Future work may involve expanding the data sources to include social media sentiment and exploring unsupervised learning techniques to further refine the model's forecasting capabilities.

Summary updated

BibTeX
@misc{xu2021rest,
  author = {Wentao Xu and Weiqing Liu and Chang Xu and Jiang Bian and Jian Yin and Tie-Yan Liu},
  title = {{REST: Relational Event-driven Stock Trend Forecasting}},
  year = {2021},
  eprint = {2102.07372},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2102.07372},
}
Figure