Gaussian process latent variable model factorization for context-aware recommender systems

Wei Huang, Richard Yi Da XuPattern Recognition Letters 2019

Abstract

Context-aware recommender systems (CARS) have gained increasing attention due to their ability to utilize contextual information. Compared to traditional recommender systems, CARS are, in general, able to generate more accurate recommendations. Latent factors approach accounts for a large proportion of CARS. Recently, a non-linear Gaussian Process (GP) based factorization method was proven to outperform the state-of-the-art methods in CARS. Despite its effectiveness, GP model-based methods can suffer from over-fitting and may not be able to determine the impact of each context automatically. In order to address such shortcomings, we propose a Gaussian Process Latent Variable Model Factorization (GPLVMF) method, where we apply an appropriate prior to the original GP model. Our work is primarily inspired by the Gaussian Process Latent Variable Model (GPLVM), which was a non-linear dimensionality reduction method. As a result, we improve the performance on the real datasets significantly as well as capturing the importance of each context. In addition to the general advantages, our method provides two main contributions regarding recommender system settings: (1) addressing the influence of bias by setting a non-zero mean function, and (2) utilizing real-valued contexts by fixing the latent space with real values.

Introduction

Traditional recommender systems often rely on Matrix Factorization (MF) or Factorization Machines (FM). While effective, these methods are largely linear, struggling to capture the complex, non-linear relationships inherent in real-world user-item interactions.

Context-Aware Recommender Systems (CARS) introduce additional complexity by incorporating variables such as time, location, or mood. While Gaussian Processes (GP) offer a non-linear alternative, previous GP-based CARS models often suffered from over-fitting and an inability to automatically distinguish between relevant contextual factors and noise. This paper introduces GPLVMF, a Bayesian non-linear factorization method designed to address these specific shortcomings.

Methodology: The GPLVMF Framework

The proposed GPLVMF method places a prior distribution over latent variables, allowing the model to marginalize out uncertainty—a primary defense against over-fitting.

GPLVMF Architecture Diagram

Key Technical Components

  • Non-Zero Mean Function: Unlike standard GP models that assume a zero mean, GPLVMF incorporates a non-zero mean function to explicitly capture user, item, and context biases. This allows the GP kernel to focus solely on complex interactions rather than baseline averages.
  • Automatic Relevance Determination (ARD): By utilizing an ARD squared exponential kernel, the model learns inverse length-scale parameters. This allows the model to automatically shrink the influence of irrelevant contexts to near zero, effectively performing feature selection.
  • Variational Inference: To maintain scalability, the authors employ a generalized variational inference framework using "inducing variables" to approximate the posterior, enabling the model to scale to larger datasets.
  • Real-Valued Context Handling: GPLVMF processes raw real-valued contexts (like price) by fixing the latent space to those values, preserving more information than traditional quantization methods.

Experimental Evaluation

The model was evaluated on four diverse real-world datasets: Comoda (movie ratings with 12 contexts), Food (menu ratings), Sushi (including real-valued price contexts), and Movielens-1M (large-scale temporal data).

Performance and Convergence

GPLVMF consistently outperformed state-of-the-art baselines across all datasets. On the Food dataset, the model achieved a 13.4% improvement in Mean Absolute Error (MAE) and a 12.8% improvement in Root-Mean-Square Error (RMSE) compared to the next best model.

MAE convergence across datasets

As shown in the convergence plots, the use of Stochastic Gradient Descent (SGD) allows the model to converge efficiently, typically within 100 iterations, while maintaining superior accuracy compared to Scaled Conjugate Gradient (SCG) in most scenarios. Despite the inherent complexity of Gaussian Processes, the model scales linearly with the amount of data when optimized with SGD.

Conclusion

GPLVMF provides a robust, Bayesian framework for CARS that effectively handles non-linearity, bias, and feature selection. By integrating latent variable modeling with Gaussian Processes, the system achieves significant accuracy gains and provides interpretable insights into context importance via learned length-scales. Future work will explore more complex kernels, such as periodic kernels for cyclical time data, and further computational optimizations for billion-scale datasets.

Summary updated

BibTeX
@article{huang2019gaussian,
  author = {Wei Huang and Richard Yi Da Xu},
  title = {{Gaussian process latent variable model factorization for context-aware recommender systems}},
  journal = {Pattern Recognition Letters},
  year = {2019},
  url = {https://openreview.net/forum?id=MtOi0Gd2CHn},
}
Figure