All models

SimpleDyG

A plain Transformer that models a dynamic graph as a sequence, with time tokens for alignment.

Graphs and geometry · 312 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 (23 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
44.7M
Operations
312
Framework
PyTorch
Recurrent
No
Published
WWW 2024
Cited by
37 (as of 24 October 2026)
Authors
Yuxia Wu, Yuan Fang, Lizi Liao
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
m20423
Graph hash
8ceca9a9b51c0ffa160b83900d0b3e6b529dd8a47530c6f04445723f6d162b40
Skeleton hash
a114b25f158dd895ab9333923552578d86fd969cd72ff711bf6ae2fd54eb8eba
Architecture hash
e25ba59548c76fa04b6f8dd289c8bedf7ae9ddc5b58440ca1edfa64305adc79f
Diagram SHA-256
22d92744fe23a430df25cd9d6d449f51a23a525a5e829c3dcf66d4da5ebfbac0
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

SimpleDyG is a simple Transformer model for dynamic graph modeling, used without complex modifications. The paper places the task in web graphs, with applications in social networks and recommender systems. Its starting point is that many existing methods complicate the process with intricate module designs for capturing how a graph evolves. SimpleDyG relies instead on the Transformer's self-attention mechanism, chosen for its handling of long-range dependencies in sequence modeling.

The method re-conceptualizes a dynamic graph as a sequence modeling problem and introduces a temporal alignment technique. In the released code, each preprocessed interaction carries a coarse-grained time step that is used for temporal alignment. The preprocessed data is then converted into sequences for the Transformer model.

The paper evaluates SimpleDyG on four real-world datasets and reports performance competitive with the approaches it compares against. One of the datasets in the repository, MMConv, is a text-based multi-turn dialog dataset, preprocessed by representing the dialog as a graph for each turn.

Key idea. SimpleDyG treats dynamic graph modeling as sequence modeling, applying a simple Transformer with a temporal alignment technique instead of intricate graph-specific modules.

  • SimpleDyG
  • dynamic graph modeling
  • dynamic graph
  • simple Transformer
  • temporal alignment
  • temporal graph
  • sequence modeling

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

Cite the paper

@misc{wu2024feasibilitysimpletransformerdynamic,
      title={On the Feasibility of Simple Transformer for Dynamic Graph Modeling}, 
      author={Yuxia Wu and Yuan Fang and Lizi Liao},
      year={2024},
      eprint={2401.14009},
      archivePrefix={arXiv},
      primaryClass={cs.SI},
      url={https://arxiv.org/abs/2401.14009}, 
}