All models

dyglib_tgb.JODIE

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

Graphs and geometry · 40 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 (42 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
8.5K
Operations
40
Framework
PyTorch
Recurrent
No
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
m4405
Graph hash
79486647131e502d350bb1e0b63baddf839aa6f61419a520db7b6ff9a81afc01
Skeleton hash
4a0aae967cd99ba7a9ef66567a07c3942303aa60c927d157cfe2dfbccabd2883
Architecture hash
a56a3e4bd88bc1934abc55c7be0bda4e7fbd3115faa501d5bc27ff4f6ec3e352
Diagram SHA-256
8a722310a7aee3ab4e96d81f4f5e546b76a9aa488d110a37083cdd1367ce4e90
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}, 
}