arXiv:2611.09600cs.DSNov 2026

Manuscript Offprint

arXiv:2611.09600

Coresets for Capacitated Clustering via Dual Concentration

Milind Prabhu, Chris Schwiegelshohn, Sudarshan Shyam, Erik Waingarten

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

We study coresets for clustering problems, focusing on the classical kk-median and kk-means objectives. A coreset is a small weighted summary of the input data that approximately preserves the clustering cost for every choice of centers. Such summaries are a central tool for scaling clustering algorithms to large datasets.

In this work, we consider the capacitated setting, where the clustering is subject not only to choosing centers but also to respecting prescribed cluster-size constraints. This model is a natural generalization of standard clustering and has been widely studied, but its coreset complexity is less well understood. For finite metric spaces, we obtain optimal-size coresets; surprisingly, these match the best-known bounds for unconstrained clustering. We also give improved coreset bounds in Euclidean space, notably the first coresets with near-linear dependence in kk while being independent of the dimension and input size.

The main new technical ingredients are concentration bounds for the dual solutions of min-cost flow problems, which allow for both significantly simpler and tighter analyses of the underlying sampling distribution used in the coreset construction.

Statement on AI Use. The perspective of using the dual for concentration, rather than the primal, was pointed out by ChatGPT-5.5 Pro. In addition, the authors used AI to help polish the writing, review the proofs, and check the manuscript for possible errors, in multiple rounds of prompting. All content was carefully examined by the authors, who take full responsibility for the content of the manuscript.

1 Introduction

Coresets are a staple of big data algorithms. Given a loss function, a point set PP, and a set of candidate solutions C\mathcal{C}, a coreset Q⊆PQ \subseteq P is a significantly smaller weighted set such that, for all C∈CC \in \mathcal{C},

cost(Q,C)=(1±ε)cost(P,C).\mathrm{cost}(Q,C)=(1\pm\varepsilon)\mathrm{cost}(P,C).

For a fixed accuracy parameter ε\varepsilon, the quality of a coreset algorithm is measured by the number of distinct points in QQ, which we call its size.

In this paper, we study coresets for center-based clustering where we are typically interested in objectives of the form ∑p∈Pdz(p,C(p))\sum_{p\in P} d^z(p,C(p)), where dd is the distance function of the underlying metric and C(p)C(p) is the center to which pp is assigned from a set CC of at most kk centers. The most important special cases, z=1z=1 and z=2z=2, are known as kk-median and kk-means, respectively. For the unconstrained variants, where C(p)=arg⁡min⁡c∈Cd(p,c)C(p)=\arg\min_{c\in C} d(p,c), the coreset problem is now well understood. Specifically, for finite NN-point metrics, coresets of size O~(kε−2log⁡N)\tilde{O}(k\varepsilon^{-2}\log N) are known [FL11, CSS21]; in Euclidean spaces, coresets of size O~(kε−2min⁡(kz/(z+2),ε−z))\tilde{O}(k\varepsilon^{-2}\min(k^{z/(z+2)},\varepsilon^{-z})) are known [CLS+^+22, HLW24]. These bounds are optimal up to logarithmic factors [CLSS22, HLW24]. A more detailed review of coreset bounds for different metric spaces appears in Section A.

The situation is markedly different for constrained variants of these problems. A central example is cardinality-constrained clustering. In this paper we use the standard fractional transportation formulation: given a demand vector h∈nΔkh\in n\Delta_k, the objective is to minimize the kk-median or kk-means cost over assignments xp,i∈[0,1]x_{p,i}\in[0,1] such that each point p∈Pp\in P is assigned total mass ∑i=1kxp,i=1\sum_{i=1}^k x_{p,i}=1, and each center cic_i receives total mass ∑p∈Pxp,i=hi\sum_{p\in P} x_{p,i}=h_i. For unweighted point sets and integral demands, this coincides with the usual requirement that exactly hih_i points are assigned to cic_i.

Our coreset guarantee preserves this objective simultaneously for every choice of centers CC and every demand vector hh. Consequently, it also preserves the optimum over any feasible family of demand vectors. Via known reductions, see Proposition C.1, this yields coresets for widely studied constrained clustering problems, including upper- and lower-capacitated clustering, fair clustering, and clustering with anonymity constraints.

Having established that the same coreset framework applies to these constrained variants, we next ask how large such coresets must be. More precisely, we are interested in the dependence of the coreset size on the main problem parameters, such as kk, the accuracy parameter ε\varepsilon, and the dimension or metric size. This dependence is difficult to summarize succinctly. The most important barrier is that all known constructions have at least quadratic dependence on kk [BFS21, BCJ+^+22, CL19, HLLW25], in addition to non-optimal dependencies on other parameters. Such a quadratic dependence has historically been a major barrier even for unconstrained clustering; for cardinality-constrained clustering, it has so far proven formidable. At the same time, there is no evidence that cardinality constraints should force larger coresets than in the unconstrained setting. Thus, the guiding question of this paper is:

Do cardinality constraints fundamentally change coreset sizes for clustering?

References (46)