Gated Probabilistic Matrix Factorization: Learning Users' Attention from Missing Values

Shohei Ohsawa, Yachiko Obara, Takayuki OsogamiIJCAI 2016

Abstract

Recommender systems rely on techniques of predicting the ratings that users would give to yet unconsumed items. Probabilistic matrix factorization (PMF) is a standard technique for such prediction and makes a prediction on the basis of an underlying probabilistic generative model of the behavior of users. We investigate a new model of users' consumption and rating, where a user tends to consume an item that emphasizes those features that the user seeks to enjoy, and the ratings of the users are more strongly affected by those features than others. We incorporate this new user model into PMF and show that the resulting method, Gated PMF (GPMF), improves the predictive accuracy by several percent on standard datasets. GPMF is widely applicable, as it is trained only with the ratings given by users and does not rely on any auxiliary data.

Introduction

Standard collaborative filtering techniques, such as Probabilistic Matrix Factorization (PMF), typically model user ratings as a latent interaction between user preferences and item characteristics. However, these models often overlook the non-random nature of data sparsity—the "missing value" problem. Users do not choose items at random; their consumption is driven by specific "attention" toward certain features. This paper introduces Gated Probabilistic Matrix Factorization (GPMF) to model the psychological nuance where a user's rating is disproportionately influenced by the features that motivated their initial consumption.

Methodology: The Consumption-Rating Model

The core of GPMF is the Consumption-Rating Model (CRM), which posits that a user's decision to consume an item and their subsequent rating are linked through a gating mechanism. The model introduces two additional latent vectors:

  1. Attention ($g_i$): Representing the features a user seeks.
  2. Attraction ($h_j$): Representing the features an item emphasizes.

The interaction is governed by a Gating Matrix ($\Gamma_{ij}$), a diagonal matrix derived from the element-wise product of attention and attraction. The rating $r_{ij}$ is then modeled as: $$p(r_{ij} | u_i, v_j, g_i, h_j, \sigma_r^2) = \mathcal{N}(r_{ij} | u_i^T \Gamma_{ij} v_j, \sigma_r^2)$$ This effectively scales the latent space, amplifying dimensions that captured the user's attention during the consumption phase.

Comparison of the standard PMF rating model (a) and the proposed GPMF consumption-rating model (b).

Experimental Evaluation

The authors evaluated GPMF against standard PMF and MNAR-PMF (Missing-Not-At-Random PMF) using two datasets:

  • MovieLens-100k (ML100K): A benchmark dataset with 100,000 ratings.
  • MovieTweetings (MTweet): A sparser, modern dataset derived from Twitter interactions, with ratings normalized to a [0, 1] range.

The models were trained using Maximum A Posteriori (MAP) estimation via Stochastic Gradient Descent (SGD).

Results and Discussion

GPMF consistently outperformed baselines in terms of Root Mean Squared Error (RMSE) and Mean Absolute Error (MAE). A significant finding is GPMF's efficiency in low-dimensional latent spaces. By acting as a dynamic feature selector, the gating mechanism allows the model to achieve high accuracy with fewer parameters than traditional PMF.

RMSE performance comparison on MovieLens-100k and MovieTweet datasets across varying degrees of freedom.

On the ML100K dataset, GPMF achieved an RMSE of 0.9197, while on the sparser MovieTweetings dataset, it showed a more substantial improvement (0.7690 vs. PMF's 0.7942). This suggests that modeling the "why" behind consumption provides a robust signal that mitigates the bias of missing data.

Conclusion

GPMF demonstrates that incorporating user attention into the matrix factorization process significantly enhances recommendation accuracy without requiring auxiliary data. While the model currently assumes a single-topic focus per interaction, future work could extend this to multi-topical consumption habits or incorporate temporal dynamics to track shifting user interests over time.

Summary updated

BibTeX
@inproceedings{ohsawa2016gated,
  author = {Shohei Ohsawa and Yachiko Obara and Takayuki Osogami},
  title = {{Gated Probabilistic Matrix Factorization: Learning Users' Attention from Missing Values}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2016},
  url = {https://openreview.net/forum?id=rJ-apXzOWS},
}
Figure