Low-Rank Factorization of Determinantal Point Processes

Mike Gartrell, Ulrich Paquet, Noam Koenigstein

Abstract

Determinantal point processes (DPPs) have garnered attention as an elegant probabilistic model of set diversity. They are useful for a number of subset selection tasks, including product recommendation. DPPs are parametrized by a positive semi-definite kernel matrix. In this work we present a new method for learning the DPP kernel from observed data using a low-rank factorization of this kernel. We show that this low-rank factorization enables a learning algorithm that is nearly an order of magnitude faster than previous approaches, while also providing for a method for computing product recommendation predictions that is far faster (up to 20x faster or more for large item catalogs) than previous techniques that involve a full-rank DPP kernel. Furthermore, we show that our method provides equivalent or sometimes better test log-likelihood than prior full-rank DPP approaches.

Introduction

Determinantal Point Processes (DPPs) are elegant probabilistic models used to select subsets of items that are both high-quality and diverse. In recommendation systems, DPPs naturally capture the "repulsion" between similar items, ensuring that suggested sets (e.g., a laptop, a protective case, and a mouse) are more useful than a list of nearly identical items.

However, standard DPPs face a significant scaling challenge. They are parameterized by an $M \times M$ kernel matrix $L$, where $M$ is the number of items in the catalog. Standard operations for learning the model or making predictions scale at $O(M^3)$. For modern web stores with thousands or millions of items, this cubic complexity makes full-rank DPPs computationally prohibitive for real-time production environments.

Methodology

The proposed solution involves factorizing the kernel matrix $L$ into a low-rank form: $L = VV^T$, where $V$ is an $M \times K$ matrix and $K$ (the number of latent traits) is significantly smaller than $M$.

Efficient Learning

Instead of traditional fixed-point iterations or projected gradient descent, this approach utilizes Stochastic Gradient Ascent with Nesterov’s Accelerated Gradient (NAG). By deriving a gradient computation that avoids the $O(M^3)$ bottleneck, the complexity is reduced to $O(KM^2)$.

Fast Prediction

For "basket completion" tasks—predicting the next item a user will add to their cart—the model utilizes $k$-DPPs. A new method for computing conditional probabilities using the low-rank structure avoids large matrix inversions, making online recommendations feasible.

Regularization

A quadratic regularization term is introduced where the penalty is inversely proportional to item popularity. This prevents overfitting on rare items and ensures latent vectors effectively represent item quality.

Experimental Evaluation

The model was evaluated on two primary datasets: the public Amazon Baby Registries dataset (~111,000 registries) and a proprietary MS Store dataset (~243,000 baskets).

Accuracy and Rank Convergence

A key finding is that low-rank DPPs reach "accuracy parity" with full-rank models very quickly. As shown in the figure below, for the Amazon Apparel dataset, a rank of $K=14$ was sufficient to match the performance of a full-rank model, even though the catalog was much larger.

Test log-likelihood vs. number of latent trait dimensions (K). The low-rank model converges to full-rank performance at relatively small values of K.

Key Results

The low-rank approach demonstrates significant advantages in both efficiency and performance:

  • Accuracy: The low-rank model provided equivalent or slightly better test log-likelihood compared to full-rank models across most categories.
  • Training Speed: On average, the low-rank training algorithm was 8.9 times faster than the state-of-the-art Picard iteration method.
  • Prediction Speed: This represents the most significant improvement for production use. For the MS Store dataset, the low-rank model was 19.9x faster at predicting the next item. While the full-rank model required 1.66 seconds per prediction, the low-rank model completed the task in only 83.6 milliseconds.
Comparison of prediction time (ms) between low-rank (L-Rank) and full-rank (F-Rank) models across various categories. L-Rank is consistently and significantly faster.

Conclusion

Low-rank factorization of DPPs addresses the primary computational bottleneck of diversity-aware recommendation systems. By reducing memory consumption and accelerating both training and inference by an order of magnitude, this method enables the deployment of elegant probabilistic subset selection models in large-scale, real-time environments without sacrificing predictive accuracy.

Summary updated

BibTeX
@inproceedings{gartrell2017low,
  author = {Mike Gartrell and Ulrich Paquet and Noam Koenigstein},
  title = {{Low-Rank Factorization of Determinantal Point Processes}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2017},
  url = {https://openreview.net/forum?id=ByWzdeZd-H},
}
Figure