arXiv:2611.03547cs.DSNov 2026

Manuscript Offprint

arXiv:2611.03547

Exact Sum-of-Radii Clustering under Any Constant Stability

Shyam Ravichandran, Lev Reyzin

Abstract

We establish a separation between the stability thresholds of Minimum Sum-of-Radii (MSR) clustering and two closely related objectives. Known hardness results show that, on general metrics, exact recovery for Minimum Sum-of-Diameters and symmetric kk-center is hard for every fixed 1<γ<21 < \gamma < 2, unless NP = RP. We show that MSR admits deterministic polynomial-time exact recovery for every fixed γ>1\gamma > 1, extending Gao and Reyzin's result for γ≥2\gamma \geq 2. All three results use the same Bilu–Linial stability model: the optimal partition remains uniquely optimal when each pairwise distance is multiplied by any factor in [1,γ][1, \gamma], without requiring the perturbed distances to satisfy the triangle inequality. The number of clusters is part of the input. For 1<γ<21 < \gamma < 2, our algorithm runs in nO((γ−1)−5)n^{O((\gamma-1)^{-5})} time.

The main structural insight is that a cheap merge in one part of the instance would allow a profitable split elsewhere under a suitable perturbation, contradicting stability. The resulting exchange inequality controls local cluster density, which gives linear growth and hence bounded treewidth in local interaction graphs. We use random partitions to obtain these regions, solve them by dynamic programming, and then derandomize the construction. For rational input and fixed rational γ>1\gamma > 1, recognizing stability in this model is coNP-complete. Verifying that a supplied partition remains uniquely optimal under all allowed perturbations is coNP-complete for both arbitrary symmetric and metric perturbations.

1 Introduction

Minimum Sum-of-Radii (MSR), Minimum Sum-of-Diameters (MSD), and kk-center partition a finite metric space into kk clusters. Their objectives are, respectively, the sum of cluster radii, the sum of cluster diameters, and the maximum cluster radius. MSR allows a larger radius in one cluster to be offset by smaller radii elsewhere and is motivated by coverage problems such as placing base stations to serve demand points [19].

These closely related objectives have different thresholds for recovery under Bilu–Linial stability. On general metrics, when perturbations may be arbitrary symmetric distance increases, MSD [18, Theorem IV.2] and symmetric kk-center [5, Theorem 10] remain hard for every fixed 1<γ<21 < \gamma < 2, unless NP = RP. In the same model, we recover the unique MSR optimum in polynomial time for every fixed γ>1\gamma > 1.

Formally, for a nonempty set C⊆PC \subseteq P, let

rd(C)=min⁡c∈Cmax⁡x∈Cd(c,x),costd(P)=∑C∈Prd(C).r_{d}(C)=\min_{c\in C}\max_{x\in C}d(c,x),\qquad \mathrm{cost}_{d}(\mathcal{P})=\sum_{C\in\mathcal{P}}r_{d}(C).

We require exactly kk nonempty clusters and choose each center from its own cluster. Singletons have radius zero. We write n=∣P∣n = |P| and omit the subscript when distances are measured by dd.

A γ\gamma-perturbation of dd is a symmetric function d′d' satisfying d(x,y)≤d′(x,y)≤γd(x,y)d(x,y) \leq d'(x,y) \leq \gamma d(x,y) for every pair of points. We do not require d′d' to satisfy the triangle inequality. An instance is γ\gamma-stable if a partition O\mathcal{O} is uniquely optimal under every such perturbation, including dd itself. The centers need not be unique or remain unchanged. This is the perturbation-stability model of Bilu and Linial [10].

Gao and Reyzin [18] showed that single-linkage recovers the optimum of every 2-stable MSR instance. We give a deterministic algorithm for the remaining range 1<γ<21 < \gamma < 2. By monotonicity of stability, our algorithm also handles γ≥2\gamma \geq 2 by using parameter 3/23/2. Let ε=γ−1\varepsilon = \gamma - 1.

Theorem 1.1. For every fixed γ>1\gamma > 1, there is a deterministic polynomial-time algorithm that recovers the unique optimum of every γ\gamma-stable MSR instance under arbitrary symmetric perturbations. For 1<γ<21 < \gamma < 2, its running time is

nO((γ−1)−5).n^{O((\gamma-1)^{-5})}.

On every finite metric input with 1≤k≤n1 \leq k \leq n, it halts and returns a feasible partition into exactly kk nonempty clusters.

Theorem 1.1 separates the stability threshold for MSR from the threshold 2 for MSD [18, Theorem III.2] and kk-center [5, Theorem 4]. The recovery algorithm rests on a structural consequence of stability: local cluster density is bounded strongly enough to yield bounded-treewidth interaction graphs. The key exchange argument uses the fact that fixing the number of clusters links otherwise distant parts of the instance. Merging two optimal clusters D,ED, E frees one place in the cluster count, allowing a third cluster CC to be split elsewhere. For every nonsingleton CC, we construct a perturbation that increases its radius by εr(C)\varepsilon r(C), while splitting off a suitable point removes that increase. The merge is unaffected by the perturbation. If it costs at most εr(C)\varepsilon r(C) extra, the merge and split together give a different partition of no greater perturbed cost. Stability therefore forces

