Manuscript Offprint
arXiv:2611.00461-Center under Weak and Strong Distance Oracles with an Application to Minimum Sum of Radii Clustering
Abstract
In the weak-strong distance oracle model of Bateni, Dharangutte, Jayaram and Wang (COLT 2024), a metric on points is accessed through two oracles: a cheap weak oracle that returns each queried distance correctly with probability and permits arbitrary values on corrupted pairs, chosen by an adversary who knows the entire metric and all corrupted pairs, and an expensive strong oracle that reveals a point exactly. The goal is to cluster well while making as few strong queries as possible. This is a query-efficient unsupervised learning problem: reliable information is costly, while errors in the cheap observations persist across repeated queries.
Our main result is a -approximation for -center using strong point queries, for any fixed . This improves both the approximation factor and the query bound of Bateni et al., and our algorithm is simpler: it makes one greedy pass per radius guess instead of rounds of random sampling. It also improves the query complexity of the recent -approximation of Pradhan, Bhattacharya and Jaiswal (AISTATS 2026), in the variant of the model they study.
Our algorithm outputs an explicitly known sketch of an otherwise unknown metric. The constant-factor -center guarantee is the least of what this yields; the useful part is that a downstream algorithm is handed a concrete metric on at most points that it can compute with directly, with no further queries and no noise. Specifically, we show an application of such sketch for MINIMUM SUM OF RADII (MSR), the objective left unexplored in this weak-strong oracles model and the one where the absence of a single relevant scale makes cheap queries least useful. Given the sketch there is a simple FPT algorithm that returns a constant-factor solution of MSR using strong queries.
We complement the upper bound with an lower bound for -center with assignment that holds for row-local algorithms. These algorithms assign two unqueried points to the same center whenever their weak distances to the strong-queried points are exactly the same. Our algorithm and those of Bateni et al. and Pradhan et al. are all row-local. Our query bound is therefore optimal for this class up to the factor.
1 Introduction
Clustering algorithms are usually designed under the assumption that pairwise distances can be obtained at no cost. From the perspective of algorithmic learning theory, this assumption hides an information-acquisition cost: in many unsupervised tasks, the learner must decide which distances are worth obtaining reliably and which can be estimated from cheaper, imperfect feedback. This assumption is a poor fit for a growing class of modern applications, where the “points” are documents, images, or user profiles and the metric is not tabulated in advance but computed on demand
*University of Alberta. zacharyf@ualberta.ca
†University of Alberta. mjamshidian@ualberta.ca
‡Rutgers University. a.vakilian@rutgers.edu by a learned similarity model. Computing one such distance is expensive, and a typical pipeline hedges by keeping two models on hand: a large, accurate one that is costly to invoke, and a small, cheap one that is fast but occasionally badly wrong [4]. One would like to spend the expensive model sparingly and let the cheap one do the bulk of the work.
Bateni, Dharangutte, Jayaram and Wang [4] formalized this trade-off as the weak-strong distance oracle model. A weak query on a pair returns the true distance with probability for some constant and an arbitrary value otherwise. Corruptible pairs are chosen independently, but an adversary may select their reported values after seeing the entire set of corruptible pairs and the true distances of all pairs. Crucially, the answer for a given pair is fixed once and for all, so repeating a query does not resample the noise; i.e., the noise is persistent. A strong query on a single point returns an object , think of it as an exact embedding, and any two such objects together reveal the exact distance between their points. Weak queries are free; strong queries are the resource to be minimized. This makes strong-query complexity an analogue of label or verification complexity in active and weak-supervision learning, while the output remains a clustering of an unknown metric. In this model, Bateni et al. [4] obtained constant-factor approximations for -center with strong point queries, and for -median and -means with . Moreover, they also showed that strong queries are necessary for any bounded approximation.
We revisit -center. Recall that -center asks for at most points of (the centers) minimizing the largest distance from any point to its nearest center; we write for this optimal radius. The algorithm of Bateni et al. [4] is a recursive “sample-and-cover” scheme. They guess a radius by binary search. Each round samples points and strong-queries them. Using these points as witnesses and a median of weak queries, it estimates which of the remaining points fall into an optimal ball, and assigns those points. Each round covers a constant fraction of the surviving points, so rounds suffice to cover everything, which is where the second logarithmic factor in their query bound comes from. Pradhan, Bhattacharya and Jaiswal [22] subsequently improved on Bateni et al.'s -center approximation by a different, ball-carving approach, obtaining a -approximation with strong distance (edge) queries. This is a result for the edge-query model, where a strong query reveals one pairwise distance, whereas our result concerns the point-query model, where the distances between strongly queried points can be recovered exactly. Because the two results count different query primitives, their query bounds are not directly comparable.
Our starting point is the natural greedy procedure for -center in this model, which is simpler than that of [4]. It is a single Gonzalez-style [16] pass over the points, with no recursion on residual point sets. It opens a new center only when a point fails a deterministic “test”. Relative to the strong-point result of Bateni et al., this gives an improvement in both approximation and query complexity: we obtain a -approximation for fixed using strong-point queries, improving their approximation and strong-point query bound. Moreover, the same algorithm can be implemented using strong edge queries, or for fixed .¹ Indeed, each of its exact-routing steps per radius guess requires distances only to the at most current representatives, so it incurs at most edge queries. Thus our approximation also improves the edge-query bound of Pradhan et al. [22] by a factor of ; see Remark 5 for the formal accounting.
It is also, in a sense we make precise, the best one can do without changing strategy. Our third contribution is a lower bound showing that strong queries are necessary for any
¹Throughout the remainder of the paper, we treat as a constant and omit the dependence from the query complexity, since both our results and all prior results incur the same dependence on . This factor arises solely from the binary search over a geometric grid with ratio (Lemma 11).
algorithm that shares one structural feature with ours: two points that are never strong-queried and have exactly the same weak distances to the strong-queried points are assigned to the same center. We call such algorithms row-local; our procedure and those of [4] and [22] are all of this kind. So the second logarithm we save is real, but the first one is not removable by any algorithm of this kind.
As an application, and our second contribution, we use the sketch to give the first approximation algorithm for Minimum Sum of Radii (MSR) in the weak-strong model; we believe the reduction, which turns a metric-clustering task in this model into a branching search over the sketch points, may be of independent interest. MSR requires one to select at most balls, centered at points of , whose union covers , so as to minimize the sum of the radii. The objective sits between -center (minimize the maximum radius) and -median (minimize the sum of assignment distances). MSR is a demanding test, for two reasons. First, it has not been studied in the weak-strong model at all. Second, it is hard precisely because the radii of an optimal solution may differ wildly, so there is no single scale at which to discretize the instance. This is what sets it apart from -center, whose algorithm in this model [4] fixes a single radius and only has to search for it. For MSR, no single radius can stand in for the whole solution.
Theorem 1. For every fixed , there is an algorithm that runs in polynomial time, uses strong point queries and, w.h.p., outputs a partition of into clusters with representatives such that
(i) every has been strong-queried, and all their pairwise distances are known; and
(ii) for every and every .
We emphasize that the w.h.p. is only over the random perturbations in the weak oracle. Our algorithm is deterministic otherwise.
The bound in (ii) is a -center approximation, which was already known in this model [4]; what is new is that we obtain it more cheaply and more simply. Property (i) is what lets the application in Section 5 treat the output as an ordinary metric on points: after the strong queries are spent, the sketch is exact and the weak oracle plays no further role. We do not read (i) as a separate feature, any -center routine that queries its centers has it. But it is the property our MSR algorithm relies on, so we state it explicitly. In particular, the representatives themselves are a -center solution, so we get the following.
Corollary 2. For every fixed there is an algorithm that, using strong point queries, outputs w.h.p. -approximate -center solution.
A second feature is worth flagging. The feasibility test underlying Theorem 1 has one-sided error (Theorem 9): when it reports that balls of radius do not cover , that verdict is a genuine certificate of infeasibility.
Our application is the following MSR result, which we prove as Theorem 25.
Theorem 3. There is an algorithm that, w.h.p., outputs an MSR solution with at most balls and total cost at most . It uses strong point queries and runs in time, where .
A linear dependence on is known to be necessary: no algorithm outputs a bounded approximation with strong point queries (Theorem 23, adapting the bound of [4]). Our third result says that for -center the true price is a logarithmic factor higher, for every algorithm built the way ours is. Call an algorithm row-local (Definition 14) if it assigns any two points that are neither strong-queried nor centers to the same center whenever their weak distances to the strong-queried points are exactly the same; the queried points and the centers may still be chosen using all weak answers.
We prove the following lower bound as Corollary 21.
Theorem 4. Let and be constants, and let be even and divide . Every row-local algorithm that outputs an -approximate -center solution together with its assignment, with probability more than , makes strong point queries.
Since Theorem 1 outputs a partition, it is a solution with assignment, and a mild re-routing makes it row-local (Proposition 15); the two bounds therefore meet, up to , for every .
However, for MSR a large gap remains: our upper bound carries the fixed-parameter factor , and whether it can be avoided, i.e., whether a poly-query algorithm exists, is open. We have made no attempt to optimize the constant 40; in the classical setting the best known polynomial-time factor is [8] and the best FPT factor is now [17], which followed earlier FPT constant-factor approximations [2, 10]. In the next section, we comment how a -approximation for MSR in the weak-strong oracle model is not possible using strong oracle queries.
1.2 Technical overview
Buying a sketch with strong queries. Fix a guess for and process the points in arbitrary order, maintaining clusters with representatives. The naive procedure, which strong-queries every point and attaches it to a representative within , opening a new cluster if none exists, is a Gonzalez-style greedy algorithm [16] and uses strong queries. To do better we must route most points using weak queries only, and a single weak query is useless because it is wrong with constant probability.
The fix is median amplification against a witness set, which is also a building component in the approach of [4]. Once a cluster has accumulated points, we freeze of them as a witness set and call the cluster FULL. Each witness has already been strong-queried; in particular, the witness set is formed entirely before any point is admitted to that cluster by a weak median test. Every witness is within of , by construction. A later point can then be tested against using weak queries, one per witness. We take the median of these answers. More than half of them are uncorrupted w.h.p., so the median lies between the smallest and largest true distances over the witnesses . Each such is within of by the triangle inequality, so the median has value in . So weak queries simulate one strong query, up to additive , which is all we need at resolution . Only points that fail this test for every FULL representative are strong-queried, and a short charging argument (Lemma 10) shows w.h.p. there are at most of them.
The application to MSR: peeling the largest ball. Let be an optimal MSR solution and let be its largest ball. Because , the sketch of Theorem 1 has resolution , fine enough to locate to within a constant factor of its own radius, and this is the whole point of running the sketch afresh at every level.
Let be the representative of the cluster containing a point covered by , so . If we knew and a guess , we could delete , a set defined purely by distances between representatives, all of which are known exactly. Two applications of the triangle inequality (Lemma 24) sandwich it:
The left inclusion says deleting removes an entire optimal ball, so the residual optimum drops by ; the right says the single ball we add to pay for it has radius . Summing over levels telescopes to . We do not know or , so we branch over both: choices of representative and of radius per level, whence . We stress how little this argument needs. There is no case analysis, no appeal to the weak oracle after the sketch is built, and no structure beyond the triangle inequality.
We note that similar ideas have been used in more complex ways to design FPT algorithms for MSR when the metric is explicitly known, e.g. [2], [10] and ultimately culminating in a -approximation in FPT time [17]. However, a -approximation is not possible in the weak-strong distance oracle model even when without using strong queries. For example, consider the following two metrics over the same set of points . The first metric has for and for distinct . The second metric has the same distances except for a single unknown . Without strong querying points we would not be able to identify , in which case we could not know if the optimum MSR solution cost was 1 or 2.
The lower bound. The hard instance consists of pairs of twin clusters of size . The algorithm knows the union of every two twins, but not how it is split into the two clusters. Distances are inside a cluster and 1 otherwise. If a weak answer between two twins is corrupted, the adversary always reports the wrong value. Consider a pair with only a few queried points. Take a point of one twin whose weak answers to these queried points are all corrupted. Take a point of the other twin whose weak answers to them are all correct. Then and have exactly the same weak distances to the queried points (Lemma 17). So a row-local algorithm assigns and to the same center. This center is wrong for one of them, so the solution has cost 1, while the optimum is (Lemma 18).
The counting is then routine. Suppose a pair has at most queried points. Then one twin has points like , and the other twin has points like (Lemma 19). So these points cannot all be centers. With at most queries, more than a quarter of the pairs have at most queried points. One of these pairs gives such and that are not centers.
1.3 Related work
The weak–strong oracle model. Bateni et al. [4] introduced the model and gave constant-factor algorithms using strong queries for -center, -median and -means, a characterization for the edge-query variant, and an -approximation for MST using no strong queries. Pradhan et al. [22] studied -center and -means in the edge-query variant, improving the approximation factor of Bateni et al. for -center to and their query bound for -means to . Fair clustering in the same model was studied by Braverman et al. [7].
The model is related to a long line of work on clustering from noisy or limited supervision, e.g. same-cluster queries [1] and clustering with noisy queries [21]. The distinguishing feature of [4] is that the noise is persistent: re-querying a corrupted pair returns the same corrupted answer. This rules out naive repetition and motivates aggregation across distinct witness pairs. Persistence is also what makes our lower bound possible: a point whose links into the queried set happen to be entirely corrupted stays corrupted, and no amount of re-querying recovers it. In Section 4.5 we show that the row-local restriction cannot be dropped: on the instance of Section 4.2, comparing unqueried points with each other recovers the clusters with no strong queries.
Other noisy-oracle and weak/strong information models. Galhotra, Raychaudhury and Sintos [13] and Raychaudhury et al. [23, 24] study clustering using quadruplet comparisons, which report relative orderings of two distances, rather than the corrupted numerical distances considered here. Their algorithms and query bounds therefore address distinct information primitives, even though both lines of work ask how to substitute weak feedback for expensive exact distances. Related perspectives include active learning with weak and strong labelers [26], noisy comparisons without resampling [6], and clustering with cheap-weak and expensive-strong signals [25]; these results provide context, not reductions between our oracle models.
Minimum sum of radii. MSR was introduced by Doddi et al. [11] and is NP-hard even in metrics of constant doubling dimension [14]. Charikar and Panigrahy [9] gave the first constant factor, 3.504, via a primal-dual algorithm; this stood until Friggstad and Jamshidian [12] improved it to 3.389, and Buchem et al. [8] to , also handling outliers. Exact algorithms are known in time [14] where is the aspect ratio of the metric and in special metrics [15, 5]; a dynamic version is studied in [18].
Parameterizing by has been very effective for MSR and its constrained variants. Inamdar and Varadarajan [19] gave the first FPT constant factor for the capacitated version, since improved by Jaiswal, Kumar and Yadav [20]. Approximation algorithms with a factor for MSR were obtained independently by Bandyapadhyay, Lochet and Saurabh [2] and by Chen et al. [10], both in time . Recently, an FPT approximation scheme was given for any metric [17], extending previous work on FPT schemes for metrics of bounded doubling dimension [3]. Our contribution is not a better factor, but the observation that an FPT branching scheme can be driven entirely by an -size sketch, and so transfers to a setting where the metric itself is unavailable.
Organization. Section 2 fixes the model and notation. Section 3 contains the main result: the feasibility test (Section 3.1), the single lemma we need about the weak oracle together with the correctness and the query bound of the test (Section 3.2), and finally the sketch guarantee of Lemma 12. Section 4 proves the lower bound for row-local algorithms and shows, in Section 4.5, that the restriction is needed. Section 5 gives the application to MSR, preceded by the lower bound that calibrates it.
2 Preliminaries
The weak–strong distance-oracle model. We work in the weak–strong distance-oracle model of Bateni et al. [4]. The input is a finite metric space on points, where is not given explicitly. The algorithm accesses distances through two oracles.
-
Weak oracle. For a pair , a weak query returns a value with with probability for a fixed constant . More precisely, an independent Bernoulli() variable marks each unordered pair as corruptible; let be the resulting random set. After all of has been sampled, an adversary who knows both the entire set and the true distances of every pair may choose the reported values on arbitrarily and jointly. Outside the weak answers equal their true distances. The randomness is independent across distinct pairs and is drawn once per pair, so repeated weak queries on the same pair return the same value. Thus only the corruption locations are independent; the adversarially chosen corrupted values need not be independent, bounded, or oblivious to the metric or corruption pattern. Corrupted values need not satisfy the triangle inequality, nor do the weak answers as a whole have to define a metric; only the underlying is assumed metric. Weak queries are free and we make no attempt to minimize their number.
-
Strong point oracle. For a point , a strong query returns an object . A single reveals no distance, but from and one recovers exactly. Strong queries are the resource to be minimized.
The following immediate consequence of the strong oracle is used throughout. Once a set has been strong-queried, all pairwise distances inside are known exactly and at no further cost.
Remark 5. Bateni et al. [4] consider two forms of strong oracle: the point queries above, and edge queries, which return for a single requested pair. This paper works throughout with point queries. The two models are polynomially related. The information obtained from point queries is exactly a set of pairwise distances, so it can be reproduced by edge queries. In the other direction, one edge query is simulated by two point queries. Our bounds therefore transfer with a quadratic loss; Theorem 1 becomes edge queries, which is the correct order, since [4] proves matching upper and lower bounds in the edge-query model. For our -center algorithm, however, directly implementing COVER with edge queries is substantially cheaper than retrieving all pairs among the strong-queried points. In step (B) of Algorithm 1, a point needs exact distances only to the at most existing representatives, at a cost of at most edge queries. This suffices for the witness invariant: every witness is certified to be within of its representative, and the median tests require no exact distances between witnesses. By Lemma 10, with high probability at most points reach step (B) in each execution, giving at most edge queries per execution. Summing over the executions in Lemma 11, with and , gives a -approximation using strong edge queries, or for fixed . This improves the edge-query bound of [22].
Throughout the paper, we assume the aspect ratio of the point set satisfies , and a value with is known. This is the standard assumption in this model [4]; it is what makes the radius search described below cost .
Clustering objectives. We consider two well-studied clustering objectives in this paper: -center and minimum sum-of-radii (MSR).
-center. Given a metric space , and a target number of clusters , the goal is to choose at most centers from minimizing the largest distance from a point of to its nearest center. Formally, .
Minimum sum of radii. An MSR solution for is a set of at most balls with whose union covers ; its cost is . We write for the minimum cost.
Throughout, refers to the original instance. For a set and a budget we write and for the same objectives on , with centers still chosen from all of ; the algorithm of Section 5 recurses on such sub-instances. After a part of is deleted, the surviving balls of an optimal solution keep their centers, so residual optima only decrease. We record the inequalities linking the two objectives; the same proof gives them for every sub-instance .
Let be an optimal MSR solution for and put . Hence,
Our guarantees are randomized, and the results hold with high probability (w.h.p.) which means with probability at least . The analysis uses the multiplicative Chernoff bound in the form: if with , then .
3 Main result: k-center and a sketch of the metric
This section proves our main result, Theorem 1. Fix a working set , a budget , a threshold , and a witness size .
3.1 The procedure
The procedure COVER processes the points of in an arbitrary order, maintaining a list of representatives, each owning a cluster. A cluster is PARTIAL while it has fewer than points and FULL once it reaches ; at the moment it turns FULL we freeze its current members as a witness set . Importantly, every member of has already been strong-queried and verified to be at distance at most from : weak routing begins for a cluster only after this certificate exists (formalized in Lemma 8). For a point and a FULL representative we write
the median of weak queries.
The COVER procedure, Algorithm 1, is a query-efficient version of Gonzalez's rule. It processes the points of one by one and tries to attach each new point to an existing cluster. It uses an (expensive) strong query only when the (cheap) weak test against every FULL cluster fails. Concretely, for each it first runs the weak routing step (A), which accepts into a FULL cluster whenever , using no strong query. Only if this fails does it run the exact routing step (B): it strong-queries and compares it with all representatives. If is far from all of them, it opens a new cluster (or declares failure). The two steps are shown in Figure 1.
3.2 The median test
Everything the weak oracle contributes is contained in the following lemma. Note that we need both inequalities: the upper bound to route points, the lower bound to conclude in Lemma 12 that a routed point really is close to its representative.
Algorithm 1: COVER: decide whether balls of radius cover .
foreach , in an arbitrary order do
if (A) some FULL has then
| add to the cluster of
else
(B) strong-query and compute for all
if some has then
| add to the cluster of
else
| open a new cluster at , and set
if then return fail
end
end
if the cluster of has size exactly then declare it FULL and freeze its members as
end
return pass, together with the clusters and their representatives
Lemma 6. Fix , a point , and a set of points with . With probability at least over the weak oracle, strictly more than half of the values are uncorrupted, and on that event,
Proof. For let . The pairs , , are distinct, so the are independent and with . A Chernoff bound gives .
Suppose and sort the returned values. More than half of the entries are true distances, so among the smallest entries at least one is a true distance, and likewise among the largest. Hence the median entry is at least the smallest true distance and at most the largest one, which is the claim.
Corollary 7. On the event of Lemma 6 applied to , if every satisfies , then
Proof. By the triangle inequality for every , so both and lie in . Now apply Lemma 6.
The hypothesis of Corollary 7 is an invariant of Algorithm 1, and it is worth isolating because it is the only place the order of operations matters.
Lemma 8. In any execution of COVER, every witness satisfies , and every witness has been strong-queried.
Proof. Step (A) only ever adds points to FULL clusters. Hence, when a cluster reaches size and is declared FULL, each of its members is the representative or joined through step (B). Step (B)

