Ordinal Non-negative Matrix Factorization for Recommendation

Olivier Gouvert, Thomas Oberlin, Cédric FévotteICML 2020

Introduction

In recommender systems, user feedback typically comes in two forms: explicit (like a 1-to-10 movie rating) or implicit (like the number of times a song was played). Most existing collaborative filtering models struggle to handle this data in its raw, "ordinal" form—categorical data that possesses a natural order.

OrdNMF is a novel non-negative matrix factorization (NMF) framework designed specifically for this type of ordinal data. By avoiding the common practice of "binarizing" data, OrdNMF preserves crucial information, achieving superior recommendation performance while remaining efficient enough to handle massive, sparse datasets.

The Problem with Naive Approaches

When faced with ordinal data, researchers typically take one of two naive paths:

  1. Binarization: Treating any interaction as a '1' and no interaction as a '0'. While simple, this approach loses the critical nuance between a user "liking" an item and "loving" it.
  2. Regression or Classification: Treating ratings as continuous numbers assumes the distance between 1 and 2 stars is exactly the same as between 4 and 5 stars. Alternatively, treating them as unordered categories ignores the inherent ranking entirely.

The challenge lies in creating a model that respects the ordering of categories without assuming a fixed "distance" between them, all while maintaining the scalability required for modern web-scale applications.

The OrdNMF Approach

To address these limitations, the authors introduce OrdNMF, a probabilistic latent factor model built around a core threshold mechanism. The model assumes there is an underlying continuous latent variable that gets "quantized" into discrete categories based on a sequence of learned thresholds.

Graphical representation of the OrdNMF model.

Key technical innovations of OrdNMF include:

  • Multiplicative Noise: Unlike previous ordinal models that rely on additive noise, OrdNMF uses multiplicative noise (specifically Inverse-Gamma noise). This ensures that the latent variables remain non-negative, preserving the "part-based" interpretability that makes NMF so popular.
  • Generalizing Existing Models: The specific instance of the model, IG-OrdNMF, generalizes Bernoulli-Poisson Factorization (BePoF). In fact, BePoF is demonstrated to be a special case of OrdNMF utilizing only a single threshold.
  • Learned Thresholds: Instead of guessing the boundaries between rating categories (e.g., the gap between "3 stars" and "4 stars"), the model learns these thresholds directly from the data using a Variational Bayesian EM approach. This flexibility allows it to adapt to varying user behaviors.
  • Efficient Variational Inference: To ensure the model scales, the authors employ a "model augmentation" trick. By introducing auxiliary latent variables, they derive a Coordinate Ascent Variational Inference (CAVI) algorithm that scales linearly with the number of non-zero entries in the data matrix.

Experimental Results

The model was evaluated on two well-known benchmarks: the MovieLens dataset (explicit 1-10 movie ratings) and the Taste Profile dataset (implicit song play counts, quantized into 10 ordinal categories).

Recommendation Accuracy

On the MovieLens dataset, OrdNMF consistently achieved higher NDCG (Normalized Discounted Cumulative Gain) scores compared to BePoF and standard Poisson Factorization across almost all testing thresholds. For implicit data on the Taste Profile dataset, OrdNMF was competitive with state-of-the-art models like discrete compound PF (dcPF) in ranking, but significantly outperformed them in log-likelihood, indicating a superior ability to predict the exact category of a user's interaction.

Distribution Matching

A standout feature of OrdNMF is its generative accuracy. Through Posterior Predictive Checks (PPCs), the authors demonstrated that OrdNMF is remarkably adept at reconstructing the actual distribution of ratings in a dataset.

Posterior predictive checks comparing the true data distribution with OrdNMF and dcPF simulations.

While competing models often fail to capture the "long tail" of high-value interactions, OrdNMF's simulated data almost perfectly matches the histogram of the original training data. This proves the model truly captures the underlying data generation process.

Limitations and Future Work

While OrdNMF presents a significant step forward, the authors note a few areas for future exploration:

  • Alternative Noise Priors: The current work focuses heavily on Inverse-Gamma noise. Exploring other multiplicative noises, such as standard Gamma noise, could yield different benefits.
  • Automated Quantization: For implicit data like play counts, the quantization bins were manually chosen. A promising future direction is to incorporate the learning of these bins directly into the factorization process to find the most informative discretization automatically.
  • Cold Start Problem: Like most NMF-based collaborative filtering methods, the current framework does not explicitly address the "cold start" problem for entirely new users or items.

Summary updated

BibTeX
@inproceedings{gouvert2020ordinal,
  author = {Olivier Gouvert and Thomas Oberlin and Cédric Févotte},
  title = {{Ordinal Non-negative Matrix Factorization for Recommendation}},
  booktitle = {International Conference on Machine Learning},
  year = {2020},
}
Figure