Manuscript Offprint
arXiv:2611.24780Near-Optimal Centerpoints in Polynomial Time in the Ambient Dimension
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
An -centerpoint of a set of input points in is a point such that any halfspace containing it also contains an -fraction of the input points. Since the first algorithm for centerpoints given by Clarkson, Eppstein, Miller, Sturtivant and Teng [IJCGA, 1996], the best quality centerpoint obtainable in polynomial time in has been , while the best possible centerpoints of quality could only be obtained in time , (Clarkson et al. [IJCGA, 1996]). Recently Cherapanamjeri [FOCS, 2024] gave the first polynomial time randomized algorithm for computing approximate -centerpoints. However it has run-time significantly worse than , as well as large constants like .
We give a time randomized algorithm for computing exact -centerpoints of arbitrary point-sets. This improves significantly on the long-standing quality bound of Clarkson et al. [IJCGA, 1996], (see also Har-Peled and Jones [SoCG 2019]), and is within a -factor of the optimum. It is significantly simpler to implement, and improves on the longstanding running time of Clarkson et al. [IJCGA, 1996] for -centerpoints.
For low-dimensional point-sets, we also give the first centerpoint algorithm with complexity subexponential in the number of dimensions, and independent of the data bit-complexity, which achieves a quality of the centerpoint, improving on the previous bound. For the Word RAM model, as well as for practical implementations, we also discuss a truncate-and-proceed approach to address bit-size complexity issues.
On the way we also get a simple algorithm to compute -Tverberg partitions, and a point in the intersection of the convex hulls of the Tverberg parts. Our central idea is based on a lifting trick of Sarkaria [Isr. J. Math. 1991], together with sampling ideas from Soberón [Combinatorica, 2019]. At the core of our algorithmic ideas, is a randomized algorithm for the Colorful Carathéodory problem, which improves upon the run-time of Mulzer and Stein [SoCG, 2015].
Lastly, we also give applications of our improved bounds to problems such as the Resilient Vector Consensus problem, lower-bounding functions with gradient oracles and deciding the lightness of a convex body.
1 Introduction
Given an arbitrary set of points in -dimensional space , a classic result of discrete geometry states that there exists a point of , such that any closed halfspace containing this point, also contains at least points of the given set. This point is called the centerpoint of the set . More generally, for a given quality , an -centerpoint of a point-set is a point such that any closed halfspace containing also contains points of .
The notion of centerpoints arose in discrete geometry and linear algebra, and since then has reappeared in other areas such as topology, statistics, etc. [19, 4]. More recently, it has found algorithmic applications in the analysis of large datasets in fields like data science, machine learning, and topological data analysis [16, 17]. In many of these applications, the centerpoint serves as a decent approximation as the “center" of the dataset. The centerpoint is also closely related to several other geometric notions of centrality of datasets, such as Radon and Tverberg points, points of high Tukey depth, etc.
As such the algorithmic question of finding the centerpoint of a given -dimensional dataset, or at least an -centerpoint for some slightly suboptimal , is of significant interest and has received the attention of several researchers [6, 4, 2, 7].
Before discussing the previous works, we need to define a few models of computation that will be relevant to the subsequent discussion. In the present work, and as in typical in computational geometry, we use the Real RAM model of computation, where real numbers can be stored using a single unit of memory, and basic arithmetic operations require a single unit of computation time. In contrast, in the Word RAM model, each bit of an input number requires a single unit of memory. An algorithm is said to have a weakly polynomial running time, if it runs in time polynomial in the size of its input in bits. It is strongly polynomial, if the running time is independent of the size of the input in bits. We shall use the -notation to denote a weakly polynomial running time, where the dependence on the size of the inputs will be suppressed. We also use - to indicate suppressed polylogarithmic factors.
In a remarkable breakthrough Cherapanamjeri [5] gave the first polynomial time algorithm for achieving -centerpoints, for a smoothed version of the problem where the input points are perturbed by a small Gaussian noise. Further, for the original point set, the algorithm obtains a point which is at most -far from the halfspaces characterizing any -centerpoint. The algorithm is based on a gradient descent type approach, building on a connection between the Radial Isotropic Transformation [5] and testing an approximate centerpoint. While the degree of the polynomial running time is not explicitly stated in the paper, the algorithm (as described in [5], Fig. 1) runs for steps, with each step involving the computation of a Radial Isotropic Transformation which itself is a subroutine using e.g. the Ellipsoid method, and so takes more than unit time. The running time of the algorithm therefore seems to be prohibitively large for practical purposes, involving both a large multiplicative constant and a high degree polynomial in the ambient dimension. Thus, the question of finding an efficient and practical algorithm for computing -centerpoints for arbitrary datasets, has remained open.
The existing algorithms for centerpoints are summarized in the table below. These algorithms have found applications in related problems such as finding Tverberg points, center nets, etc. [10, 21, 8].
Table 1: Comparison of algorithms for finding a centerpoint
| Algorithm | Quality | Running time |
|---|---|---|
| Clarkson et al. (general) | ||
| Clarkson et al. | ||
| (polynomial in ) | ||
| Chan (randomized; Las Vegas type) | ||
| Miller & Sheehy (deterministic) | ||
| Mulzer & Werner (deterministic) | ||
| Mulzer & Werner (deterministic) | ||
| Har-Peled & Jones | ||
| Cherapanamjeri | ||
| ( smoothed point-set or; ˙ | ||
| -far from all halfspaces | ||
| characterizing centerpoints) | ||
| This paper | ; | |
| . |
In spite of these different approaches and bounds, the best quality for centerpoints achievable with a running time polynomial in the ambient dimension, remains . Currently the fastest algorithm achieving this quality is that of Har-Peled and Jones [7]. While their output has nearly the same quality as that of Miller-Sheehy [21] or Mulzer-Werner [23], their running time improves upon the previous results by a factor of . For obtaining -centerpoints currently the fastest algorithm remains that of Clarkson et al. [6], who used linear programming to obtain -centerpoints in time . It should be noted that since the algorithm uses linear programming, it is weakly polynomial.
Centerpoint Algorithm of Har-Peled and Jones
Given a set of points in , a Radon partition is a bi-partition of the set, such that the convex hulls of the two parts intersect and a Radon point is a point in the intersection of the two convex hulls. We now summarize some ideas used in centerpoint algorithms, especially the algorithm of Har-Peled and Jones.
Beginning with the seminal work of Clarkson et al. [6], several centerpoint finding algorithms have the following basic structure. Given an -point set in , one maintains a set of candidate points, which is initially the input set, and finally a set of -centerpoints, (where depends on the specific algorithm). The goal is to modify the candidate set so that for every halfspace of that contains fewer than an -fraction of the points of , no point of lies in at the end of the procedure.
Each step of the algorithm involves an exchange procedure, where one or more current points are exchanged with new points computed during the step. The procedure of Har-Peled and Jones [7], is particularly simple – one chooses a random sample of points, and computes a Radon point of this sample. Subsequently, the Radon point is added to the candidate set , and a previously independently chosen point is removed. The elegant analysis of the procedure is as follows. Let be an -shallow halfspace, that is, a halfspace of containing at most an -fraction of the input point set. With respect to membership in , therefore, there are three possible outcomes of the exchange procedure: the deleted point was in , and the new point was not in , or the deleted point was not in , and the added point was in , or the deleted as well as the added points were both in or both outside . The cardinality of , can therefore increase by one, decrease by one, or stay the same. As Har-Peled and Jones show, this can be modelled as a sticky random walk on the non-negative integers, which is strongly negatively biased, and therefore quickly converges to zero with high probability. Taking a union bound over all the equivalence classes of halfspaces (with respect to intersection with ), we get that with high probability, after a polynomial number of iterations, no point of will remain in any such -shallow halfspace, and so with good probability, every point of will be an -centerpoint.
The key observation that makes the above analysis work, is the fact that any halfspace containing a Radon point of a set of points, must also contain at least points of . This means that for the random walk to go forward, at least two points lying in must have been chosen in the random sample. The probability of this happening (which is at most ) is much less than that of the walk to go backwards, which requires that the point to be deleted was chosen from (which can happen with probability at most ). This imbalance between the two probabilities results in the random walk being negatively biased and quickly converging to zero.
1.1 Our Contribution
We give the first weakly polynomial algorithm for computing - centerpoints. Our centerpoints have quality , which improves on the long-standing running time of Clarkson et al. [6] for obtaining such centerpoints. Our algorithm also improves on the running time of Har-Peled and Jones [7], although theirs is a strongly polynomial algorithm.
For low-dimensional point-sets, we also give an algorithm with complexity subexponential in the number of dimensions, and polynomial in the size of the inputs. This again improves on the bound of Clarkson et al. [6] while not requiring inputs to have size polynomial in the number of points and dimensions. Although this does not beat the complexity bound of Har-Peled and Jones [7], it is the first subexponential algorithm achieving a quality of the centerpoint, and requiring time in the ambient dimension. On the way, we also get a simple algorithm to compute -Tverberg partitions using a lifting trick of Sarkaria, together with sampling ideas from Soberón [25]. As in the earlier case, linear programming can also be used here to compute a point in the intersection of the parts contributing to the -Tverberg partition.
To state our results formally, let be a set of points in .
Theorem 1.
There exists a constant independent of and , such that the following statements hold.
- There exists a randomized algorithm FindCenter , such that given any , it computes a -centerpoint of in weakly polynomial time , and succeeds with probability at least .
- There exists a randomized algorithm, which runs in time independent of the absolute values of its inputs, and computes a -centerpoint of with probability at least .
Word RAM Model and Bit-Complexity Issues
At each iteration involving finding a Tverberg point, the output of the LP can have length polynomial in the lengths of the inputs. Since there are polynomially many steps (in ), and each iteration can use outputs of previous iterations, the final lengths of the bit-representations can become super-exponential in . While this is not an issue in the Real RAM model, it appears in the Word RAM model, and can also be an issue in practical implementations. We give a simple Truncate-and-Proceed approach, which can effectively address this blow-up of bit complexities.
Theorem 2.
For any , there exists a polynomial function , such that given any , while running FindCenter , it suffices to truncate the output of each iteration of TverbergPoint after at most bits, so that the error in each point output by FindCenter has -norm at most .
Computing Tverberg Points
A related notion to the centerpoint of a point-set, is that of an -Tverberg partition of a point-set. Given a set of points in and , an -Tverberg partition of is a partition of into parts, such that the intersection of the convex hulls of the points in each part, is non-empty. An -Tverberg point of , is a point in the common intersection of the convex hulls of the parts of an -Tverberg partition of . In the course of our analysis, we state and prove the following bound for computing -Tverberg point for a set of points in , when .
Lemma 3.
Given a set of points , with , a random -coloring of is a Tverberg partition of into parts , with probability at least . Further, a point that lies in the common intersection of the convex hull of the parts, can be computed in time with a weakly polynomial algorithm, or in time using an algorithm independent of the absolute values of its input numbers.
The above lemma is useful when the number of points is not much larger than the dimension – as for example in the case of high-dimensional datasets – in which case it supersedes the bounds of Har-Peled and Zhou [10] as well as previous bounds [21, 23], all of whose algorithms work when . In our case (see Section 3 for more details) we have , and therefore , so the previous algorithms would not work.
Computing a colorful choice for the Colorful Carathéodory Theorem
Our algorithmic improvements in the Centerpoints and Tverberg problems, come from an improvement of an important variant of the Carathéodory problem. The colorful Carathéodory theorem, given by Barany [3], says that given a set of points partitioned into at least families, and a test point lying in their convex hull, there exists a choice of a set having exactly one member of each family, such that the test point still lies in the convex hull of the colorful choice. Both the existential and the algorithmic question of finding such a colorful choice, have several applications [11, 12]. In particular, there have been a few approximate algorithms [22] proposed for the algorithmic question, and it continues to be an interesting open problem. It turns out our algorithm can be used to improve the bounds of Mulzer and Stein [22], for finding a colorful choice, in a wide range of the problem parameters.
Theorem 4 (Colorful Carathéodory Algorithm).
Let with and for every , and suppose a convex combination of the origin is given for each . If , then Algorithm 3 outputs a Colorful Carathéodory transversal with failure probability , in time, where is the cost of one Carathéodory reduction ().
Finally, we give some applications of our results for algorithmic questions on centerpoints, such as the resilient consensus problem, finding subgradients of convex functions, etc.
Overview of Our Algorithm
From the previous discussion on the centerpoint algorithm of Har-Peled and Jones, we observe that the key step utilizes the fact that a Radon point is a -centerpoint of a set of points, and the probability of the random walk going forward is essentially controlled by the upper bound on the probability that at least out of random points lie in a given halfspace. Now it may be asked, why not use a construction with a lower probability of the corresponding random walk drifting forward? For example could we compute a point such that any halfspace containing it must contain more points from our sample? This is exactly the idea that we implement.
Thus, our overall algorithm structure follows that of [7], except that at each step, we shall compute the -Tverberg point, () of a random sample. Now for a fixed halfspace , the random walk will go forward only if at least out of chosen points belong to . While this seems like a simple plan – and indeed a similar idea was used by Miller and Sheehy in their derandomization of the Clarkson et al. algorithm – in practice there are several issues which need to be handled. The main issue is that it is not easy to compute an -Tverberg point of a given point-set. Indeed, the problem of computing an -Tverberg point is nearly equivalent to our original problem, since an -Tverberg point is also a -centerpoint. Consequently, computing Tverberg points is an area of active research [10]. On the other hand, most results on Tverberg points focus on computing an -Tverberg point whereas we only need a fast subroutine for the case , which does not seem to follow from existing algorithms.
This motivates our second contribution – a randomized algorithm which computes an -Tverberg partition and the corresponding -Tverberg point, for a given set of points in (for arbitrary ), with high probability. The idea is to simply analyse a random partition and show that it is a Tverberg partition, via the lifting technique of Sarkaria [24], using an idea implicit in Soberón [25]. Further, in the Sarkaria-Soberón framework, the problem of finding an -Tverberg point, reduces to finding the convex coefficients of a given point in the interior of a polytope with a linear number of vertices. This can be done in a standard way by solving a linear program.
Outline of the paper
In Section 2 we provide some necessary background and preliminary details. In Section 3, we give the main technical results and proofs. Our improved algorithm for the Colorful Carathéodory problem, is stated and analysed in Section 4. In Section 5 we give a generalized version of the Radon urn game and state a sufficient condition for it to succeed. We also give applications of our results to some algorithmic questions on centerpoints, in Section 6.
2 Background
We briefly introduce some of the definitions and tools needed for our results and proofs.
Given a set of points in , and all closed halfspaces in , the range space denotes together with the equivalence classes of closed halfspaces under the equivalence relation given by the subset of realised by intersection of the halfspace with . The equivalence classes are referred to as ranges, and denotes their collection. For a range , and a subset , let denote the fraction of points of in the halfspace . The VC dimension of the range space is the maximum size of a subset , such that for all , can be represented as the intersection of with some range in . The following fact is well-known about range spaces induced by points and halfspaces in : the maximum number of distinct intersections of halfspaces with a set of points, is (see e.g., [18][Chapter 5]).
For , a -relative approximation for with respect to halfspaces, is a subset , such that for any range ,
The following bound of [15, 9] on the size of -relative approximations will be useful for our analysis.
Lemma 5.
Given a range space of VC dimension , and , a random subset of size is a -relative approximation with probability at least .
The next lemma gives a connection between a centerpoint for a range space , and a centerpoint for its relative approximation .
Lemma 6.
Given a set of points in and a -relative approximation of , a -centerpoint for is a -centerpoint for .
Proof of Lemma 5.
Let and be a range space of points and halfspaces, and a -relative approximation respectively, as stated in the Lemma. Let be a -centerpoint for , and let be any closed halfspace containing . By the definition of a centerpoint, has a -fraction of the points of , i.e., . Since is a -relative approximation, this gives that , or . Further, for any range with , we have that . Thus cannot contain , since this would contradict that is a -centerpoint of . ∎
2.1 Tverberg Partitions and Sarkaria’s Lifting Map
We are given a set of points in , and an integer parameter . For each , let . Let denote the vertices of the standard -simplex in . That is, for each , , if , and otherwise. Lastly, . For each , define the family of points . Now, let . Given a subset of points in the lifted set, , we say is an -transversal of if for every , such that . The following proposition, implicit in Sarkaria [24] and Soberón [25], gives the connection between -part Tverberg partitions and transversals.
Lemma 7.
If there exists an -transversal such that the origin , then has a Tverberg partition into parts.
Proof of Lemma 7.
The statement is well-known from the work of Sarkaria [24], see also Soberon [25]. Let be a transversal of such that . Then there exist non-negative reals , , such that , and . For each , let denote the set of indices , such that , for some . Now for each , consider the -th coordinate of the convex combination . By construction, this coordinate is for the points in and for the points in , otherwise it is zero. Thus, we get that for each ,
Since , this means that for each , . Similarly if we consider for each , the weighted sum of the points of with coordinates restricted to , we get
where is the point of that was lifted to . Dividing the above equation by , i.e., by , gives us that for every , there is a convex combination of subsets of the original points , such that , where . (We check that for all , , and for all , .) This shows that
Thus, is the desired partition of into parts, with non-empty intersection of their convex hulls. ∎
2.1.1 Computing an -Tverberg partition
From the above randomized construction, we see that if the transversal is such that , then we obtain a partition of into parts , whose convex hulls intersect. Further, given a convex combination (with and ), such that , for each , the point lies in .
Therefore, given a transversal such that , we need to find the convex combination , such that , where ’s are non-negative reals whose sum is . In order to accomplish this, the problem can be formulated as a linear programme (LP). In general, a linear programme is an optimization problem over real-valued variables, having a set of linear constraints and a linear cost function over the variables, which is to be optimized. It is a major open problem in the theory of algorithms, to find whether there exists a strongly polynomial algorithm for solving linear programme. The current fastest algorithms for linear programmes over variables, with a total size of the input in bits, run in weakly-polynomial time or even less (under commonly-held complexity-theoretic assumptions [27, 14, 13]). A subexponential algorithm independent of the size of the inputs is also known [20]; for variables and constraints, the algorithm takes time .
The LP formulation of the problem of finding a suitable convex combination , is given below.
The above LP either finds a convex combination satisfying the constraints, or returns if no such combination exists.
3 Main Result
In this section we describe and analyse our algorithmic routines for finding centerpoints.
Algorithm 1 Compute -centerpoint of given point set (FindCenter )
1: Point set , , .
2: , i.e., a set of -centerpoints of .
3: Initialize ,
4: for to do
5: Pick a set of points randomly from
6: Compute
7: Delete a random point from
8: Add to
9: end forreturn
Algorithm 2 Compute a Tverberg -partition of (TverbergPoint )
1: Point set , .
2: , a point in the intersection of the convex hulls of an -partition of .
3: Apply Sarkaria’s lift to each point to get the family
4: Construct random transversal
5: for to do
6: Choose uniformly randomly from
7: end for
8: Find convex combination such that , using the LP given by (1)- (4)
9: if LP returns FAIL, i.e., such that then
10: Return FAIL
11: end ifreturn
Let us begin with the analysis of Algorithm TverbergPoint, which is also the constructive proof of Lemma 3.
Proof of Lemma 3.
The construction is implicit in Soberón [25]. Here we make precise the lower bound on the required number of points , in terms of the number of parts , and the ambient dimension . We first apply the Sarkaria lift to , to get a family . Next, we construct a random transversal of by picking one point from each family . We need to check that the transversal contains the origin in its convex hull. Let be the set of equivalence classes of closed halfspaces in containing the origin, distinguished by their intersection with points in . The following condition is necessary and sufficient for the origin to lie in the convex hull of .
Proposition 8.
, if and only if for every closed halfspace , .
Let us fix a halfspace , and consider for some . Since the family contains the origin in its convex hull (as ), therefore there exists , such that . Since with probability , , therefore we get that with probability at least , . As this holds for each independently, we get that
From the bound on the number of distinct intersections of a point-set with halfspaces in (see Section 2), it follows that
for . Now taking the union bound over all , we get that
Substituting , we check that the above probability is at most . Thus, with probability at least , every halfspace containing the origin has a non-empty intersection with , and therefore .
Finally, a point lying in the intersection of the parts can be found by solving the linear programme described in Section 2.1.1. From well-known bounds on solving linear programmes [27, 14], this can be done via a weakly polynomial algorithm that takes , Another option is to use a subexponential time algorithm [20] that is independent of the size of the input numbers in bits. From the bound in Section 2.1.1, using variables and constraints, we get that the subexponential algorithm takes time . ∎
The next theorem gives the correctness and running time analysis of the FindCenter algorithm. The theorem, together with the proof of Lemma 3, will allow us to prove our main theorem, Theorem 1.
Theorem 9 (Analysis of FindCenter ).
There exists such that for any , with probability at least , after iterations of Algorithm FindCenter , , all points of are -centerpoints, where , and is independent of and .
Given the above theorem, the proof of Theorem 1 can be completed as below.
Proof of Theorem 1.
Let , and be as stated in the theorem. By Lemma 5, a random subset of , of size is a -relative approximation with probability at least . Now we apply Theorem 9, with failure probability , to get a total failure probability (failure during the -relative approximation construction, or during the call to Theorem 9) of . The running time of the algorithm is determined by the number of iterations of the For loop, which is at most , where , and the time taken for TverbergPoint to execute with , each time it is called. Using the fast weakly-polynomial algorithm for linear programmes, this takes time . Summarizing, we get that the running time complexity can be bounded as
In order to avoid issues with the bit-size complexity of the inputs, we can also use the algorithm of [20], which is subexponential in but independent of the sizes of the inputs, to compute the -Tverberg point during the calls to . Similar to the previous analysis, this has a running time of
where in (8), we used the expression for the number of iterations derived previously in (7), and in (10), we substituted and . By Lemma 6, is also an -centerpoint for . ∎
3.1 Analysis of FindCenter
Consider the equivalence classes generated by halfspaces in , under the equivalence condition given by intersection with . Let denote the set of equivalence classes of halfspaces, whose intersection with is at most . Fix . We shall show that with probability at least , after iterations, no point of remains in .
Lemma 10.
There exists such that, given any and , with probability at least , after at most iterations of the For loop in Algorithm FindCenter , .
Assuming Lemma 10, Theorem 9 follows easily. Applying the union bound over all halfspaces , the probability that there exists a halfspace , such that after iterations, , is at most . Therefore, with probability at least , . That is, any halfspace containing a point of must have more than points of . Thus, each point of will be an -centerpoint of .
To complete the proof of the theorem therefore, it only remains to prove Lemma 10.
Proof of Lemma 10.
In order for the steps of FindCenter to succeed, it is sufficient for the following events to occur:
- Event : Every call to TverbergPoint successfully computes an -Tverberg point.
- Event : After iterations of the For loop in FindCenter , we have .
Thus, the probability of failure can be bounded by , which is at most . That is to say, the algorithm FindCenter fails if there exists an iteration where TverbergPoint fails to compute an -Tverberg point of its input, or after iterations of the For loop in FindCenter , we still do not have , even though TverbergPoint has run correctly each time. We shall show that both these probabilities, i.e., and are at most . Thus, we shall have , as required.
We first bound . This can be done easily by taking the failure probability from Lemma 3, and applying a union bound over the number of iterations. In each iteration, we call TverbergPoint with points, for and taking . By Lemma 3, the probability of failure is at most , taking . Using that , the number of iterations is at most
The probability that some iteration failed, is therefore at most
where we take to accommodate the multiplicative terms outside the exponent, except for the factor , which appears directly in the exponent as . Now using the condition , we get that for an appropriately large (or sufficiently large ),
We now arrive at the estimation of the probability , i.e., the For loop fails, even though TverbergPoint succeeded each time. The action of the algorithm on the points of can be understood as follows. Initially, we have , so a random point of lies in with probability at most . In each iteration, we pick a point at random, and mark for deletion. Then we choose a set of random points with replacement from , compute an -Tverberg point of , and replace from with . Let denote the fraction of points of in in the beginning of the -th iteration. If and , then increases after the iteration, so the fraction goes up. Otherwise, if and , decreases. In all other cases, stays unchanged. Since has Tverberg depth , it can lie in only if at least of the chosen points are in . Thus, the probability of the fraction of points of in going up in the -th iteration, is upper bounded by the probability that . This suggests the following -Tverberg urn game could be used to analyse the evolution of the distribution of the number of points in .
-Tverberg Urn Game
The set up is as follows. We have an urn with red balls and black balls. In each iteration, we perform the following experiment.
- Choose a random ball from , mark it for deletion, and return it to .
- Select a set of balls at random, chosen with replacement from .
- If at least of the chosen balls are red, insert a red ball back into the urn
- Else, insert a black ball into .
- End if.
- Return the chosen balls to .
- Remove the marked ball from .
The connection between Algorithm FindCenter and the -Tverberg urn game is based on the observation that for any , the number of points in after iterations of Algorithm FindCenter is stochastically dominated by the number of red balls in the urn , after iterations of the urn game. More precisely, we have the following.
Proposition 11.
For any , the distribution of the number of points of after iterations is stochastically dominated by the distribution of the number of red balls in the urn after iterations of the above urn game.
Proof of Proposition 11.
The formal proof follows by induction on . To start with, we have , so the fraction of points of in , is equal to the fraction of red balls in . Assume this holds for iterations. Let denote the number of red balls in the urn after iterations of the game have been played. In Algorithm FindCenter , let denote the random sample chosen in iteration , and let denote the -Tverberg point of computed by the algorithm. Let denote the point chosen for deletion from , in the -th iteration. In the -st iteration, we have that increases in iteration , if , and . The event can happen only if at least points of were in . Thus the probability that is at most the probability that red balls were chosen from in iteration in the -Tverberg urn game.
∎
Observe that the probability that at least balls out of chosen ones are red, can be bounded as follows.
Claim 12 (Probability of having out of balls red).
Given a coin with probability of falling Heads, the probability that there are at least Heads out of independent coin tosses, is at most .
Proof.
The required event occurs if and only if there exists a set , , such that all the coin tosses with indices in , come Heads. By the union bound over all subsets of of size , this probability is at most times the probability that a fixed -sized subset comes out all Heads, which is . The claimed bound follows.
∎
Since the probability of a single ball being red is simply the fraction of red balls in the urn, i.e., , therefore by Claim 12, the probability . Thus, the -Tverberg urn game is an instantiation of the Generalized urn game with . Thus we get that the condition to apply Theorem 16, is satisfied if (here the last inequality holds since ). In other words, , or . Since is the fraction of red balls out of balls in the urn, we get that if the -Tverberg game starts with at most balls, then the probability that after iterations, there are no red balls left in the urn is at least . By Proposition 11, this is at least the probability that after iterations of Algorithm FindCenter . Thus the probability is at most , which completes the proof of Lemma 10. ∎
3.2 Addressing Bit-Complexity via Truncate-and-Proceed
In this section we discuss the Truncate-and-Proceed approach to bounding the bit-size complexity and give the proof of Theorem 2. The idea is that truncating an input after bits, introduces a maximum error of . Since LP algorithms typically operate with a given error parameter , we shall show that given any such , it is possible to truncate the output at each stage, after polynomially many bits in and , such that the error in the final output, is at most .
After each iteration , we truncate the output after bits.
For , with denoting the number of iterations of TverbergPoint , let denote the maximum error after iterations of TverbergPoint . Let , be the convex combination output at the -th iteration. We have , where for , is the exact solution, and is the error introduced by the LP algorithm. We shall choose the error parameter in the LP algorithm such that for each , , where . Similarly, for , let be the points used as input in the -th iteration of TverbergPoint . Starting with , we define the parameter to be such that .
The error introduced in the output of the -st iteration of TverbergPoint at most the error induced due to the previous errors, together with the error due to truncation of the output. This can be bounded as below.
where in the last step we used the triangle inequality. The first term is at most
where we assumed the original points had norm , so that the points after lifting, had norm at most . The second term is at most
Thus the total error in the output at the -st iteration, increases as
This gives that after iterations, the final error is at most
Thus, choosing , suffices to bound the cumulative error in the final output, by .
4 Computing a Colorful Choice for the Colorful Carathédory Problem
In this section, we shall see how our algorithmic ideas can be applied to the setting of the Colorful Carathéodory Theorem. The “colorful" version of Carathéodory’s theorem, can be stated as follows.
Theorem 13 (Colorful Carathéodory Theorem).
Let be a family of sets with for every and . If for all , then there exists a transversal , consisting of exactly one point from each set in , such that .
Several algorithms already exist for computing a Colorful Carathéodory transversal. Mulzer and Stein [22] gave one that runs in time when the family is large enough.
Theorem 14 (Mulzer–Stein [22], Theorem 4.4).
Let be sets such that each embraces the origin (i.e. ) and . Then, given a convex combination of the origin for each , one can compute a colorful Carathéodory transversal in time.
We show that in the same regime a randomized algorithm matches the family-size requirement of Theorem 14 in polynomial time. The random-choice argument is due to Soberón [26] (Lemma 2.2), who states it as an existence result for the colorful Carathéodory theorem via a union bound over the halfspaces through the origin. We phrase it as a Monte Carlo algorithm with an explicit failure probability and running time.
Lemma 15.
Let and . A random colorful transversal (one point drawn uniformly and independently from each ) is a Colorful Carathéodory choice with probability at least
Proof.
Construct by choosing one point uniformly and independently at random from each , and consider the probability that . Observe that exactly when there is a closed halfspace containing the origin such that ; since , every such contains at least one point of each (otherwise would lie strictly on the other side of , excluding the origin).
Let , so . With respect to membership it suffices to consider the equivalence classes of halfspaces induced by their intersection with , of which there are at most
Fix one such halfspace . Each of the independent draws lands outside with probability at most , so
Taking a union bound over all the equivalence classes of halfspaces (with respect to intersection with ),
where the last step uses , valid whenever and in particular throughout our regime. Taking the complement proves the claim. ∎
The algorithm reduces each class to at most points and then samples one point from each. The reduction is the constructive form of Carathéodory’s theorem: given the coefficients of a convex combination of the origin, Mulzer and Stein’s Lemma 2.1 [22] returns a -embracing affinely independent subset in time, using only Gaussian elimination and no linear program.
Algorithm 3 Randomized Colorful Carathéodory Choice (Monte Carlo)
1: with for all , a convex combination of the origin for each , and
2: A colorful transversal with (with high probability)
3: for to do
4: Reduce to with and (Lemma 2.1 [22])
5: Pick a point uniformly at random
6: end forreturn
We are now ready to prove Theorem 4.
Proof of Theorem 4.
After reduction, . Applying Lemma 15 with , it suffices that , i.e. ; this holds for since then , while . The running time is reductions of cost each, the random draw being negligible. ∎
Thus the algorithm matches the family size of Mulzer and Stein under the same class-size assumption, but runs in polynomial time rather than . If zero error is required, one may verify by a single linear-program feasibility test and repeat until success, giving a Las Vegas algorithm.
5 Generalized Urn Game
In this section we describe and analyse the generalized urn game that is the heart of the analysis of our algorithms.
Generalized Urn Game
The set up is as follows. Initially we have an urn with red balls and black balls, where . We then perform a number of iterations of the following experiment. Let denote the fraction of balls in having red color in the beginning of the -th iteration. We are given a function . The -th iteration proceeds as follows.
- Choose a random ball from the urn , mark it for deletion, and return it to .
- Toss a coin with probability of Heads at most .
- If it falls Heads, insert a red ball into .
- Else, insert a black ball into .
- End if.
- Remove the marked ball from .
The following theorem on the generalized urn game shall be crucial in the analysis of our algorithm.
Theorem 16.
Let be the maximum such that . Suppose . Then there exists such that, given any , with probability at least , the urn starting with red balls and black balls, has only black balls left after iterations of .
Proof of Theorem 16.
After each iteration of the generalized urn game , the number of red balls in the urn , can increase, decrease, or stay unchanged. Let us count only the steps where the number of balls in the urn changes, by the sequence of random variables , . If the ball being removed from has the same color as the ball being added, does not change and we do not increase . Otherwise we increase , and if a red ball is being removed from the urn, and a black ball is being added, we have , and if a black ball is being added and a red ball is being removed, we have . In one iteration, the probability that the number of red balls increases is , and that it decreases is . Thus, conditioned on the number of red balls not staying the same in an iteration, the behaviour of the ’s can be modelled by the following random walk.
Z_{i+1}=\left\{\begin{array}[]{ll}Z_{i}+1&\mbox{ with probability }q^{+}(i)/(q^{+}(i)+q^{-}(i))\\ Z_{i}-1&\mbox{ with probability }q^{-}(i)/(q^{+}(i)+q^{-}(i))\\ \end{array}\right.The random walk starts at , and ends either at , in which case it is said to have failed, or at zero, in which case it has succeeded. An easy observation from the assumption of the Theorem, gives us the following lemma.
Lemma 17.
If , then .
Proof of Lemma 17.
Substituting the condition in the definitions of and , we get
from which the claimed inequality follows. ∎
Therefore, we get that under the condition of Lemma 17,
Z_{i+1}=\left\{\begin{array}[]{ll}Z_{i}+1&\mbox{ with probability }\leq 1/3\\ Z_{i}-1&\mbox{ with probability }\geq 2/3.\end{array}\right.Next, we bound the number of times the random walk visits any particular value. The following standard probabilistic lemmas are adapted from the proof of Har-Peled and Jones.
Lemma 18.
Given and any integer , the probability that the random walk visits more than times, is at most .
Using the above lemma, we can bound the probability that the random walk ever fails.
Lemma 19.
Given , if , then the probability that ever visits , is at most .
By an argument similar to that of the well-known coupon collector’s problem, we can bound the number of times an iteration of does not change the number of red balls in the urn .
Lemma 20.
Given and any , there are at most iterations of , such that the number of red balls in , remains .
Finally, we can bound the total number of iterations of the urn game , and the probability that it succeeds.
Lemma 21.
Given , with probability at least , the generalized urn game beginning with red balls and black balls in the urn , has at most iterations, after which no red balls are left in .
∎
6 Applications
In this section we give some applications of our centerpoint algorithm.
6.1 Centerpoints for the Resilient Vector Consensus Problem
The consensus problem asks a set of distributed processes to agree on a single output value even when up to of them behave adversarially. When each process starts with a vector in for , the task is called the resilient vector consensus (RVC) problem. A solution to RVC is correct if every non-faulty process eventually decides on the same vector and that vector lies within the convex hull of the non-faulty processes’ initial vectors.
Background
Abbas, Shabbir, Li and Koutsoukos [1] introduced a centerpoint-based aggregation rule that strictly improves the resilience guarantees of several earlier RVC algorithms. We restate the relevant definition and theorem of Abbas, Shabbir, Li and Koutsoukos and show how our algorithm strengthens their
Proposition 22 ([1, Proposition 4.10]).
Given a set of points in general positions in , of which are adversarial, then it is possible to compute an -safe point using centerpoint if
Our attention centers on approximate distributed robust convergence (ADRC), a technique for achieving resilient vector consensus whose fault-tolerance is determined by the maximum number of adversarial neighbours each process may have. By relaxing this neighbourhood bound, our centerpoint routine raises ADRC’s resilience threshold further.
Network model.
The communication structure is a directed graph whose vertices are the processes. An edge means that process can read the current state (or vector) of process . The neighbourhood of is , of size ;
Definition 23 (Safe point).
Given a set with at most adversarial points, a point is called -safe if is guaranteed to lie in the interior of the convex hull of the non-adversarial points.
Theorem 24.
Let with . If , then every -centerpoint of is -safe, and every -safe point is an -centerpoint with .
Proof.
We prove the forward direction; the converse is immediate from the definitions.
Assume is an -centerpoint of . By definition, every closed halfspace containing also contains at least points of . Note that if any halfspace contains points contains more than points as . It means that if we have X adversarial points(vectors) and in every halfspace that contains c we have more than X points it means that each halfspace containing c contains at least one vector from a non-adversarial process which means that it lies in the convex hull of every non adversarial process’s vector. Thus is -safe. ∎
Theorem 25.
For process , suppose its neighbourhood in satisfies
Then any -centerpoint of is an -safe point (a vector) for a process .
Corollary 26.
Applying our centerpoint algorithm, which achieves , Theorem 25 guarantees safety provided . Thus the tolerable number of adversarial processes in each neighbourhood is .
The next couple of applications are improvements of bounds from Har-Peled and Jones [7], by applying our centerpoint algorithm.
6.2 Algorithm for lowerbounding a function with a gradient oracle
We now show how a centerpoint algorithm, paired with a gradient oracle, can produce a lower bound for a convex function .
Definition 27.
The subdifferential of a convex function at a point is the set of all vectors (called subgradients) such that:
The subdifferential at , is denoted by
Theorem 28.
Let be a convex function, which is not necessarily differentiable. Consider a set , . Assume the existence of , an oracle that for any point , returns a random element from the subdifferential , and , an algorithm capable of computing a centerpoint of quality , where is a given parameter. Then, using queries to the oracle, it is possible to compute a point such that .
Proof.
The proof follows an iterative reduction scheme similar to binary search. Initialize , the original point set. For each iteration
- Compute an -centerpoint of .
- Query the subgradient oracle to obtain . Now look at all the points that satisfy , . Notice that which is true from the subgradient definition. We can now see that all the points that satisfy satisfy .
- Let denote the open halfspace , which contains . Let denote the complement of If which holds if is a correct -centerpoint as , we will delete all of the points in this halfspace (we are discarding points for which ) and get Otherwise we will repeat the i-th iteration as the centerpoint the algorithm calculated was not correct.
The process terminates when . The algorithm then returns such that
Since is convex, it follows that . We can now show that the above algorithm will end. We know that the expected number of unsuccessful iterations before we succeed is constant. We also know that in each successful iteration we will be removing an fraction of points. This implies that the number of iterations satisfies so that . ∎
Corollary 29.
Assuming we use our algorithm we could substitute and would need queries to the oracle.
6.3 Algorithm for deciding whether a convex body is or
Assume we have access to an oracle for a given convex body . When queried with a point , the oracle behaves as follows:
- If , the oracle confirms that .
- If , the oracle returns a separating hyperplane . One of the halfspaces created by the hyperplane contains and the other contains the point .
Theorem 30.
Let be a set of points in , and let and be parameters and be the quality of a centerpoint algorithm. Choose a random sample of size
There is an iterative algorithm which, given oracle access to a convex body can determine whether it is -light or -heavy to ( or ) using and queries to the oracle.
Corollary 31.
Substituting from our centerpoint algorithm, we obtain the condition: and the number of queries to be .
We will prove the theorem later on. Now we will describe how the algorithm would work. Let
- Compute an -centerpoint of .
- Ask the oracle whether . • If , return that is heavy. • Otherwise the oracle supplies a separating hyperplane . Let be the open halfspace that contains .
- Remove that halfspace: .
- If the -centerpoint returned by our algorithm is a valid -centerpoint, than and we set ; otherwise we keep the old set, and try again assuming the error probability is constant. We stop when . To prove our theorem we will first have to prove a couple of lemmas.
Lemma 32.
The expected number of iterations will be .
Proof.
In each iteration where the algorithm returns a valid -centerpoint which happens with constant probability. We delete an -fraction of the set . It means that the expected number of iterations is , where , so . ∎
Statement on AI usage
AI was not used in obtaining the results of this article or writing them up. For the full version, ChatGPT was used in checking for typographical errors.
References
[1] W. Abbas, M. Shabbir, J. Li, and X. Koutsoukos, Resilient distributed vector consensus using centerpoint, Automatica, 136 (2022), p. 110046,
[2] P. K. Agarwal, M. Sharir, and E. Welzl, Algorithms for Center and Tverberg points, in Proceedings of the 20th ACM Symposium on Computational Geometry, Brooklyn, New York, USA, June 8-11, 2004, J. Snoeyink and J. Boissonnat, eds., ACM, 2004, pp. 61–67,
[3] I. Bárány, A generalization of carathéodory’s theorem, Discrete Mathematics, 40 (1982), pp. 141–152,
[4] T. M. Chan, An optimal randomized algorithm for maximum Tukey depth, in Proceedings of the Fifteenth Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2004, New Orleans, Louisiana, USA, January 11-14, 2004, J. I. Munro, ed., SIAM, 2004, pp. 430–436,
[5] Y. Cherapanamjeri, Computing approximate centerpoints in polynomial time, in 2024 IEEE 65th Annual Symposium on Foundations of Computer Science (FOCS), 2024, pp. 1654–1668,
[6] K. L. Clarkson, D. Eppstein, G. L. Miller, C. Sturtivant, and S. Teng, Approximating center points with iterative Radon points, Int. J. Comput. Geom. Appl., 6 (1996), pp. 357–377,
[7] S. Har-Peled and M. Jones, Journey to the center of the point set, ACM Trans. Algorithms, 17 (2021), pp. 9:1–9:21,
[8] S. Har-Peled and E. W. Robson, No-Dimensional Tverberg Partitions Revisited, in 19th Scandinavian Symposium and Workshops on Algorithm Theory, SWAT 2024, June 12-14, 2024, Helsinki, Finland, H. L. Bodlaender, ed., vol. 294 of LIPIcs, Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2024, pp. 26:1–26:14,
[9] S. Har-Peled and M. Sharir, Relative (p, )-approximations in geometry, Discret. Comput. Geom., 45 (2011), pp. 462–496,
[10] S. Har-Peled and T. Zhou, Improved Approximation Algorithms for Tverberg Partitions, in 29th Annual European Symposium on Algorithms, ESA 2021, September 6-8, 2021, Lisbon, Portugal (Virtual Conference), P. Mutzel, R. Pagh, and G. Herman, eds., vol. 204 of LIPIcs, Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2021, pp. 51:1–51:15,
[11] S. O. I. Bárány, Carathéodory’s theorem, colourful and applicable, Intuitive Geometry (Budapest 1995) Bolyai Soc. Math. Stud., 6 (1997), pp. 11–21.
[12] S. O. I. Bárány, Colourful linear programming and its relatives, Mathematics of Operations Research, 22 (1997), pp. 550–567.
[13] S. Jiang, Z. Song, O. Weinstein, and H. Zhang, A faster algorithm for solving general lps, in STOC ’21: 53rd Annual ACM SIGACT Symposium on Theory of Computing, Virtual Event, Italy, June 21-25, 2021, S. Khuller and V. V. Williams, eds., ACM, 2021, pp. 823–832,
[14] Y. T. Lee, Z. Song, and Q. Zhang, Solving empirical risk minimization in the current matrix multiplication time, in Conference on Learning Theory, COLT 2019, 25-28 June 2019, Phoenix, AZ, USA, A. Beygelzimer and D. Hsu, eds., vol. 99 of Proceedings of Machine Learning Research, PMLR, 2019, pp. 2140–2157,
[15] Y. Li, P. M. Long, and A. Srinivasan, Improved bounds on the sample complexity of learning, J. Comput. Syst. Sci., 62 (2001), pp. 516–527,
[16] J. A. D. Loera and T. A. Hogan, Stochastic Tverberg Theorems With Applications in Multiclass Logistic Regression, Separability, and Centerpoints of Data, SIAM J. Math. Data Sci., 2 (2020), pp. 1151–1166,
[17] J. A. D. Loera, T. A. Hogan, D. Oliveros, and D. Yang, Tverberg-Type Theorems with Altered Intersection Patterns (Nerves), Discret. Comput. Geom., 65 (2021), pp. 916–937,
[18] J. Matoušek, Geometric Discrepancy: An Illustrated Guide, Springer, 1999.
[19] J. Matoušek, Lectures in Discrete Geometry, Springer-Verlag, New York, NY, 2002.
[20] J. Matoušek, M. Sharir, and E. Welzl, A subexponential bound for linear programming, in Proceedings of the Eighth Annual Symposium on Computational Geometry, SCG ’92, New York, NY, USA, 1992, Association for Computing Machinery, p. 1–8,
[21] G. L. Miller and D. R. Sheehy, Approximate centerpoints with proofs, Comput. Geom., 43 (2010), pp. 647–654,
[22] W. Mulzer and Y. Stein, Computational Aspects of the Colorful Carathéodory Theorem, in 31st International Symposium on Computational Geometry (SoCG 2015), L. Arge and J. Pach, eds., vol. 34 of Leibniz International Proceedings in Informatics (LIPIcs), Dagstuhl, Germany, 2015, Schloss Dagstuhl – Leibniz-Zentrum für Informatik, pp. 44–58,
[23] W. Mulzer and D. Werner, Approximating Tverberg Points in Linear Time for Any Fixed Dimension, Discret. Comput. Geom., 50 (2013), pp. 520–535,
[24] Sarkaria, Karanbir S., Tverberg’s theorem via number fields, Israel Journal of Mathematics, 79 (1992), pp. 317–320.
[25] P. Soberón, Tverberg Partitions as Weak Epsilon-Nets, Comb., 39 (2019), pp. 447–458,
[26] P. SOBERÓN, Robust tverberg and colourful carathéodory results via random choice, Combinatorics, Probability and Computing, 27 (2018), p. 427–440,
[27] P. Vaidya, Speeding-up linear programming using fast matrix multiplication, in 30th Annual Symposium on Foundations of Computer Science, 1989, pp. 332–337,
Appendix
Here we give the proofs of the lemmas occurring in the proof of Theorem 16.
Proof of Lemma 18.
Let . Since the probability of the random walk advancing forward is , and of going backward is for any , we have that for a fixed ,
Therefore, summing over all , the probability that the random walk ever visits after the first steps after the first visit, can be bounded as
Now setting , we get that
which is the claim of the lemma. ∎
Proof of Lemma 19.
The proof follows from the proof of Lemma 18, by observing that the random walk starts at , and so it can arrive at only at time . Therefore from (13) in the proof of Lemma 18, if , then the probability that the random walk ever visits , given that it started at , is at most . ∎
Proof of Lemma 20.
Under the premise of Theorem 16, conditioned on the game not failing, we always have . Therefore we get that for all in the duration of the game,
since . This gives that in expectation, the number of steps of before the ratio changes, is . By Markov’s inequality, the probability that there are at most twice this number of iterations of before changes, is at most . Now we can have random variables , which indicate the number of iterations the game spends each time it visits . By Lemma 18, , with probability at least . Using a standard Chernoff bound for the sum of independent geometric random variables (see e.g., [7] (Corollary 3.5)), we get that with probability at least , the sum is at most times its expected value, i.e., , with probability at least . Taking the union bound over the failure probabilities from the application of Lemma 18 and the Chernoff bound, we get the claimed bound in the lemma. ∎
Proof of Lemma 21.
The proof follows from the proof of Lemma 20, by summing the time bound from the lemma over all , and taking the failure probability to be at most , taking the failure probability in Lemma 19 to be also , and , taking union bound over the probability of the bad events that the random walk ever fails, and that it takes time more than , given that it does not fail. ∎