All models

AD-GAT

AD-GAT predicts stock movements by modeling how momentum spills over between related firms.

Time series · 1,881 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (401 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
158.2M
Operations
1,881
Framework
PyTorch
Recurrent
Yes
Published
AAAI 2021
Cited by
144 (as of 24 October 2026)
Authors
Rui Cheng, Qing Li
License
MIT
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m14498
Graph hash
285856fd6bac8313de8be1e9d4bbbca880f1df9cc83fbf2cec404e9e73749395
Skeleton hash
89b5481cd20ddae2aa5031d2b5d2d4e8a4961d243170f15363b90f7d71a5d4d8
Architecture hash
8748d5bb53ebbb6fb213b4af35440f2a4b01c059f685aec11c40f97eb9571014
Diagram SHA-256
89d4885c8c7eebe89b73950bfecf902e1678c838a95d12d154b879a2ab2d41d7
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

AD-GAT, the attribute-driven graph attention network, predicts stock movements by modeling momentum spillovers between firms. In finance, a momentum spillover means that the past returns of one firm can predict the returns of firms that are linked to it. The paper argues that traditional graph convolutional networks pass influence between connected firms without considering the states of both firms.

A tensor fusion module first merges each firm's technical indicators and textual media features into one vector. A GRU then turns the sequence of fused vectors into the firm's sequential embedding. The attribute-mattered aggregator then multiplies a nonlinear transformation of the connected firms' attributes element-wise with the attributes of the source firm. Firm relations are not fixed in advance: an unmasked attention mechanism lets each firm be attended by every other firm. A single feed-forward layer with a softmax function produces the probability of the future stock trend.

The experiments use market data of S&P 500 firms from February 8, 2011 to November 18, 2013. Only the 198 stocks with no missing transaction data and at least 100 related news articles are kept. The paper reports gains of at least 6.4% in directional accuracy and 10.7% in AUC over eLSTM and TGC. The code repository does not include the news data because of copyright issues.

Key idea. AD-GAT gates the influence passed between firms by the attributes of both firms and infers firm relations with unmasked attention instead of relying on predefined relations.

  • AD-GAT
  • ADGAT
  • attribute-driven graph attention network
  • stock prediction
  • stock movement prediction
  • momentum spillover
  • S&P 500
  • firm relations
  • financial news sentiment

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@article{Cheng_2021, title={Modeling the Momentum Spillover Effect for Stock Prediction via Attribute-Driven Graph Attention Networks}, volume={35}, ISSN={2159-5399}, url={http://dx.doi.org/10.1609/aaai.v35i1.16077}, DOI={10.1609/aaai.v35i1.16077}, number={1}, journal={Proceedings of the AAAI Conference on Artificial Intelligence}, publisher={Association for the Advancement of Artificial Intelligence (AAAI)}, author={Cheng, Rui and Li, Qing}, year={2021}, month=May, pages={55–62} }