Upper and Lower Bounds for Complete Linkage in General Metric Spaces

Anna Arutyunova, Anna Großwendt, Heiko Röglin, Melanie Schmidt, Julian Wargalla

TL;DR

This paper investigates the performance of the complete linkage algorithm for hierarchical clustering in general metric spaces. The authors establish new upper bounds of O(k) for k-center and O(k²) for k-diameter, and crucially, provide lower bounds of Ω(k), demonstrating that complete linkage can be as bad as single linkage in the worst case, contrary to prior assumptions.

What Problem Does This Paper Address?

Hierarchical clustering aims to build a nested sequence of clusterings, starting from each point as its own cluster and iteratively merging them. Complete linkage is a popular method for this, merging clusters that minimize the radius (or diameter) of their union. While complete linkage is intuitively expected to perform better than simpler methods like single linkage (which merges clusters with the minimum distance between any two points), its theoretical guarantees in general metric spaces were not well-understood. Specifically, prior work showed a lower bound of Ω(log k) for complete linkage's approximation factor, leaving open whether it could achieve a better guarantee like Θ(log k). This paper addresses this gap by providing tighter upper and lower bounds, clarifying the true approximation capabilities of complete linkage in general settings.

Methods

The authors employ a combination of theoretical analysis and constructive examples. They develop novel instances of metric spaces designed to expose the weaknesses of complete linkage. For lower bounds, they construct specific point sets and distance metrics that force complete linkage into suboptimal merge decisions, leading to clusterings significantly worse than optimal ones. For upper bounds, they analyze the cost increase during merge steps, leveraging properties of optimal clusterings and introducing techniques to bound the number of "active" and "inactive" clusters. They also utilize inductive arguments and graph-based representations of cluster relationships to derive their bounds.

Datasets

Not discussed in the paper. The paper focuses on theoretical analysis using constructed metric spaces rather than empirical evaluation on real-world datasets.

Key Insights and Ideas

  • Complete linkage is not always better than single linkage: The paper's most surprising finding is the Ω(k) lower bound for complete linkage, matching the known lower bound for single linkage. This challenges the intuition that complete linkage's focus on cluster radius/diameter would inherently lead to better approximations.
  • The "bad tie-break" problem: The authors highlight how complete linkage's handling of ties (when multiple merges have the same cost) can lead to poor performance, especially when constructing specific metric spaces.
  • New theoretical tools for analysis: The paper introduces techniques like analyzing "active" and "inactive" clusters and using graph representations of optimal cluster relationships to derive bounds.
  • Tightening the gap: The paper significantly improves upon previous lower bounds (from Ω(log k) to Ω(k)) and provides the first non-trivial upper bounds for complete linkage in general metric spaces.

Key Results

  • Lower Bounds:
    • Ω(k) for both k-center and k-diameter approximation factors in general metric spaces. This improves upon the previous Ω(log k) lower bound.
  • Upper Bounds:
    • O(k) for the k-center approximation factor.
  • O(k²) for the k-diameter approximation factor. These are stated to be the first non-trivial upper bounds for complete linkage in general metric spaces.

Limitations and Future Work

  • General Metric Spaces: The results are for general metric spaces. Performance might be better in specific metric spaces (e.g., Euclidean spaces), as suggested by prior work on those settings.
  • Worst-Case Instances: The lower bounds are demonstrated on carefully constructed instances. It remains an open question how often complete linkage exhibits such poor performance in practice.
  • Diameter vs. Radius: While an O(k) upper bound is proven for k-center (radius), the bound for k-diameter is O(k²). It's still open whether complete linkage for k-diameter can achieve an O(k) approximation.
  • Tie-breaking: The paper notes that the analysis for lower bounds is robust to tie-breaking rules, but further investigation into how specific tie-breaking strategies affect performance could be a future direction.

Summary updated

BibTeX
@article{arutyunova2024upper,
  author = {Anna Arutyunova and Anna Großwendt and Heiko Röglin and Melanie Schmidt and Julian Wargalla},
  title = {{Upper and Lower Bounds for Complete Linkage in General Metric Spaces}},
  journal = {Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=fSg3HdIMat},
}
Figure