FULL cluster: median of weak queries against the frozen witnesses
accept iff
no strong query

PARTIAL cluster (< L points): strong-query , then compare exactly
accept iff
exact, deterministic
Figure 1: The two routing rules of COVER. Left: a FULL cluster carries frozen witnesses (light blue), each within of its representative by Lemma 8; an arriving point is tested by taking the median of weak queries, one per witness. This costs no strong query. Right: only if every FULL test fails is strong-queried and compared exactly against all representatives.
strong-queries a point and admits it only when its exact distance to the representative is at most . The witness set is frozen at that moment, so the property persists.
We now show that COVER is correct.
Theorem 9. For every , the following guarantees hold (probability is over weak-oracle corruption):
(a) (Soundness) If , then returns fail with high probability.
(b) (Completeness) If , then always returns pass.
Proof. In this proof, we abbreviate by . Suppose . Consider the event in which the algorithm returns , and let denote the returned representatives. Since any clustering has radius at least , there is some with . It cannot be that was strong-queried or else the algorithm would have added to . So for some where is the set of representatives at the time was considered.
If the events in Lemma 6 held when was calculated, then for some we have . A contradiction. So it must have been that the events in Lemma 6 failed to occur, which happens with probability .
In fact, the algorithm performs only polynomially many median estimates, at most . So by the union bound, for a large-enough constant in the definition we have all applications of Lemma 6 are successful. Therefore, if then the algorithm returns with probability as required.
Now suppose and, by way of contradiction, that the algorithm returns fail. In this case, we have and for every pair of distinct . This is a contradiction since there is some optimal clustering that would have two in the same cluster with center, say, so . So if then the algorithm will always return pass.
Next, we bound the number of strong queries. Note that the following bound holds for every , not only for which matters, because the search of Section 3.3 runs COVER on failing guesses too.
Lemma 10. A run of COVER strong-queries at most points, w.p. .
Proof. Let be the event that the conclusion of Lemma 6 holds for every pair on which step (A) is evaluated. Only FULL clusters carry a witness set, and at most clusters ever become FULL. Indeed, a cluster is frozen only when it reaches size in the promotion step, which runs after the failure check. So on the iteration that would create an -st cluster, the procedure returns fail before that cluster can be promoted. Hence at most witness sets are ever created. At most points are processed and each is tested in step (A) against these witness sets, so a union bound over the at most median tests gives . For with a large enough constant this is , so holds with high probability. Condition on .
A point is strong-queried exactly when it reaches step (B). We first claim that on , any such point satisfies for every FULL representative . Indeed, if for some FULL , then Lemma 8 and Corollary 7 give , so step (A) would have accepted and it would never have reached step (B).
Consequently every point reaching step (B) either opens a new cluster or joins a cluster that is still PARTIAL at that moment. At most clusters are ever opened; the -st, if it is opened at all, is the one whose opening triggers the failure, so it contributes exactly one step-(B) point and no joins. Each of the remaining clusters receives step-(B) points only while PARTIAL, namely the point that opens it and at most further points before it reaches size . Summing, at most points reach step (B).
3.3 Searching for the radius, and the sketch
Lemma 11. Assume . Binary search over a grid of ratio , using executions of COVER, returns a threshold for which COVER passes and .
Proof. Let be a geometric grid of ratio . It can be computed from the known and alone, has elements, and spans . Here and are the smallest and largest interpoint distances of . Its largest element passes COVER, since triggers Theorem 9(b). Its smallest element fails COVER, since makes every two points more than apart. So every point opens its own cluster and (this is where we use ).
We binary-search for two adjacent grid elements with failing and passing, and set . Such a pair exists and is found in tests by the following standard argument, which needs no monotonicity of the pass/fail pattern. Maintain an interval of grid indices with COVER failing at and passing at ; the two endpoints of give such an interval to start. While , test the midpoint: if it passes, move to it, otherwise move to it. Either way the invariant (fail at , pass at ) is preserved, so the search halts with , an adjacent fail/pass pair. Because the grid has ratio , the grid element below is exactly , so this pair is precisely “COVER passes while COVER fails”.
Finally, the run at fails. Since Theorem 9(b) guarantees a run at any always passes, a fail implies , i.e. , as claimed.
We can now state the sketch guarantee, which is what the rest of the paper concerns.

