All models

DyHGCN (diffusion prediction)

A graph convolutional model that joins a social graph with time-sliced repost graphs to predict who shares next.

Graphs and geometry · 732 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 (101 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
3.6M
Operations
732
Framework
PyTorch
Recurrent
No
Published
ECML-PKDD 2020
Cited by
100 (as of 27 October 2026)
Authors
Chunyuan Yuan, Jiacheng Li, Wei Zhou and others
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
m16223
Graph hash
37544eb62f14dad2645d321e9cb9fdf5b22c05f51b2850d749b266379274b728
Skeleton hash
a252a473c8ce606d0a69e258d4ba4a4408505562b649ff61b3998ec4ffc371c5
Architecture hash
b6b6daa612dcfa00e18f4995edbf7683c084542ba6a21cea4a4a1e53eb6c9db8
Diagram SHA-256
b010ab4c7912c5745f183d4f11cb055eef83d3844509b8d208a087cc5e959ff1
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

DyHGCN is a dynamic heterogeneous graph convolutional network that jointly learns the structure of a social graph and a dynamic diffusion graph, in order to predict how information spreads among users. The paper's argument is that previous works cannot jointly utilize both the social network and the diffusion graph, and cannot learn users' dynamic preferences, which change as time goes on.

The heterogeneous graph has one type of node, the user, and two types of relations, follow and repost. The historical diffusion timeline is split into n time intervals, and for each kind of relation a multi-layer graph convolutional network learns the node representations. A time-aware attention module then fuses a user's representations from the historical intervals into a final representation. The paper names the model with this soft selection strategy DyHGCN-S, and the one with hard selection DyHGCN-H. Instead of a recurrent network, a masked multi-head self-attention module encodes the current diffusion sequence.

Predicting the next infected user is treated as a retrieval task that ranks the uninfected users by their infection probabilities. The paper reports that DyHGCN outperforms the models it compares against on three public datasets: Twitter, Douban and Memetracker. In those experiments the user and time interval embeddings have 64 dimensions, and the timeline is split into 8 intervals.

Key idea. DyHGCN jointly models the social graph and time-sliced diffusion graphs with graph convolutions, then fuses the per-interval user representations to capture users' changing preferences.

  • dyhgcn
  • dynamic heterogeneous graph convolutional network
  • information diffusion prediction
  • information cascade
  • repost prediction
  • social network
  • diffusion graph
  • dynamic user preferences

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

Cite the paper

@misc{yuan2020dyhgcndynamicheterogeneousgraph,
      title={DyHGCN: A Dynamic Heterogeneous Graph Convolutional Network to Learn Users' Dynamic Preferences for Information Diffusion Prediction}, 
      author={Chunyuan Yuan and Jiacheng Li and Wei Zhou and Yijun Lu and Xiaodan Zhang and Songlin Hu},
      year={2020},
      eprint={2006.05169},
      archivePrefix={arXiv},
      primaryClass={cs.SI},
      url={https://arxiv.org/abs/2006.05169}, 
}