dyglib_tgb.NAT
A temporal network model that keeps a dictionary of neighbors per node for fast link prediction.
Graphs and geometry · 160 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
- 12.9K
- Operations
- 160
- Framework
- PyTorch
- Recurrent
- No
- Published
- LoG 2022
- Cited by
- 19 (as of 23 October 2026)
- Authors
- Yuhong Luo, Pan Li
- 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
- m4406
- Graph hash
- c18e970ce3e3045c27c190046d34d4c81ea7dc7e4e7ae215ced19860e77b4761
- Skeleton hash
- 652eb7f7be51688819124b44154b57d37b1a163c303c66f4bf6e121e4f6a88f3
- Architecture hash
- e519d5d259395d507a4855ffda55674af6b68b7f5648abca0abde7ef1a43526b
- Diagram SHA-256
- 3740be2128baf560f543208215910b75baeac9d991e01cdca9f466408d3e73a5
- TorchLens version
- 2.35.3
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
How this diagram was made
menagerie.classics.ri_ts_graph_temporal:build_nat: build({}) What it is
NAT, the Neighborhood-Aware Temporal network model, predicts links in temporal networks, where the question is whether two nodes may interact at a certain time. The paper's starting point is that the joint neighborhood of the nodes carries useful structural information, which earlier representation learning methods either fail to extract or construct online at a high time cost.
Instead of a single vector per node, NAT keeps a dictionary-type neighborhood representation whose keys are a downsampled set of the neighboring nodes. These dictionaries are held in a data structure the authors call N-cache, designed for parallel access and update on GPUs. A node's own representation is updated via an RNN when the node interacts with another node. To predict a link, the neighborhood representations of the two nodes are joined and an attention layer makes the final prediction.
The paper evaluates NAT on seven real-world temporal networks and reports that it outperforms the baselines by an average of 1.2% in transductive and 4.2% in inductive link prediction accuracy. It also reports a speed-up of 4.1-76.7x against the baselines that adopt joint structural features.
Key idea. NAT replaces the single-vector node representation with dictionary-type neighborhood representations held in GPU N-caches, so joint neighborhood features for link prediction can be built quickly.
- NAT
- Neighborhood-Aware Temporal network model
- neighborhood-aware temporal network
- N-cache
- temporal link prediction
- temporal network
- dynamic graph
- temporal network representation learning
- joint neighborhood features
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{luo2022neighborhoodawarescalabletemporalnetwork,
title={Neighborhood-aware Scalable Temporal Network Representation Learning},
author={Yuhong Luo and Pan Li},
year={2022},
eprint={2209.01084},
archivePrefix={arXiv},
primaryClass={cs.LG},
url={https://arxiv.org/abs/2209.01084},
}