Temporal Collaborative Filtering with Graph Convolutional Neural Networks

Esther Rodrigo Bonet, Duc Minh Nguyen, Nikos Deligiannis

Abstract

Traditional collaborative filtering models often struggle to capture the dynamic nature of user preferences and item trends. This paper introduces TG-MC (Time-aware Graph-based Matrix Completion), a framework that integrates Graph Convolutional Matrix Completion (GCMC) with Recurrent Neural Networks (RNNs). By employing an "accumulative representation" strategy to mitigate data sparsity in temporal slices, TG-MC effectively models the evolution of latent user and item features, achieving state-of-the-art performance on benchmark datasets.

Introduction

Most recommendation systems operate under the assumption of static user tastes and item popularity. However, real-world preferences are highly fluid; a user's interest in a specific genre may wane over years, and products often experience transient viral cycles. Temporal Collaborative Filtering (TCF) aims to address this by modeling time-dependent interactions.

While Matrix Factorization (MF) combined with RNNs has been a standard approach, it often fails to leverage the structural information inherent in user-item interaction graphs. Graph Neural Networks (GNNs) excel at capturing these relational patterns but face significant challenges in temporal settings. Specifically, when data is partitioned into discrete time windows, the resulting graphs become extremely sparse, hindering the GNN's ability to learn robust representations.

Methodology: The TG-MC Framework

The researchers propose a two-stage pipeline designed to bridge the gap between relational graph modeling and sequential temporal prediction.

The TG-MC architecture consists of four main steps: (a) Input graph construction, (b) Graph Encoder using GCMC and FC layers, (c) Predictive step using User and Item RNNs, and (d) Bilinear Decoder for rating prediction.

1. Graph Encoder (GCMC)

For each time window $t$, user-item interactions are represented as a bipartite graph. A Graph Convolutional Matrix Completion (GCMC) model serves as the encoder, learning latent embeddings for users and items by aggregating information from their local neighborhoods.

2. Temporal Predictor (RNN)

The sequence of embeddings generated by the encoder across successive time steps is fed into RNNs (specifically LSTMs or GRUs). These networks are trained to model the "trajectory" of user and item embeddings, predicting their future states ($U_{T+1}, V_{T+1}$).

3. Accumulative Representation

To overcome the sparsity issue in temporal slices, TG-MC utilizes an accumulative representation strategy. Instead of training the GNN on isolated time windows, the model at time $t$ is trained using all historical interactions from the start of the dataset up to $t$. This ensures sufficient edge density for effective graph convolution.

4. Bilinear Decoder

The predicted future embeddings are passed through a bilinear decoder to reconstruct the predicted rating for a given user-item pair.

Experimental Evaluation

The model was evaluated on two large-scale benchmarks: the Netflix Prize Dataset (~5 million ratings) and MovieLens 1M. Data was split chronologically to simulate real-world predictive scenarios.

Key Results

TG-MC consistently outperformed both static and temporal baselines. On the Netflix dataset, it achieved an RMSE of 0.931, surpassing models like TimeSVD++ and Recurrent Recommender Networks. On MovieLens 1M, it reached a MAE of 0.664, significantly better than the NTF baseline.

Performance comparison between non-accumulative and accumulative representations across different RNN architectures. Accumulative representation consistently yields lower error rates.

The results in Figure 4 highlight the critical role of the accumulative strategy. By providing a denser graph foundation, the model achieves substantial gains in both RMSE and MAE across all RNN variants (RNN, GRU, LSTM). Furthermore, the superior performance of LSTMs and GRUs over vanilla RNNs underscores the importance of capturing long-term dependencies in user behavior.

Conclusion and Future Work

TG-MC demonstrates that GNNs can be successfully adapted for temporal tasks by addressing data sparsity through accumulation. By predicting the evolution of user and item "personalities" (embeddings) rather than just raw ratings, the model provides a more robust solution to concept drift.

Future research directions include optimizing the computational overhead of training GNNs at every time step and exploring the model's performance for long-term projections beyond the immediate next time step. Additionally, addressing the "cold start" problem for new users and items within this graph-temporal framework remains an open challenge.

Summary updated

BibTeX
@inproceedings{bonet2020temporal,
  author = {Esther Rodrigo Bonet and Duc Minh Nguyen and Nikos Deligiannis},
  title = {{Temporal Collaborative Filtering with Graph Convolutional Neural Networks}},
  booktitle = {ICPR},
  year = {2020},
  doi = {10.1109/icpr48806.2021.9413200},
}
Figure