
dyglib_tgb.JODIE
Graphs and geometry40 ops8.5K params
Coupled user and item RNNs that learn embedding trajectories and project a user's embedding forward in time.
Graphs and geometry · 132 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.
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.
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.
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
@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},
}