To Close Is Easier Than To Open: Dual Parameterization To k-Median

Jaroslaw Byrka, Szymon Dudycz, Pasin Manurangsi, Jan Marcinkowski, Michal Wlodarczyk

TL;DR

This paper explores the $k$-Median clustering problem through a "dual" lens: instead of focusing on the $k$ facilities we open, the authors parameterize the problem by the number of facilities $\ell$ that remain closed. They demonstrate that while finding an exact solution is still hard, this dual parameterization allows for an arbitrarily good $(1+\epsilon)$-approximation for the standard problem, but surprisingly, the capacitated version remains significantly harder to approximate.

What Problem Does This Paper Address?

The $k$-Median problem is a cornerstone of data clustering. Given a set of potential facility locations $F$ and clients $C$ in a metric space, the goal is to open $k$ facilities to minimize the total distance from each client to their nearest open facility.

Traditionally, researchers have looked at this through the lens of parameterized complexity, using $k$ (the number of open facilities) as the main parameter. Under this view, the problem is known to be hard to solve exactly, and even with exponential time in $k$, there is a fundamental limit to how well we can approximate it (specifically, a $1+2/e$ factor).

The authors ask: What happens if we flip the script? In many real-world scenarios, we might already have many facilities running and only need to shut down a few ($\ell = |F| - k$). This paper investigates the complexity and approximability of $k$-Median when $\ell$ is the small parameter.

Methods

The authors employ a mix of techniques from fixed-parameter tractability (FPT) and approximation algorithms:

  1. Color-Coding: To handle the selection of closed facilities, they use a derandomized color-coding technique. This allows them to partition the facilities into sets where they can "guess" which facilities belong to the optimal set of closed facilities ($Opt$) and which belong to a small "support set" of open facilities that are crucial for serving displaced clients.
  2. Required Sets Algorithm: They introduce a greedy subroutine, COMPUTE-REQUIRED-SET (Algorithm 1), which identifies clusters of facilities that must be closed together to maintain a low connection cost.

    Algorithm 1: The greedy procedure for identifying facilities that must be closed.
  3. Metric Properties: They leverage the triangle inequality to prove that if a client's primary facility is closed, rerouting them to a nearby open facility doesn't increase the cost too much. This is illustrated in their Voronoi diagram analysis.

    ![Fig.

  4. Voronoi diagram analysis showing that rerouting clients to nearby facilities is bounded by the metric properties.](/figures/art_44418f21ba30471bafd148de7ccdd7c0)

  5. Hardness Reductions: To prove the limits of the capacitated version, they provide a new reduction from the Max $k$-Coverage problem, specifically designed to exploit capacity constraints.

Datasets

As a theoretical computer science paper, no empirical datasets were used. The results are proven mathematically using reductions from known hard problems:

  • $\ell$-Independent Set: Used to prove the W[1]-hardness of the exact uncapacitated problem.
  • Max $k$-Coverage: Used to prove the hardness of approximation for the capacitated version under the Gap Exponential Time Hypothesis (Gap-ETH).

Key Insights and Ideas

  • Approximation Duality: The most striking insight is that "closing is easier than opening." While parameterizing by $k$ hits a hard wall at $1+2/e$ approximation, parameterizing by $\ell$ allows for an Efficient Parameterized Approximation Scheme (EPAS), meaning we can get as close to the optimal solution as we want, provided we pay a bit more in running time.
  • The Capacity Gap: In most clustering research, the capacitated and uncapacitated versions are assumed to be similarly difficult. This paper shows a clear separation: for the dual parameter $\ell$, capacities make the problem significantly harder to approximate, ruling out an EPAS.
  • Support Sets: The authors define an "$\epsilon$-support" set—a small group of open facilities that are "good enough" to serve clients whose closest facility was closed. This bounding of the search space is what makes the approximation scheme possible.

Key Results

  • Uncapacitated $k$-Median: The authors present a deterministic $(1+\epsilon)$-approximation algorithm with a running time of $2^{O(\ell \log(\ell/\epsilon))} \cdot poly(n)$. This is the first non-trivial setting in a general metric space that admits such an approximation scheme for this problem.
  • Hardness of Exact Solution: They prove that even for the uncapacitated version, finding the exact best $\ell$ facilities to close is W[1]-hard.
  • Capacitated Hardness: Under the Gap-ETH assumption, they show that no algorithm can approximate the capacitated version better than a factor of $(1 + 2/e)$ in $f(\ell) \cdot n^{o(\ell)}$ time. This effectively proves that capacities introduce a fundamental barrier in the dual parameterization.

Limitations and Future Work

  • Constant-Factor FPT for Capacitated: While the paper rules out an EPAS for the capacitated version, it remains an open question whether a constant-factor FPT approximation exists for it.
  • Lossy Kernelization: The authors suggest exploring "lossy kernelization"—a way to compress the input data into a smaller version (size polynomial in $\ell$) such that solving the small version gives a good approximation for the original.
  • Practicality: The current algorithm's complexity, while polynomial in $n$, involves a $2^{O(\ell \log \ell)}$ term. For very large $\ell$, this remains computationally expensive, suggesting a need for further optimization for practical use.

Summary updated

Abstract

The $k$-Median problem is one of the well-known optimization problems that formalize the task of data clustering. Here, we are given sets of facilities $F$ and clients $C$, and the goal is to open $k$ facilities from the set $F$, which provides the best division into clusters, that is, the sum of distances from each client to the closest open facility is minimized. In the Capacitated $k$-Median, the facilities are also assigned capacities specifying how many clients can be served by each facility. Both problems have been extensively studied from the perspective of approximation algorithms. Recently, several surprising results have come from the area of parameterized complexity, which provided better approximation factors via algorithms with running times of the form $f(k)\cdot poly(n)$. In this work, we extend this line of research by studying a different choice of parameterization. We consider the parameter $\ell = |F| - k$, that is, the number of facilities that remain closed. It turns out that such a parameterization reveals yet another behavior of $k$-Median. We observe that the problem is W[1]-hard but it admits a parameterized approximation scheme. Namely, we present an algorithm with running time $2^{O(\ell\log(\ell/\epsilon))}\cdot poly(n)$ that achieves a $(1+\epsilon)$-approximation. On the other hand, we show that under the assumption of Gap Exponential Time Hypothesis, one cannot extend this result to the capacitated version of the problem.
BibTeX
@misc{byrka2020close,
  author = {Jaroslaw Byrka and Szymon Dudycz and Pasin Manurangsi and Jan Marcinkowski and Michal Wlodarczyk},
  title = {{To Close Is Easier Than To Open: Dual Parameterization To k-Median}},
  year = {2020},
  eprint = {2011.08083},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2011.08083},
}
Figure