# Learning Dynamic Embeddings from Temporal Interactions

arXiv: https://arxiv.org/abs/1812.02289 · HTML: https://mlsanity.com/paper/1812.02289/

## Key facts

- Cited by 10 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 6 Dec 2018.

## Built on by (most cited first, 10 of 10)

- [Graph Neural Networks for temporal graphs: State of the art, open challenges, and opportunities](https://mlsanity.com/paper/2302.01018/) (2023)
- [Encoder-Decoder Architecture for Supervised Dynamic Graph Learning: A Survey](https://mlsanity.com/paper/2203.10480/) (2022)
- [Decoupled Graph Neural Networks for Large Dynamic Graphs](https://mlsanity.com/paper/2305.08273/) (2023)
- [Efficient Scaling of Dynamic Graph Neural Networks](https://mlsanity.com/paper/2109.07893/) (2021)
- [Lifelong Learning on Evolving Graphs Under the Constraints of Imbalanced Classes and New Classes](https://mlsanity.com/paper/2112.10558/) (2021)
- [Lightweight Compositional Embeddings for Incremental Streaming Recommendation](https://mlsanity.com/paper/2202.02427/) (2022)
- [Learning Student Interest Trajectory for MOOCThread Recommendation](https://mlsanity.com/paper/2101.05625/) (2021)
- [A Temporal Graph Network Framework for Dynamic Recommendation](https://mlsanity.com/paper/2403.16066/) (2024)
- [Towards Temporal Edge Regression: A Case Study on Agriculture Trade Between Nations](https://mlsanity.com/paper/2308.07883/) (2023)
- [Efficient Dynamic Algorithms for Graph Neural Networks with Non-Linear Propagation](https://mlsanity.com/paper/2609.32929/) (2026)

## Abstract (arXiv)

Modeling a sequence of interactions between users and items (e.g., products, posts, or courses) is crucial in domains such as e-commerce, social networking, and education to predict future interactions. Representation learning presents an attractive solution to model the dynamic evolution of user and item properties, where each user/item can be embedded in a euclidean space and its evolution can be modeled by dynamic changes in embedding. However, existing embedding methods either generate static embeddings, treat users and items independently, or are not scalable. Here we present JODIE, a coupled recurrent model to jointly learn the dynamic embeddings of users and items from a sequence of user-item interactions. JODIE has three components. First, the update component updates the user and item embedding from each interaction using their previous embeddings with the two mutually-recursive Recurrent Neural Networks. Second, a novel projection component is trained to forecast the embedding of users at any future time. Finally, the prediction component directly predicts the embedding of the item in a future interaction. For models that learn from a sequence of interactions, traditional training data batching cannot be done due to complex user-user dependencies. Therefore, we present a novel batching algorithm called t-Batch that generates time-consistent batches of training data that can run in parallel, giving massive speed-up. We conduct six experiments on two prediction tasks---future interaction prediction and state change prediction---using four real-world datasets. We show that JODIE outperforms six state-of-the-art algorithms in these tasks by up to 22.4%. Moreover, we show that JODIE is highly scalable and up to 9.2x faster than comparable models. As an additional experiment, we illustrate that JODIE can predict student drop-out from courses five interactions in advance.