sketch cluster, radius ■ representative (strong-queried) – distance known exactly, at no cost
Figure 2: The sketch of Lemma 12. After strong queries the algorithm holds representatives whose mutual distances it knows exactly, together with the guarantee that every input point lies within of its own representative.
Lemma 12. Let SKETCH run the search of Lemma 11, obtaining the threshold together with the passing execution COVER that certifies it, and return the clustering that execution produces. With high probability, it outputs a partition with such that
(i)
(ii) every representative has been strong-queried, so all distances are known exactly;
(iii) for every ;
and it makes strong queries in total.
Proof. Item (i) is Lemma 11. For (ii), every representative is created in step (B), which strong-queries it. For (iii), a point admitted in step (B) satisfies outright, while a point admitted in step (A) against a FULL has , so on the event of Lemma 6 the lower bound of Corollary 7 gives . The query count is Lemma 10 summed over the executions, and the failure probability is a union bound over the same executions.
Corollary 13. Taking and for a large enough constant , SKETCH returns w.h.p. a -center solution of radius at most using strong point queries.
Proof. Immediate from Lemma 12: the representatives form a -center solution of radius , and the failure probability is once is large enough.
4 An lower bound for row-local algorithms
Our algorithm uses strong queries, while the lower bound of [4] is only . In this section, we show that the extra factor is needed by every algorithm that assigns an unqueried point using only its weak distances to the queried points.
4.1 The class of algorithms
In this section the output is a set of at most centers together with an assignment , and its cost is . Let be the set of strong-queried points. For , the row of is the vector .
Definition 14. An algorithm is row-local if it treats any two points with as the same point, that is, .
In other words, if the weak distances of and to all points in are exactly the same, the algorithm assigns and to the same center. There is no other restriction: and may be chosen using all weak answers.
Proposition 15. Run SKETCH and then re-assign every to the first FULL representative of the final execution with . The result is row-local and still satisfies Lemma 12(i)–(iii).
Proof. A point was accepted in step (A) by some FULL , and is still FULL at the end with the same witness set, so every has at least one such . By Lemma 8, all witnesses are in , so the new assignment of is a deterministic function of . Items (i) and (ii) do not depend on the assignment, and (iii) follows from Corollary 7 exactly as in Lemma 12.
The -center algorithms of [4] and [22] are also row-local. Both work in rounds. In each round, they strong-query a random sample of the remaining points. They use exact distances inside the sample to pick centers, and each center comes with a set of nearby sampled points. A remaining point is assigned to a center if the median of its weak distances to these sampled points is small. The assigned points are then removed. So the round in which is assigned, and its center, depend only on . The last step of [4] only merges centers, so it keeps this property. If passes the test for several centers in the same round, we break ties by a fixed order of the centers. The algorithm of [22] uses strong edge queries, and for it we let be the set of points that appear in a strong query. As edge queries involve at most points, Theorem 20 also gives a lower bound of strong edge queries for row-local algorithms.
We note that this lower bound is for -center with assignment only. It does not hold if the algorithm only has to output the centers. On the instance below, strong-querying random points hits every cluster with constant probability. Then one queried point per cluster is an optimal set of centers. The hard part is to assign every point to the correct center.
4.2 The hard instance
Let be even, be an integer, and . The points are split into pairs, and pair consists of two clusters and of size , which we call twins. The algorithm knows the union of every pair, but not how it is split into the two clusters; the split is uniformly random. Two points in the same cluster are at distance , and any other two points are at distance 1; this is a metric and . So a solution has cost less than 1 if and only if every point is assigned to a center in its own cluster.
The adversary is as follows. If the weak answer between two points in the same cluster is corrupted, it reports 1; if the weak answer between two points in twin clusters is corrupted, it reports . So within two twin clusters, a corrupted weak answer is never the true distance. Any other two points are reported at distance 1, their true distance. See Figure 3.
We say that and look close if .

