Manuscript Offprint
arXiv:2611.06364Estimating the Volume of a Union of Convex Bodies
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
The Union Volume Estimation problem, i.e. yielding an -approximation of the volume of the union of convex bodies, is a classical problem in computational geometry and formal methods. In this paper, we first detect where and why the efficient union volume estimators with approximate sampling and PAC volume estimation oracles fail. Specifically, we show that having only TV-distance guarantees on the approximate sampler does not suffice, and demonstrate this bottleneck by constructing the sunflower families of convex bodies. In this context, we propose the concept of tail-controlled samplers that can yield with high-probability almost- closeness.
Secondly, we leverage this concept to propose a generic algorithmic framework Alpona that properly combines a PAC volume computation and approximate point sampling oracles with tail-controls to yield an -estimate of the union volume for any collection of convex bodies. We show that Alpona needs only linear (in number of convex bodies) oracle calls to be -correct.
Finally, we provide a tail-controlled analysis of the Hit-and-Run sampler [Lovász and Vempala, 2006]. We further provide a novel geometric analysis to improve the required walk length of Hit-and-Run. We further instantiate Alpona's correctness for the sparse frequency streams of convex bodies: a special case of the union volume estimation problem where no convex body intersects more than many other bodies.
Contents
1 Introduction 1 1.1 Overview of the Contributions 2 2 From Worst-Case Sampling Guarantees to Practical Performance 5 2.1 A Fundamental Limitation of Approximate Sampling 5 2.2 Beyond Worst-Case Sampling Guarantees 8 2.3 The Gap between Worst-case Guarantees and ttc in Practice 8 2.4 Towards Geometry-aware, Multiplicative Sampling Guarantees 10 3 Tail-Controlled Approximate Sampling 10 3.1 Almost- closeness 11 3.2 Obtaining Tail-Controlled Guarantees for Hit-and-Run 12
*Indian Statistical Institute, Kolkata, India. Email: eeshanbanerjee02@gmail.com †Indian Statistical Institute, Kolkata, India. Email: hayatea90@gmail.com ‡Univ. Lille, Inria, CNRS, Centrale Lille, UMR 9189 – CRISTAL, France. Email: debabrota.basu@inria.fr §Indian Statistical Institute, Kolkata, India. Email: chakraborty.sourav@gmail.com ¶Indian Statistical Institute, Kolkata, India. Email: debarshi.chanda.1997@gmail.com ||Indian Statistical Institute, Kolkata, India. Email: uddaloksarkar@gmail.com
4 Algorithmic Framework: Alpona 13 4.1 Overview and intuition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 4.2 Volume and Sampling Oracles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 4.3 The Main Algorithm: Alpona . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 4.4 Relation to the Existing Union Volume Estimation Algorithms . . . . . . . . . . . . 16 5 Correctness Proof of Alpona 17 5.1 Overview of the Proof . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 5.2 Alpona-modified: A Technical Modification for Analysis . . . . . . . . . . . . . . . 18 5.2.1 Step I. The Decomposition of Failure of Alpona-modified . . . . . . . . . . 19 5.2.2 Step II. Bounding Failvol : Error due to Volume Computation . . . . . . . . . 21 5.2.3 Step III. Bounding Failprob : Error due to Low Intensity of Points . . . . . . 21 5.2.4 Step IV. Bounding Failgood: Deviations of the ‘Good’ Samples’ Count . . . . 23 5.2.5 Step V. Bounding Failbad: Contribution of the ‘Bad’ Samples . . . . . . . . . 25 6 Time and Space Complexities of Alpona 27 6.1 Generic Complexity of Alpona . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 6.2 Complexity of a Practical Instantiation of Alpona . . . . . . . . . . . . . . . . . . . . 28 6.2.1 Complexity of the PAC Volume Estimation Oracle: Gaussian Cooling . . . . 28 6.2.2 Complexity of the Approximate Point Sampling Oracle: Hit-and-Run . . . . 29 6.2.3 Final Time and Space Complexity for Union Volume Estimation . . . . . . . 30 6.3 Discussion on The Improved Walk Length of Hit-and-Run (Theorem 21) . . . . . . . 32 7 A Special Case: Bounded Frequency Streams 34 8 Discussions and Future Work 35 8.1 Future Work . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 A Additional Related Work on Point Sampling 40 B Useful Technical Results 40 B.1 Property of Almost-ℓ∞ Closeness . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 C Exceptional Sampling Guarantees for Hit and Run 43 C.1 General sampling and contraction bounds . . . . . . . . . . . . . . . . . . . . . . . . 44 C.2 Regularising the point-start density . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 C.3 Contraction for Hit and Run . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 C.4 The one-step truncation bound . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
for some and . In this direction, a celebrated line of work beginning with Dyer, Frieze, and Kannan [1991] established polynomial-time randomized approximation algorithms for convex bodies. A unifying theme across this extensive line of work is the central role of random walks and Markov Chain Monte Carlo (MCMC) methods. Specifically, rapidly mixing random walks have emerged as the predominant algorithmic paradigm for both volume approximation and approximately uniform sampling from high-dimensional convex bodies. These developments have led to powerful techniques based on geometric random walks, approximate sampling, and rapidly mixing Markov chains. Most notably, the recent work of Cousins and Vempala [2018] solves -approximate volume computation of -fat convex body in by expanding upon the idea of generating sequences of interpolating convex bodies via resorting to Gaussian distributions: a technique referred to as Gaussian cooling.
In this paper, we take a step further, and study how to efficiently estimate the volume of a union of convex bodies with provable guarantees.
Problem 1 (()-Union Volume Estimation). Given convex bodies yield an estimate of the volume of their union
within a multiplicative factor of , with probability at least .
Estimating the volume of a union of convex bodies presents additional difficulties. While each individual body is convex, their union need not be, and substantial overlaps can make the sum of the individual volumes a poor estimate of the volume of their union.
For discrete convex bodies, the Union Volume Estimation problem manifests to the enumeration of union size. Randomized approximation algorithms for union size, beginning with the classical work of Karp and Luby [1983], provide a natural framework for addressing this problem. Subsequent works [Karp et al., 1989, Meel et al., 2017, Soos et al., 2024, Bringmann et al., 2024] have extended this framework to realistic implementations with approximate size enumeration and sampling oracles. Thus, our central challenge is not proving only the existence of an efficient approximation algorithm, rather understanding which oracle guarantees suffice to provably solve the Union Volume Estimation problem, and how these guarantees can be realized efficiently for general convex bodies.
An -fat convex body contains an sphere of radius at most and is circumscribed by a sphere of radius at least .
Motivations. Beyond its theoretical significance, the Union Volume Estimation problem naturally arises in automated reasoning and probabilistic verification [Meel et al., 2022]. If the convex bodies are axis-parallel hypercubes, the Union Volume Estimation reduces to the Klee’s measure problem, which was first proposed by Klee [1977] in one dimension. Its multidimensional version is specifically useful for DNF (Disjunctive Normal Forms) counting and has been addressed by Meel et al. [2021], when one has access to ‘exact’ sampling and size enumeration oracles for each hypercube (known as a Delphic set). But the algorithms used in practice are deployed with approximate samplers [Soos et al., 2024].
In a similar spirit, the satisfying assignments of a formula in Satisfiability Modulo Theories over Linear Real Arithmetic (SMT-LRA) can be represented as a union of convex polytopes. Estimating the volume of this union provides quantitative information about the space of satisfying assignments, with applications to reasoning about continuous systems. The recent work by Shaw et al. [2025] introduced an algorithm for estimating the volume of regions represented by SMT-LRA formulas. The algorithm builds on randomized union-size estimation and demonstrates impressive empirical performance, significantly improving upon earlier approaches on the benchmarks considered. Their implementation uses, in the background, the volume and sampling oracles with sound theoretical guarantees assumed in their analysis. However none of these guarantees are retained in practice. In practice, the volume estimators (such as, discretize-and-count, Gaussian cooling [Cousins and Vempala, 2018]) and geometric random walks (in particular, Hit-and-Run [Lovász and Vempala, 2006])- run only up to a fixed walk length, since the walk lengths required by the theoretical guarantees are prohibitively long. Although these are natural and computationally effective choices, they do not satisfy the assumptions used in the analysis. This exposes a theory-to-practice gap in the Union Volume Estimation problem, which is not unique to the work of [Shaw et al., 2025] but rather exhibited by any Union Volume Estimation algorithm using approximate samplers.
We aim to understand and algorithmically close this gap for general convex bodies that include all the aforementioned problems as special cases. To this end, we ask the following three questions.
-
Does an Union Volume Estimation algorithm with an approximate sampler and a PAC volume computation oracle fail to be -approximate for certain sets of convex bodies?
-
Can we design a generic and efficient algorithmic framework that can incorporate the errors of the volume computation and approximate sampling oracles to provably yield an -union volume estimate?
-
Can this algorithmic framework be computationally efficient, i.e. what are the time and sample complexities of this algorithmic framework when instantiated with well-known and computationally-efficient approximate volume computation algorithms, like Gaussian cooling, and approximate samplers, like Hit-and-Run?
1.1 Overview of the Contributions
By addressing the aforementioned questions, our work establishes a generic framework and the necessary properties of sampling and volume computation oracles to ensure the reliability of Union Volume Estimation algorithms when the idealized volume and uniform sampling oracles are replaced by computationally efficient approximations. The contributions are fivefold.
(C1) Characterizing the limitations due to efficient but approximate samplers
We investigate the efficiency-correctness dilemma encountered by the Union Volume Estimation algorithms. First, we show that the approximate sampling guarantees for each convex body in terms of TV-distance does not suffice to control the total error accumulated over the union of convex bodies (Theorem 3). TV-distance based guarantees control the overall discrepancy between two distributions, but do not ensure that their probability densities are multiplicatively close at every point. In Union Volume Estimation, the locations of sampled points matter crucially: samples lying in overlapping regions between multiple bodies are treated differently from those lying in regions belonging to only one body. Consequently, distributional errors may interact with the geometry of the input in ways that are not captured by the TV distance. Motivated by this geometric insight, we construct the sunflower family (Lemma 4), where every convex body is of same size with a common overlapping region and individual petals, and show that any Union Volume Estimation algorithm with TV-distance close sampler would fail to be correct in this sunflower family.
(C2) A Tail-sensitive Distance for Approximate Samplers
Instead of TV-distance close approximate samplers, if we focus on only using -close approximate samplers, we can design correct Union Volume Estimation algorithm but that becomes too restrictive as most of the efficient samplers are not provably -close (e.g. Hit-and-Run, Ball walk [Kannan et al., 1997], Billiard walk [Polyak and Gryazina, 2014]). We propose a new -closeness measure to measure divergence between two distributions.
Definition 1 (( )-closeness). Given a probability space , and a distribution which is absolutely continuous with respect to the base measure , let denote its relative density. We call to be -close to , if we have
for some .
-closeness implies the distribution is exactly uniform, except possibly on a measure zero subset. The -tailed samplers are the approximate samplers that generate samples exhibiting empirical distributions differing from uniform distribution by , i.e. the support mass with distance more than . Informally, the -tailed sampler produces samples whose density is multiplicatively close to the uniform density on a majority fraction of the set. Outside of this region (hereby referred as the exceptional region), we have no information as to how the density behaves.
We prove that Hit-and-Run, which is known to be an efficient approximate sampler, yields -close samples to uniform for any -fat convex body in polynomial number of steps.
Lemma 1 (( )-closeness of Hit-and-Run Samples, Informal version of Theorem 6). For any , if Hit-and-Run is run on a -fat convex body starting from any boundary point, we have if
Here, denotes the uniform distribution over . Moreover, , i.e., a point sampled from has density close to that of with probability at least .
(C3) Designing a correct and efficient framework for Union Volume Estimation
Now, we propose a provably correct algorithmic framework, Alpona, for Union Volume Estimation that access two oracles: (i) a PAC (Probably Approximately Correct) volume estimator for each convex body, and (ii) an -tailed sampler. Under appropriate choices of the oracle parameters, Alpona returns a multiplicative approximation to the union volume with high probability.
Theorem 2 (Informal version of Theorem 7). Let be convex bodies satisfying the geometric assumptions required by the PAC volume estimation and approximate sampling oracles. For every , there is a randomized algorithm Alpona that, using PAC volume estimators and -tailed samplers, outputs an estimate satisfying
where . Alpona requires calls to the PAC volume estimation oracle and calls to -tailed samplers.
The algorithm is a adaptive sampling based algorithm that aims to retain a Poisson number of representative points from each body proportional to its estimated volume. The main technical challenge is to analyse the interaction between three sources of uncertainty: errors in volume estimation, non-uniformity in the sampling distributions, and adaptive changes in the sampling intensity. Our analysis separates the regions where the sampling density is approximately uniform from the exceptional regions where this guarantee may fail. The former contribute a controlled approximation to the union volume, while the contribution from the latter is bounded using their small measure and sampling probability. Together with concentration arguments for the sampling procedure, this establishes the correctness guarantee.
(C4) Connecting geometric sampling guarantees to implementable algorithms
Finally, we propose a practically efficient instantiation of Alpona with Hit-and-Run as -tailed approximate sampler and Gaussian cooling as the PAC volume estimator. We show that space and time complexity of this algorithm are
The resulting complexity analysis separates the number of oracle calls made by the main algorithm from the cost of implementing each oracle. This distinction is important: the number of bodies affects both the number of operations and the accuracy parameters required by the subroutines, while the geometry of each body influences the complexity of the individual approximate volume computation and sampling queries. Thus, the analysis provides a quantitative connection between the desired approximation guarantee, the number of convex bodies, their geometric parameters, and the computational resources required by the implementation.
In this process, we derive in Theorem 21 an improved walk length that Hit-and-Run needs to take to generate an -close sample is from [Lovász and Vempala, 2006]. The proof passes through two geometric claims:
- For any , Hit-and-Run taking at least
suffices to guarantee that and , where is the spectral gap for Hit-and-Run.
- We show contraction of Hit-and-Run's sampling operator for functions with mean 0:
for .
(C5) Bounded Frequency Streams
Till now, we have worked with a pre-fixed number of convex bodies . But we can adapt Alpona further to streams of convex bodies with bounded frequency. Here, a bounded frequency stream of convex bodies means that each point of the union of these bodies has a bounded frequency . In this case, we show (Theorem 23) that time and space complexities of Alpona will be dependent on the frequency instead of .
Organisation. Rest of the paper is organised as follows: in Section 2, we demonstrate and highlight the weakness in sampling from distributions with only TV-control. In Section 3, we propose the notion of tail-controlled distributions and discuss its properties. The paper's algorithmic contribution is described in Section 4, which also includes a short discussion on the related works. Correctness of the algorithm and its complexity requirements are discussed in Section 5 and in Section 6 respectively. We cover the special case of sparse streams in Section 7. We finally conclude in Section 8.
2 From Worst-Case Sampling Guarantees to Practical Performance
Estimating the volume of a union of convex bodies from approximate samples presents a subtle difficulty: a small sampling error for each body need not translate into a small error for the union. We first demonstrate this limitation through a sunflower construction. We then examine its relevance to the practical algorithm of Shaw et al. [2025]. Although adversarial sampling errors can cause substantial failures, the practical performance of their algorithm is often considerably better than this pessimistic scenario suggests. Understanding this discrepancy motivates our study of more informative sampling guarantees.
2.1 A Fundamental Limitation of Approximate Sampling
Suppose an estimator has sampling-oracle access to convex bodies . Denote by the uniform distribution on . For each , the oracle returns independent samples from a distribution satisfying . We ask whether this assumption alone suffices for reliable estimation of the union volume. The following theorem gives a negative answer in the sampling-only oracle model. Here, denotes the distance between probability distributions, which is twice their TV distance.
Theorem 3 (Limitations of approximate sampling). Fix , and let be any randomized algorithm whose access to the input convex bodies is restricted to the following oracles:
- A sampling oracle for each body that returns independent samples from a distribution satisfying
- A volume oracle for each body that returns a -approximation to .
Then there exists an instance consisting of convex bodies, together with oracles satisfying the above guarantees, on which fails to return a -approximation to the volume of their union with probability at least .
Proof. Let . By Lemma 4 (proved later), there exist convex bodies forming a sunflower family with common core and pairwise disjoint petals , such that
Write .
For each , define the sampling distribution . Thus, the sampler returns uniformly random points from the common core and never samples from the petals. Then:
Hence, every sampling oracle satisfies the required -accuracy guarantee, despite completely ignoring its petal.
Next, let the volume oracle for every body return the value . This is a valid -factor approximation of the corresponding volumes since
Now consider a second instance consisting of identical copies of the core , each equipped with an exact uniform sampling oracle and an exact volume oracle returning .
The two instances are indistinguishable to : in both cases, every sampling oracle returns independent uniform samples from , and every volume oracle returns . Consequently, the complete oracle transcripts, and hence, the output distributions of are identical on the two instances, regardless of the number of adaptive oracle queries.
However, the union volumes of the two instances differ. For the second instance, the union volume is , whereas for the sunflower instance,
Choose an integer satisfying
Then,
so the intervals of valid -approximations to and are disjoint.
Since has identical output distributions on the two instances, the sum of its success probabilities on these instances is at most one. Therefore, must fail with probability at least 1/2 on at least one of them.
Finally, for every fixed , the above choice of satisfies , completing the proof.
Now, we construct a specific family of convex bodies, namely sunflower families, where the union volume estimator fails to yield an -estimate.
Lemma 4 (Existence of convex sunflower families). For every integer and every , there exist full-dimensional convex polytopes and a convex body of positive volume such that, writing , we have
and the petals are pairwise disjoint.
Proof. Let , and let be a regular -dimensional simplex with vertices . For each , let be the facet opposite to , and let denote the centroid of .
By symmetry, the segment joining to is perpendicular to , and its length is independent of . Let us define
and
We claim that is obtained by attaching the pyramid
to K along the facet .
To see this, consider the barycentric coordinates of with respect to . Since
we have
Thus, the barycentric coordinate corresponding to is negative, whereas all the remaining coordinates are positive. Consequently, lies strictly beyond but satisfies all the other facet-defining inequalities of .
It follows that
Moreover, every point of violates the facet inequality corresponding to , while satisfying all the other facet inequalities. Hence
It remains to verify the volumes. Let denote the common -dimensional volume of the facets of . Since has altitude over each facet,
The pyramid has base and altitude , giving
Taking , we obtain
for every . Since the petals are pairwise disjoint, the desired sunflower family follows.
2.2 Beyond Worst-Case Sampling Guarantees
While the preceding theorem establishes that any algorithm can fail on a worst-case instance involving only convex bodies, practical algorithms often perform considerably well. This discrepancy raises a natural question: is this limitation inherent to approximate sampling, or does it arise from the overly pessimistic assumptions underlying the worst-case analysis? To understand this discrepancy, we take a closer look at the behavior of practical sampling procedures.
The lower bound via sunflower construction relies on highly adversarial samplers that sample uniformly from a common core while completely ignoring the remaining regions of the bodies. However, practical geometric samplers, such as those based on Hit-and-Run random walks, need not exhibit such extreme behavior. Instead, we expect their sampling distributions to be much closer to uniform over most of the body, with significant deviations potentially concentrated in regions that are harder to explore. In particular, rather than assuming only an -distance guarantee, it may be more appropriate to seek a multiplicative guarantee over a large portion of the body.
More precisely, for a convex body with uniform density , we seek a measurable good region satisfying
such that the sampling distribution satisfies
Here, measures the multiplicative distortion of the sampling density over the good region, while measures the relative volume of the exceptional region. This provides a more refined description of sampling quality than a global -distance bound.
A second important consideration is the geometry of the underlying convex bodies. The accuracy of a practical sampler is influenced by how easily it can explore different regions of the body, which in turn depends on its geometric conditioning. In particular, the ratio , where and are the radii of suitable enclosing and enclosed balls, can affect the convergence of random-walk-based samplers. Poorly conditioned bodies, with large , may contain long or thin regions that are more difficult to explore accurately.
These observations suggest two complementary ways to understand and potentially overcome the pessimism of the worst-case bound. One possibility is to require more accurate samplers as the number of bodies grows. Indeed, the sunflower construction suggests that an -accuracy of order is a natural conservative target for controlling the accumulation of sampling errors. However, achieving such accuracy may significantly increase the computational cost.
An alternative is to exploit the more favorable behavior of practical samplers by incorporating multiplicative approximation guarantees over large good regions, together with geometric information about the bodies. Such guarantees may provide a more realistic characterization of sampling quality without requiring uniformly stringent -accuracy.
2.3 The Gap between Worst-case Guarantees and ttc in Practice
The algorithm of Shaw et al. [2025], namely ttc, provides a useful case study. It estimates volumes of regions represented by SMT-LRA formulas, building on the Delphic-set framework for union-size estimation [Meel et al., 2021]. At a high level, ttc combines approximate individual-volume estimates with samples from the constituent convex bodies. Its adaptive, Poisson-based representative-sampling procedure maintains a bounded bucket of sampled points and adjusts the sampling rate as the bodies are processed. The theoretical analysis requires sufficiently accurate sampling oracles; its

