Learning from DPPs via Sampling: Beyond HKPV and symmetry

Rémi Bardenet, Subhroshekhar GhosharXiv 2020

Introduction

Determinantal Point Processes (DPPs) are elegant probabilistic models used to capture diversity in subset selection tasks, such as product recommendation or document summarization. However, their practical adoption is often hindered by the computational cost of sampling. The standard HKPV algorithm requires an $O(N^3)$ eigendecomposition, which is prohibitive for large datasets and primarily restricted to symmetric kernels. This paper introduces a novel framework that bypasses full subset sampling by directly approximating the distribution of "linear statistics"—summary metrics like the total cost of a basket—using Laplace transforms and numerical inversion.

The Challenge of Non-Symmetric Kernels

Traditional DPP methods rely heavily on the spectral properties of symmetric matrices. Yet, non-symmetric kernels are increasingly vital for modeling directional relationships (e.g., a customer who buys a smartphone is likely to buy a case, but the reverse is less certain).

Non-symmetric kernel visualization and CDF approximation for a linear statistic.

As shown in Figure 1, non-symmetric kernels can exhibit complex off-diagonal structures. When we only require a summary metric (a linear statistic) of the sampled subset, the need for a full, expensive sampler is questionable.

Methodology: Bypassing the Sampler

The authors propose a three-step pipeline to compute the Cumulative Distribution Function (CDF) of a linear statistic without ever generating a sample:

  1. Exact Laplace Transform: The paper proves a closed-form expression for the Laplace transform of any linear statistic of a finite DPP. This formula requires only a single determinant calculation and is valid for both symmetric and non-symmetric kernels.
  2. Numerical Inversion via de Hoog’s Algorithm: To recover the CDF from the Laplace transform, the authors employ de Hoog’s algorithm, a robust numerical technique that approximates the Bromwich contour integral.
  3. Scalable Low-Rank Approximations: By utilizing randomized SVD or other low-rank methods, the determinant calculations are reduced from $O(N^3)$ to $O(ND^2)$, where $D$ is the rank.

Key Results and Performance

The proposed method demonstrates significant advantages in both accuracy and speed. On synthetic datasets, the Laplace-based CDF approximation perfectly matches the ground truth, even when using low-rank approximations that cause standard samplers like Nyström-HKPV to struggle.

Comparison of CDF approximations across different ranks $D$. The proposed de Hoog method tracks the original distribution more accurately than Nyström-based sampling.

In real-world tests on the UK Retail dataset ($N=3941$), the speedup is dramatic. While an exact LU-based sampler required approximately 2 hours to generate enough samples for an empirical CDF, the proposed method computed the approximation in just 60 seconds—a 120x improvement.

Conclusion

By shifting the focus from full subset sampling to the direct computation of linear statistics, this work provides a scalable path for using complex, non-symmetric DPPs in large-scale machine learning applications. While numerical inversion requires careful parameter tuning, the gains in efficiency and the ability to handle directional dependencies represent a significant step forward for diversity-aware modeling.

Summary updated

BibTeX
@misc{bardenet2020learning,
  author = {Rémi Bardenet and Subhroshekhar Ghosh},
  title = {{Learning from DPPs via Sampling: Beyond HKPV and symmetry}},
  year = {2020},
  eprint = {2007.04287},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2007.04287},
}
Figure