All models

DynG-JODIE

Coupled user and item RNNs that learn embedding trajectories and project a user's embedding forward in time.

Graphs and geometry · 132 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 (142 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

Family
JODIE
Parameters
2.6M
Operations
132
Framework
PyTorch
Recurrent
Yes
Published
KDD 2019
Cited by
823 (as of 27 October 2026)
Authors
Srijan Kumar, Xikun Zhang, Jure Leskovec
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
m810
Graph hash
53d3cd1622402185ce8f0b4f69454b024122ac7fbc61d8981dd57db47c501900
Skeleton hash
c305b2d95b8b568e57042579f87bd1494540dcbba6e32663efc61dd37af5f767
Architecture hash
15ad5e870f69d031b2c01a97b1f2ad5068d4061208cf6a04499e1dabc5cca57d
Diagram SHA-256
c24ba4e55557ce52e7d3e428554b44bc25f6cbeb3fc95f30e7d3110e787462e7
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

About this model's family

JODIE, short for Joint Dynamic User-Item Embeddings, models sequences of interactions between users and items in settings such as e-commerce, social networking and education by learning an embedding trajectory for each user and item. Two recurrent networks do the updating: one is shared across all users and one across all items. After each interaction the user RNN updates the user embedding from the embedding of the item involved, and the item RNN does the same in the other direction.

The paper's main addition is a projection operation. A linear layer converts the time elapsed since a user's last interaction into a vector that scales the user's embedding, so the projected embedding differs more from the stored one as more time passes. From the projected embedding the model generates an item embedding directly, and the recommended item is the one closest to it in embedding space. Each user and item also has a static embedding, a one-hot vector, next to the dynamic one.

Training uses the t-Batch algorithm, in which each user and item appears at most once per batch so that a batch can be processed in parallel. On datasets from Reddit, Wikipedia, LastFM and a MOOC, the paper reports at least 20% better mean reciprocal rank on interaction prediction than its baselines. The authors found that LSTM and GRU variants performed similarly or worse, and kept plain RNNs to reduce the number of trainable parameters.

Key idea. JODIE couples a user RNN and an item RNN and adds a learned projection that estimates a user's embedding at any future time to predict the next item.

  • JODIE
  • Joint Dynamic User-Item Embeddings
  • dynamic embedding trajectory
  • temporal interaction network
  • temporal link prediction
  • user state change prediction
  • coupled recurrent neural network
  • t-Batch
  • recommender system

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

Cite the paper

@misc{yu2023betterdynamicgraphlearning,
      title={Towards Better Dynamic Graph Learning: New Architecture and Unified Library}, 
      author={Le Yu and Leilei Sun and Bowen Du and Weifeng Lv},
      year={2023},
      eprint={2303.13047},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/2303.13047}, 
}