(a) Boxes,

(b) Boxes,

(c) Boxes,

(d) Sunflower,

(e) Sunflower,

(f) Sunflower,
Figure 1: Illustrations of Boxes and Sunflower Family Benchmarks.
practical implementation uses geometric random walks, notably Hit-and-Run, with much shorter walks than conservative worst-case mixing analyses may prescribe.
Despite this compromise, ttc exhibits strong empirical performance on previously considered benchmarks. This raises the following genuine question: what are the properties of a benchmark that influence the corresponding empirical performances? We investigate this question by proposing two families of geometric benchmarks, designed to stress the samplers in the backend, but in different ways:
-
Boxes benchmark. Each instance is a union of axis-aligned boxes. By varying their widths, we control the geometric aspect ratio , where and denote circumscribed and inscribed radii. Thin bodies can make accurate sampling more challenging.
-
Sunflower benchmark. Each instance consists of convex bodies arranged around a common core. Increasing creates more distinct petal regions, making it possible for sampling biases to accumulate across bodies.
We constructed 26 boxes instances and 20 sunflower instances. Figure 1 illustrates representative examples.
Observed estimation errors. For each benchmark, we run ttc with Hit-and-Run walk length fixed at , following the implementation of Shaw et al. [2025]. We measure relative error , where is the true union volume. As shown in Figure 2, error tends to increase with the aspect ratio in the boxes benchmark and with the number of petals in the sunflower benchmark. On some instances, the observed error exceeds the target 0.2. Thus, a walk length fixed independently of the input geometry cannot be assumed sufficient for every instance.
Crucially, however, these failures do not mean that the extreme sunflower samplers accurately model the usual behavior of Hit-and-Run. The lower bound allows a sampler to ignore every

(a) Boxes benchmarks

