Flexible Modeling of Diversity with Strongly Log-Concave Distributions

Joshua Robinson, Suvrit Sra, Stefanie Jegelka

Introduction

In machine learning, we often need to select a "diverse" subset of items. Whether it is a search engine returning a variety of results rather than ten versions of the same page, or an algorithm selecting a representative set of frames to summarize a video, modeling diversity is a fundamental challenge.

Currently, the "gold standard" for this task is the Determinantal Point Process (DPP), which falls under the umbrella of Strongly Rayleigh (SR) distributions. While mathematically elegant, SR distributions are rigid: it is difficult to tune the "strength" of diversity or handle constraints (like selecting a subset of any size up to a budget) without losing the very properties that make them computationally tractable.

To address this, researchers propose moving to Strongly Log-Concave (SLC) distributions. SLCs are a broader class that includes SR distributions but offers much more flexibility. However, until this paper, the field lacked the fundamental algorithmic tools—specifically for sampling and optimization—to use general SLC distributions in practice.

Methodology

The paper bridges the gap between theoretical combinatorics and practical machine learning through three main contributions:

  1. Theoretical Foundations: The authors prove several "closure properties." They show that if you take an SLC distribution and raise it to a power (to tune diversity) or apply a cardinality constraint, the resulting distribution remains SLC.
  2. Sampling via MCMC: To draw samples from these complex distributions, the authors developed a Metropolis-Hastings sampler. They use a technique called scaled homogenization and polarization to transform a general SLC distribution into a "homogeneous" one (where all subsets have the same size). This allows them to leverage fast-mixing Markov chains designed for simpler structures to generate proposals for the more complex general case.
  3. Mode Finding (Optimization): Finding the most probable subset (the "mode") is usually NP-hard. The authors prove that SLC functions satisfy a property called weak log-submodularity. This allows them to adapt a "distorted greedy algorithm" which builds a subset one item at a time while maintaining a provable approximation guarantee relative to the optimal solution.

Key Insights

  • The "Right" Level of Generality: SLC is described as the "right extension" of SR. It captures the essential "negative dependence" (diversity) we want while allowing for operations like exponentiation that SR cannot handle.
  • Independence from Ground Set Size: A major theoretical breakthrough is that the mixing time of their sampler depends on the size of the subset being selected ($d$), but is independent of the total number of items ($n$) in the ground set. This makes it potentially very powerful for massive datasets where you only need to pick a small representative sample.
  • Bridging Discrete and Continuous: The paper leverages recent breakthroughs in combinatorics to solve practical ML problems, showing how deep mathematical properties of polynomials can lead to better subset selection algorithms.

Empirical Results

Because this is primarily a theoretical and algorithmic paper, the authors evaluate their algorithms using synthetic Positive Semi-Definite (PSD) matrices with varying eigenvalue spectra to ensure the mixing time is robust to different "shapes" of data.

Sampling Efficiency: The authors provide a theoretical mixing time bound of $O(2^d)$. While exponential in the subset size, it is significantly better than the brute-force $O(n^d)$ approach.

In practice, the sampler performed much better than the theoretical worst-case. Experiments showed that mixing time grows sublinearly with the ground set size ($n$).

Mixing time scaling with ground set size n

Furthermore, empirical evaluations demonstrated that the mixing time scales linearly with the subset size ($d$), a massive practical improvement over the theoretical $O(2^d)$ bound.

Mixing time scaling with subset size d

Optimization Guarantees: They established a $(1 - 1/e)$-style approximation guarantee for their greedy optimization algorithm, providing a reliable way to find high-quality diverse subsets.

Limitations and Future Work

  • The $2^d$ Gap: There is still a gap between the theoretical $O(2^d)$ mixing bound and the linear scaling observed in experiments. Closing this gap is a primary goal for future research.
  • Learning Parameters: The paper focuses on using SLC distributions, but it doesn't address how to learn the parameters of an SLC model from data. Since SLC distributions are non-parametric, this remains a non-trivial challenge.
  • Computational Complexity: While more efficient than brute force, the MCMC approach may still be slow for real-time applications involving very large subset sizes ($d$).

Summary updated

BibTeX
@inproceedings{robinson2019flexible,
  author = {Joshua Robinson and Suvrit Sra and Stefanie Jegelka},
  title = {{Flexible Modeling of Diversity with Strongly Log-Concave Distributions}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2019},
  url = {https://openreview.net/forum?id=ZK1WrHPM593},
}
Figure