■ strong-queried point — true distance (strong) ---- weak answer
Figure 3: The hard instance: pairs, each with two twin clusters of size . The algorithm knows each grey region , but not how it is split into the two clusters. True distances are inside a cluster and 1 otherwise. Here the weak answer between and the second queried point of its cluster is corrupted (1 instead of ).
Observation 16. Two points in the same cluster look close with probability , two points in twin clusters look close with probability , all independently, and any other two points never look close.
4.3 Points with the same row
The whole lower bound comes from the following simple fact.
Lemma 17. Fix a pair , and let and be two unqueried points. If all weak answers between and the queried points of are corrupted, and all weak answers between and these points are correct, then .
Proof. Let be a queried point. We show that and either both look close to or both look far from it. If , then looks close to , since and the answer for is correct; so does , since the answer for is corrupted and the adversary reports every corrupted partnered pair as close. If , then looks far from , since and the answer for is correct; so does , since the answer for is corrupted and the adversary reports every corrupted same-cluster pair as far. If , then looks far to both and , since the weak answer between points of different pairs is never . Hence and look close to exactly the queried points of , and .
So a row-local algorithm must treat such and in the same way, although they are in different clusters.
Lemma 18. If and are in different clusters, and , then a row-local algorithm outputs a solution of cost 1.
Proof. By Definition 14, . This center is in at most one of the two clusters, so or is at distance 1 from it.
It remains to show that, with few queries, some pair contains such and that are not centers. Set .
Lemma 19. Let be the event that for every pair and every set of at most points of :
(i) at least points of have all weak answers to corrupted, and