(b) Sunflower benchmarks
Figure 2: Observed relative error of the volume estimate returned by ttc on each benchmark, with the Hit-and-Run walk length fixed to 1000n, where n is the dimension of the instance. The shaded region marks the target relative error of at most 0.2. The boxes benchmarks are arranged in increasing order of with median reported for benchmarks with same , and the sunflower benchmarks in increasing order of number of bodies M.
petal completely, whereas practical random walks may explore such regions imperfectly but still with appreciable probability. The experiments therefore support a more nuanced conclusion: the theoretical vulnerability is real, yet the worst-case model can be far more pessimistic than the behavior of the sampler actually used by ttc.
2.4 Towards Geometry-aware, Multiplicative Sampling Guarantees
The lesson is not that approximate sampling is inherently unsuitable for union-volume estimation, nor that the empirical success of ttc supplies a correctness guarantee. Rather, closeness alone fails to distinguish between benign sampling errors and errors concentrated in precisely those regions that matter most to the union. A useful theory should capture additional properties of practical samplers and translate them into guarantees for the final volume estimate.
This leads to the question driving our work:
Can we exploit multiplicative near-uniformity on a large good region, together with quantitative control of the exceptional region, to obtain provable union-volume estimates?
We seek guarantees that explicitly account for the number of bodies and their geometric conditioning, rather than treating all samplers within a given ball as equally representative of practice. The experiments above test precisely these two sources of difficulty: accumulation as m grows and deterioration of sampling quality as R/r grows.
3 Tail-Controlled Approximate Sampling
The preceding section shows that small sampling error for each convex body need not translate into a reliable estimate of their union volume: errors concentrated in geometrically significant regions may accumulate across bodies. Requiring multiplicative closeness to uniformity everywhere would rule out this behavior, but is stronger than what the analysis needs. We instead allow the sampling density to deviate arbitrarily on a small exceptional region (which are essentially tails of this distribution, hence the term Tail-Controlled), while controlling its multiplicative distortion elsewhere. We first formalize this guarantee, compare it with standard and notions, and then discuss its realization through Hit-and-Run.
3.1 Almost- closeness
Let be a probability space and let be another probability distribution on , absolutely continuous with respect to . Write
for the relative density of with respect to .
For , define the exceptional region
Outside this region, the sampling distribution satisfies
Thus, is multiplicatively close to 1 outside .
Definition 2 (( , )-almost- closeness). For , we say that is -almost- -close to if
When it is clear from context, we shall defer to simply as a distribution which is -close to .
The two parameters capture distinct aspects of sampling accuracy. The parameter bounds the multiplicative distortion of the density outside the exceptional region, while controls the size of this exceptional region.
In particular, if , then for every measurable ,
No pointwise density guarantee is imposed on the exceptional region, but its probability mass is controlled, under both the target distribution and the sampling distribution.
Relevance to union-volume estimation. Consider convex bodies . Let denote the uniform distribution on , and suppose the sampling distribution is -almost- -close to .
Write . Since is uniform on ,
Consequently,
where
Thus, the natural parameter regime for an -relative approximation is and , with sufficiently small absolute constants. The latter makes the exceptional regions occupy at most an fraction of the union, while the former bounds the multiplicative distortion on their complements. For constant , these become and .
These observations motivate the sampling guarantees used by our algorithm. The formal correctness analysis, including the effect of approximate individual-volume estimates, is given in Section 5.
3.2 Obtaining Tail-Controlled Guarantees for Hit-and-Run
We now turn to the question of whether the almost- guarantees required by our framework can be realized efficiently using geometric random walks. We focus on the classical Hit-and-Run algorithm [Lovász and Vempala, 2006], a widely used Markov chain Monte Carlo method for approximately uniform sampling from convex bodies.
Let be a convex body, and let denote the uniform distribution on . Starting from a point , Hit-and-Run generates a Markov chain as follows. At each step, it chooses a direction uniformly at random from the unit sphere and selects uniformly from the chord
Let denote the distribution of . The uniform distribution is stationary for this chain, and classical mixing-time results establish rapid convergence to under suitable geometric and initialization assumptions.
Our interest, however, is in obtaining the particular sampling guarantee required for union-volume estimation. In view of the discussion in Section B.1, the central question is the following:
Question 1. For and , how many Hit-and-Run steps suffice to ensure that is -almost--close to ?
Suppose that contains a Euclidean ball of radius and is contained in a Euclidean ball of radius . Assume further that the initial point is at distance at least from the boundary of .
Corollary 5 (Tail-controlled Hit-and-Run). Under the preceding assumptions, Hit-and-Run produces an -almost--close distribution to after
steps.
This is a consequence of the mixing property of Hit-and-Run [Lovász and Vempala, 2006].
Although this establishes that the desired sampling guarantee can be achieved in polynomial time, the argument proceeds through the substantially stronger requirement of closeness. As discussed in the preceding subsection, such accuracy is sufficient but not necessary for almost- closeness. This raises the natural question of whether the desired guarantee can be obtained with a smaller number of random-walk steps.
We somewhat address this question through a refined analysis of Hit-and-Run, obtaining the following improved bound.
Theorem 6 (Improved tail-controlled Hit-and-Run, informal). Under the geometric and initialization assumptions of our analysis, Hit-and-Run produces an -almost--close distribution to after
steps.
In particular, for the parameter regime relevant to union-volume estimation, namely and , this yields
Thus, our analysis improves the dependence on the sampling-accuracy parameters relative to the preceding TV-based bound, while retaining the almost- guarantee required by Alpona. The formal statement, proof, and resulting complexity bounds are presented in Section 6.
In fact, we believe even this dependency is not optimal. Heuristically, the factor of should not have a dependency of in front of it. We conjecture that it is possible to get a bound of order
which, with and yields
We elaborate on this conjecture later in Section 8.
4 Algorithmic Framework: Alpona
Using the notion of tail-controlled sampling, we develop the algorithm Alpona that estimates the volume of union of convex bodies. The analysis of the algorithm is done in the next section.
4.1 Overview and intuition
We are given a collection of convex bodies in and wish to estimate the volume of their union, i.e. solve Problem 1. We assume that all the bodies, 's, are subsets of , where is a compact measurable subset of with volume .
The guiding idea is to maintain a multiset of representative points at a common sampling intensity . Here, intensity quantifies the contribution made to the random quantity by each representative point. Ideally, a measurable region of volume would contribute a Poisson number of representatives with mean . If this property holds for the union, then acts a natural estimator of the union-volume.
The first challenge is accounting for the overlaps. While processing a body from a given arbitrary ordering of the convex bodies, we remove from every point lying in before adding new samples from that body. In this way, the representatives retained at the end correspond to disjoint portions of the union, determined by the last body in the chosen ordering that contains each point. To obtain intensity per unit volume in , one would ideally draw , and then choose independent points uniformly from .
The second challenge is to keep the total number of retained samples bounded. Whenever the proposed insertion of new samples exceeds a threshold, we independently retain each existing point with probability and replace by . Accordingly, we reduce the proposed sample size from to . This ensures the thinning property of Poisson random variables: at a fixed intensity, independently thinning a Poisson sample via produces a Poisson sample at half the intensity.
There is, however, a more fundamental challenge: the ideal sampling process cannot be implemented exactly with the available efficient algorithms. Neither can we sample points uniformly, nor do we have the ability to do an exact computation of the volume. For each convex body , we have only a PAC estimate of , and each generated point follows a distribution that is -close to the uniform distribution .
These two approximations affect different aspects of the final sample set over the union. To see this, let us denote to be the Radon-Nikodym derivative. For a measurable set , the expected number of newly generated points in , at a fixed intensity and conditional on , is
Thus, the volume-estimation error changes the overall scale of the sampling intensity, whereas the sampling error changes its spatial distribution. Even if the total number of generated points is close to the ideal count, they may be distributed unevenly among overlapping and non-overlapping portions of the bodies. This matters because the algorithm removes points according to their locations, not merely their number.
Let us look back to the particular case of Sunflower families. Note that the key reason for ineffectiveness of TV-close samplers was this sampling bias. It might happen, that the provided samplers are heavily biased towards the overlapping portions, rather than the portions which are unique to the convex bodies. Thus, points from overlapping portions are sampled; only to be thrown out later, leaving no trace of the convex body from which it was sampled. And hence it causes a major collapse in the point sampling based framework for volume estimation.
The almost- guarantee gives a useful way to separate these effects. Outside the exceptional set defined in Definition 2, the density ratio lies between and . Hence, on this good portion of a body, the local sampling intensity differs from the ideal intensity by controlled multiplicative factors, provided the volume estimate is accurate. Since the exceptional portion cannot be treated pointwise in the same way; its contribution must be bounded via the bounds on the exceptional region, which we obtain from the definition of almost- close sampling. We explain these guarantees with the oracles below and quantify their effect in the correctness proof.
Finally, the sampling intensity is reduced adaptively, depending on the points already retained and the proposed Poisson counts. Although Poisson thinning explains the operation at a fixed rate, the analysis must also justify concentration for the resulting adaptive procedure.
The algorithmic framework Alpona is described next in details, while its correctness and oracle efficiency are established later in Section 5.
4.2 Volume and Sampling Oracles
The algorithm Alpona uses a couple of oracles deployed as subroutines, and the guarantees and implementation of them are crucial both for the analysis of correctness and the overall complexity analysis of Alpona. Let us first describe the guarantees given by the subroutines. We will analysis the implementation and analysis of these subroutines later.
I. PAC Volume Estimation. The subroutine COMPUTEVOLUME takes a convex body , its geometric parameters , and accuracy parameters . It returns an estimate satisfying
We use the volume-estimation algorithms discussed in Cousins and Vempala [2018]. Their implementation and resource requirements are treated separately in the complexity analysis.
II. -almost Uniform Point Sampling. The subroutine GENERATESAMPLES takes a convex body , its geometric parameters , and parameters . Each invocation produces an independent point in according to a distribution satisfying the -almost--uniform guarantee of Definition 2. Such sampling guarantees can be realised using suitable implementations of Hit-and-Run (ref. Section 6.2.2).
4.3 The Main Algorithm: Alpona
We assume that each body is -fat convex body, that is, it contains an sphere of radius at most and is circumscribed by a sphere of radius at least . The algorithm Alpona takes the number of bodies , approximation parameters , and the geometric specifications as input. It maintains a multiset of sampled points and a common sampling intensity . The threshold threshold and the accuracy parameters of the two subroutines are fixed as functions of the input parameters.
Algorithm 1 Alpona()
1: Initialise threshold 2: Initialise 3: Initialise multiset 4: Set parameters: 5: for to do 6: for all do 7: If , remove all copies of from 8: Query 9: Draw 10: while do 11: For each , throw from with probability 12: and 13: for to do 14: Query 15: 16: return
In lines 1–4, the algorithm sets the storage threshold threshold, initializes the common sampling intensity to 1, and starts with an empty multi-set , that would contain the samples from the union of bodies seen so far. It also fixes the accuracy and confidence parameters for the volume and sampling subroutines. The choices of these parameters are justified in the analysis.
Inside the for loop (lines 5–15), the multi-set is updated according to the bodies to . For each body , the algorithm firstly (in lines 6–7) removes every occurrence in whose location belongs to . Thus, if a point belongs to several bodies, all the previous occurrence of the point does not have any influence on its inclusion in , suggesting that every measurable subset of the union is processed by the algorithm exactly once (during it's last occurrence in the ordering). The resulting last-occurrence decomposition of the union is formalized in the correctness proof.
In line 8, Alpona computes the PAC estimate . In line 9, it draws , i.e., the number of representatives from that would be added to so that each point in the union is equally represented. Since is an estimate, the intended number of representatives is proportional to the estimated volume, rather than the unknown true volume. This distinction, together with the non-uniformity of the generated points, is explicitly accounted for in the correctness proof.
If inserting new points would exceed threshold, the algorithm independently retains each occurrence already in with probability and halves (lines 10–12), and appropriately reduce the estimated number of points to be sampled from and resamples the points in . The loop continues until the proposed count fits within the storage threshold. Once the count fits, Alpona (in lines 13–15) makes independent calls to GENERATESAMPLES and inserts the resulting points into . The points follow the almost--uniform sampling distribution described above, rather than an exactly uniform distribution.
After all bodies have been processed, the algorithm returns . Informally, is the number of retained representatives at the final sampling intensity , and division by rescales the count into a volume estimate. Proving that this estimate is accurate despite approximate subroutines and adaptive halving is the subject of the next section.
4.4 Relation to the Existing Union Volume Estimation Algorithms
While randomized polynomial-time approximation algorithms for estimating the volume of convex bodies are well established [Dyer et al., 1991, Lovász and Simonovits, 1990, Cousins and Vempala, 2018], extending these techniques to non-convex regions presents additional challenges. In particular, a union of convex bodies need not be convex, and the geometric properties underlying efficient random-walk-based volume estimation may no longer hold. An important special case is Klee's Measure Problem, which asks for the volume of a union of axis-parallel boxes and has been extensively studied in computational geometry.
The classical framework of Karp et al. [1989] provides randomized approximation algorithms for unions using size, uniform-sampling, and membership oracles. Bringmann and Friedrich [2010] extended this approach to unions of high-dimensional geometric objects, including general convex bodies and settings with approximate oracles. In a different computational model, Meel et al. [2021, 2022] developed space-efficient algorithms for estimating unions of implicitly represented sets, introducing the framework of Delphic sets and its approximate-oracle generalization. Their results yield efficient algorithms for discrete versions of Klee's Measure Problem and were subsequently improved by Nandi et al. [2024]. More recently, Bringmann et al. [2025] established an lower bound for general oracle-based union-volume estimation, matching the classical query complexity, and obtained faster algorithms for Klee's Measure Problem by exploiting the geometric structure of axis-parallel boxes.
Our algorithm, Alpona, addresses a complementary aspect of this problem. Unlike the algorithms for Delphic sets, which operate over a discrete universe, Alpona works directly with continuous convex bodies, without discretizing the underlying space. Moreover, while the oracle-based framework of Bringmann and Friedrich [2010] already permits oracles which may be unrealistic, our emphasis is on the guarantees required when these oracles are implemented using randomized volume-estimation procedures and geometric random walks. In particular, Alpona uses PAC volume estimates and almost--uniform samples, together with Poissonization and adaptive thinning, to control the combined effects of approximation errors and overlapping regions. Thus, rather than improving the general oracle-query lower bound, our contribution is an end-to-end analysis of a sampling-based algorithm using concrete approximate geometric primitives.
5 Correctness Proof of Alpona
In this section, we formally state and prove the guarantees offered by the algorithm Alpona. The proof proceeds by first showing that almost all of this volume is contained in regions where the sampler behaves approximately uniformly, and then showing that the algorithm accurately estimates the volume of these regions.
Theorem 7 (Correctness and oracle efficiency of Alpona). Given input parameters and a collection of many -fat convex bodies, the algorithm Alpona yields an -correct Union Volume Estimation, i.e., it returns a value such that
with probability at least , with many calls to the PAC volume computation oracle and many calls to the -tailed sampler oracle.
5.1 Overview of the Proof
We write for the volume of the union. Since the algorithm Alpona is a random process, it makes sense to talk about it's output from the perspective of distributions. For simplicity of the proof, we consider a variant Alpona-modified of the main algorithm. Note that in Alpona-modified, we are assuming that we know the quantity beforehand; and that the only difference between Alpona and Alpona-modified is in line 10. If denotes the value of at the end of Alpona, the event where should correspond to runs of Alpona-modified with the same output. Thus, we consider an event where falls too low.
Our first claim (Claim 8) informally tells us that as long as we are capable of proving that occurs with very low probability, the output distributions of Alpona and Alpona-modified are very close to each other w.r.t Total Variation distance. As a consequence, if we are able to prove a correctness guarantee upon Alpona-modified, that should give us a correctness guarantee on Alpona as well (after accounting for this TV-distance between the two distributions). Our objective moving forward, will therefore be upon trying to prove the correctness of Alpona-modified.
Recall the good and bad regions associated with the sampler GENERATESAMPLES, as defined in Section 4.2. In particular, denotes the bad region of , and its good region. To avoid counting overlapping regions multiple times, we assign each point in the union to the last body (in the fixed processing order) that contains it. Formally, we define
These unique sections are pairwise disjoint and their union is precisely the union of the convex bodies. We write and for the good and bad parts of , respectively.
The first step of the proof is to show that the total volume of the good parts,
is close to . This is established in Claim 9. Consequently, it suffices to show that the output of the algorithm is a sufficiently accurate estimate of .
To analyse the output, we partition the surviving samples according to whether they originate from the good or bad parts of the corresponding bodies. Let denote the sampling intensity at the end of a run of Alpona-modified. Let and denote the respective numbers of such samples. Thus, whenever the algorithm returns a numerical estimate,
We show that is concentrated around , while contributes only a small additive error. Together, these establish that Out approximates .
The analysis must account for four possible sources of failure: an inaccurate estimate returned by the volume oracle (Fail), a significant deviation in the number of good samples (Fail), and an excessive number of bad samples (Fail). In Claim 10, we show that the algorithm succeeds whenever none of these events occurs. The remainder of the proof bounds the probabilities of these four events individually and combines the bounds using a union bound to obtain the desired correctness guarantee.
Proof of Theorem 7. First, we prove Claim 8 to show that the TV-distance between the output distributions of Alpona and Alpona-modified is at most . Then, we are left to prove that Alpona-modified is an -Union Volume Estimation algorithm with probability at most .
In this context, we prove Claim 10, i.e., the event where the algorithm Alpona-modified results in a failure can be decomposed into three events: Fail due to the approximation errors of PAC volume estimator, Fail due to deviations of the ‘good’ sample counts, and Fail due to the ‘bad’ samples.
In the next subsections, we bound each of their probabilities of occurrence:
-
We prove in Claim 11 that .
-
We prove in Claim 17 that .
-
We prove in Claim 20 that .
Combining the three above inequalities tells us that the random process Alpona-modified outputs a value outside the range is at most .
By Lemma 30, then we can conclude that the probability of Alpona not yielding a value in the range is at most:
as desired.
Now, we are going to formally introduce Alpona-modified, and prove the claims corresponding to Alpona-modified in the next sections.
5.2 Alpona-modified: A Technical Modification for Analysis
For simplicity in proving correctness, we define a modified version of Alpona below strictly for the purpose of analysis. As one can note the key distinction between the two algorithms is the inclusion of the clause . Notably in this version of the algorithm there is no strict upper bound on , because of which we can make observations as demonstrated in Lemma 13, something we could not do for Alpona itself because in the original algorithm there is an implicit upper bound .
Consider the event , where the value of the sampling intensity in Alpona decreases below . If the event does not occur, then the two algorithms are essentially the same; and thus must output the same quantity. In other words, the only situation where the output distributions of the two algorithms would differ is when would occur. This intuition is presented formally below.
Algorithm 2 Alpona-modified()
1: Initialise threshold 2: Initialise 3: Initialise multiset 4: Set parameters: 5: for to do 6: for all do 7: If , remove all copies of from 8: Query 9: Draw 10: while and do 11: For each , throw from with probability 12: and 13: for to do 14: Query 15: 16: return
Claim 8 (Closeness of Alpona and Alpona-modified). The total variation distance between the output distribution of the two algorithms Alpona and Alpona-modified is upper bounded by .
Proof. Couple the two executions of Alpona and Alpona-modified from shared randomness. Let and denotes their respective outputs. During this coupled execution Alpona differs from Alpona-modified when the condition of in line 10 prevents Alpona-modified from performing one more halving that Alpona performs. By the coupling inequality (Lemma 29), therefore the total variation distance is upper bounded by:
This completes the proof of the claim.
Since each of run Alpona which results in the final sampling intensity decreasing below corresponds to a run of Alpona-modified resulting in the sampling intensity decreasing below , moving forward we can equivalently consider to be the event where the sampling intensity of Alpona-modified at the end of a run falls below .
5.2.1 Step I. The Decomposition of Failure of Alpona-modified
As explained in the previous section, our current strategy is to prove the correctness of Alpona-modified. We proceed along the lines described in Section 5.1; firstly we shall formally reduce the problem of estimating into the problem of estimating . We do this by strictly upper-bounding the mass stored in exceptional regions of each convex body.
Claim 9 (Equivalence of and ). Referring to notations defined previously (2), we have:
If the output of the algorithm is in the range , we will have .
Proof. Observe that we can write as a sum of , since the union of all the sets can be viewed as a disjoint union of the unique sections. We can further break down each into a sum of volumes of good and bad sections, and bound the volume of bad sections by the guarantees of almost- sampling.
The second part is simple algebraic manipulation. Note that by default we have . For the other direction, we apply the above obtained lower bound on .
Claim 10 (Decomposition of Failure). The event where a run of Alpona-modified results in a failure, i.e. the output distribution of Alpona-modified returns a value outside is contained in the union of the following events:
-
.
-
.
-
.
Proof. Observe that if a run of Alpona-modified belongs to the intersection of complements of the above mentioned events, then by adding the bounds for and . By Claim 9, it would therefore suggest the algorithm has resulted in a success. Thus the failure event must be contained within the union of the above four events.
Rest of the subsections are structured as follows. A section each is dedicated to bounding the probability of each of the events mentioned in the above claim. Through these series of steps, we shall prove that all the four above mentioned events can occur with probability at most , and thus by a Union bound argument we give a concrete proof to Theorem 7 at the end of this section.
5.2.2 Step II. Bounding Fail : Error due to Volume Computation
We first consider the event of failure due to volume computation. This event is relatively easy to bound; because the volume oracle can output incorrect estimates in any of the many queries, so a simple application of union bound should restrict the probability of . This intuition is formalised below.
Claim 11 (Bounding Error due to Volume Computation). Consider the event , where at least one of the COMPUTEVOLUME queries does not return a -factor approximation to the corresponding volume. Then .
Proof. The probability that a single COMPUTEVOLUME query does not return a -factor approximation to the corresponding volume is bounded at most by . By applying union bound over the many queries and substituting the values for and , we get .
Conditioning on the volume queries. Since the volume queries use randomness independent of the sampling randomness, from now on we fix an outcome of all the volume queries in which every query returns an accurate estimate. Thus for each , we have , where denotes output of the COMPUTEVOLUME query done on .
5.2.3 Step III. Bounding Fail : Error due to Low Intensity of Points
Restricting the volume computation error beforehand allows us to be more lax moving forward, as we don't have to needlessly worry abound the cases where volume computation might go wrong. To prove however, we need to do a bit more work. We start by better explaining the behaviour of the random quantity .
Let denote the number of surviving samples belonging to . Using this notation, we can say is precisely equal to , as it represents all the surviving samples. Recall the definitions defined earlier; represents the sampling distribution, corresponding to the GENERATESAMPLES query on . The quantity reflects the relative mass stored in the region w.r.t the distribution . The following lemma informally tells us that the random variables are mutually independent, and each follows a Poisson distribution of intensity proportional to the relative mass of .
Lemma 12 (Properties of ). The random variables are mutually independent, and for each , we have:
Proof. When the body gets processed, we draw many samples from it, where the gets adjusted and decreased to over the course of the algorithm. Now consider the measurable partition of into two parts: and . Recall Lemma 26, since we are drawing from a distribution on , the random variable signifying number of surviving samples from would follow: . Additionally, since the value of the random quantity depend only upon the fresh randomness of the GENERATESAMPLES queries done while processing , the obtained random quantities would therefore be independent.
Lemma 13 (Properties of ). Define . Then , and
Proof. As the random variable can be written as a sum of independent Poisson random variables, by the additivity property of Poisson distributions (Lemma 25) we get the first statement. To prove the bound on , we would need to better analyse the relative mass . Recall that represents the uniform distribution over .
(3)
Multiplying the above equation by , the left side of the above equation becomes the expression for . For handling the right side, we bound , as mentioned earlier (5.2.2). First term of the right side is easier to handle because we are bounding the good region of .
The last equality follows from Equation (2). For bounding the second term, we shall use the tail control guarantee of .
The bound on is obtained from Claim 9. Adding up the two different bounds, we get:
In the same spirit as above, consider the quantity for any index . Observe that if is the sampling intensity and represents state of the bucket just after processing , then by the same idea as Lemma 13, we can say that
Claim 14 (Bounding Probability of Fail_{prob}). Consider the event Fail_{prob}, where the value falls lower than . Then .
Proof. Observe that by the bound obtained in Lemma 13, we can say that:
Define the quantity . By this observation, we can say that , which implies . This would mean the event where falls below is contained as a subset inside the event where falls below . Our strategy will be therefore to bound the probability of this latter event.
Since the value of can decrease below the above specified threshold while processing any of the many convex bodies; we will need to make sure that this event can collectively happen during any of the many situations with low probability. To do so, we isolate the event where falls below the threshold after processing for each , individually bound these events and apply an union bound argument to finish the proof.
Define . By definition, we know that for each . This would mean . Thus the event where falls below after processing ; is a subset of the event where falls below after processing . Therefore the event is contained in the union of the following events.
By definition of , we obtain the following inequalities, which will be helpful in proving the claim. Our strategy moving forward, will be to individually bound the probability of these events, and then continue with our union bound strategy.
The value of decreased below when processing suggests that setting when processing would cause the bucket to spill over. Since follows a Poisson distribution, an application of Chernoff bounds (Lemma 28) gives us the following.
(by 6)
(by 7)
Since the probability of falling below when processing is bounded by , this means the probability of falling below is also bounded by , and this holds for each . By application of Union bound, that means can fall below at any point during the algorithm, with probability at most , as claimed.
Conditioning on the high probability events. In the above proof, not only have we proved that cannot fall below with high probability; we have also established the value of falling below itself is a low probability event. Thus, moving forward we shall condition all the other events on the event where stays above . Because in situations where we would need a control over , we could simply break those events into two sub-events: one where , and one where that does not happen. As the latter is already addressed above, we do not need to do so again.
5.2.4 Step IV. Bounding Fail_{good}: Deviations of the ‘Good’ Samples’ Count
In this section, we focus on the event. If we manage to bound the probability of this event; that would tell us that the quantity would be a good estimation of , which is one step closer to proving that the entire estimate itself will be a good estimate of . The structure of proof will follow a structure similar to the proof of Claim 14. We open with formally defining the random quantity , and break it into a sum of independent random variables. Using the conditioning of low-probability as mentioned in the previous section, combined with probabilistic tools such as concentration techniques and union bounds, we offer a bound for .
Recall that denotes the number of surviving samples from all the good sections. We can decompose this random quantity into a sum of many random variables as follows: let denote the number of samples from for each . Using this notation, we can say that is precisely equal to .
Lemma 15 (Properties of ). The random variables are mutually independent, and for each , we have:
Proof. Recall the proof of Lemma 12. Since is a measurable subset of , again by Lemma 26 the random variable signifying number of surviving sampels from would follow: as claimed. Independence of 's follow once again since we use mutually independent sources of randomness for obtaining each .
Using the Poisson properties of we can better characterize the quantity , and additionally we bound it's expectation in the following lemma.
Lemma 16 (Properties of ). Define . Then . Further, the quantity follows the following inequalities:
-
.
-
.
-
.
Proof. The Poisson property of follows from the additivity property of Poisson random variables (Lemma 25). To prove the first inequality, observe that the upper bound can be obtained from the equation obtained earlier (4). For the lower bound, we operate similarly, using the -closeness combined with the lower bound on (Section 5.2.2).
For the bound between and , we combine the inequalities obtained in Lemma 13, in conjunction with the bounds we just proved.
where the last inequality follows due to the obtained lower bound on , as we know . The third result follows directly from Lemma 16.
Claim 17 (Bounding Probability of ). Consider the event , where:
Then .
Proof. Since the definition of is dependent upon the random quantity , we need to apply an union bound over all the possible values of , which we know to be all the values , where is any non-negative integer at most . (The reasoning is the conditioned, mentioned previously in Section 5.2.3). Our strategy will therefore be to prove the claim for each of these possible values of , and then tie all of these bounds together via an union bound argument.
Say for some non-negative integer, at most . Since we know to follow a Poisson distribution, an application of Chernoff bounds give us the following.
Denote the quantity . Note that by substituting the value of threshold, we shall obtain , i.e. . Additionally we will also have . All that remains for us to apply union bound over the above bounds for each possible value of .
□
5.2.5 Step V. Bounding Fail : Contribution of the ‘Bad’ Samples
We continue our routine of better understanding the contribution to the net estimate coming from the exceptional regions. Recall that denotes the number of surviving samples from all the bad sections. We again decompose this random quantity into a sum of many random variables as follows: let denote the number of samples from for each . Using this notation, we can say that is precisely equal to .
Lemma 18 (Properties of ). The random variables are mutually independent, and for each , we have:
Proof. Follows the same structure as Lemma 15, since is a measurable subset of .
Lemma 19 (Properties of ). Define . Then . Further, the quantity obeys the following inequalities:
-
.
-
.
Proof. Follow along the argument of Lemma 16 to obtain the Poisson properties of . The inequalities have also been proved previously: the first one has been proved in Equation (5), and the second one can be obtained by substituting the upper bound for in the left side expression.
Claim 20 (Bounding Probability of ). Consider the event , where the quantity takes a value larger than . Then .
Proof. Following the proof structure of Claim 17, we would like to apply an union bound argument by individually bounding the probability of conditioned under each of the possible values for .
Fix a value of , where is a non-negative integer at most . We shall apply Chernoff bounds, with an additional layer of Poisson additivity (Lemma 25) applied beforehand. We replace , which follows , by a random variable . The monotonicity bound is applicable here, since we have proved that above (Lemma 19).
where . Again by the choice of value for , we have , i.e. . Additionally we will also have . We use an union bound argument, similar to the one used in Claim 17.
6 Time and Space Complexities of Alpona
In this section, we analyze the costs of the volume-estimation and point-sampling oracles and then combine them with the operations of Algorithm 1. Throughout, time complexity denotes the number of calls to the membership oracles of the convex bodies, each counted at unit cost. The layout of the section is as follows. We first derive the complexity of Alpona as a function of the complexities of volume-estimation and point-sampling oracles (Section 6.1). In subsequent subsections, we instantiate the oracles with their actual complexities (Sections 6.2.1 and 6.2.2), combine them to obtain the complexity of Alpona under this instantiation (Section 6.2). And finally discuss the main ideas behind our improved walk length for Hit-and-Run (Section 6.3).
With the above in mind, we let , denote the time and auxiliary space of one invocation of COMPUTEVOLUME, respectively, and , denote the time and auxiliary space of one invocation of GENERATESAMPLES, respectively.
6.1 Generic Complexity of Alpona
We deduce the complexity of Alpona by segregating the algorithm's workflow in the following four essential components.
Removal. Recall that the algorithm maintains at most points in . In each of its iterations, the removal step (Line 7 of Algorithm 1) tests at most stored points for membership in the current body. Hence all removal steps together require membership queries.
Volume Estimation. For the volume-estimation step (Line 8), the algorithm invokes COMPUTEVOLUME once for each of the bodies, with parameters and . Consequently, the total time invested by Alpona towards for volume estimation is
Halving. Each execution of the halving step (Lines 10–12) examines at most threshold stored points and requires operations. By the bound on the event in the correctness analysis, with probability at least (Claim 14) the total number of halvings is at most . Thus, on this event, their total cost is .
Sampling. Finally, at most threshold points are inserted during any one iteration (Lines 13–15), so the algorithm makes at most calls to GENERATESAMPLES in total, with parameters . Therefore the total time invested by Alpona towards for volume estimation is
Total time complexity. Combining all these contributions, with probability at least , the total running time is
Recall from Lines 1–2 of Algorithm 1 that
where each convex body is assumed to be a subset of . Since , the term is dominated by . Substituting these values in Equation (8) and collecting the terms that contain threshold, the total running time of Alpona is
Space complexity. For space, the bucket contains at most threshold points of , and hence occupies real-coordinate storage locations. The volume and sampling oracles are called sequentially, so their workspaces may be reused. The overall auxiliary space is therefore
real words.
6.2 Complexity of a Practical Instantiation of Alpona
First, we derive the time and space complexities for each of the PAC volume estimation and approximate sampling oracles, namely Gaussian cooling and Hit-and-Run used to instantiate Alpona. Then, we derive the final time and space complexity for this instantiation.
6.2.1 Complexity of the PAC Volume Estimation Oracle: Gaussian Cooling
We instantiate COMPUTEVOLUME with the Gaussian-cooling approach of Cousins and Vempala [2018], under the geometric normalization assumed for our -fat bodies. The implementation requires the appropriate interior-point and radius information.
Time complexity. By [Cousins and Vempala, 2018, Theorem 1.1], COMPUTEVOLUME returns a -approximation with probability at least , using
membership-oracle queries.
Space complexity. For the space bound, observe that the next temperature in Step 2(b) of [Cousins and Vempala, 2018, Figure 1] can be computed before generating the points in Step 2(a). We generate these points one at a time, retaining the current point of the walk, and update the sum in Step 2(c) as each point is generated. We also update the product in Step 3 after each cooling phase. Thus each run uses real words. Running the confidence-boosting repetitions sequentially and storing their final estimates therefore gives
real words.
6.2.2 Complexity of the Approximate Point Sampling Oracle: Hit-and-Run
We instantiate GENERATESAMPLES using Hit-and-Run, started from an interior point at distance from the boundary.
Space complexity. Let us show what is first. A walk retains only its current point, direction, proposed point, and a few scalars, so it is just real words.
Time complexity. Now we move on to . First, we recall the almost- guarantee and the mixing result that determine the number of steps required. Note that the algorithm uses , a convex body, and the conditions
along with the following parameter assignments in line 4:
Here, denotes the exceptional set of the distribution after Hit-and-Run steps. We drop when it is clear from the context. We now present three bounds on .
(i) The LV bound. Thus, we retrieve the sufficient bound (we call this the LV bound) on the number of mixing step as follows:
the subscripts denote the space under consideration, we will drop it when the context is clear
(ii) The KV bound. Now, for our required values of and , the LV bound carries a factor in the accuracy and stream-length terms. The most natural question then is,
can we improve their dependence on the dimension?
The spectral-gap bound of Kook and Vempala gives us a way to investigate this. Let us first see what follows directly from their result. We show in Section C.4 that using the spectral-gap bound of Kook and Vempala [Kook and Vempala, 2026, Theorem 1.1], combined with the convex-domain diameter bound [Milman, 2009, Theorem 5.10] and truncation of the first-step density, we can get the sufficient point-start bound (we call this the KV bound)
Note that this also gives both bounds in Equation (10).
(iii) Our bound. It turns out that the KV bound still gives the same complexity bounds of our algorithm for our parameters as the LV bound (see comparison below). In Section C, we show that for our choice of parameters for and , we can obtain the following better bound by doing a more careful analysis of the whole walk.
Theorem 21 (Bound on the Walk length for the Sampling Subroutine of Alpona). With and , both bounds in Equation (10) can be obtained in
Hit and Run steps.
We describe the technical challenges and new techniques developed to prove this result in Section 6.3.
6.2.3 Final Time and Space Complexity for Union Volume Estimation
We now substitute the subroutine costs of Sections 6.2.1 and 6.2.2 into Equation (8). By substituting the LV bound for and using Equation (9)) for in Equation (8) we get the following running time for Alpona:
Plugging in the KV bound instead, we get the time complexity to be
This is the usual point-start reduction in Hit and Run analysis. Take a small ball around and split the density after the first step into a piece inside the ball and a piece outside the ball. The complement has bounded density, so one can do spectral contraction or other techniques on this, the other piece is controlled using its small mass which the walk preserves.
Finally, substituting the walk length of Theorem 21 back into the complexity calculations, this gives us a runtime requirement of:
Overall complexity. Instantiating COMPUTEVOLUME and GENERATESAMPLES with the algorithm from [Cousins and Vempala, 2018] and Hit-and-Run respectively, and using the better walk length bound from Theorem 21, we can now state a concrete space and time complexity for Alpona. We also replace some multiplicative constants inside logs with additive ones.
Time Complexity:
Space Complexity:
Improved runtime of Alpona using Theorem 21: Let us see what improvements this gives for the running time of Alpona. Suppose and are both , and fix , . Since we are using the volume computation algorithm of Cousins and Vempala [2018, Theorem 1.1], note that after rescaling the inball to have radius one, the constant aspect ratio gives the second-moment bound required by their theorem. Then with the parameters above, its cost is
Then both the LV bound in Equation (12) and the KV bound in Equation (13) give a total running-time bound of
while our result via Equation (14) gives
The first term in each bound is the common volume computation cost. Let us now make the improvement a little more concrete. Whenever
these bounds simplify to
respectively. More concretely, for , we get the following comparison.
| Sampling bound | Steps per sample | Total running time of Alpona |
|---|---|---|
| LV/KV | ||
| Ours |
Table 1: Comparison table when the stream length is .
Thus, in this regime, the improvement in the sampling bound gives a factor of order in the total running-time bound for Alpona.
6.3 Discussion on The Improved Walk Length of Hit-and-Run (Theorem 21)
In this subsection, we talk a little about the result of Theorem 21, its main proof ideas, and some interesting results that go into it (all a bit heuristically). This result and the proof techniques (specifically the construction and use of the explicit radial vector field) may be independently useful to the Hit and Run community.
For the sake of exposition, we ignore the functional analytical details about domains and constants here.
As we show in the appendix, the result of Theorem 21 follows from two results:
- For any taking at least
suffices to guarantee that and .
- A lower bound on and contraction of the Hit and Run operator , namely for functions with mean 0,
Let us talk first about item (2). This can be proven in a myriad of ways, one of them provided by (a corollary of) [Kook and Vempala, 2026, Theorem 1.1]. We give a different geometric proof for it using an explicit radial vector field construction. The idea is (after some technicalities) to consider a scaled copy of the body such that has half the volume of . After some technicalities, we define a radial vector field which satisfies
This comes out from the fact that scaling moves the points in the original body and the field says what the combined flow through each point is. In particular, our particular can be viewed as the accumulated mass flow (up to a factor of 2) across a “shell”, generated by the scaling itself. In effect, this gives
Geometrically, the change is the amount of mass passing through each location, multiplied by how much changes there. We then use the estimate (which we build inside the vector field definition by decaying it suitably), which gives the “flux” term the desired weight (heuristically, across a surface just beneath the boundary, we only need to carry the mass lying in the thin shell outside that surface. As that shell becomes thinner, there is less mass to carry.). The smaller copy stays at depth , so its Cheeger’s inequality controls the remaining error by a gradient bound similar to that in [Kook and Vempala, 2026, Theorem 3.1].
In contrast, their proof compares a function with its values after moving points slightly towards the centre
Then they average over , turning the radial integral into a weighted gradient bound (weights being the distance from the boundary, which appears because a location very close to the boundary can belong to only a small range of the radial segments. Its gradient therefore receives a small weight.), while the contracted copy has depth at least . They then use the ordinary Poincare inequality on this copy to control the remaining error [Kook and Vempala, 2026, proof of Theorem 3.1].
Now item (1) and this is much more interesting. To prove this, we do two things (again):
1.1. First use a few steps of Hit and Run to make the density square-integrable.
1.2. Then use the remaining steps to reduce its (squared) error by spectral contraction (that is, item (2)).
We then show that item (1.2) suffices to get the and guarantees. Once done, all that remains is to prove item (1.1). To the best of our knowledge, we have not found this in the literature and looks like a very interesting result.
The idea for item (1.1) is as follows. For a point start, the density is singular at the starting point , and the singularity is captured by the term , where is some other point (from standard Hit and Run theory, see [Lovász and Vempala, 2006, equation (5)]). We follow this singularity near through the initial steps and keep track of it inside the fixed ball . Suppressing constants and scale factors, we follow the progression (ignoring the part outside which we can bound)
Now let be a small distance scale. To reach , we average over possible intermediate points . Points at that scale occupy volume of order . Combining them gives
This is essentially what we formally do in the proof. This helps us because a spike of order has squared integral near behaving like
This becomes finite precisely when , predicting that should suffice for getting a square-integrable density. In fact, we show that we get
Choosing the remaining walk length so that this is at most gives both sampling guarantees and recovers our required bound.
So the first few steps spread out the mass near , weakening the singularity (the spike) until the squared density has a finite integral. This is what is known as regularization. What happens if we do not do this regularization? Well, if we kept bounding every subsequent density by the original singularity of the first-step bound, namely , the same calculation would give
which diverges for . The walk would still regularise though, but that estimate would never give us a finite norm. Another approach is to separate off the first-step mass inside a small ball around , and bound the density outside this ball. We would then control the contribution from inside using its small probability. The ball must be chosen small enough for our required , so these parameters enter the resulting density bound. By following the weakening spike as above, we obtain a finite bound for the whole density after about steps, with this initial number of steps depending only on the dimension. The detailed proof is in Appendix C.
7 A Special Case: Bounded Frequency Streams
In this section, we consider a special case of the union volume estimation. Observe that in full generality, each can intersect with every other convex body in the collection. This type of input is slightly inefficient for the algorithm to process, as it would mean elements from the intersection region, if drawn, would get thrown out repeatedly, and our strategy of storing samples from the unique sections would not be achieved. This is why we considered the special case, where each point of the union has a bounded frequency. This special case of bounded frequency sets has been studied extensively, particularly in the streaming literature (ref. McGregor et al. [2021], Ben-Eliezer et al. [2022], Swartworth et al. [2026]). We formally define the setup below.
Definition 3 (-bounded Freqence Streams). A stream of convex bodies , has frequency at most if every point lies in at most of the bodies , i.e.
By definition, we shall always have .
Lemma 22 (Connecting Union Volume and Frequency). For a stream of frequency at most , we have:
Proof. In the finite setting, observe that if each element can appear in at most many different sets, then the sum of sizes of all the sets can contain many copies of each distinct element. Hence the sum of their sizes will be bounded by times the union size. This intuition is mathematically described below.
Theorem 23 (Correctness of Alpona for Bounded Frequency Streams). Suppose that Alpona takes as input, a collection of convex bodies with frequency at most , and suppose is known to the algorithm beforehand. If we run Alpona with and keep all the other parameters unchanged, then with probability at least the output lies in the range .
Proof. The quantity is used in exactly two cases, and in the following argument we shall show that the above chosen value for suffices.
-
In the proof of Claim 9, where if we apply the bound Equation (15) and substitute the chosen value of , we get the same output saying . Thus we continue our agenda of proving a -factor estimation of .
-
The second place where this modification affects us is in the proof of Lemma 13, where we try to bound , and the term comes up. To be precise, the quantity we bound is:
Plugging in the values for and bounding by , we shall get the same bound as obtained in Equation (5).
Since the two intermediate assertions which require the value of and a bound on remain unchanged, the proof follows through.
Observe that our proof of the general theorem simply requires to be set to . But this does not, however, rid us of the factor as we require it regardless when applying the union bound argument to bound the probability of , as demonstrated in Claim 14.
8 Discussions and Future Work
We studied union-volume estimation with approximate volume and sampling oracles. Our sunflower construction shows that sampling-based union-volume estimators can fail when their samplers provide only a fixed per-body total-variation guarantee. Such samplers can miss a small portion of each body even when these portions taken together may account for a substantial fraction of the union. This leads to a large error in the volume estimate.
We addressed this issue through a new concept of tail-controlled samplers, whose density is multiplicatively close to uniform outside an exceptional region of small uniform measure. Our algorithm, Alpona, uses such tail-controlled samplers with PAC volume estimates to return an -approximation of the union volume. Its analysis bounds the contribution of the bad samples from the exceptional region, while accounting for errors in the individual volume estimates. Along the way, Alpona also bypasses the discretization step of the earlier work of Shaw et al. [2025], thereby improving the complexity.
Finally, we proved that Hit-and-Run provides the required tail control from an interior point start. This leads to a concrete implementation of Alpona with Hit-and-Run as the sampling subroutine. We also give a slightly better analysis of Hit and Run that improves the dimension dependence of the accuracy and stream-length terms in the walk-length bound from to .
The significance of this investigation extends beyond union-volume estimation. Our work illustrates how theoretical analysis can identify the limitations of an existing implementation, determine the approximation guarantees that are actually required, and develop algorithms whose correctness can be established using realizable computational primitives, such as, Alpona with Hit-and-Run. More broadly, we view this as a step toward bridging the gap between idealized randomized algorithms and their practical implementations: using theoretical analysis not merely to justify an abstract algorithm, but to understand and improve algorithms that have already demonstrated empirical promise.
8.1 Future Work
Our -notion is a first step towards capturing the geometric behavior of approximate samplers, with substantial scope for refinement. It separates local density accuracy from exceptional mass, but does not directly describe how sampling errors are distributed across the body. A promising direction is to develop a geometric sampling guarantee that relates the exceptional region to a sub-Gaussian tail within the convex body. Establishing these guarantees for practical samplers such as Ball Walk or Hit-and-Run could help explain why relatively short walks often suffice in implementations, providing a stronger theoretical basis for their empirical success and potentially yielding less conservative sampling requirements for union-volume estimation.
Heuristics suggest that the dependence on the stream length can be improved further at a slight cost of the geometric term. We conjecture the following strengthening of our Hit and Run analysis:
Conjecture. With and , both bounds in Equation (10) can be obtained after steps, where
This would remove the dependence on the dimension from the term attached to the stream length . In words, this conjecture says that after paying the geometric and accuracy costs, making the exceptional region progressively smaller should be much cheaper than what we have now.
We also believe the dependence on is not optimal and can possibly be pushed down to with possibly worse factors of . This would require a different geometric analysis of the Hit and Run Markov chain's tail bounds.
AI Disclosure. No generative AI or AI-assisted tools were used in the conception of research ideas or the development of proofs. Their use was limited exclusively to assistance with basic writing, grammatical corrections, and language polishing of the manuscript.
References
Luigi Ambrosio, Nicola Fusco, and Diego Pallara. Functions of Bounded Variation and Free Discontinuity Problems. Oxford Mathematical Monographs. Oxford University Press, 2000. ISBN
Note that the dependence on cannot be removed because of Theorem 3.
9780198502456. doi: 10.1093/oso/9780198502456.001.0001. URL https://doi.org/10.1093/oso/9780198502456.001.0001.
David Applegate and Ravi Kannan. Sampling and integration of near log-concave functions. In Proceedings of the twenty-third annual ACM symposium on Theory of computing, pages 156–163, 1991.
Mario Bebendorf. A note on the poincaré inequality for convex domains. Zeitschrift für Analysis und ihre Anwendungen, 22(4):751–756, 2003.
Omri Ben-Eliezer, Talya Eden, and Krzysztof Onak. Adversarially robust streaming via dense-sparse trade-offs. In 5th Symposium on Simplicity in Algorithms, SOSA, pages 214–227. SIAM, 2022. doi: 10.1137/1.9781611977066.15.
Karl Bringmann and Tobias Friedrich. Approximating the volume of unions and intersections of high-dimensional geometric objects. Comput. Geom., 43(6-7):601–610, 2010. doi: 10.1016/J.COMGEO.2010.03.004.
Karl Bringmann, Kasper Green Larsen, André Nusser, Eva Rotenberg, and Yanheng Wang. Approximating klee's measure problem and a lower bound for union volume estimation. arXiv preprint arXiv:2410.00996, 2024.
Karl Bringmann, Kasper Green Larsen, André Nusser, Eva Rotenberg, and Yanheng Wang. Approximating klee's measure problem and a lower bound for union volume estimation. In 41st International Symposium on Computational Geometry, (SoCG), volume 332, pages 25:1–25:16, 2025. doi: 10.4230/LIPICS.SOCG.2025.25.
Martin Costabel. Inequalities of Babuška-Aziz and Friedrichs-Velte for Differential Forms, page 79–88. Springer International Publishing, 2017. ISBN 9783319470795. doi: 10.1007/978-3-319-47079-5_4. URL http://dx.doi.org/10.1007/978-3-319-47079-5_4.
Ben Cousins and Santosh Vempala. Gaussian cooling and o*(n³) algorithms for volume and gaussian volume. SIAM Journal on Computing, 47(3):1237–1273, January 2018. ISSN 0097-5397, 1095-7111. doi: 10.1137/15M1054250.
Frank Den Hollander. Probability theory: The coupling method. Lecture notes available online (http://websites.math.leidenuniv.nl/probability/lecturenotes/CouplingLectures.pdf), 3:60, 2012.
Martin Dyer, Alan Frieze, and Ravi Kannan. A random polynomial-time algorithm for approximating the volume of convex bodies. Journal of the ACM (JACM), 38(1):1–17, 1991.
Martin E. Dyer and Alan M. Frieze. On the complexity of computing the volume of a polyhedron. SIAM Journal on Computing, 17(5):967–974, 1988.
Ravi Kannan and Hariharan Narayanan. Random walks on polytopes and an affine interior point method for linear programming. In Proceedings of the forty-first annual ACM symposium on Theory of computing, pages 561–570, 2009.
Ravi Kannan, László Lovász, and Miklós Simonovits. Random walks and an o*(n5) volume algorithm for convex bodies. Random Structures & Algorithms, 11(1):1–50, 1997.
Richard M. Karp and Michael Luby. Monte-carlo algorithms for enumeration and reliability problems. In 24th Annual Symposium on Foundations of Computer Science, pages 56–64, 1983. doi: 10.1109/SFCS.1983.35.
Richard M Karp, Michael Luby, and Neal Madras. Monte-carlo approximation algorithms for enumeration problems. Journal of algorithms, 10(3):429–448, 1989.
Leonid Khachiyan. The problem of computing the volume of polytopes is #p-hard. Uspekhi Mat. Nauk, 44(3):199–200, 1989.
Victor Klee. Can the measure of be computed in less than steps? The American Mathematical Monthly, 84(4):284–285, 1977.
Yunbum Kook and Santosh S Vempala. Sampling and integration of logconcave functions by algorithmic diffusion. In Proceedings of the 57th Annual ACM Symposium on Theory of Computing, pages 924–932, 2025.
Yunbum Kook and Santosh S. Vempala. Spectral gaps of hit-and-run and coordinate hit-and-run, 2026. URL https://arxiv.org/abs/2608.16878.
Aditi Laddha and Santosh S Vempala. Convergence of gibbs sampling: Coordinate hit-and-run mixes fast. Discrete & Computational Geometry, 70(2):406–425, 2023.
László Lovász and Miklós Simonovits. The mixing rate of markov chains, an isoperimetric inequality, and computing the volume. In Proceedings [1990] 31st annual symposium on foundations of computer science, pages 346–354. IEEE, 1990.
László Lovász and Santosh Vempala. Fast algorithms for logconcave functions: Sampling, rounding, integration and optimization. In 2006 47th Annual IEEE Symposium on Foundations of Computer Science (FOCS'06), pages 57–68. IEEE, 2006.
László Lovász and Santosh Vempala. The geometry of logconcave functions and sampling algorithms. Random Structures & Algorithms, 30(3):307–358, 2007.
László Lovász and Santosh S. Vempala. Hit-and-run from a corner. SIAM Journal on Computing, 35(4):985–1005, 2006. doi: 10.1137/S009753970544727X. URL https://doi.org/10.1137/S009753970544727X.
Oren Mangoubi and Nisheeth K Vishnoi. Sampling from log-concave distributions over polytopes via a soft-threshold dikin walk. arXiv preprint arXiv:2206.09384, 2022.
Andrew McGregor, David Tench, and Hoa T. Vu. Maximum coverage in the data stream model: Parameterized and generalized. In 24th International Conference on Database Theory, ICDT, volume 186, pages 12:1–12:20, 2021. doi: 10.4230/LIPICS.ICDT.2021.12.
Kuldeep S Meel, Aditya A Shrotri, and Moshe Y Vardi. On hashing-based approaches to approximate dnf-counting. arXiv preprint arXiv:1710.05247, 2017.
Kuldeep S. Meel, N.V. Vinodchandran, and Sourav Chakraborty. Estimating the size of union of sets in streaming models. In Proceedings of the 40th ACM SIGMOD-SIGACT-SIGAI Symposium on Principles of Database Systems PODS, PODS'21, page 126–137. Association for Computing Machinery, 2021. doi: 10.1145/3452021.3458333.
Kuldeep S. Meel, Sourav Chakraborty, and N. V. Vinodchandran. Estimation of the size of union of delphic sets: Achieving independence from stream size. In Proceedings of the 41st ACM SIGMOD-SIGACT-SIGAI Symposium on Principles of Database Systems PODS, PODS '22, page 41–52. Association for Computing Machinery, 2022. doi: 10.1145/3517804.3526222.
Emanuel Milman. On the role of convexity in isoperimetry, spectral gap and concentration. Inventiones mathematicae, 177(1):1–43, 2009.
Mridul Nandi, N. V. Vinodchandran, Arijit Ghosh, Kuldeep S. Meel, Soumit Pal, and Sourav Chakraborty. Improved streaming algorithm for the klee's measure problem and generalizations. In Approximation, Randomization, and Combinatorial Optimization. Algorithms and Techniques, APPROX, volume 317 of LIPIcs, pages 26:1–26:21, 2024. doi: 10.4230/LIPICS.APPROX/RANDOM.2024.26.
Lawrence E Payne and Hans F Weinberger. An optimal poincaré inequality for convex domains. Archive for Rational Mechanics and Analysis, 5(1):286–292, 1960.
Boris T Polyak and EN Gryazina. Billiard walk-a new sampling algorithm for control and optimization. IFAC Proceedings Volumes, 47(3):6123–6128, 2014.
Sheldon M. Ross. Introduction to Probability Models. Academic Press, London, 13th edition, 2023. ISBN 978-0443187612.
Daniel Rudolf and Mario Ullrich. Positivity of hit-and-run and related algorithms. Electronic Communications in Probability, 18(none):1–8, January 2013. ISSN 1083-589X. doi: 10.1214/ecp.v18-2507. URL http://dx.doi.org/10.1214/ECP.v18-2507.
Rolf Schneider. Convex bodies: the Brunn-Minkowski theory, volume 151. Cambridge university press, Cambridge, 2 edition, 1993.
Arijit Shaw, Uddalok Sarkar, and Kuldeep S. Meel. Efficient Volume Computation for SMT Formulas. In Proceedings of the 22nd International Conference on Principles of Knowledge Representation and Reasoning, pages 544–554, 10 2025. doi: 10.24963/kr.2025/53. URL https://doi.org/10.24963/kr.2025/53.
Mate Soos, Uddalok Sarkar, Divesh Aggarwal, Sourav Chakraborty, Kuldeep S. Meel, and Maciej Obremski. Engineering an efficient approximate DNF-counter. arXiv preprint, 2024. URL http://arxiv.org/abs/2407.19946.
Elias M Stein. Singular integrals and differentiability properties of functions, volume 2. Princeton university press, 1970.
William Swartworth, David P. Woodruff, and Samson Zhou. High probability streaming lower bounds for estimation. In Approximation, Randomization, and Combinatorial Optimization. Algorithms and Techniques, APPROX, volume 392, pages 76:1–76:23, 2026. doi: 10.4230/LIPICS.APPROX/RANDOM.2026.76.
Sándor Zsuppán. Connections between optimal constants in some norm inequalities for differential forms. Zeitschrift für Analysis und ihre Anwendungen, 39(2):171–184, 2020. doi: 10.4171/ZAA/1656. URL https://doi.org/10.4171/ZAA/1656.
A Additional Related Work on Point Sampling
Although sampling from log-concave distributions is #P-Hard, a long line of research has been devoted to designing randomized approximate samplers for log-concave distributions. These algorithms generate samples whose distribution is -close (in total variation distance) to a target log-concave distribution supported on a convex body .
The initial approaches towards this direction used grid walk on a discretization of the log-concave function on the assumption that the function is sufficiently smooth (e.g. Lipschitz continuous) [Ap-plegate and Kannan, 1991]. This large polytime dependence on the dimension was soon brought down to queries to the membership oracle by ball walk [Kannan et al., 1997]. The idea of ball walk is to propose a point sampled uniformly from a ball of small radius around the current point, and accept the proposal if does not leave the body. Starting from -warm distribution, the Ball walk was later analyzed [Lovász and Vempala, 2007] to have a query complexity of where is the warmness of the starting distribution with respect to the target.
Another style of algorithm, namely Hit-and-Run was showed to mix as fast as the Ball-walk. Lovász and Vempala [2006, Theorem1.1] showed the dependence on to be polylogarithmic for Hit-and-Run: . This algorithm draws a uniformly random line through the current point and moves to a new point sampled proportional to conditioned on . This approach became influential, inspiring many new variants: a coordinate variant that restricts the random line to coordinate directions was proposed by Laddha and Vempala [2023], and a version with reflections off the boundary of , called the Billiard Walk [Polyak and Gryazina, 2014], was later introduced.
Sampling becomes easier when then convex bodies are polytopes. Kannan and Narayanan [2009] proposed Dikin walk for polytopes that were later generalized for log-concave distributions by Mangoubi and Vishnoi [2022]. More recently, attention has shifted toward guarantees in distances stronger than TV, such as Rényi and divergences [Kook and Vempala, 2025].
B Useful Technical Results
We recall a few standard probabilistic tools that will be used throughout our analysis. They are available in any standard probability text book like Ross [2023]. We begin with Markov's inequality, followed by some basic properties and concentration bounds for Poisson random variables.
Lemma 24 (Markov's Inequality). Let be a non-negative random variable. Then, for every ,
In particular, for any real-valued random variable with mean and any ,
Poissonization. Poisson random variables play a central role in our algorithm. Unlike sampling schemes that require distinct representatives, Poisson sampling naturally accommodates repeated samples. More importantly, the additivity and splitting properties of Poisson distributions allow us to analyze sample counts over disjoint regions of a continuous space. This enables us to work directly with volumes, avoiding the discretization step employed in Shaw et al. [2025].
We recall the relevant properties below.
Lemma 25 (Additivity of Poisson Random Variables). Let be independent random variables with , where . Then
The next lemma states the Poisson splitting property: when a Poisson number of independent samples is drawn from a distribution, the numbers falling in disjoint measurable regions are independent Poisson random variables.
Lemma 26 (Poissonization). Let be a probability space, and let be a probability distribution on . Consider a partition
into disjoint measurable subsets. Suppose that and, conditional on , we draw independent samples from .
For each , let denote the number of samples belonging to . Then are mutually independent, and
Additionally we state the monotonicity property of Poisson random variable; which essentially states that the tail bound of a Poisson distribution increases when the Poisson parameter is increased.
Lemma 27 (Monotonicity of Poisson Random Variables). For positive reals and a quantity , Then the following inequality holds:
Proof. We proceed by a coupling argument. Consider independent random variables , and . Since , this construction is valid. By Lemma 25, the sum . Thus it remains to prove the claimed inequation, with in place of (since both follow the same distribution, and all we care about are their tail bounds).
Observe that whenever the event occurs, by our construction this naturally forces to be larger than . Hence the event is contained within the event , and thus the inequality holds.
Finally, we recall a standard concentration inequality for Poisson random variables.
Lemma 28 (Chernoff Bound for Poisson Random Variables). Let . Then, for every ,
Definition 4 (Coupling). A coupling of two probability distributions and is a pair of random variables defined on a common probability space such that and . That is, the marginals of the joint distribution of is exactly and respectively.
Lemma 29 (Coupling inequality). (See [Den Hollander, 2012, Theorem 2.4].) Let be any coupling of and . Then .
Lemma 30 (Indistinguishability lemma). Let and be two algorithms with total variation distance . Then if fails with probability at most , then fails with probability at most .
B.1 Property of Almost- Closeness
We compare the proposed guarantee with the two familiar notions of approximate sampling. Throughout, is as defined above.
closeness. We say that is close to if
Equivalently,
This is a stronger requirement than almost- closeness, since it demands multiplicative control of the sampling density over the entire domain, without allowing any exceptional region. Indeed, if D is close to , then
Consequently, is -close to for every .
closeness. Recall that the distance between D and is defined as
Unlike closeness, an guarantee controls only the average deviation of the sampling density. Consequently, closeness does not necessarily imply -almost- closeness when is small.
For example, let be uniform on and consider a distribution D with relative density
where . Clearly, h is a valid probability density, and
However, , implying
Therefore, is not -close to for any . In particular, an guarantee of order is insufficient for the regime required by our application.
Nevertheless, a substantially stronger guarantee does imply almost- closeness, as established by the following lemma.
Properties 1. Let and .
-
If is -close to , .
-
If , then is -close to .
The comparison clarifies the strength of our requirement. Global multiplicative closeness implies -closeness for every , whereas an error of order need not suffice when is small. The conversion above instead requires error at most ; for our parameter regime, this is . This is a sufficient condition, not a necessary one: almost- closeness allows larger average error provided that the density distortion is localized and its exceptional mass is controlled.
C Exceptional Sampling Guarantees for Hit and Run
In this appendix, we provide a proof of Theorem 21. We restate it below too after recalling the relevant notions.
Let us first recall the point sampling subroutine described in Section 4.2. For a convex body , we require independent samples from a distribution that is -close to the uniform distribution . If and
then the implementation used in the analysis uses the two bounds
In particular, in line 4 of Algorithm 1, we assign the parameters
We recall the geometric setup and Hit and Run terminology here again for convenience. Some other standard notions will be recalled as we move through the section. Let contain a Euclidean ball of radius (called the inball) and be contained in a Euclidean ball of radius (called the outball). We start from an interior point and let . Let denote the distribution after Hit and Run steps. We use for the uniform distribution and for the relative density. These densities exist for by the transition-density formula of Lovász and Vempala [Lovász and Vempala, 2006, equation (5)]. The exceptional set at time (so after step ) is precisely the set introduced in Section 6.2.2.
The theorem we want to prove is this.
Theorem 31 (Walk length for the sampling subroutine). With and , both bounds in Equation (10) can be obtained in
Hit and Run steps.
For the proof, we would require to invoke the convex-body diameter bound of [Payne and Weinberger, 1960, Equation 4.3], whose proof was corrected by Bebendorf [2003]. We will use the formulation of [Milman, 2009, Theorem 5.10] consistently.
Let us now proceed towards proving Theorem 31.
C.1 General sampling and contraction bounds
We write for the spectral gap of Hit and Run. Also since in dimension one, a single Hit and Run step samples exactly uniformly from the interval , we assume from now on that .
What we will prove abstractly is the following theorem, which gives a sufficient number of steps required to run Hit and Run for, starting from any interior point, so that we can satisfy the guarantees of Equation (17).
Theorem 32. Let . Then every integer t satisfying
satisfies the guarantees
Given this theorem, if we have a lower bound on , then we can complete the proof of Theorem 31. Towards that, let us define the following quantity. We define as the least constant for which
holds for every . Here consists of square-integrable functions with square-integrable weak derivatives . Then we have the following.
Lemma 33 (Contraction for Hit and Run Corollary and Extension of [Kook and Vempala, 2026, Theorem 1.1]). There is a universal constant c > 0 such that
In particular
Moreover, for every mean-zero and every integer ,
Now we prove Theorem 31.
Proof of Theorem 31. Substituting the parameter values gives
and thus
By Theorem 32, both sampling guarantees hold whenever
Plugging Equation (21) in this bound gives Equation (18).
With this settled, we move on to the proofs of Theorem 32 and Lemma 33.
A function has weak derivative if for all test functions (the space of all compactly supported smooth functions) one has .
C.2 Regularising the point-start density
We now prove Theorem 32. The idea of the proof is as follows:
-
First use a few steps of Hit and Run to make the density square-integrable
-
Then use the remaining steps to reduce its (squared) error by spectral contraction.
Let us first see how a squared-error bound gives both sampling guarantees in Equation (10). This will justify why we want item (2).
Lemma 34. Let , and let have relative density with respect to . If
then and .
Proof. For the first guarantee, we can use Markov's inequality to get
For the second guarantee, we can use Cauchy-Schwarz on the exceptional set to get
Now we proceed to towards item (1), that is, bound the number of steps required for the first square-integrable step. For that we need a bound on the density after the first few steps. Let us write , where is the Euclidean unit ball.
Lemma 35 (The first square-integrable step). Let . Then
and is the first square-integrable density.
Let us first see how this estimate completes the proof of Theorem 32.
Proof of Theorem 32. Let . Since is a probability density, has mean zero and so by Lemma 35, we have
Applying Equation (22) from Lemma 33 then gives, for ,
Then plugging in the value in Equation (19) bounds the right-hand side by and hence both sampling guarantees now follow from Lemma 34.
Remark 1. Let us also mention what the proof gives for convergence from a point start in standard Hit and Run terms. With , for every , note that we have
Consequently, for any , we have whenever
We can also get total variation error at most by replacing by since . Let us compare this with the bound Lovasz-Vempala got. Their original point-start result gives total variation error at most in
steps [Lovász and Vempala, 2006, Corollary 1.2]. The same also follows from [Kook and Vempala, 2026, Theorem 1.1 and Corollary 1.2], using the usual first-step truncation together with the convex-domain diameter bound [Milman, 2009, Theorem 5.10] for the Poincare. On the other hand, Lovasz-Vempala's conductance bound [Lovász and Vempala, 2006, Theorem 4.2] with our regularisation estimate gives the same total variation guarantee in
steps. Thus our result improves the coefficient of by a factor of order n.
Let us now prove Lemma 35. We recall some standard facts about Hit and Run. For distinct , let be the length of the chord on the line through and . The Lebesgue transition density is [Lovász and Vempala, 2006, equation (5)]
Note that this formula is symmetric in (so we have a reversible Markov chain). Consequently densities evolve by , where
For nonnegative integrable functions these identities follow by Tonelli's theorem.
The ball lies inside K, so every chord through has length at least 2d. It follows that
Observe that the factor is due to the singularity near the starting point. The idea for the proof of Lemma 35 is to follow this singularity near through the initial steps and keep track of it inside the fixed ball with . Since every has boundary distance at least , the kernel in Equation (25) satisfies
The next lemma is a small technicality that explains why applying this kernel shaves off a power from the singularity, and we will then use this to prove Lemma 35.
Lemma 36. For and ,
Let us now use this estimate to prove Lemma 35 and then prove Lemma 36 itself.
Proof of Lemma 35. We split the density at each step into a singular part supported on and a bounded part. Let us define the sequence
and initially let , where and . By Equation (26), we have
For , we define
Both and are nonnegative and sum to . Thus each component has -integral at most one.
We now claim that for every ,
The claim holds at . If it holds at , then , so Lemma 36 gives
This profile is at most one on because . Consequently the second term in the expression for is bounded by . Since is a Markov operator, it contracts and hence we have
This proves the claim by induction.
Now at step , the exponent satisfies . Moving to polar coordinates therefore gives
Using this and the mass bound , we obtain the estimates (where all norms are with respect to )
The value bounds the first density outside U. Each application of Lemma 36 multiplies the coefficient of the singular part by at most 16, so captures this growth.
The idea for this definition is to understand what happens when we stay in U vs when we go outside of U. keeps track of when we have stayed inside U throughout the first j steps, and this lets us repeatedly apply Lemma 36. The on the other hand tracks what happens if we venture out and also if we venture out and come back to U.
and
Now since , we have
This proves Equation (24). All that remains to show is that is really the density at the first square-integrable step (or equivalently, is the first square-integrable step). For this, observe that every chord has length at most . Thus Equation (25) gives
We claim that for some positive constants , we have
To show the claim, we again use induction on . The lower bound in Equation (29), together with , proves the case of . For the inductive step, we let and integrate over . On that ball, and , giving . For , the squared-density integral consequently contains the divergent radial integral
Thus together with Equation (24), this shows for while is square-integrable. Hence this proves that is the first square-integrable step.
Remark 2. It is interesting to note that the number of steps required for regularisation is completely independent of the required accuracy and depends only on the dimension. To the best of our knowledge, this exact threshold for square-integrability from an interior point has not been stated previously for Hit and Run.
Remark 3. We also want to remark the following. The introduction of Kook and Vempala [2026] mentions applying convergence after one Hit and Run step and their convergence estimate uses a square-integrable initial relative density [Kook and Vempala, 2026, Corollary 1.2 and equation (1.2)]. For a point start, note that for , but still the usual first-step truncation gives a total variation guarantee [Lovász and Vempala, 2006, Corollary 1.2 and Section 5]. In contrast, our Lemma 35 proves that steps are necessary and sufficient for the full density to actually acquire finite .
We finish this subsection by proving Lemma 36. For that we will use the Riesz convolution formula [Stein, 1970, Chapter V, Section 1], for and , which states that
where
Proof of Lemma 36. Using Equation (27), enlarging the integration domain to , and recalling that 2a = d, we obtain
All that is left is to bound . For that, we can use the fact that is log-convex on the positive reals and and to get
This proves the lemma.
C.3 Contraction for Hit and Run
We now give the geometric proof of Lemma 33, following the half-volume comparison described before.
Without loss of generality, let us translate the centre of an inball to the origin, so . Let be the functional Cheeger constant [Milman, 2009, Lemma 2.2], which is the largest constant such that every Lipschitz function satisfies
For succinctness, let and let be the radius measured from the chosen centre.
We will use this slightly technical lemma that bounds the deviation of any Lipschitz over the body using the (norm of the) gradient of and .
Lemma 37. For every Lipschitz function f on K,
Towards proving this, it will help to break down slowly what we really need. One can consider this discussion to be part of the proof itself. Since , it makes sense to consider the scaled version of so that (technically speaking, any scaling that makes the measure a constant less than 1 works, but is convenient because taking half the volume makes life a lot easier as we will later see). Let be the gauge of . Then using the convexity of and the inball , we have
In particular, every point is at least from the boundary, that is
The Cheeger inequality in Equation (30), applied after scaling K to C, will control the error on C once we choose z as a median of f on C there. To pass from C to K, we want to bound the following difference by something:
The gauge of a point x in a convex body (containing the origin inside it) is the smallest possible (infimum technically) scaling of the body so that x lies on the boundary.
Now we observe that for any Lipschitz vector field , we have the identity
where is the outward unit normal vector to and is the boundary measure.
So it is natural to ask for a vector field such that almost everywhere and so that the right hand side of Equation (33) turns into
which is much easier to handle. For the actual bound in Lemma 37, we note that
and hence we also want . This turns out to be a boundary value problem, which has as (one of its) solutions
So we will work with this. Let us quickly verify that this actually works.
The gauge is easily seen to be Lipschitz and satisfies almost everywhere, and so directly differentiating the vector field gives
Also note that for and , so
This is the core of the geometric argument, the rest is going through the motions to get the final bounds. So let us now begin the formal proof of Lemma 37 assuming the above context and notions.
Proof of Lemma 37. Choose a median of on . Integration by parts gives
To control the first term, we have
Use and note that the integral of the left side vanishes since it becomes a boundary integral by the divergence theorem and on . Then rearrange the left hand side terms and use .
This is the payoff for choosing the particular scaling of for , as now .
where the first inequality comes from applying the Cheeger inequality in Equation (30) to and changing variables from K to C, and the second inequality follows from the distance bound in Equation (32). Substituting this and Equation (34) into Equation (35) gives
(36)
where we used .
We now need to bound . For that, we use the elementary estimate . To see this, choose a unit vector with , and let be the density of for , with support and median . By the Brunn-Minkowski theorem [Schneider, 1993, Theorem 7.1.1], is concave and hence for . Integrating this bound gives
Analogously
Thus in particular, we have . To turn this into a bound on , we show by testing the Cheeger inequality on functions approaching the indicator of the median halfspace . For s > 0, consider the function
This function has median zero, so Equation (30) gives
Letting gives . Since , we obtain
Using Equation (37) in Equation (36), we have the bound
Taking the infimum over constants proves the lemma.
We can now finish the proof of Lemma 33. Also, we recall that the Babuška-Aziz constant is the least constant such that every mean-zero admits a vector field with and
Proof of Lemma 33. Let us first turn the inequality from Lemma 37 into a variance bound. For a Lipschitz function , choose a median under and apply Equation (31) separately to and , each of which has median zero. Applying Cauchy-Schwarz and adding the bounds gives
The inequality in Equation (38) is the improved Poincare inequality [Zsuppán, 2020, Definition 3.1] and thus the improved Poincare constant is .
To connect the improved Poincare constant with the Babuška-Aziz constant , we would need Equation (38) to hold on a larger class than just Lipschitz functions. To that end, let us show that we can extend the inequality to as follows. For , contract and let . The function is on a neighbourhood of , and convexity gives . Thus its weighted energy is at most times that of . Convolving with mollifiers gives smooth functions converging to it in [Ambrosio et al., 2000, Section 2.2]. Since is bounded, we can pass to the limit in Equation (38) to obtain it for . Finally, in as , so . Using the weighted-energy bound above and now gives Equation (38) for .
We now use Equation (38) to bound the Babuška-Aziz constant , and then apply the comparison with the Hit and Run spectral gap .
Applying the Costabel-Zsuppán comparison [Costabel, 2017, Theorem 2.1][Zsuppán, 2020, Lemma 3.4 and Remark 3.6] to Equation (38) gives
Next we can use [Kook and Vempala, 2026, Proposition 2.1] to get
Using Equation (38) and from Equation (37), we have
The Cheeger-Poincare equivalence for convex bodies then gives for a universal [Milman, 2009, Theorem 1.5]. This proves Equation (20).
For the geometric bound of Equation (21), we use Milman's convex-domain diameter estimate [Milman, 2009, Theorem 5.10] to get
Substituting this in Equation (20) proves Equation (21).
is the space of all functions that are locally in for every open subset with a compact closure contained in the domain
For , this means , where we weight the squared gradient by the squared distance from the boundary.
Costabel bounds by 1+the Friedrichs-Velte constant, and Zsuppan bounds the Friedrichs-Velte constant by 4 times the improved Poincare constant.
Finally, let us prove the contraction claim. For each fixed direction, averaging along parallel chords is a conditional-expectation operator and hence an orthogonal projection. Averaging these projections over the sphere gives a self-adjoint positive operator that preserves [Kook and Vempala, 2026, Section 2.1], see also [Rudolf and Ullrich, 2013, Section 3.1]. Its spectral gap is
On the -invariant subspace , the spectrum of lies in and thus the spectral theorem gives
where the last inequality follows from Equation (20).
C.4 The one-step truncation bound
Finally, in this subsection, we justify the one-step deduction used in Equation (13). The idea is to separate the mass in a neighborhood around after the first step and apply the contraction bound in Lemma 33 to the density outside this neighbourhood. For arbitrary , both sampling guarantees hold whenever
To see this, let for simplicity of notations and consider the neighborhood . Conditional on the line chosen in the first step of Hit and Run, the fraction of the chord that lies inside is at most . Hence the first-step probability of being inside is at most . By Equation (26), the density on is bounded by
We want to understand what happens to the error that we controlled in Lemma 33 for this neighborhood. So define
where the first term captures the part of the first-step density outside S after another t-1 steps, and the second term is the mean. Then f has mean zero by definition and
The contribution from S is nonnegative, and its total mass is preserved
and thus Lemma 33 gives
Now suppose this squared norm is at most . Each of the sets
has -measure at most by Markov's inequality, and hence their union has measure at most . Outside this union, the upper deviation of from one is at most , and the lower deviation is at most .
Finally, to bound the probability of sampling from the exceptional set, observe that
Taking logarithms shows that Equation (40) gives , as required. Substituting Equation (17) in this threshold and using Equations (20) and (39) gives Equation (13).