Faster Algorithms for Fair Max-Min Diversification in Rd

Yash Kurkure, Miles Shamo, Joseph Wiseman, Sainyam Galhotra, Stavros Sintos

Introduction

In the era of Big Data, extracting a small, representative subset from a massive dataset is a critical task for search engines, recommendation systems, and data summarization tools. A common objective is maximum diversification, specifically the "max-min" variant, which seeks to maximize the minimum distance between any two points in the selected subset. However, standard diversification algorithms often fail to account for fairness, potentially excluding minority groups and leading to biased summaries.

The Fair Diversification Problem

The FairDiv problem introduces fairness constraints to the diversification process. Given a dataset where points are categorized into "colors" (representing protected groups), the goal is to select a subset of size $k$ that maximizes diversity while ensuring at least $k_j$ points are chosen from each group $j$.

Visualizing fair diversification on the Illinois population dataset.

As shown in the figure above, a naive diversification might over-represent the majority group (red dots). A fair algorithm ensures that the resulting subset reflects the underlying diversity of the population, such as the demographic distribution of Illinois. Historically, solving this problem at scale has been difficult; previous algorithms required super-linear time and space, making them impractical for datasets with millions of points.

The MFD Algorithm

This paper introduces MFD (Multiplicative Weight update method for Fair Diversification), the first algorithm to achieve near-linear time and linear space complexity for this problem. MFD relies on two key technical innovations:

  1. Implicit LP Solving via MWU: Rather than solving a massive Linear Program with $O(n^2)$ constraints, MFD uses the Multiplicative Weight Update (MWU) framework. This iterative approach transforms the complex feasibility problem into a series of simpler "Oracle" tasks.
  2. Geometric Acceleration with BBD-trees: To maintain speed during MWU iterations, the authors employ Balanced Box-Decomposition (BBD) trees. These geometric data structures allow the algorithm to perform fast range-sum queries and updates. This enables the implicit handling of distance constraints without ever explicitly constructing the full $n \times n$ distance matrix.

Beyond the core MFD algorithm, the paper presents StreamMFD for high-speed data streams and QFairDiv for range-query diversification, allowing users to find fair subsets within specific geographic or feature-space regions.

Experimental Results

The authors benchmarked MFD against several state-of-the-art methods using large-scale real-world datasets, including the 2-million-record US Census and the 4.1-million-point Popsim dataset.

  • Efficiency: MFD processed 4 million records in under 80 seconds, whereas previous methods either took over 15 minutes or failed due to memory constraints.
  • Scalability: MFD demonstrates a clear "Pareto optimality," consistently providing the best balance between computational speed and diversity quality.
  • Streaming: StreamMFD achieved a 30x improvement in update time per element compared to existing streaming baselines like SFDM-2.

Conclusion

MFD represents a significant leap forward in fair data summarization. By combining iterative optimization with advanced computational geometry, it makes fair diversification feasible for "Big Data" applications. While current work focuses on Euclidean spaces and "at-least" constraints, future extensions could bring these efficiencies to more general metric spaces and complex "interval" fairness requirements.

Summary updated

BibTeX
@article{kurkure2024faster,
  author = {Yash Kurkure and Miles Shamo and Joseph Wiseman and Sainyam Galhotra and Stavros Sintos},
  title = {{Faster Algorithms for Fair Max-Min Diversification in Rd}},
  journal = {Proc. ACM Manag. Data},
  year = {2024},
  doi = {10.1145/3654940},
}
Figure