Stock Price Prediction Using Temporal Graph Model with Value Chain Data

Chang Liu, Sandra PaterliniarXiv 2023 · DOI

Abstract

Predicting stock returns is a complex task due to the intricate interdependencies within financial markets. Traditional models often treat stocks as isolated time series, failing to account for the propagation of economic shocks through supply chains. This paper introduces the Full-State Graph Convolutional LSTM (FS-GCLSTM), a model that integrates value-chain relationships directly into the internal states of a Long Short-Term Memory (LSTM) network. By applying graph convolutions to the input, previous hidden state, and previous cell state, the FS-GCLSTM captures how spatial information evolves over time. Experimental results on the Eurostoxx 600 and S&P 500 indices show that the FS-GCLSTM consistently outperforms baseline models in terms of annualized returns and Sharpe ratios, particularly in denser market networks.

Introduction

The financial market is an interconnected ecosystem where the performance of one firm is often tied to its suppliers and customers. For instance, a disruption in the semiconductor industry can have immediate downstream effects on automotive and consumer electronics manufacturers. While Graph Neural Networks (GNNs) have been used to model these relationships, they often suffer from an "information bottleneck" where spatial logic is only applied to initial inputs. This paper addresses this limitation by ensuring that supply chain interdependencies influence the entire memory mechanism of the temporal model.

Methodology

The core innovation of this research is the Full-State Graph Convolutional LSTM (FS-GCLSTM). Unlike standard GCLSTMs that only apply graph transformations to the input features, the FS-GCLSTM applies a Graph Convolutional Network (GCN) to all three components of the LSTM cell: the current input ($X_t$), the previous hidden state ($h_{t-1}$), and the previous cell state ($c_{t-1}$).

FS-GCLSTM Cell Architecture: GCN transformations are applied to the input, hidden state, and cell state to ensure spatial awareness in the network's memory.

By applying convolutions to the hidden and cell states, the model ensures that the "memory" of the network is spatially aware. This allows the model to learn how a state change in one node should influence its neighbors over multiple time steps. The final architecture uses three stacked FS-GCLSTM layers followed by a Multi-Layer Perceptron (MLP) to output the predicted next-day returns.

Experimental Results

The model was evaluated using data from 2000 to 2024 for the Eurostoxx 600 and S&P 500. Key findings include:

  • Superior Financial Utility: While the FS-GCLSTM did not always achieve the lowest Mean Squared Error (MSE), it consistently delivered the highest portfolio returns. In the Eurostoxx 600, it achieved an annualized return of 7.41% (Sharpe ratio 0.462), significantly outperforming the constant-weights benchmark of 5.03%.
  • Network Density Impact: The model performed better on the Eurostoxx 600 than the S&P 500. This is attributed to the higher connectivity (density) of the European value-chain network, which provides more informative spatial features for the GCN to extract.
Value chain graphs for (a) Eurostoxx 600 and (b) S&P 500, illustrating the higher structural density in the European market compared to the US market.
  • Directional Accuracy: In the S&P 500, the model reached a directional correctness of 50.35%. While seemingly modest, this level of accuracy is statistically significant in high-frequency daily rebalancing strategies and leads to substantial profitability.

Conclusion

The FS-GCLSTM demonstrates that deep integration of spatial and temporal modeling is essential for capturing market dynamics. By making the "memory" of the network spatially aware, the model effectively utilizes supply chain data to predict stock movements. Future work will explore multi-tier supply chain effects and the use of heterogeneous graphs to distinguish between different types of corporate relationships.

Summary updated

BibTeX
@misc{liu2023stock,
  author = {Chang Liu and Sandra Paterlini},
  title = {{Stock Price Prediction Using Temporal Graph Model with Value Chain Data}},
  year = {2023},
  eprint = {2303.09406},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2303.09406},
}
Figure