■ queried — strong (exact) --- weak, corrupted --- weak, correct
Figure 4: Lemma 17: all weak answers of to the queried points of its pair are corrupted, and all those of are correct, so and have the same row ().
(ii) at least points of have all weak answers to correct.
Then .
Proof. The probability is over which weak answers are corrupted, and that is independent of how each pair is split into and . So we fix the split and prove the bound for every split. Recall that .
If a point has all its weak answers to corrupted, it also has all its weak answers to every corrupted, and ; the same holds for correct answers and . So if (i) and (ii) hold for , they hold for every . So it suffices to prove (i) and (ii) for sets with .
Fix a pair and a set with , and let be the number of points of whose weak answers to are all corrupted. Take . Since , the pairs with are distinct. Each of them is corrupted independently with probability , so
For distinct these sets of pairs are disjoint, so these events are independent, and is a sum of independent indicator variables. Since , we have , so and . By the multiplicative Chernoff bound with , and since ,
For (ii), the same argument applies to the points of whose weak answers to are all correct: each has this property with probability , independently of the others for the same reason.
Finally, fails only if (i) or (ii) fails for some pair and some set of size . There are pairs and such sets for each pair, and for each of them, (i) and (ii) each fail with probability at most . By the union bound,
The lemma holds for every set at once, so we can apply it to the queried points of a pair even though is chosen adaptively.
4.4 The lower bound
Theorem 20. Let be large enough and . On the instance of Section 4.2, every row-local algorithm with at most strong queries has cost 1 with probability at least 3/4, while the optimal -center clustering has cost .
Proof. For large enough we have , and by Lemma 19, because while . Fix the instance, the corrupted weak answers and the algorithm's choice of and , and assume holds.
Call pair light if has at most queried points. At most pairs are not light, so more than of the pairs are light.
As , at most pairs contain or more centers, so some light pair contains fewer than centers. Let be the queried points of , so . By (i) of , at least points of have all weak answers to corrupted; as fewer than points of the pair are centers, one of them, , is not a center. In the same way, by (ii) there is that is not a center and has all weak answers to correct. Both are unqueried, so by Lemma 17 they have the same row, and by Lemma 18 the solution has cost 1.
Therefore the solution has cost 1 whenever holds, which is with probability at least 3/4.
Corollary 21. Let and be constants, and let be even and divide . Every row-local algorithm that outputs an -approximate assignment with probability more than makes strong queries.
Proof. Take , so an -approximate solution has cost less than 1. Since , the condition holds for large enough, and . Now apply Theorem 20.
4.5 The restriction is needed
The lower bound does not hold for all algorithms. A row-local algorithm assigns a point using only its weak answers to the queried points. An algorithm that also compares unqueried points with each other solves our instance with no strong queries.
For two points in the same pair , let be the number of points of other than that look close to both and . By Observation 16,
As , the first value is larger, and the difference between the two is at least once . Let be the midpoint of the two values.
Proposition 22. Let for a large enough constant . Put two points of the same pair in the same cluster if . With probability at least , this finds all clusters correctly, using no strong queries.
Proof sketch. For fixed , is a sum of at most independent indicators, so by Ho-effding's inequality it is on the correct side of with probability at least . For this is at least , and a union bound over all choices of completes the proof.
So an unconditional lower bound needs a different hard instance, one in which comparing unqueried points with each other does not reveal the clusters.
5 Application: an FPT constant-factor algorithm for MSR
This section applies the main result to MSR and proves Theorem 3. Everything below treats the sketch as a black box. We only use that there are at most representatives, that their mutual distances are known exactly, and that every point lies within of its own representative. The weak oracle does not appear in this section at all.
5.1 An lower bound on strong queries for MSR
We first record why is the right target. The following adapts the bound for other -clustering problems of [4] to MSR; the proof is included for completeness.
Theorem 23. Fix an approximation factor and a corruption probability . There are -point MSR instances with on which every randomized algorithm making strong point queries fails to output an -approximation with probability at least .
Proof. By Yao's principle, it suffices to exhibit a distribution over instances on which every deterministic algorithm making strong queries fails with the stated probability. Fix a constant , choose a pair uniformly at random, and set
Every triangle has side lengths or , so is a metric for . Let the adversary answer every corrupted weak query with the value .
Take . Clustering together and leaving the other points as singletons costs 1, and any solution with at most clusters must place two points in a common cluster, so . Moreover any solution that puts two points other than in a common cluster has a cluster of radius . Hence an -approximation must identify the hidden pair exactly.
Now consider the information available. With probability , the weak query for the pair is corrupted. In that case every weak answer in the whole instance equals , so the weak oracle gives no information. So the posterior on stays uniform over all pairs not yet excluded by strong queries. A strong query reveals a pair's distance only when both endpoints have been queried, so after strong queries at most pairs are excluded, and the algorithm's output is correct with probability . Failure probability is therefore at least .
5.2 The algorithm
The algorithm is a branching recursion that removes a single optimal ball at each level. Its only primitive is the sketch of Lemma 12; after the sketch is built, the weak oracle is not consulted again, and every quantity the algorithm inspects is an exactly known distance between two representatives.
Let be the current residual with budget , and suppose (otherwise output singleton balls of radius 0 and stop). Run SKETCH with , so that Lemma 12(i) reads , to obtain , representatives and clusters . In every execution of COVER inside PEEL, a point that was strong-queried in an earlier execution
Algorithm 2: PEEL(U,m): return a set of at most m balls covering U, or infeasible.
if then return
if then return infeasible
// radius guesses
foreach representative and guess do
as in (2)
if then record the candidate
end
return the recorded candidate of minimum total cost, or infeasible if there is none
is never tested by the weak oracle. It is compared directly with the representatives using exact distances, as in step (B) of Algorithm 1. It is also never used as a witness again. For a representative and a radius guess define
Every distance appearing in (2) is between two representatives, hence known exactly and for free by Lemma 12(ii); computing costs no queries at all.
The entire analysis rests on the following two-line consequence of the triangle inequality, illustrated in Figure 5.
Lemma 24. Suppose the sketch guarantee of Lemma 12(iii) holds. Let and be such that , let be any point of , let be the representative of the cluster containing , and let . Then .
The second term holds for every representative and every .
Proof. For the first inclusion, let with and let be the representative of 's cluster. Since and lie within of and respectively,
so and in particular . Note that itself need not lie in .
For the second, let , so and ; hence .
We now show that PEEL is correct and bound its strong queries.
Theorem 25. Set . With probability at least , PEEL returns a feasible MSR solution with at most balls and total cost at most , using strong queries where .
Proof. Let be the event that the guarantee of Lemma 12 holds for every call to SKETCH made anywhere in the recursion tree. We verify at the end, and condition on throughout.
The larger value of L is because we will invoke Lemma 6 an FPT number of times.

