Optimal Stable Coresets for Geometric Median via Uniform Sampling

Amir Carmel, Robert Krauthgamer, Nir PetruschkaarXiv 2026

TL;DR

This paper proves that a simple uniform sample of size $O(\epsilon^{-2} \log \frac{1}{\epsilon})$ is an "optimal" stable coreset for the geometric median problem. This result is significant because it provides a dimension-independent guarantee that random sampling preserves the relative quality of all possible solutions, making it robust for constrained optimization tasks where traditional "weak" coresets fail.

What Problem Does This Paper Address?

The geometric median is a classic problem: find a point in $d$-dimensional space that minimizes the sum of Euclidean distances to a set of input points. It’s a robust alternative to the mean, but as datasets grow massive, computing it becomes expensive.

To speed things up, researchers use coresets—small, weighted summaries of the data that act as proxies for the full set. There are three main types:

  1. Strong Coresets: Preserve the cost of every possible solution. They are great but require scanning the entire dataset to build (linear time).
  2. Weak Coresets: Only preserve the cost of near-optimal solutions. These can be built via fast uniform sampling (sublinear time), but they break down if your final solution is subject to constraints (e.g., "the median must lie on this specific plane" or "the median must be one of the input points").
  3. Stable Coresets: A recently introduced middle ground. They preserve the relative quality of any pair of candidate solutions. This makes them fast to build via sampling while remaining robust to future constraints.

The gap addressed here is that previous stable coreset bounds depended on the dimension $d$ (specifically $O(\epsilon^{-2} \log d)$). In high-dimensional machine learning tasks, this dependence is a major bottleneck.

Methods

The authors achieve a dimension-independent bound using two primary technical pillars:

  • Relative Cost-Difference Approximation (RCDA): Instead of trying to approximate the absolute cost (which is hard), they focus on approximating the difference in costs between any two candidate points. They show that if a sample satisfies this RCDA property, it is automatically a stable coreset.
  • Iterative Size Reduction: This is the "secret sauce." The authors start with a known coreset bound that depends on the number of points $n$ or dimension $d$. They then treat that coreset as a new "input set" and sample from it again. By carefully tracking how errors accumulate across these iterations using the RCDA property, they show they can progressively "shave off" the dependence on $d$ until they reach a near-optimal size that only depends on the error parameter $\epsilon$.

To bridge the gap between Euclidean space ($\ell_2$) and the easier-to-analyze $\ell_1$ space, they utilize Dvoretzky’s theorem and terminal embeddings, which allow them to project high-dimensional data into lower dimensions while preserving distances to the candidate solutions.

Datasets

This is a theoretical paper focused on algorithmic proofs; therefore, no empirical datasets were used for training or evaluation. The results are mathematically guaranteed for any finite point set $P \subset \mathbb{R}^d$.

Key Insights and Ideas

  • Composition is Key: The authors discovered that the RCDA property "composes" well. If $Q'$ is an RCDA of $Q$, and $Q''$ is an RCDA of $Q'$, then $Q''$ is an RCDA of $Q$. This allows the iterative sampling approach to work without the error exploding uncontrollably.
  • Uniform Sampling is "Stronger" Than We Thought: The paper demonstrates that the most common practical technique—picking points at random—actually provides much more powerful theoretical guarantees (stability) than previously proven, matching the size of much weaker coreset types.
  • Dimension Independence: By focusing on the relative geometry of the points rather than their absolute coordinates, the authors proved that the complexity of summarizing the geometric median doesn't actually care how many dimensions your data has.

Key Results

The main result is summarized in Theorem 1.1: A uniform sample of size $O(\epsilon^{-2} \log \frac{1}{\epsilon})$ is a stable $(\epsilon, O(\epsilon))$-coreset for the geometric median with high probability.

As shown in the table below, this result closes the gap between stable and weak coresets and removes the dimension $d$ from the complexity:

Table 1: Sublinear-time constructions of coresets for the geometric median problem. In all of them, the sample complexity equals the (listed) coreset size; in fact, the coreset is simply the sample, except when marked by †, in which the sample is post-processed. Strong coresets are not listed as they require at least linear time.
  • Near-Optimality: The authors provide a lower bound proof in the appendix showing that any such coreset must have size at least $\Omega(\epsilon^{-2})$, meaning their upper bound is tight up to a small logarithmic factor.
  • Constraint Robustness: Because the coreset is stable, it can be used for any constrained version of the geometric median (like the "discrete median" or "sparse median") without needing to re-sample.

Limitations and Future Work

  • Large Constants: The proof uses explicit constants (e.g., a $17\epsilon$ error factor), which the authors admit are likely far from optimal and were chosen to make the math tractable.
  • The $k > 1$ Challenge: This paper focuses on the $k=1$ case (a single median). Extending these sublinear, stable guarantees to $k$-median clustering (finding $k$ centers) is much harder because uniform sampling can easily miss small, isolated clusters that are vital to the global solution.
  • Logarithmic Gap: There remains a $\log(1/\epsilon)$ factor between the proven upper bound and the known lower bound. Closing this final gap is an open theoretical question.

Summary updated

BibTeX
@misc{carmel2026optimal,
  author = {Amir Carmel and Robert Krauthgamer and Nir Petruschka},
  title = {{Optimal Stable Coresets for Geometric Median via Uniform Sampling}},
  year = {2026},
  eprint = {2606.30348},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2606.30348},
}
Figure