TL;DR
Standard diversity algorithms often fail when data is organized into overlapping clusters, losing their mathematical guarantees. This paper introduces GreedyPairs, a novel algorithm that maintains a constant-factor approximation by greedily selecting pairs of objects instead of singletons. This approach ensures high-quality, diverse selections even when items belong to multiple categories, such as hashtags shared across different online communities.
What Problem Does This Paper Address?
In fields like Web search and recommendation systems, "diversity" is key—you don't want to show a user ten nearly identical results. Traditionally, this is framed as a dispersion problem: selecting a subset of items to maximize the distance (dissimilarity) between them.
However, real-world data is often clustered. Imagine trying to summarize a trending topic on Twitter by selecting hashtags for different political communities. These communities might overlap, sharing some hashtags but not others. If you use a standard greedy algorithm (picking the "best" single item one by one), you might pick a hashtag for Community A that is "okay," but in doing so, you prevent yourself from picking a much better, more diverse set of hashtags for Community B later on.
The authors show that for this "intra-cluster diversity" problem, popular greedy and local-search heuristics actually have unbounded approximation ratios—meaning they can perform arbitrarily poorly in the worst-case scenario.
Methods
The core contribution is GreedyPairs. While standard algorithms pick one object at a time, GreedyPairs picks a pair of objects $\{u, v\}$ from the same cluster $C_j$ that maximizes a specific gain function.
- GreedyPairs (Vanilla): In each step, it identifies the pair that provides the maximum contribution to the intra-cluster distance. By committing to pairs, the algorithm "locks in" a baseline level of diversity that single-item selection misses. The authors prove this achieves a 6-approximation (the solution is at least 1/6th as good as the theoretical optimum).
- Handling Quality: The authors extend this to include a "quality" or "relevance" score (submodular functions), ensuring the selected items aren't just diverse, but actually useful.
- Scalability (GreedyPairs_α): Finding the absolute "furthest pair" in a large dataset is computationally expensive ($O(n^2)$). To fix this, they borrow a trick from metric space geometry: pick one point arbitrarily, find the point furthest from it, and use that as a "good enough" pair. This reduces the complexity to be linear with respect to the number of items ($n$), making it practical for massive datasets.
Datasets
The authors evaluated their approach on a mix of synthetic and real-world benchmarks:
- Synthetic: "Random" datasets (vectors assigned to random clusters) and "Prototype" datasets (clusters formed around central points to mimic real-world coherence).
- Topical Documents: 2,797 documents from 20NewsGroups and 18,713 blog posts, where clusters represent overlapping topics.
- Scholar Communities: Data from Aminer, where clusters are research communities and items are keywords.
- Movie Categories: The Movielens dataset, where movies are categorized into 20 overlapping genres (e.g., a movie can be both "Action" and "Sci-Fi").
Key Insights and Ideas
- The Power of Pairs: The most significant "aha moment" is that the failure of standard greedy algorithms in clustered data stems from their "short-sightedness" regarding cluster budgets. By picking pairs, the algorithm accounts for the fact that diversity requires at least two points to exist, effectively bypassing the trap where a single point "wastes" a cluster's capacity.
- Global vs. Intra-cluster: Previous work often looked at global diversity (making everything different from everything else). This paper argues that in many applications, we care more about diversity within specific contexts (clusters), which is a harder problem to solve when those contexts overlap.
- Theoretical Robustness: Unlike previous heuristics that work well "sometimes," GreedyPairs provides a mathematical safety net (the constant approximation factor) that holds regardless of how messy the overlaps are.
Key Results
- Performance: In synthetic tests, GreedyPairs consistently hit the maximum possible score (1.0) or stayed within 1-2% of it, while standard Greedy and Local Search fluctuated significantly.
- Real-World Superiority: On the Aminer scholar dataset and Movielens, GreedyPairs outperformed strong baselines like
MaxCoverand standardGreedyin both quality and diversity metrics simultaneously. - Efficiency: The scaled version (
GreedyPairs_α) showed linear time complexity, processing millions of items in seconds, proving that the theoretical "pair" approach doesn't have to be a computational bottleneck.
Limitations and Future Work
- Metric Dependency: The approximation guarantees rely on the distances satisfying the triangle inequality (i.e., they must be a "metric"). If the dissimilarity measure is non-metric, the guarantees may not hold.
- Odd Budgets: The "pair" logic naturally fits even-numbered budgets. While the authors proposed a heuristic for odd budgets (picking the best remaining singleton at the end), the theoretical guarantee is slightly weaker in those cases.
- Future Directions: The authors suggest exploring other notions of diversity beyond "Sum of Distances" (MaxSum) and investigating how this approach might work with non-submodular quality functions.
Summary updated