GCLSTM
An LSTM cell whose gates apply graph convolution to past states, for predicting links in evolving networks.
Graphs and geometry · 221 operations Checked
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
- Task
- Graphs and geometry
- Parameters
- 6.3K
- Operations
- 221
- Framework
- PyTorch
- Recurrent
- No
- Published
- 2018
- Cited by
- 85 (as of 3 November 2026)
- Authors
- Jinyin Chen, Xueke Wang, Xuanheng Xu
- License
- MIT
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m1109
- Graph hash
- 0255315a701779a938771e7d7c102c0324e20e438d24f9bd489e73b0a17be76c
- Skeleton hash
- 7e738d6957eb9873037fa19cda43a75603348067d5541a518c70ed21750e6826
- Architecture hash
- 40c8123f12b3272fd315294591cef47846f98b031531078e5e90d4fe8ffaac04
- Diagram SHA-256
- b2656b0f523893dba8ff0643777ff856a1264ee39128d7afdb5da564d8c79d9e
- 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
GC-LSTM is a graph convolution network embedded in a long short-term memory network, built for end-to-end dynamic link prediction. A dynamic network here is a sequence of snapshots, and the goal is to learn from the previous T snapshots the probability of every link at the next time step. Inside the cell, graph convolution is applied to the previous hidden state and cell state, so each node's gates depend on its neighbors' states as well as its own. The graph convolution is approximated by a K-th order Chebyshev polynomial, so a node can draw on its K-hop neighborhood. The paper sets K to 3 to balance performance and efficiency; the cell on this page uses K of 2.
In the full model this cell is the encoder, and a fully connected decoder maps the final hidden state back to a matrix of link probabilities. What is built on this page is the cell alone, as implemented in PyTorch Geometric Temporal, which lists GC-LSTM among its recurrent graph convolutions.
The paper's claim of novelty is that GC-LSTM can predict both added and removed links, where most existing dynamic link prediction methods could only handle removed links. The paper reports that GC-LSTM outperformed every baseline on the error-rate metrics across its datasets. On the FB-FORUM and LKML datasets, however, the baseline TNE had better AUC and GMAUC. The hidden width is chosen from 64, 128, 256 or 512 depending on the number of nodes.
Key idea. GC-LSTM embeds graph convolution inside the LSTM gates so one model learns snapshot structure and temporal evolution, predicting both added and removed links.
- gc-lstm
- gclstm
- graph convolution lstm
- dynamic link prediction
- dynamic network
- snapshot graphs
- temporal graph
- chebyshev convolution
- pytorch geometric temporal
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{chen2021gclstmgraphconvolutionembedded,
title={GC-LSTM: Graph Convolution Embedded LSTM for Dynamic Link Prediction},
author={Jinyin Chen and Xueke Wang and Xuanheng Xu},
year={2021},
eprint={1812.04206},
archivePrefix={arXiv},
primaryClass={cs.SI},
url={https://arxiv.org/abs/1812.04206},
}