Figure 5: One level of PEEL. The removal set is a union of whole sketch clusters, selected using only the exactly-known distances between representatives. By Lemma 24 it contains the largest optimal ball, so deleting it drops the residual optimum by , and it is contained in the single ball of radius that we add to pay for it. Note that need not be near the center of the optimal ball; it only needs to represent the cluster of a point covered by the ball ( itself need not even lie in the residual set.)
Feasibility and the ball budget. Every branch adds one ball and decrements , and , so the recursion terminates within levels. On , Lemma 24 gives in every branch, so the ball added at a level covers everything that level removes; together with the base case, any candidate returned covers . A candidate produced after levels uses balls plus at most from the base case, so at most in total.
Cost. We exhibit one branch of cost at most 40 OPT; since the algorithm returns the cheapest feasible candidate, this suffices.
Let be the residual at level , , and . We maintain the invariant , which holds at . If the base case fires at cost 0 and we stop, so assume . Fix an optimal solution for , discarding any ball that contains no point of , and let be a ball of largest radius .
The guess grid contains a good . By (1) and Lemma 12(i), , so . In the other direction, the sketch itself is an MSR solution for with at most balls of radius , whence . Thus ; and the grid contains some with .
The intended branch. Pick any , and let be the representative of the cluster containing ; take the branch . By Lemma 24 with ,
The left inclusion says is covered by the remaining optimal balls, whose centers in are unaffected by the deletion, so and the invariant is maintained.
The right inclusion says the ball we add has radius
Summing over levels and telescoping,
Branching factor and queries. At a level with budget there are at most representatives and guesses, so the number of recursion-tree nodes is at most
Each node calls SKETCH once, costing strong queries (Lemma 12). Since ,
after absorbing the factor into . Weak queries are counted by distinct pairs, of which there are trivially at most ; all remaining work is polynomial per node.
The event . Each call to SKETCH evaluates at most median tests, and there are at most calls, so at most tests overall. As a point is a witness in at most one execution (Section 5.2), no test uses a weak answer that an earlier test has seen. So by Lemma 6 each test fails with probability at most , and a union bound over all tests gives
once , which is exactly our choice of .
Discussion
For -center, our bound of strong point queries is within of the lower bound of Bateni et al. [4], and the main open question is whether the factor is necessary. Theorem 20 shows that it is necessary for row-local algorithms, but we do not know whether every algorithm needs strong point queries, that is, whether the gap is an artifact of row-locality. Answering this needs a different instance: on ours, an algorithm that compares unqueried points with each other recovers every cluster with no strong queries (Proposition 22).
For MSR, the sketch of Lemma 12 costs only strong queries, so the factor in Theorem 25 comes entirely from branching; whether a constant factor is achievable with strong point queries is open.
Declaration on the use of AI. AI-based tools were used in the preparation of this manuscript as follows. The TikZ code for the figures was produced with AI assistance, and AI tools were used to help write and edit some of the prose. The hard instance for the row-local lower bound was developed through interaction with GPT 5.6 sol; the class of row-local algorithms was the authors' idea, and the current simplified construction and its presentation are the authors' own. All other research ideas and technical content are due solely to the authors. The authors take full responsibility for all content.
Acknowledgments
A.V. is supported in part by NSF CAREER award CAIF-2638918. Z.F. is funded by an NSERC Discovery Grant.
References
[1] Hassan Ashtiani, Shrinu Kushagra, and Shai Ben-David. Clustering with same-cluster queries. In Advances in Neural Information Processing Systems 29 (NeurIPS), pages 3216–3224, 2016.
[2] Sayan Bandyapadhyay, William Lochet, and Saket Saurabh. FPT constant-approximations for capacitated clustering to minimize the sum of cluster radii. In 39th International Symposium on Computational Geometry (SoCG), volume 258 of LIPIcs, pages 12:1–12:14. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2023. doi: 10.4230/LIPIcs.SoCG.2023.12.
[3] Sandip Banerjee, Yair Bartal, Lee-Ad Gottlieb, and Alon Hovav. Improved fixed-parameter bounds for min-sum-radii and diameters k-clustering and their fair variants. In Proceedings of the Thirty-Ninth AAAI Conference on Artificial Intelligence (AAAI), volume 39, pages 15481–15488. AAAI Press, 2025. doi: 10.1609/aaai.v39i15.33699.
[4] MohammadHossein Bateni, Prathamesh Dharangutte, Rajesh Jayaram, and Chen Wang. Metric clustering and MST with strong and weak distance oracles. In Proceedings of the Thirty Seventh Conference on Learning Theory (COLT), volume 247 of Proceedings of Machine Learning Research, pages 498–550. PMLR, 2024.
[5] Babak Behsaz and Mohammad R. Salavatipour. On minimum sum of radii and diameters clustering. Algorithmica, 73(1):143–165, 2015. doi: 10.1007/s00453-014-9907-3.
[6] Mark Braverman and Elchanan Mossel. Noisy sorting without resampling. In Proceedings of the Nineteenth Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 268–276. SIAM, 2008.
[7] Vladimir Braverman, Prathamesh Dharangutte, Shaofeng H.-C. Jiang, Hoai-An Nguyen, Chen Wang, Yubo Zhang, and Samson Zhou. Relative error fair clustering in the weak-strong oracle model. In Proceedings of the 42nd International Conference on Machine Learning (ICML), 2025. arXiv:2506.12287.
[8] Moritz Buchem, Katja Ettmayr, Hugo K. K. Rosado, and Andreas Wiese. A -approximation algorithm for the minimum sum of radii problem with outliers and extensions for generalized lower bounds. In Proceedings of the 2024 Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 1738–1765. SIAM, 2024. doi: 10.1137/1.9781611977912.69.
[9] Moses Charikar and Rina Panigrahy. Clustering to minimize the sum of cluster diameters. Journal of Computer and System Sciences, 68(2):417–441, 2004. doi: 10.1016/S0022-0000(03)00139-9. Special Issue on STOC 2001.
[10] Xianrun Chen, Dachuan Xu, Yicheng Xu, and Yong Zhang. Parameterized approximation algorithms for sum of radii clustering and variants. In Thirty-Eighth AAAI Conference on Artificial Intelligence (AAAI), pages 20666–20673. AAAI Press, 2024. doi: 10.1609/aaai.v38i18.30053.
[11] Srinivas R. Doddi, Madhav V. Marathe, S. S. Ravi, David S. Taylor, and Peter Widmayer. Approximation algorithms for clustering to minimize the sum of diameters. Nordic Journal of Computing, 7(3):185–203, 2000.
[12] Zachary Friggstad and Mahya Jamshidian. Improved polynomial-time approximations for clustering with minimum sum of radii or diameters. In 30th Annual European Symposium on Algorithms (ESA), volume 244 of LIPIcs, pages 56:1–56:14. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2022. doi: 10.4230/LIPIcs.ESA.2022.56.
[13] Sainyam Galhotra, Rahul Raychaudhury, and Stavros Sintos. k-clustering with comparison and distance oracles. Proceedings of the ACM on Management of Data, 2(5):212:1–212:26, 2024. doi: 10.1145/3695830.
[14] Matt Gibson, Gaurav Kanade, Erik Krohn, Imran A. Pirwani, and Kasturi Varadarajan. On metric clustering to minimize the sum of radii. Algorithmica, 57(3):484–498, 2010. doi:10.1007/s00453-009-9282-7.
[15] Matt Gibson, Gaurav Kanade, Erik Krohn, Imran A. Pirwani, and Kasturi R. Varadarajan. On clustering to minimize the sum of radii. SIAM Journal on Computing, 41(1):47–60, 2012. doi: 10.1137/100798144.
[16] Teofilo F. Gonzalez. Clustering to minimize the maximum intercluster distance. Theoretical Computer Science, 38:293–306, 1985. doi: 10.1016/0304-3975(85)90224-5.
[17] Fabrizio Grandoni, Anupam Gupta, and Jatin Yadav. FPT approximation schemes for minimum radii and min-sum diameters clustering. In Proceedings of the 67th IEEE Symposium on Foundations of Computer Science (FOCS), 2026. To appear. arXiv:2605.10895.
[18] Monika Henzinger, Dariusz Leniowski, and Claire Mathieu. Dynamic clustering to minimize the sum of radii. Algorithmica, 82(11):3183–3194, 2020. doi: 10.1007/s00453-020-00721-7.
[19] Tanmay Inamdar and Kasturi Varadarajan. Capacitated sum-of-radii clustering: An FPT approximation. In 28th Annual European Symposium on Algorithms (ESA), volume 173 of LIPIcs, pages 62:1–62:17. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2020. doi: 10.4230/LIPIcs.ESA.2020.62.
[20] Ragesh Jaiswal, Amit Kumar, and Jatin Yadav. FPT approximation for capacitated sum of radii. In 15th Innovations in Theoretical Computer Science Conference (ITCS), volume 287 of LIPIcs, pages 65:1–65:21. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2024. doi: 10.4230/LIPIcs.ITCS.2024.65.
[21] Arya Mazumdar and Barna Saha. Clustering with noisy queries. In Advances in Neural Information Processing Systems 30 (NeurIPS), pages 5788–5799, 2017.
[22] Pinki Pradhan, Anup Bhattacharya, and Ragesh Jaiswal. Improved algorithms for clustering with noisy distance oracles. In Proceedings of the 29th International Conference on Artificial Intelligence and Statistics (AISTATS), volume 300 of Proceedings of Machine Learning Research, pages 1261–1269. PMLR, 2026.
[23] Rahul Raychaudhury, Wen-Zhi Li, Syamantak Das, Sainyam Galhotra, and Stavros Sintos. Metric clustering and graph optimization problems using weak comparison oracles. In Proceedings of the Thirty Eighth Conference on Learning Theory (COLT), volume 291 of Proceedings of Machine Learning Research, pages 4777–4830. PMLR, 2025.
[24] Rahul Raychaudhury, Aryan Esmailpour, Sainyam Galhotra, and Stavros Sintos. Metric k-clustering using only weak comparison oracles. In The Fourteenth International Conference on Learning Representations (ICLR), 2026. arXiv:2601.19333.
[25] Sandeep Silwal, Sara Ahmadian, Andrew Nystrom, Andrew McCallum, Deepak Ramachandran, and Seyed Mehran Kazemi. KwikBucks: Correlation clustering with cheap-weak and expensive-strong signals. In The Eleventh International Conference on Learning Representations (ICLR), 2023.
[26] Chicheng Zhang and Kamalika Chaudhuri. Active learning from weak and strong labelers. In Advances in Neural Information Processing Systems 28 (NeurIPS), pages 703–711, 2015.