NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Dynamic Graph Collaborative Filtering

Xiaohan Li, Mengqi Zhang, Shu Wu, Zheng Liu, Liang Wang, Philip S. Yu

TL;DR

Dynamic Graph Collaborative Filtering (DGCF) is a novel framework that treats recommendation as an evolving bipartite graph rather than just a sequence of events. By integrating "second-order aggregation"—learning from the neighbors of your neighbors—it captures collaborative signals that traditional sequence-based models miss, resulting in up to a 30% performance boost on complex datasets.

What Problem Does This Paper Address?

Modern recommender systems face a dual challenge: they must track how user interests and item popularity evolve over time (temporal dynamics), and they must leverage the fact that similar users tend to like similar items (collaborative filtering).

Existing solutions usually pick one side of the coin. Sequence-based models (like RNNs or LSTMs) are excellent at tracking a single user's trajectory but often ignore the broader "collaborative" context of what other similar users are doing. Conversely, Graph-based models are the gold standard for collaborative filtering (CF) because they map out complex relationships, but they are typically designed for static snapshots, failing to capture the "flow" of real-time interactions.

The authors identify a specific gap: sequence-based models struggle when users don't repeat actions. If a user explores new categories, a sequence model has little to go on. DGCF aims to solve this by modeling interactions as a dynamic graph that updates its structure and embeddings simultaneously.

Methods

DGCF represents users and items as nodes in a dynamic bipartite graph. When a new interaction occurs (e.g., User $u$ buys Item $v$), the model updates the embeddings using three distinct mechanisms:

  1. Zero-order Inheritance: The node updates itself based on its own history and the time elapsed ($\Delta t$) since its last interaction. This captures individual "drift."
  2. First-order Propagation: Information is swapped between the two interacting nodes. The user embedding absorbs features from the item, and the item absorbs features from the user.
  3. Second-order Aggregation: This is the core innovation. The model looks at the neighbors of the interacting partner. For example, when updating User $u$, the model aggregates information from other users who have interacted with Item $v$ in the past. This explicitly injects collaborative filtering into the dynamic update.

These three representations are fused into a final embedding. To make predictions, the model uses a Projection Function to estimate where a user’s embedding will "travel" in the future and an Evolutionary Loss function that minimizes the distance between predicted and actual future embeddings.

Datasets

The authors evaluated DGCF on three public datasets with varying levels of "action repetition":

  • Reddit: One month of posts on subreddits (79% action repetition).
  • Wikipedia: One month of page edits (61% action repetition).
  • LastFM: One month of music listening history (8.6% action repetition).

The LastFM dataset is particularly important because it represents a "cold" or "exploratory" scenario where users rarely repeat the exact same action, making it the ultimate test for collaborative filtering.

Key Insights and Ideas

  • Collaborative Filtering is a Structural Property: The authors argue that CF isn't just about finding similar sequences; it's about the topology of the interaction graph. By using second-order neighbors, DGCF finds "latent peers" even if those peers haven't interacted recently.
  • The Power of Low Repetition: DGCF’s biggest "aha moment" comes from the LastFM results. While sequence models (like Jodie) perform well when users repeat actions (Reddit), they stumble when users explore. DGCF fills this gap by looking at what similar people listened to, even if the current user has never heard that song before.
  • Time as a Continuous Variable: By encoding the time interval ($\Delta t$) directly into the zero-order update, the model learns that a gap of five minutes means something very different than a gap of five days.
  • Attention Matters: The study found that using a Graph Attention (GAT) aggregator for second-order information outperformed simple means or LSTMs, as it allows the model to prioritize the most "influential" neighbors.

Key Results

  • SOTA Performance: DGCF significantly outperformed state-of-the-art models like Jodie, RRN, and DeepCoevolve across all metrics (Mean Reciprocal Rank and Recall@10).
  • Massive Gains on LastFM: On the low-repetition LastFM dataset, DGCF improved MRR by 34.3% and Recall@10 by 27.7% over the best baseline.
  • Robustness: The model proved robust to "aggregator size." Even with a small, fixed number of neighbors (to save on computation), the second-order information provided a substantial boost.

Limitations and Future Work

  • Computational Complexity: While the authors use fixed-size neighborhood sampling to keep the model fast, dynamic graph updates are inherently more expensive than simple RNN passes. Scaling this to billions of edges in real-time remains a challenge.
  • Higher-Order Limits: The authors intentionally stopped at second-order neighbors to avoid "over-smoothing" (where all nodes eventually look the same) and to keep latency low. Exploring "weighted" higher-order paths without losing local detail is a potential next step.
  • Heterogeneous Graphs: The current model focuses on a bipartite user-item graph. Future iterations could incorporate other node types, such as categories, brands, or social connections, into a more complex heterogeneous dynamic graph.

Summary updated

BibTeX
@inproceedings{li2020dynamic,
  author = {Xiaohan Li and Mengqi Zhang and Shu Wu and Zheng Liu and Liang Wang and Philip S. Yu},
  title = {{Dynamic Graph Collaborative Filtering}},
  booktitle = {ICDM},
  year = {2020},
  doi = {10.1109/icdm50108.2020.00041},
}
Figure