Testing Determinantal Point Processes

Khashayar Gatmiry, Maryam Aliakbarpour, Stefanie Jegelka

Introduction

Determinantal Point Processes (DPPs) are powerful probabilistic models widely used in machine learning to capture "repulsion" or diversity. For instance, they are the mathematical engine behind recommendation systems that suggest a diverse set of items rather than a homogeneous list of similar products. While the machine learning community has spent over a decade developing efficient methods to learn or sample from DPPs, a fundamental statistical question has remained largely unanswered: Given a dataset of subsets, how can we verify if it actually originated from a DPP?

This paper addresses this gap by providing the first formal framework and algorithm for the property testing of Determinantal Point Processes. In the property testing regime, we do not assume the underlying data distribution is a DPP. Instead, the goal is to distinguish between two scenarios using as few samples as possible:

  1. The unknown distribution $q$ is exactly a DPP.
  2. The distribution $q$ is $\epsilon$-far (measured in total variation distance) from the entire mathematical class of DPPs.

The primary challenge in this domain is the sheer scale of the problem. For a ground set of $n$ items, there are $N = 2^n$ possible subsets. A naive testing approach would require a sample size proportional to $N$, which is computationally intractable for even moderately sized item sets.

Methods: Testing via Learning

To overcome the massive domain size, the authors propose a "testing via learning" approach, encapsulated in their primary algorithm, DPP-Tester.

Pseudocode for the DPP-TESTER algorithm.

The algorithm operates through three critical stages:

  1. Candidate Construction: Rather than attempting to learn a single, perfect kernel matrix $K$ from scratch, the algorithm utilizes a batch of samples to estimate the magnitudes of the entries in $K$. It then constructs a finite set $\mathcal{M}$ of "candidate" DPP distributions that could plausibly represent the true underlying distribution.
  2. Robust Identity Testing: For each candidate distribution $p \in \mathcal{M}$, the algorithm executes a robust $\chi^2 - \ell_1$ identity test. This step efficiently checks whether the unknown distribution $q$ is close to $p$ in $\chi^2$-distance or demonstrably far in $\ell_1$-distance.
  3. Coupling for Generalization: To handle complex "edge case" DPPs—specifically those where eigenvalues are extremely close to 0 or 1—the authors introduce a sophisticated coupling argument. They demonstrate that a general DPP can be projected onto a "normal" DPP (one with bounded eigenvalues) while maintaining sufficient statistical similarity to successfully perform the test.

Key Insights and Results

The paper establishes fundamental complexity bounds for DPP testing, yielding several surprising insights into the nature of diversity-promoting distributions.

  • Optimal Sample Complexity: The authors definitively settle the sample complexity of DPP testing. They prove an upper bound of $\tilde{O}(\sqrt{N}/\epsilon^2)$ and, crucially, provide a matching lower bound of $\Omega(\sqrt{N}/\epsilon^2)$.
  • The Hardness of Diversity: The matching lower bound is perhaps the most striking insight. It proves that despite the rich, elegant mathematical structure of DPPs—which typically makes them "easier" to manipulate algorithmically—testing for them is fundamentally just as difficult as testing for a completely unstructured, simple uniform distribution.
  • Broader Implications: This hardness result is not isolated to DPPs. The authors show it extends to the broader classes of log-submodular distributions and strongly Rayleigh measures, indicating a fundamental statistical limit on our ability to verify diversity-related properties in discrete distributions.
  • Distributional Recovery: As a byproduct of their testing framework, the paper provides the first algorithm to provably learn a DPP in $\ell_1$-distance (distributional recovery). Previous literature primarily focused on "parameter recovery" (estimating the matrix $K$), which does not strictly guarantee that the resulting distribution is close to the original in total variation distance.
  • Computational Trade-offs: Recognizing the computational intensity of the primary tester, the authors also introduce DPP-Tester2. This alternative algorithm is computationally faster but requires a larger sample size, formally highlighting the trade-off between statistical efficiency and runtime.

Limitations and Future Work

As a theoretical paper focused on establishing fundamental complexity bounds, the work relies primarily on mathematical proofs rather than large-scale empirical datasets, though small-scale synthetic experiments are provided to validate the algorithms.

The primary limitation of this framework is the Curse of Dimensionality. Although the $\sqrt{N}$ bound (equivalent to $2^{n/2}$) is theoretically optimal and represents the "gold standard" in distribution testing, it remains practically expensive for very large ground sets (e.g., $n > 50$).

Future work could explore whether specific structural assumptions—such as cycle sparsity in the kernel matrix or restricted classes of log-concave measures—might allow for sub-exponential sample complexity. Additionally, transitioning from "passive" testing (merely observing samples) to "active" testing (where the algorithm can query the probability of specific subsets) could drastically reduce the number of observations required.

Summary updated

BibTeX
@inproceedings{gatmiry2020testing,
  author = {Khashayar Gatmiry and Maryam Aliakbarpour and Stefanie Jegelka},
  title = {{Testing Determinantal Point Processes}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2020},
  url = {https://openreview.net/forum?id=WcfWBqM5Z3e},
}
Figure