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

Almost Tight Approximation Algorithms for Explainable Clustering

Hossein Esfandiari, Vahab S. Mirrokni, Shyam Narayanan

TL;DR

This paper tackles the challenge of making clustering algorithms both accurate and interpretable. The authors develop new algorithms for k-medians and k-means clustering that achieve near-optimal approximation ratios, meaning they are very close to the best possible performance while still providing human-understandable explanations for their clustering decisions.

What Problem Does This Paper Address?

In machine learning, clustering is a fundamental technique for grouping similar data points. However, many powerful clustering algorithms act like "black boxes," making it hard to understand why certain points are grouped together. This lack of interpretability is a major hurdle, especially in high-stakes applications. The field of "explainable clustering" aims to bridge this gap by developing clustering methods that are not only accurate but also provide human-understandable explanations, often in the form of decision trees.

This paper focuses on a specific framework for explainable clustering introduced by Dasgupta et al. [11]. The core challenge is to find algorithms that achieve a good balance between the quality of the clustering (how well data points are grouped) and the interpretability of the resulting structure. The authors aim to provide algorithms that are "almost tight" in their approximation guarantees, meaning their performance is very close to the theoretical best possible.

Methods

The paper introduces new algorithms for both k-medians and k-means explainable clustering. A key technique involves using a randomized approach to construct a decision tree that partitions the data.

For k-medians, they develop an algorithm with an $O(\log k \log \log k)$ approximation ratio, significantly improving on previous $O(k)$ algorithms. They also show an $O(d \log^2 d)$ approximation for low-dimensional spaces ($d \ll \log k$). The core idea is to iteratively split nodes in a decision tree by randomly selecting lines. The analysis carefully bounds the expected cost of assigning a point to a cluster, showing it's close to the cost of assigning it to its true nearest center.

For k-means, they present an $O(k \log k)$ approximation algorithm, an improvement over previous $O(k^2)$ and $O(dk \log k)$ bounds. This algorithm also uses a randomized splitting procedure, but it's designed to balance the number of misclassified points with the "lopsidedness" of the branching. They provide both a randomized algorithm with a fast runtime and a deterministic one.

A significant aspect of their approach is the use of probabilistic analysis to bound the performance, which allows them to achieve tighter guarantees than purely deterministic methods.

Datasets

The paper does not explicitly mention specific datasets used for training or evaluation. The algorithms are analyzed theoretically and their performance is proven through mathematical bounds and constructions.

Key Insights and Ideas

  • The "Price of Explainability" is Manageable: The paper demonstrates that achieving interpretability doesn't necessarily come with a massive performance penalty. Their algorithms show that it's possible to get near-optimal clustering quality while maintaining explainability.
  • Randomization is Key to Tight Bounds: By employing randomized procedures for splitting nodes in the decision tree, the authors are able to derive tighter approximation guarantees than previously possible with deterministic methods. This suggests that randomness can be a powerful tool for achieving both accuracy and interpretability.
  • Dimension Matters (Especially for Low Dimensions): For k-medians, the algorithm's performance is sensitive to the dimensionality of the data. They show a specialized algorithm that performs very well in low-dimensional settings ($d \ll \log k$), achieving an $O(d \log^2 d)$ approximation.
  • Almost Tight Bounds are Achievable: The paper provides both upper bounds (algorithms) and lower bounds (theoretical limits) that are very close to each other, suggesting that their algorithms are nearly as good as theoretically possible for explainable clustering.

Key Results

  • Explainable k-medians:
    • $O(\log k \log \log k)$-approximation algorithm (improves from $O(k)$).
  • $O(d \log^2 d)$-approximation for low-dimensional spaces ($d \ll \log k$).
  • Lower bound of $\Omega(\min(d, \log k))$ for explainable k-medians.
  • Explainable k-means:
    • $O(k \log k)$-approximation algorithm (improves from $O(k^2)$ and $O(dk \log k)$).
  • Lower bound of $\Omega(k)$ for explainable k-means (when $d = \Omega(\log k)$).
  • Runtime: They provide efficient algorithms, with randomized versions running in $O(k^2 d)$ time (independent of data size $n$) and deterministic versions with $O(kdn \log n)$ runtime.

Limitations and Future Work

  • Randomized Algorithms: While the randomized algorithms achieve better theoretical guarantees, they are probabilistic. The paper notes that for k-medians and k-means, they provide randomized procedures that achieve the stated guarantees in expectation.
  • Sublinear Time for Coresets: The algorithms can be combined with coreset construction or run on top of other sublinear algorithms for classic clustering, allowing them to work efficiently on massive datasets.
  • Future Work: The paper suggests that their work provides a strong foundation for understanding the trade-offs between accuracy and explainability in clustering. Further research could explore other explainability models or different clustering objectives. The paper also mentions an $O(k \sqrt{d})$ lower bound for explainable k-center clustering, which is a slight improvement over prior work.

Summary updated

BibTeX
@inproceedings{esfandiari2022almost,
  author = {Hossein Esfandiari and Vahab S. Mirrokni and Shyam Narayanan},
  title = {{Almost Tight Approximation Algorithms for Explainable Clustering}},
  booktitle = {SODA},
  year = {2022},
  doi = {10.1137/1.9781611977073.103},
}
Figure