r(D∪E)>r(D)+r(E)+εr(C).r(D \cup E) > r(D) + r(E) + \varepsilon r(C).

More generally, merging several clusters must cost more than the savings from the corresponding number of splits elsewhere. The clusters being split need not be near those being merged.

This exchange principle controls local cluster density at the radii used by our algorithm. Too many small clusters meeting a ball could be merged cheaply, allowing profitable splits of larger clusters elsewhere and contradicting stability. Large clusters satisfy a complementary bound from ordinary optimality: the sum of the radii of optimal clusters contained in a ball cannot exceed the ball's radius. Otherwise, one ball would cover them at smaller cost, and we could convert this cheaper cover back to exactly kk clusters. Together, these bounds limit how many clusters can meet a ball without any assumption on the dimension of the metric.

The algorithmic consequence is the progression

merge−and−splitexchange  ⟹  localclusterdensity  ⟹  lineargraphgrowth  ⟹  boundedtreewidth.\begin{array}{c} merge-and-split \\ exchange \end{array} \implies \begin{array}{c} local cluster \\ density \end{array} \implies \begin{array}{c} linear graph \\ growth \end{array} \implies \begin{array}{c} bounded \\ treewidth \end{array}.

Within each region of sufficiently small diameter, choose points separated by more than twice the largest optimal radius and join points within a fixed multiple of that radius. Distinct vertices belong to distinct optimal clusters. The density bound then limits the number of vertices reachable in jj graph steps to Oε(j)O_{\varepsilon}(j) for j≥1j \geq 1. A theorem of Campbell et al. [12] converts this linear growth into treewidth bounded solely by ε\varepsilon, permitting exact dynamic programming even when a region contains many clusters. The exponent comes from O(ε−4)O(\varepsilon^{-4}) vertices per bag and nO(1/ε)n^{O(1/\varepsilon)} candidate choices per vertex; enumeration itself costs only nO(ε−2)n^{O(\varepsilon^{-2})}. These bounds establish polynomial-time tractability; they are too large for a practical algorithm.

Figure

Figure 1: A stable instance on which single-linkage fails. The dashed enclosure is the radius-1 optimal cluster; pp is a singleton. Single-linkage first merges a,pa,p along the unique length-1/2 edge.

The need to go beyond single-linkage already appears on five points (Figure 1). Take the shortest-path metric of a tree with a center oo, three leaves a,b,ca,b,c joined to oo by unit edges, and a point pp joined to aa by an edge of length 1/21/2. For k=2k=2, the optimum is {{o,a,b,c},{p}}\{\{o,a,b,c\},\{p\}\}, of cost 1; every other partition costs at least 3/23/2. Under any γ\gamma-perturbation, its cost is at most γ\gamma, while competitors still cost at least 3/23/2. Thus it is γ\gamma-stable for every 1<γ<3/21<\gamma<3/2. Nevertheless, single-linkage first merges the unique closest pair {a,p}\{a,p\}, crossing the optimal partition; subsequent merges cannot repair this error. The metric perturbation increasing only d(o,a)d(o,a) to 3/23/2 makes {{o,b,c},{a,p}}\{\{o,b,c\},\{a,p\}\} tie the original optimum, so the instance is not γ\gamma-stable for any γ≥3/2\gamma\geq 3/2.

Our algorithm builds on the partition-and-enumerate approach of Gibson et al. [19]. Small clusters are recovered as connected components. If few large clusters remain, we enumerate them; otherwise we partition the instance, enumerate the few large clusters split by the partition, and solve each residual region by dynamic programming. The number guessed and the treewidth depend only on ε\varepsilon. One randomized run succeeds with probability at least 1/31/3; Section 4.4 proves Theorem 1.1 using the order family constructed in Appendix B.

For unrestricted MSR, a quasi-polynomial-time approximation scheme is known [19], while a polynomial-time approximation scheme (PTAS) remains open [21]; the best known polynomial-time guarantee is 3+ζ3+\zeta for any fixed ζ>0\zeta>0 [11, 21]. To our knowledge, the earlier examples of recovery under every fixed stability factor γ>1\gamma>1 discussed in Section 2 concern classes already admitting PTASs: clustering in fixed doubling dimension [16, 17], metric Max-Cut [9, 14], and planar independent set [1, 4].

We also prove coNP-completeness of recognizing stability and of verifying stability of a supplied partition, for fixed rational γ>1\gamma>1. Appendix D gives a corollary for power costs ∑Cr(C)p\sum_C r(C)^p with fixed 0<p≤10<p\leq 1.

After previous work, Section 3 proves the structural results and Section 4 gives the recovery algorithm. Sections 5 and 6 state the recognition result and open questions. Implementation details and supporting proofs are in the appendices.