Skip to main content
QUICK REVIEW

[Paper Review] Exact sampling of determinantal point processes with sublinear time preprocessing

Michał Dereziński, Daniele Calandriello|arXiv (Cornell University)|May 31, 2019
Random Matrices and ApplicationsMathematics31 references12 citations
TL;DR

This paper proposes DPP-VFX, a novel exact sampling algorithm for determinantal point processes (DPPs) that achieves sublinear $ n \cdot \mathrm{poly}(k) $ preprocessing time and $ \mathrm{poly}(k) $ sampling time, independent of $ n $. By leveraging a regularized DPP for efficient downsampling and rejection sampling with a carefully chosen scaling parameter, it enables fast, exact sampling from both unconditioned and cardinality-constrained DPPs, outperforming prior exact and approximate methods in scalability and repeated sampling efficiency.

ABSTRACT

We study the complexity of sampling from a distribution over all index subsets of the set $\{1,...,n\}$ with the probability of a subset $S$ proportional to the determinant of the submatrix $\mathbf{L}_S$ of some $n imes n$ p.s.d. matrix $\mathbf{L}$, where $\mathbf{L}_S$ corresponds to the entries of $\mathbf{L}$ indexed by $S$. Known as a determinantal point process, this distribution is used in machine learning to induce diversity in subset selection. In practice, we often wish to sample multiple subsets $S$ with small expected size $k = E[|S|] \ll n$ from a very large matrix $\mathbf{L}$, so it is important to minimize the preprocessing cost of the procedure (performed once) as well as the sampling cost (performed repeatedly). For this purpose, we propose a new algorithm which, given access to $\mathbf{L}$, samples exactly from a determinantal point process while satisfying the following two properties: (1) its preprocessing cost is $n \cdot ext{poly}(k)$, i.e., sublinear in the size of $\mathbf{L}$, and (2) its sampling cost is $ ext{poly}(k)$, i.e., independent of the size of $\mathbf{L}$. Prior to our results, state-of-the-art exact samplers required $O(n^3)$ preprocessing time and sampling time linear in $n$ or dependent on the spectral properties of $\mathbf{L}$. We also give a reduction which allows using our algorithm for exact sampling from cardinality constrained determinantal point processes with $n\cdot ext{poly}(k)$ time preprocessing.

Motivation & Objective

  • To address the computational bottleneck in exact DPP sampling, especially when repeatedly sampling from large matrices with small expected subset size $ k \ll n $.
  • To reduce the preprocessing cost of exact DPP sampling from $ \mathcal{O}(n^3) $ to $ n \cdot \mathrm{poly}(k) $, sublinear in $ n $.
  • To achieve sampling cost independent of $ n $, specifically $ \mathrm{poly}(k) $, enabling high-frequency sampling without performance degradation.
  • To extend the method to exact sampling from $ k $-DPPs (cardinality-constrained DPPs) with the same efficiency guarantees.
  • To provide a practical, scalable solution for diversity-inducing subset selection in large-scale machine learning applications.

Proposed method

  • Uses a regularized DPP (R-DPP) to downsample the index set $[n]$ to a smaller set $ \sigma $ of size $ t \ll n $, preserving sufficient statistical properties for exact sampling.
  • Employs rejection sampling on a scaled DPP $ \mathrm{DPP}(\alpha^\star \mathbf{L}) $, where $ \alpha^\star $ is chosen such that $ \Pr(|S_{\alpha^\star}| = k) \geq \frac{1}{C\sqrt{k}} $, ensuring high acceptance probability.
  • Applies Nyström approximation to $ \mathbf{L} $ to compute $ \alpha^\star $ efficiently in $ \widetilde{\mathcal{O}}(n \cdot \mathrm{poly}(k)) $ time, avoiding full eigendecomposition.
  • Leverages Chernoff-type bounds on the size of DPP samples to show that the mode of the sample size distribution lies near $ k $, enabling effective rejection sampling.
  • Combines the downsampling and rejection sampling steps into a two-stage process: first sample $ \sigma $ from R-DPP, then sample $ S \sim \mathrm{DPP}(\mathbf{L}_\sigma) $, ensuring exactness and efficiency.
  • Uses the DPPy library for exact sampling on the small subset $ \sigma $, while the overall algorithm ensures exactness for the original DPP on $[n]$.

Experimental results

Research questions

  • RQ1Can exact DPP sampling be achieved with preprocessing cost sublinear in $ n $, especially when $ k \ll n $?
  • RQ2Is it possible to achieve sampling cost independent of $ n $, specifically $ \mathrm{poly}(k) $, for repeated sampling?
  • RQ3Can the method be extended to exact sampling from $ k $-DPPs (fixed-size subsets) with the same efficiency?
  • RQ4What scaling parameter $ \alpha^\star $ ensures high probability of drawing a subset of size exactly $ k $, and how can it be computed efficiently?
  • RQ5How does the proposed method compare in practice to existing exact and approximate DPP samplers in terms of speed and scalability?

Key findings

  • DPP-VFX achieves $ n \cdot \mathrm{poly}(k) $ preprocessing time and $ \mathrm{poly}(k) $ sampling time, making it the first exact DPP sampler with sublinear preprocessing and constant sampling cost.
  • For $ n = 10^6 $, DPP-VFX samples the first subset in $ 68.479 \pm 2.63 $ seconds with only $ 9 \pm 4.5 $ rejections on average, demonstrating scalability beyond the reach of exact and MCMC methods.
  • The method reduces the first-sample cost from $ \mathcal{O}(n^3) $ to $ n \cdot \mathrm{poly}(k) $, and resampling cost from linear in $ n $ to $ \mathrm{poly}(k) $, enabling high-frequency sampling.
  • The rejection sampling step for $ k $-DPPs succeeds with high probability, rejecting at most $ O(\sqrt{k}) $ times, and $ \alpha^\star $ can be computed in $ \widetilde{\mathcal{O}}(n \cdot \mathrm{poly}(k)) $ time.
  • Experiments show DPP-VFX is 10x faster than MCMC-based sampling at $ n = 7 \cdot 10^5 $, completing in 38 seconds versus 358 seconds, and remains constant in resampling cost regardless of $ n $.
  • The algorithm outperforms the state-of-the-art exact sampler [21] in resampling time, which still scales linearly with $ n $, while DPP-VFX maintains constant cost after preprocessing.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.