Skip to main content
QUICK REVIEW

[Paper Review] Near-optimal Algorithms for Explainable k-Medians and k-Means

Konstantin Makarychev, Liren Shan|arXiv (Cornell University)|Jul 2, 2021
Auction Theory and ApplicationsDecision Sciences8 citations
TL;DR

This paper presents near-optimal algorithms for explainable $k$-medians and $k$-means clustering using threshold decision trees, achieving $\tilde{O}(\log k)$ competitive ratio for $\ell_1$-norm $k$-medians and $\tilde{O}(k)$ for $k$-means, improving over prior $O(k)$ and $O(k^2)$ bounds. It also introduces an $O(\log^{3/2}k)$-competitive algorithm for $\ell_2$-norm $k$-medians, with matching lower bounds showing near-optimality.

ABSTRACT

We consider the problem of explainable $k$-medians and $k$-means introduced by Dasgupta, Frost, Moshkovitz, and Rashtchian~(ICML 2020). In this problem, our goal is to find a threshold decision tree that partitions data into $k$ clusters and minimizes the $k$-medians or $k$-means objective. The obtained clustering is easy to interpret because every decision node of a threshold tree splits data based on a single feature into two groups. We propose a new algorithm for this problem which is $ ilde O(\log k)$ competitive with $k$-medians with $\ell_1$ norm and $ ilde O(k)$ competitive with $k$-means. This is an improvement over the previous guarantees of $O(k)$ and $O(k^2)$ by Dasgupta et al (2020). We also provide a new algorithm which is $O(\log^{3/2} k)$ competitive for $k$-medians with $\ell_2$ norm. Our first algorithm is near-optimal: Dasgupta et al (2020) showed a lower bound of $Ω(\log k)$ for $k$-medians; in this work, we prove a lower bound of $ ildeΩ(k)$ for $k$-means. We also provide a lower bound of $Ω(\log k)$ for $k$-medians with $\ell_2$ norm.

Motivation & Objective

  • To develop efficient, interpretable clustering algorithms using threshold decision trees that maintain strong approximation guarantees.
  • To improve upon the previous $O(k)$ and $O(k^2)$ competitive ratios for explainable $k$-medians ($\ell_1$) and $k$-means, respectively.
  • To establish tight lower bounds on the price of explainability for $k$-medians ($\ell_2$) and $k$-means, demonstrating near-optimality of the proposed algorithms.
  • To design a fast variant of the algorithm with $O(kd\log^2k)$ running time using red-black trees for efficient center management.

Proposed method

  • Proposes a novel threshold tree construction algorithm that recursively partitions clusters using random cuts based on feature differences between centers.
  • Uses red-black trees to maintain and efficiently update center sets per leaf, enabling fast cut sampling and partitioning in $O(d\log k)$ time per node.
  • Applies randomized threshold selection from the set of separating cuts $R^u$ for each leaf $u$, ensuring separation of centers while minimizing cost.
  • Employs a recursive splitting strategy that prioritizes smaller partitions to reduce deletion and insertion costs across data structures.
  • Leverages geometric and combinatorial arguments to bound the number of damaged centers and derive lower bounds on cost.
  • Uses a dual-case analysis based on center distribution at early tree levels to prove lower bounds on the cost of any threshold tree.

Experimental results

Research questions

  • RQ1Can we design an explainable $k$-medians algorithm with competitive ratio better than $O(k)$ for the $\ell_1$ norm?
  • RQ2What is the optimal competitive ratio achievable for explainable $k$-means, and can it be improved beyond $O(k^2)$?
  • RQ3Is there a near-optimal algorithm for explainable $k$-medians with $\ell_2$ norm, and what is the price of explainability in this setting?
  • RQ4What are the tight lower bounds on the price of explainability for $k$-medians ($\ell_2$) and $k$-means, and how do they compare to upper bounds?

Key findings

  • The proposed algorithm achieves a competitive ratio of $\tilde{O}(\log k)$ for $k$-medians with $\ell_1$ norm, improving upon the prior $O(k)$ bound.
  • For $k$-means, the algorithm achieves $\tilde{O}(k)$ competitive ratio, improving over the previous $O(k^2)$ guarantee.
  • A new algorithm achieves $O(\log^{3/2}k)$ competitive ratio for $k$-medians with $\ell_2$ norm, matching the known $\Omega(\log k)$ lower bound up to logarithmic factors.
  • The paper proves a lower bound of $\tilde{\Omega}(k)$ for $k$-means, showing that the $\tilde{O}(k)$ competitive ratio is nearly optimal.
  • A lower bound of $\Omega(\log k)$ is established for $k$-medians with $\ell_2$ norm, matching the competitive ratio of the new algorithm up to logarithmic factors.
  • A fast variant of the algorithm runs in $O(kd\log^2k)$ time by maintaining centers in $d$ red-black trees and efficiently managing partition updates.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.