MAP Inference for Customized Determinantal Point Processes via Maximum Inner Product Search

Insu Han, Jennifer GillenwaterAISTATS 2020

Introduction

Determinantal Point Processes (DPPs) are a powerful mathematical framework for modeling diversity in subset selection. In recommendation systems, they are used to balance item relevance with diversity, ensuring that users are presented with a varied set of items rather than a homogeneous list of top-ranked candidates. However, finding the optimal subset (MAP inference) is NP-hard. While greedy algorithms provide a $(1-1/e)$ approximation, their runtime traditionally scales linearly with the number of items $N$, making them impractical for real-time recommendations in large-scale catalogs containing millions of items.

This paper addresses the scalability challenge by reformulating the greedy selection process as a Maximum Inner Product Search (MIPS) problem. This approach allows DPP inference to leverage efficient approximate nearest neighbor search techniques, achieving significant speedups while maintaining near-optimal accuracy.

Reformulating DPP Inference as MIPS

The core innovation of this work is the observation that the marginal gain step in the greedy DPP algorithm—traditionally a computationally expensive determinant update—can be rewritten as a matrix inner product. Specifically, the selection of the next item $i$ can be expressed as:

$$i^* = \text{argmax}_{i \in [N]} \langle Q, \mathbf{b}_i \mathbf{b}_i^\top \rangle$$

where $Q$ is a query matrix that evolves as items are selected, and $\mathbf{b}_i$ represents the feature vector for item $i$. This transformation turns the selection step into a MIPS problem.

Algorithm 1: MIPS-based greedy selection for customized DPP MAP inference.

To implement this efficiently, the authors propose a Hybrid MIPS structure. Instead of building a search index over $D \times D$ matrices, which would be memory-intensive, they utilize a standard k-means tree over $D$-dimensional feature vectors. This tree is augmented with a specialized query function to approximate the matrix inner product, significantly reducing memory overhead while remaining fast.

Experimental Evaluation

The proposed method was evaluated on several large-scale datasets, including Netflix, MovieLens, Yahoo!Music, and YouTube-8M (with 1 million items). The results demonstrate that HybridMIPS provides a "best of both worlds" solution, offering near-optimal accuracy with sublinear selection time.

Performance comparison of HybridMIPS against baselines across scaling items.

Key findings include:

  • Massive Speedups: On the YouTube-8M dataset, HybridMIPS was 224x faster than the standard greedy algorithm.
  • High Fidelity: Across all datasets, the method maintained a log-probability ratio of over 0.96 compared to the exact greedy baseline, indicating minimal loss in recommendation quality.
  • Customization Efficiency: The approach handles user-specific weights ($W$) seamlessly. Since weights are incorporated into the query matrix $Q$, the underlying search index only needs to be constructed once for the entire catalog and does not need to be rebuilt for each user.
  • Diversity Gains: Qualitative analysis of genre distributions confirmed that HybridMIPS recommends a wider variety of genres compared to standard collaborative filtering, which tends to over-recommend dominant categories like Drama.

Conclusion and Future Work

By bridging the gap between DPPs and MIPS, this research enables the deployment of diversity-aware recommendation systems at an unprecedented scale. The HybridMIPS approach effectively handles customized user preferences without the need for per-user index reconstruction. Future work may explore the application of this framework to other domains, such as batch-mode active learning, and investigate techniques like random projections to handle even higher-dimensional feature spaces.

Summary updated

BibTeX
@inproceedings{han2020map,
  author = {Insu Han and Jennifer Gillenwater},
  title = {{MAP Inference for Customized Determinantal Point Processes via Maximum Inner Product Search}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2020},
}
Figure