NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

MapReduce and Streaming Algorithms for Diversity Maximization in Metric Spaces of Bounded Doubling Dimension

Matteo Ceccarello, Andrea Pietracaprina, Geppino Pucci, Eli UpfalPVLDB 2016 · DOI

Introduction

In the era of big data, selecting a representative and diverse subset of items from a massive dataset is a fundamental challenge. Whether for search result diversification, facility location, or machine learning sample selection, the goal is to pick $k$ items that are as "different" as possible. This problem, known as diversity maximization, is NP-hard and becomes computationally prohibitive when datasets scale to billions of points.

A recent study by Ceccarello et al. introduces a breakthrough framework for diversity maximization using highly efficient MapReduce and Streaming algorithms. By focusing on metric spaces with bounded doubling dimension, they achieve approximation guarantees nearly as strong as the best sequential algorithms while outperforming previous state-of-the-art methods by up to three orders of magnitude in speed.

Diversity Maximization Objectives

Diversity maximization involves selecting a subset $S$ of size $k$ to maximize a specific objective function. The paper addresses six distinct measures, ranging from simple pairwise distances to more complex graph-based structures.

Diversity measures and their sequential approximation ratios.

As shown in the table above, sequential algorithms exist for these measures, but they typically require the entire dataset to reside in memory, making them unsuitable for massive-scale data.

Theoretical Breakthrough: Bounded Doubling Dimension

Previous attempts to scale diversity maximization to MapReduce or Streaming frameworks suffered from high approximation ratios. For instance, the best previous result for the "remote-bipartition" measure was a factor of 18.

The authors overcome this by leveraging the property of doubling dimension. Many real-world datasets, despite being high-dimensional, actually lie on lower-dimensional manifolds. In a space with bounded doubling dimension, any ball of radius $r$ can be covered by a constant number of balls of radius $r/2$. This property allows for the construction of $(1 + \epsilon)$-composable core-sets—small summaries of data that can be merged without losing significant information.

Comparison of approximation ratios: General metric spaces vs. Bounded doubling dimension.

By assuming a bounded doubling dimension, the authors improved approximation ratios from fixed constants to $(1 + \epsilon)$, where $\epsilon$ can be tuned based on available memory. This represents a significant leap in theoretical accuracy for big data diversity problems.

Algorithmic Framework

The heart of the paper is a unified core-set construction based on $k$-center clustering. This single construction works across all six diversity measures, eliminating the need for specialized algorithms for each objective.

Key Algorithms:

  • SMM (Streaming Max-Min): A one-pass streaming algorithm that maintains a set of centers using a distance threshold that doubles whenever memory limits are reached, ensuring high throughput.
  • GMM-EXT (MapReduce): A parallelized variant of the Greedy-Max-Min algorithm. Data is partitioned across machines, each computing a local core-set. These are then merged and solved centrally.
  • Injectivity & Delegates: For measures like "remote-clique," the authors introduced "delegate" points to ensure that the diversity of the original set is preserved even when multiple points are selected from the same local region.

Experimental Results and Scalability

The framework was tested on synthetic datasets of up to 1.6 billion points and real-world high-dimensional text data (musiXmatch dataset).

Key findings include:

  • Massive Speedup: Their MapReduce approach (CPPU) was at least 1,000x faster than the previous state-of-the-art (AFZ) while providing superior solution quality.
  • High Throughput: The streaming algorithm processed up to 544,000 points per second on a single machine.
  • Super-linear Scalability: In MapReduce environments, doubling the number of processors resulted in a 4-fold gain in running time, as each processor handled less data and local core-set construction became more efficient.

Conclusion

By leveraging the geometric properties of bounded doubling dimension, this work provides a scalable and theoretically sound framework for diversity maximization. While the core-set size can grow exponentially with the doubling dimension, the approach proves highly effective for many real-world datasets, offering a powerful tool for extracting variety from the "firehose" of modern big data.

Summary updated

BibTeX
@article{ceccarello2016mapreduce,
  author = {Matteo Ceccarello and Andrea Pietracaprina and Geppino Pucci and Eli Upfal},
  title = {{MapReduce and Streaming Algorithms for Diversity Maximization in Metric Spaces of Bounded Doubling Dimension}},
  journal = {Proc. VLDB Endow.},
  year = {2016},
  doi = {10.14778/3055540.3055541},
}
Figure