Manuscript Offprint
arXiv:2608.25298Sequential Euclidean tree construction with exponential memory: distributional performance and worst-case guarantees
Sequential Euclidean connections with exponential memory: distributional performance and adversarial robustness
Pedro M. M. de Castro
Centro de Informática, Universidade Federal de Pernambuco
Recife, Pernambuco, Brazil
August 29, 2026
Abstract
Points in the unit ball of are processed sequentially. Each new point is connected to a state that summarizes earlier observations, after which , with . The cost is the sum of the -powers of the connection lengths. This constant-gain rule interpolates between the input-order path and the star centered at the initial point. For independent uniform points, we establish the stationary insertion-length distribution and prove that it decreases in stochastic order as increases. If , or if , the optimal constant parameter satisfies , with an explicit asymptotic constant and closed bounds. For , its leading expected tree length equals that of the center star and is eventually smaller than the expected lengths of both endpoint constructions. For , the optimizer is unique and characterized exactly. For the same , choosing as a fixed positive multiple of gives a sharp two-term expansion of the expected uniform-input cost and a maximal adversarial mean cost of . For every fixed and , the exact asymptotic adversarial value is . When , exponential weighting is within a factor smaller than of the best fixed nonnegative weighted rule with the same average look-back, for . Comparison with the running mean highlights its time-homogeneous update, stationary coefficient profile, and fixed effective memory.
AI-use disclosure. OpenAI's ChatGPT and Codex were used as research tools to assist the author with literature retrieval, mathematical exploration, symbolic and numerical checks, and draft preparation and revision. The author formulated the research questions and mathematical framework, developed and refined the results and arguments with this assistance, and critically reviewed the manuscript throughout. Responsibility for the mathematical statements and the final manuscript rests entirely with the author.
Keywords. Geometric probability, stochastic recursion, exponentially weighted averages, stochastic orders, online algorithms, worst-case analysis.
Mathematics Subject Classification. 60D05, 60E15, 60G10, 68W27.
Starting with , we attach to and then update
where is kept constant throughout the construction. The state is the memory retained after processing : it summarizes the entire observed sequence by giving progressively less weight to older points and requires only one -dimensional point of storage. The parameter controls how long the past influences subsequent attachments. The choice gives the path in insertion order, and gives the star centered at . For , this is the geometric moving average introduced by Roberts [23], now usually called an exponentially weighted moving average. The results below show that this constant-gain state retains sequence-dependent attachment points, improves the expected cost under uniform sampling, and reduces the exact worst-case scale of the path. The online rule stores one -dimensional point of working state. Retaining the updated points as labelled auxiliary vertices gives a caterpillar graph whose spine is . Our primary objective is the sum of the -powers of the insertion lengths. When , this objective is also the Euclidean length of the subdivided tree. For other values of , the edge-power cost of the labelled tree is related to the insertion cost by the explicit factor in Eq.(3). Since this factor depends on , a parameter minimizing the insertion cost need not minimize the edge-power cost. The optimization objective throughout is the insertion cost.
One concrete algorithmic motivation comes from sequential point location in a fixed planar Delaunay triangulation. Suppose that are successive queries and that a triangle containing is known. A straight walk from to visits the triangles intersected by the segment . The insertion length is therefore the length of the geometric trajectory used by this walk. Moreover,
lies on the same segment. While locating , one can record a triangle containing and use it as the starting triangle for the next query. The same walk then performs two related tasks: it locates the current query and provides the location state from which the following query can be processed. In particular, the updated state requires no separate point-location walk.
This connection also explains the role of the memory parameter. Starting each walk at the preceding query makes the procedure immediately responsive to the observed sequence, but alternating queries between distant regions produces long displacements. Starting every walk at a prescribed center gives a stable reference point while discarding the spatial coherence of the queries. The state lies between these two choices: it follows a persistent change in the query locations and attenuates the effect of an isolated long jump. Thus the insertion objective measures the motion of a starting point that adapts to the observed sequence with a tunable amount of memory. Walking strategies for point location are studied in [9], and the use of previous queries in distribution-sensitive point location is developed in [8]. Intersections with random geometric objects and navigation in random Delaunay triangulations are analyzed under specific probabilistic and boundary assumptions in [4, 10, 5]. For a straight walk, the Euclidean insertion length is the length of its trajectory. The number of crossed triangles also depends on the geometry and spatial distribution of the triangulation, so a traversal-complexity analysis requires additional hypotheses.
The same recursion also has a restrained facility-location interpretation. If is the position of a mobile facility and is the next request, the update moves the facility a fixed fraction toward that request. Both the travelled distance and the remaining service distance are fixed multiples of the insertion length. Related online models charge both movement and service distances [12]. Smoothed online optimization formalizes the sum of a movement cost and a per-round hitting cost; Online Balanced Descent chooses each decision by balancing these two terms [6, 13]. Convex-function chasing likewise asks an online decision maker to control function and movement costs [2]. The rule studied here is a specialized geometric policy: its gain is fixed in advance, and the new request determines both the insertion vector and the next affine state. This restricted form permits exact distributional and adversarial calculations.
The first main result establishes the distributional side of the tradeoff. For independent points uniformly distributed in the ball, let be the stationary insertion length. We prove that
Thus every positive moment of the insertion length is nonincreasing as the rule gives more weight to the past. In the high-weight limit ( ), the attachment point concentrates at O, and the expected -power approaches , the corresponding value for the center star. The proof uses majorization and a theorem of Olkin and Tong [21] on the peakedness of weighted sums of independent random vectors with symmetric log-concave densities.
The same phenomenon leads to a usable parameter choice for a fixed number of insertions. We optimize over rules whose value of remains constant during the construction. When , as well as in the separate case , every minimizing choice satisfies , and the expected cost is plus an explicitly bounded term of order . The constant is given by a one-dimensional integral and bounded above and below by closed expressions in and . For , the complete formula is explicit for every , and, for ,
The same scale also links the distributional and adversarial criteria for a fixed number N of insertions. If , the uniform-input cost has the expansion above with its -dependent constant, and the largest mean cost over length-N input sequences is . The latter bound includes the potential terms that remain when varies with N. For ordinary Euclidean length, the comparison is especially direct. The input-order path and the star centered at both have expected length , where is the mean distance between two independent uniform points. The optimized exponential rule has leading expected cost , which is the leading cost of the center star and is strictly smaller than .
The second main result supplies the worst-case side of the tradeoff. For every fixed and , the largest asymptotic mean insertion cost over arbitrary point sequences is
The lower bound is attained by alternating the endpoints of a diameter, and the upper bound follows from explicit state potentials. As increases to one, this value approaches the unit worst-case scale of the center star. The rule therefore preserves an attachment point computed from the input while its worst-case mean cost approaches that stable reference value. For every fixed and integer , the periodic input that repeats one endpoint times and then its antipode times eventually has a strictly larger adversarial mean cost than antipodal alternation as tends to infinity.
We also compare exponential weighting with all fixed nonnegative weighted averages for which the contributing points lie, on average, the same number of insertion steps before the most recent one. In dimension at least two and for , its adversarial cost is less than times the smallest cost in this class. The ratio tends to one as this average grows. This gives a direct justification for exponential weights under that precise constraint. The broader class may have infinite support and need not admit a constant-state implementation.
Keeping constant is an essential restriction. The arithmetic mean of all observed points also stores one point, but its coefficients change at every insertion and its average number of insertion steps into the past grows with the sequence. For uniform input, the difference between its expected cost and is of order . Under the hypotheses of Theorem 3.9, this is smaller than the correction of the best constant . For , its asymptotic adversarial mean cost is also one. These facts delimit the role of exponential weighting precisely. The fixed exponential rule is distinguished by its stationary behavior, time-homogeneous constant-gain update, fixed effective memory, and exact adversarial guarantees through .
The stationary monotonicity and second-moment formulas used in the central comparison are proved in the main text. Further properties are organized by function in the appendices: a stochastic comparison for the running mean, exact transforms and fourth moments, high-memory distributional limits, and the periodic obstruction beyond . The stationary analysis belongs to the theory of iterated random functions [11].
Sequential connection in Euclidean space provides the geometric background [25, 7]. Online Steiner tree problems study related incremental connections in graphs and metrics [16, 14], including recent variants with predictions [27]. Our earlier work [7] studies power-weighted Euclidean minimum k-insertion trees under worst-case and uniform input, together with star comparisons under uniform input; its case k = 1 is the input-order path used here as an endpoint. The present model replaces the terminal attachment point by one affine summary of the observed sequence. Exponentially weighted moving averages provide the recursion [23], while iterated random functions provide the stationary framework [11]. The results below join these ingredients through uniform-input optimization and exact adversarial analysis. Section 2 defines the rule and its geometric realization. Section 3 treats uniform input, the optimal constant parameter, and the time-varying comparison. Section 4 proves the worst-case results and compares fixed weighted averages. The appendices collect the logically separate supporting results described above.
Contributions. The established ingredients used here include the exponential recursion, stationary affine series, multivariate majorization, characteristic-function products, and triangular-array central limit theory. The contributions of the paper are the radial finite-sample bounds for the insertion cost; the sharp square-root scale and explicit constant for the optimal fixed gain; the exact quadratic optimizer for every N; stochastic monotonicity of the stationary insertion length; a distributional and adversarial guarantee for the same N; the exact adversarial value through cubic costs and its periodic obstruction at higher powers; and the approximation guarantee among fixed nonnegative weighted averages. The numerical section evaluates the explicit constants, N-dependent calibration, and finite-support weight comparison with a fully reproducible implementation.
2 The insertion strategy
Let
be the unit ball, with center . Throughout, . Let be given in their insertion order. The state is required to be generated from the observed points, so the main model starts with . For a fixed value of , define
The insertion cost of the next N points is
We call the construction defined by Eq.(1) the -strategy. Its state is a geometrically weighted average of the observed points and is stored as one point of B. For fixed d, this is constant-dimensional state in the real-RAM model. The insertion index and the fixed parameter require only scalar storage. This statement concerns the state needed to compute the next attachment point.
Proposition 2.1. For every input sequence in , the recursion keeps in . More precisely, belongs to . With , the choice gives the star centered at , and gives the path defined by the insertion order.
Proof. Eq.(1) is a convex combination of and . Induction gives the stated convex-hull property and hence . For , at every step, so the segments are . For , , so the segments are .
The initialization rule excludes an exogenous anchor. If the center O is made available as an additional initial vertex, then and join to O. Connecting the point in that different model requires the additional segment . Under uniform input, the known center is useful as a reference construction, while all optimization results below retain the admissible initialization .
For a precise geometric realization, retain a labelled auxiliary vertex after the -th update and subdivide at . It is a Steiner vertex of the geometric realization whenever it is distinct from the input points. The abstract graph has the edges
Thus form a path, and each input point , , is joined to . This labelled abstract graph is the tree used throughout the paper. Geometric coincidence does not identify distinct labels, and crossings or overlaps of straight segments do not create additional vertices. Edge lengths are counted with multiplicity. A zero-length edge may be contracted only by identifying its two adjacent endpoints. Contracting the zero-length leaf edges when gives the input-order path, while contracting the zero-length spine edges when gives the star centered at .
Figure 1 shows the two endpoint constructions and an intermediate value of for the same ordered points. The intermediate construction retains the spine of the caterpillar graph and joins each input point to the auxiliary vertex obtained after its insertion.
Since
the sum of the -powers of all edge lengths in the subdivided tree is
(a) Input-order path
(b) Initial-point star
(c) -strategy,

Figure 1: Geometric constructions for the same ordered input. Each panel uses an orthographic projection of a three-dimensional scene. The translucent light-blue shell is the unit sphere, the thin black ellipse is a great circle, and O is its center. In panel (c), black disks are the input points, open dark-blue circles are the auxiliary vertices , green segments form the spine of the caterpillar graph, and orange segments are the leaf edges . Here . The zero-length edges at and are contracted in panels (a) and (b), respectively.
Thus the Euclidean tree length is . For , Eq.(3) gives the edge-power cost of the tree defined above for each fixed . This quantity depends on the subdivision: dividing a segment of length into equal parts changes its contribution from to . The vertices are specified by the construction, so Eq.(3) describes the tree obtained from those specified subdivisions. The optimization objective throughout is the insertion cost .
All results are stated for the unit ball. Scaling the ball by a factor R multiplies every insertion cost of order by .
The endpoint is singular for asymptotic statements. For each finite , Eq.(1) and Eq.(2) remain well defined and give the star centered at . When , the influence of the initial state decays geometrically and the recursion has a unique stationary law under independent uniform input. At , the state stays at its initial value and no unique stationary law exists. The same distinction appears under adversarial input: if that model is extended to , then
The values for fixed obtained in Theorem 4.8 tend to one as increases to one. Thus taking the long-run limit before the endpoint limit gives a different answer from fixing first.
3 Uniform points in the ball
Throughout this section, are independent and uniformly distributed in , and .
3.1 Expected cost for a fixed number of insertions
Put
Fix a unit vector and, for , define the radial mean cost
Rotational invariance makes this definition independent of the choice of . For and , let
The next overlap comparison is a direct ball version of the translated-set inequalities originating with Anderson [1]. The slice proof also gives the strictness needed below.
Lemma 3.1. For t > 0 and a unit vector v, the function
is nonincreasing on . If , then its value at is strictly smaller than its value at for every in a nonempty open interval containing one.
Proof. Slice both balls by lines parallel to v. On a line indexed by , the two slices, when nonempty, are intervals centered at zero and r, with half-lengths
The length of the intersection of two intervals with fixed half-lengths is nonincreasing in the distance between their centers. Integration over proves the first assertion. For , the two central slices have the same positive half-length and their overlap is strictly decreasing as the separation increases from to . The same strict inequality holds for all in a neighborhood of zero and, by continuity, for all in a neighborhood of one. Integration over this positive-measure set of slices proves the second assertion.
Proposition 3.2. For a fixed and an independent uniform point ,
Moreover,
and for .
Proof. Rotational invariance shows that the conditional expectation depends on only through , which proves Eq.(5). Consider the same mean cost as a function of the full state:
When , the distributional second derivatives of are locally integrable. Fix . If and lies within distance of , then belongs to the ball of radius centered at . Each second derivative is therefore integrable on the compact domain relevant to the convolution. Convolving it with the indicator of gives a continuous second derivative. The resulting Hessian is continuous, and hence bounded, on . Thus the mean-cost function is twice continuously differentiable in a neighborhood of . Symmetry gives zero first derivative at the origin. The Hessian of the integrand at is
Since the uniform distribution is isotropic and
the expected Hessian is . This proves Eq.(6) whenever . In the remaining one-dimensional cases, direct integration gives
which has the same expansion.
For the strict inequality, the layer-cake representation gives
For , Lemma 3.1 makes the integrand at at least the integrand at for every , with strict inequality on a nonempty interval. Integration in therefore gives . Taking proves the stated inequality.
For , put
Proposition 3.3. Assume and . Extend
to by setting . If , this function is strictly decreasing when , is identically one when , and is strictly increasing when . If , it is strictly increasing when , is identically when , is strictly decreasing when , is identically one when , and is strictly increasing when . In every case, .
Proof. Take to be the first coordinate vector. First assume . Let be the first coordinate of a uniform point on the unit sphere in , and let be uniform on the unit sphere in . The map belongs to : near its only possible singularity the norm of its weak gradient is a constant times , whose radial integral is a constant times . The weak divergence theorem is therefore applicable. Integration by parts in the first-coordinate density on the sphere gives, for ,
(8)
Indeed, , and multiplication of the first-coordinate density in dimension by , followed by division by this normalizing constant, gives the corresponding density in dimension .
If , direct integration gives
The first coordinate of a uniform point u on the unit sphere in is uniform on . Direct integration in that coordinate therefore gives
Thus Eq.(8) holds for every .
Let
For in the open unit ball of , the distance from to the unit sphere is positive. The kernel and all its derivatives are then uniformly bounded in a neighborhood of , which justifies differentiation under the expectation and gives
This potential is radial. Hence
Since , the sign of for is the sign of . This gives the stated alternatives for both and . Integrating Eq.(8) and substituting yield
Thus has the asserted monotonicity. Near on the sphere in , the surface element and the kernel in give a radial integrand of order . Since , dominated convergence extends the conclusion to . To evaluate the endpoint, use polar coordinates . The condition becomes and , so
For , the same calculation uses the counting measure on the zero-dimensional sphere. Subtracting proves the last assertion in every dimension.
It follows that the best constants in a quadratic envelope for the conditional cost are
(10)
In particular, , and
Neither constant in Eq.(11) can be improved uniformly over .
Lemma 3.4. For , with ,
Proof. Iteration of the recursion gives
The summands are independent and centered. Hence
which reduces to Eq.(12).
Theorem 3.5. For and ,
The accumulated state second moment is
Eq.(14) extends continuously to . For , define the correction factor
Then , and the bounds for become
Proof. At insertion , the point is independent of . Apply Eq.(11), take expectations, and sum Eq.(12) for . Evaluating the two geometric sums gives Eq.(14) and proves Eq.(13). Substituting into Eq.(14) gives
Eq.(15) also gives .
The constants in Theorem 3.5 are obtained from the one-variable radial mean cost and are optimal for a pointwise quadratic envelope. The exact second-order constant also has a geometric one-dimensional representation. Define
The local expansion Eq.(6) proves integrability at the origin, and Proposition 3.2 proves . Eq.(17) involves only the original uniform-ball mean cost.
Proposition 3.6. Assume and . Then
If , the following weaker bounds involve only powers and rational functions:
(19)
For , one has .
Proof. Since ,
Proposition 3.3 shows that lies between its endpoint values and throughout [0,1]. The integral defining is a weighted average of these values with total weight , which proves Eq.(18).
For , Proposition 3.3 gives , and the preceding integral gives . The remaining assertion concerns the case . For its proof, let
Lemma 3.1 gives . The layer-cake formula and the identity give
Comparing the ratio with its value at shows that for and for . Also,
Combining these comparisons with Eq.(18) proves Eq.(19).
Lemma 3.7. Assume , or , and let be a compact subset of . For , put
Uniformly for and ,
Let . There is a constant , independent of , and , such that
For every , there are and such that, for and ,
(23)
Proof. The summands defining are independent and centered. Their covariance matrices are , and summing the squared coefficients gives Eq.(20). For a partial sum , expansion of the fourth power and independence give an upper bound proportional to . Here
This proves Eq.(21), with a constant uniform on .
The proof of Proposition 3.2 shows that is twice continuously differentiable on , has bounded Hessian there, and satisfies . In the case , these properties follow from . Condition on . The vector is independent of and has conditional mean zero, so the linear term in Taylor's formula has conditional expectation zero. The bounded Hessian and the integral remainder then prove Eq.(22).
Choose so that
and then choose so that . If , then . Put and . Taylor's formula gives
Conditioning again on , independence and centering cancel the linear term. Subtracting leaves the expectation of the same integral with in place of the Hessian. On , the whole segment from to lies in the ball of radius , and hence the absolute value of this integral is at most . On , boundedness of the Hessian gives a constant multiple of , while
Thus the contribution from is at most . Combining the estimates on and proves Eq.(23).
Theorem 3.8. Assume , or . Fix and set for all sufficiently large . Then
The convergence in Eq.(24) is locally uniform for . The unique minimizing value and the corresponding constant are
For , , so and . Under the hypotheses of the theorem, the closed bounds are
If , the bounds are
For , one has and . Multiplication of the endpoints in Eq.(26), and in Eq.(27) when applicable, by gives the corresponding bounds for .
Proof. Let , , and let
Let be the conditional expected cost at state . Lemma 3.7 supplies the moment estimates and the Taylor remainder needed below. Its constants are uniform when ranges over a compact subset of .
We next prove
For fixed , the contribution of , divided by , tends to zero by Eq.(22) and Eq.(20). For the remaining indices, Eq.(23) shows that the accumulated difference from , divided by , is . Finally, exact summation of Eq.(20) gives
Letting proves Eq.(28).
For completeness, the quadratic envelope gives
Moreover, uniformly when ranges over a compact subset of , and
On a bounded interval in , ordinary Riemann-sum convergence is therefore uniform in such . On the remaining tail, the preceding quadratic bound supplies a uniformly summable geometric majorant. Consequently, the contribution retained from the initial point satisfies
For the last equality, use that has density on . Tonelli's theorem applies because the integrand is nonnegative. Substitution of , followed by interchange of the two radial integrals, gives
Combining the two contributions proves Eq.(24). Minimizing proves Eq.(25). If , then . Direct substitution in Eq.(17) gives . Substituting Eq.(18) into Eq.(25) proves Eq.(26). When , substitution of Eq.(19) proves Eq.(27). For , the values follow from and . The bounds for the minimum of follow from .
All estimates above are uniform when ranges over a compact subset of . In the initial-state term, uniformity follows first on a bounded -interval from uniform Riemann-sum convergence and then on its tail from the lower endpoint of the compact set and the quadratic envelope. This proves the stated local uniformity.
Theorem 3.9. Under the hypotheses of Theorem 3.8, let
Then
Proof. Continuity in gives a minimizer. Comparing it with , and using Theorem 3.5, shows that the accumulated state second moment at is . Put . The first term in Eq.(14) is at least , so is bounded above. If , then the sum in Eq.(14) equals , so this endpoint cannot minimize for large . For ,
The preceding upper bound gives . Consequently, for all sufficiently large . For those , the contribution of the second term in Eq.(14) is at least
If tended to zero along a subsequence, this lower bound would be larger than order , contradicting the preceding estimate. Thus also stays bounded away from zero.
Every subsequence therefore has a further subsequence on which . Local uniformity in Theorem 3.8 and comparison with each fixed competitor give for every . The unique minimizer of is , so every subsequential limit equals this value. The cost convergence follows from the same local uniformity.
Theorem 3.10. For , with ,
At , Eq.(30) denotes its continuous extension. Both endpoints satisfy
For , the expression has a unique minimizer . If
then is the unique solution of
Moreover,
Proof. The point is independent of , so . Summing Eq.(12) for proves Eq.(30). Direct substitution and passage to the limit at give the endpoint values.
Differentiating Eq.(30) shows that its derivative has the sign of
For , this expression is negative at zero and positive at one. Its derivative is
on , which proves existence and uniqueness.
Let and . In these variables, the left-hand side of Eq.(31) is
For , the ratio of Eq.(34) to tends to . Evaluating at any fixed and , and using the strict monotonicity already proved, gives . Consequently,
so every term containing in the optimality equation is . It follows that
The rational function has the expansion
Multiplication by gives
Taking the positive square root gives
This first gives . Substitution back gives
which proves Eq.(32). Finally,
which proves Eq.(33).
The optimum has a simple interpretation. The accumulated stationary excess above the center-star cost grows on the scale , while forgetting the random initial center takes scale . Their balance selects . Theorem 3.8 determines the balance constant for general , and Theorem 3.10 supplies the complete formula when .
3.2 A time-varying comparison
The preceding optimization keeps the same value of throughout the construction. A useful comparison is obtained by attaching the next point to the mean of all points already observed. Let
Proposition 3.11. For every , , and ,
For ,
Proof. The points are centered and independent, so
The point is independent of . Apply Eq.(11), take expectations, and sum over . For , the identity gives Eq.(37).
For arbitrary points in B, let
Proposition 3.12. For every input sequence and ,
Consequently, for every and ,
For ,
Proof. Let . The update gives the exact identity
After multiplication by and summation, the coefficients of for equal , and the final coefficient is negative. Since all input points have norm at most one,
which proves Eq.(38). Power-mean monotonicity gives
for . Alternating the endpoints of a diameter makes the left side converge to one, proving Eq.(39).
For the last assertion, choose a unit vector , put , take the first points equal to , and take the remaining points equal to . During the second block, the insertion at time has length . Hence its limiting mean cost is
The maximum occurs at and equals the right side of Eq.(40).
The update
stores one point and the insertion index, and its coefficients vary with . Proposition 3.11 gives an excess of order over . Under the hypotheses of Theorem 3.9, the best rule with one constant value of has an excess of order . This comparison identifies the scope of the finite-sample optimization: constant exponential weights give a stationary one-point recursion with a fixed coefficient profile, while the running mean assigns equal weight to all observed points. Their insertion times are, on average, steps before the most recent point. Proposition 3.12 shows that the running mean also has asymptotic adversarial value one for , while a two-block input gives a value strictly larger than one for .
Appendix A records a sharper stochastic comparison: among deterministic convex averages of the observed points, the running mean minimizes the next insertion length in stochastic order.
For ordinary Euclidean length, let be the mean distance between two independent uniform points in . The input-order path and the star centered at satisfy
Since for , we have . The optimized exponential rule therefore has a strictly smaller leading constant than either endpoint, and Theorem 3.8 identifies its optimal square-root correction.
3.3 Stationary law and moments
We use the peakedness order for symmetric random vectors: is more peaked than if
for every compact convex set symmetric about the origin. The majorization theorem needed below is the following.
Lemma 3.13. Let be independent random vectors in with a common symmetric log-concave density. Let have the same sum. If a majorizes , then is more peaked than .
This is the multivariate theorem of Olkin and Tong [21]. Proposition 8.6 of Saumard and Wellner [24] states the same result with this ordering convention. It extends the scalar convex-combination result of Proschan [22].
Proposition 3.14. The series
converges absolutely almost surely. Its distribution is invariant under orthogonal transformations, has support , and is stationary for Eq.(1). It is the unique stationary distribution supported on when .
Proof. Since ,
which proves absolute convergence. If is an orthogonal matrix, then has the same joint distribution as , which proves rotational invariance. The triangle inequality gives .
If , then , so the support assertion is immediate. Assume for the following support argument. Let be in the interior of , and let . Choose so that . With positive probability, each of belongs to a sufficiently small ball about . On this event, the corresponding finite weighted sum is within of , and the remaining tail has norm at most . Hence is within of with positive probability. Taking closures gives support .
Finally, let be an additional uniform point, independent of . The sequence is again independent and uniformly distributed in , and
Thus the updated state has the distribution defined by Eq.(42), which proves stationarity.
For uniqueness, let two stationary states supported on be coupled as and and driven by the same independent input sequence. Subtracting the two recursions and iterating gives
For every bounded Lipschitz function , stationarity therefore gives
Letting t tend to infinity shows that the two laws agree.
Theorem 3.15. Let p be a uniform point in B, independent of the stationary state, and put
If , then
Consequently, for every ,
Proof. For , consider the normalized coefficient vector
Its first entries have sum
which is strictly decreasing in . Indeed, if , then, for ,
Continuity supplies the comparison at . Hence majorizes . The uniform density on is symmetric and log-concave in the extended-value sense. Lemma 3.13 therefore shows that the sum with coefficients is more peaked than the sum with coefficients .
The normalizing factors also preserve the required comparison. Put
Then . If is compact, convex, and symmetric about the origin, then , and hence
Thus the unnormalized truncated sum for is more peaked than the one for . Letting gives almost surely. Each finite sum has an absolutely continuous law. The limiting law is also absolutely continuous, because its series contains the independent term . Boundaries of convex sets with nonempty interior have Lebesgue measure zero; lower-dimensional convex sets have probability zero under all these laws. Thus every compact symmetric convex set needed in the definition is a continuity set. The peakedness inequalities therefore pass to the limit, and is more peaked than .
In particular,
For fixed , the function
depends only on and is nonincreasing in that radius by Lemma 3.1. Its superlevel sets are balls centered at the origin. Every open superlevel ball is an increasing union of compact centered balls, so the peakedness comparison extends to it by continuity from below. The layer-cake representation and the peakedness order therefore give
This is equivalent to Eq.(43). The moment inequality is immediate. Finally, Eq.(45) below gives in probability as , and hence in probability. The variables are bounded by and therefore uniformly integrable. Their expectations consequently converge to , proving the limit in Eq.(44).
Proposition 3.16. The stationary state satisfies
If p is an additional independent uniform point and , then, for every ,
For , this becomes
Proof. Apply the finite-sum identity for independent centered vectors to the first terms of Eq.(42). Since the remaining tail has norm at most , passage in gives
Conditional on , rotational invariance and Eq.(4) give
Apply Eq.(11), take expectations, and use Eq.(45). This proves Eq.(46). When , both quadratic envelope constants equal one, which gives Eq.(47).
Consequently, as tends to one, converges in distribution to the radius , whose distribution function is on . The difference between the expected insertion cost and , the cost of the center-O star, is bounded above and below by explicit multiples of . Appendices B and C give exact transforms, fourth moments, a Gaussian limit for the rescaled state, and a Wasserstein bound for the insertion length.
Figure 2 displays the radial law for dimensions from one to ten and its concentration near the boundary. The rescaling gives the nondegenerate limit
for , and hence for every fixed as tends to infinity.
4 Adversarial sequences
For , define
and
For each n, the supremum over the first n input points is taken before the limsup as n tends to infinity. Eq.(56) uses the same order of operations.
The following two estimates control the effect of the initial state in this section.
(a) Exact radial laws,

(b) Boundary-layer limit

Figure 2: Distribution of the distance from a uniform point in the unit ball to its center. Panel (a) superposes the exact distribution functions for ; the dashed vertical line is the degenerate limit at . Panel (b) shows the distribution functions of and their limiting exponential distribution.
Lemma 4.1. Let and satisfy Eq.(1) for the same input sequence, with respective initial states . Then
Proof. Subtracting the two recursions gives . Iteration proves both identities.
Lemma 4.2. For ,
Proof. For , subadditivity of gives , and the same argument with interchanged proves the claim. For , the result follows from the mean value theorem on .
Proposition 4.3. For , the value in Eq.(48) is independent of .
Proof. Drive two states by the same input sequence. Lemma 4.1 gives their distance at every step, and Lemma 4.2 bounds the difference between the corresponding insertion costs by
In either case, summation gives a constant D, independent of n and of the input sequence, such that the two accumulated costs differ by at most D. Taking the supremum over the same set of length-n input sequences in both directions gives
After division by n, the bound tends to zero.
Proposition 4.4. For and every ,
Proof. Fix a unit vector and take . On the attracting two-periodic orbit, the state before the insertion of is . After the insertion it is . Thus every insertion on the periodic orbit has length
Lemma 4.1, followed by Lemma 4.2, shows that the total difference between the transient insertion costs and those on the attracting orbit is bounded. Its contribution to the mean cost therefore vanishes.
Set
The next potential inequality proves the matching upper bound for . It also provides the endpoint used for .
Lemma 4.5. Let . If , with , then
Proof. Let , , and . The left side of Eq.(49) is
For fixed and , the expression is largest when points in the direction opposite to , so . The resulting expression is increasing in , and its maximum therefore occurs at . It becomes
This concave quadratic in is maximized at . Substitution gives .
Theorem 4.6. For and ,
Proof. By concavity of , for every ,
Apply this inequality to , and then use Lemma 4.5. We obtain
Summing over the first n insertions gives
The final term is bounded independently of . Division by gives . Proposition 4.4 gives the reverse inequality.
Lemma 4.7. Let , and put
For and ,
Proof. Fix x. The function
is convex. Its maximum over is therefore attained on the unit sphere. If , rotational symmetry allows any diameter through , and the one-dimensional argument below applies with . Assume henceforth that , and set . The term
is convex in . Moreover, is affine in , and the quadratic coefficient produced by its square is nonnegative. Thus the complete expression is convex in , and its maximum is attained at or .
Identify the chosen diameter with . Both cases are covered by taking and . Since , direct expansion gives
(51)
where
The leading coefficient of is positive, and its discriminant is
Hence for every real . The right side of Eq.(51) is nonnegative, which proves Eq.(50). Equality occurs when is antipodal to and , exactly the state on the attracting alternation orbit.
Theorem 4.8. For and ,
Proof. Theorem 4.6 covers . For , summing Eq.(50) over the first insertions gives
The potential is bounded on , so division by n yields the desired upper bound. Proposition 4.4 gives equality.
It remains to consider . Choose such that
For the insertion lengths , Hölder's inequality, applied to the uniform probability measure on , gives
Since both potentials are bounded on , there are constants , independent of the input sequence and n, such that
Hence the two factors in the preceding inequality are , uniformly over the input sequence. Thus the limsup of the left side is at most . Proposition 4.4 again gives equality.
Corollary 4.9. Assume and either or . Fix and, for all sufficiently large , set . Then
uniformly for . Thus the same value of gives the sharp uniform-input correction and a worst-case mean cost converging to the unit scale for the same value of . The constants implicit in the O-term may depend on ; the stated uniformity is with respect to .
Proof. Eq.(53) is Theorem 3.8. Put . If , the finite inequality in the proof of Theorem 4.6 gives
Here and .
For , summing Eq.(50) gives
The two positive coefficients defining are , so the last maximum is . For , apply the power-mean interpolation used in the proof of Theorem 4.8 to these finite quadratic and cubic estimates. This proves the upper bound in Eq.(54).
For the lower bound, use the alternating diameter sequence and compare the state from with its attracting two-periodic state. Lemmas 4.1 and 4.2 bound the difference of the two accumulated costs by
Both quantities are , while the periodic state has cost . Hence the supremum is at least . Since , the matching lower estimate follows.
The calibration in Corollary 4.9 assumes that the total number N of insertions is known. Epochs of lengths 1, 2, 4, ... can define a horizon-free rule, with the state restarted at epoch boundaries. The restart costs and the distributional correction of that rule require a separate analysis and are not asserted here.
The restriction is substantive. For every fixed , Appendix D gives periodic endpoint blocks whose adversarial mean cost is strictly larger than that of alternation when is sufficiently large.
4.1 Comparison with general weighted averages
We now use a fixed sequence of weights, the same at every insertion, to average the previously inserted points. Let
The coefficient is assigned to , the point inserted steps before the most recently inserted point . Let be an integer-valued random variable with . The index is the lag of the selected earlier point and is the mean lag. Equivalently, a point selected according to the weights lies, on average, insertions before the incoming point . The constraint therefore fixes the temporal centroid of the coefficient profile. Its support, oldest represented point, and storage requirement remain unrestricted. The class may have infinite support and may require a growing state. For a bi-infinite input sequence in , let
Thus is the insertion vector from the weighted point to the new point . The corresponding asymptotic adversarial value is
The bi-infinite formulation makes the coefficients independent of the starting time. As in Eq.(48), for each n the supremum is taken before the limsup. Associate with the weights the functions
The series for W converges uniformly on the closed unit disk. Hence is continuous on the unit circle and the maximum defining is attained. The first-moment assumption also gives
Thus comparison at the same mean lag holds fixed both the temporal centroid and the first-order response of the insertion vector to a slowly rotating input. Unit-circle maxima and Parseval's identity provide the corresponding convolution norm; see Chapter I, Section 5 of Katznelson [17] for the Parseval isometry used in Theorem 4.11.
Optimization of unit-circle maxima for finite coefficient sequences also appears in frequency-response design. Convex formulations for magnitude constraints are developed by Wu, Boyd, and Vandenberghe [26], and Liu and Bauer [19] study the frequency-domain limitations imposed by nonnegative coefficients. Here the coefficients are additionally normalized as an averaging rule, their first moment is prescribed, and the objective is the adversarial Euclidean insertion cost. The analytic lower bound and approximation guarantee characterize the exponential profile within this geometric model. For the exponential weights ,
The following lemma relates the bi-infinite definition to a one-sided construction.
Lemma 4.10. Let and, for , define
Then, for every ,
For , the point is exactly the state generated by Eq.(1) from .
Proof. Extend a one-sided sequence by setting for . Its bi-infinite weighted point is exactly , so its asymptotic value is at most .
Conversely, start from any bi-infinite sequence and replace its negative-index points by . At insertion t, the two weighted points differ by at most . Lemma 4.2 bounds the corresponding difference of costs by
Since tends to zero, the Cesaro mean of tends to zero. For , the stronger identity applies. Thus the difference of the two mean costs over the first insertions tends to zero uniformly over all inputs. Taking suprema and then limsups proves the equality. For exponential weights, ; direct expansion of Eq.(1) gives the final statement.
The next result evaluates the adversarial cost of every weight sequence through the second power.
Theorem 4.11. Suppose that and that satisfies Eq.(55). Then
For every ,
Proof. For , truncate the weighted point and the insertion vector by setting
and let
Fix the points needed for the insertions from 1 to n, and set all points outside the index interval equal to zero. Define the vector-valued trigonometric polynomial
The bilateral sequence has Fourier series
Parseval's identity, applied coordinatewise on the complete bilateral sequence, therefore gives
Restricting the sum on the left to gives the required finite upper bound. Moreover,
Both insertion vectors have norm at most two, so the difference between their squared norms is at most four times the right-hand side. Since w is summable, converges uniformly to on the unit circle and the omitted mass tends to zero. First let n tend to infinity and then let L tend to infinity. We obtain
For , monotonicity of power means gives the corresponding upper bound in Eq.(58).
For the reverse inequality, identify the first two coordinates with the complex plane. For a fixed , use the rotating input
Every insertion vector then has norm . Taking a value of that maximizes this expression proves Eq.(59) for every positive , and proves equality when combined with the upper bound for .
The assumption is used for the rotating input in the lower bound. The Parseval upper bound is valid in every dimension.
Two optimization problems are involved. For independent uniform input and a fixed number of insertions, Theorem 3.10 gives the unique parameter minimizing the expected total quadratic cost among all -strategies. The present subsection considers adversarial input and the broader comparison class of all fixed weighted averages with a prescribed mean lag. Set
Theorem 4.12. Let , , and
For every ,
Moreover, for each fixed , as a tends to infinity,
For , the exponential rule is therefore a -approximation, with , for every mean lag . Because the exponential rule is one of the admissible weighted averages, its ratio to is at least one. The second conclusion of the theorem shows that this ratio converges to one as tends to infinity. Hence the exponential rule is asymptotically optimal among all nonnegative weight sequences with the same mean lag. The constant follows from the uniform analytic bound in the proof. Determining the best possible factor for finite remains open.
Proof of Theorem 4.12. Lemma 4.10 identifies the -strategy with the one-sided implementation of the fixed weights . Their mean lag is , which gives .
We first derive a lower bound that holds for every weight sequence of mean lag . Let . Since the incoming point is one insertion step after , is the weighted mean number of insertion steps from a contributing point to . Let . Since , the submean inequality for the subharmonic function , equivalently Jensen's formula [18, Sec. 9.1.2], gives, for ,
Zeros of on the circle cause only integrable logarithmic singularities. The displayed inequality follows by taking radii with no boundary zero and passing to the limit, which is also the standard subharmonic interpretation of the circular mean. The identity
and the inequalities
show that
The maximum-modulus principle [18, Secs. 5.4.1–5.4.2] also gives . Split the integral in Eq.(62) at an arbitrary , use the first bound on , and use the second bound on the remaining arc. Letting tend to one is justified directly by
Indeed, the integral on the left equals
The resulting inequality is
There is a unique satisfying
To verify existence and uniqueness, let . This function is strictly increasing on , with and . Choose in Eq.(63). Since , this gives . For exponential weighting with mean lag , let
Using , we obtain
The denominator on the right is minimized at , and its minimum is . Therefore
Theorem 4.11 gives for every , while Theorem 4.8 gives through . Taking the infimum over proves Eq.(60).
Finally, the defining equation for y gives, as s tends to infinity,
Since , expanding gives
The lower bound , followed by the two adversarial cost identities used above, proves Eq.(61).
5 Numerical evaluation
This section evaluates the constants, the N-dependent calibrations, the stationary radial laws, and the periodic adversarial constructions that enter the theoretical results. Online Resource 1 contains table-ready and plot-ready CSV files for the numerical tables and figures, together with recorded seeds and compact validation summaries. Source code, build files, complete calibration and adversarial grids, and regeneration instructions are in the versioned repository cited in the Data and code availability statement. Deterministic Gauss quadrature computes the radial and angular integrals. Monte Carlo experiments use recorded seeds, and a dense unit-circle calculation evaluates the finite-support weight optimization, with a certified continuous-maximum error bound. The theorems in the preceding sections establish the stated guarantees analytically. The calculations below quantify them and test their implementation over a broader range of dimensions and parameters.
The C++ experiments and geometric validation were run using CGAL 6.1.1, installed through vcpkg, in C++17 mode. The versioned repository records the build configuration, seed families, parameter grids, sample sizes, and regeneration commands.
5.1 Optimizer constants and calibration by input size
Table 1 evaluates Eq.(17), the optimizer in Eq.(25), and the closed bounds in Eq.(26). The values of range from 0.1 to 3, with four representatives in the sublinear regime. For and , the hypothesis fails, so the corresponding square-root calibrations are omitted. The expanded dimension range shows that decreases slowly toward its high-dimensional value, whereas increases slowly. The identity is recovered to numerical precision for every displayed dimension. The complete grid in the repository contains , 195 values of from 0.01 to 20, and 70 input sizes through .
For , the numerical data in Online Resource 1 compare the unique exact optimizer from Eq.(31) with the first two terms of Eq.(32). The second-order approximation is already accurate at . These values provide a direct numerical check of the scaled parameter and cost corrections in Eqs.(32) and (33).
The table also shows that the square-root calibration is numerically stable across dimension. Over the displayed range, dimension changes the optimal coefficient much less than changing the power. The exact quadratic identity therefore separates a structural case from the two monotone trends seen for and .
Each displayed value of gives the calibration directly. Values below one make the geometric weights decay more slowly than in the quadratic case, while values above one make them decay faster. Thus the table records both the asymptotic coefficient and the parameter adjustment required at a specified input size.
Table 1: Square-root calibration across dimensions. The table gives the coefficient in Eq.(17) and the minimizing constant in Eq.(25). Dashes in the row mark sublinear parameter pairs outside the hypotheses of the square-root theorem.
| 0.25 | 0.5 | 0.75 | 1 | 1.4 | 1.8 | 2 | 2.6 | 3 | ||
| 1 | 0.0176 | 0.0434 | 0.0852 | 0.1261 | 0.1667 | 0.2318 | 0.2987 | 0.3333 | 0.4438 | 0.5250 |
| 2 | 0.0249 | 0.0619 | 0.1229 | 0.1836 | 0.2445 | 0.3437 | 0.4466 | 0.5000 | 0.6709 | 0.7962 |
| 3 | 0.0288 | 0.0720 | 0.1438 | 0.2161 | 0.2893 | 0.4093 | 0.5347 | 0.6000 | 0.8092 | 0.9627 |
| 5 | 0.0329 | 0.0826 | 0.1663 | 0.2514 | 0.3385 | 0.4828 | 0.6348 | 0.7143 | 0.9698 | 1.1573 |
| 10 | 0.0368 | 0.0927 | 0.1879 | 0.2861 | 0.3875 | 0.5574 | 0.7383 | 0.8333 | 1.1403 | 1.3659 |
| 25 | 0.0395 | 0.0998 | 0.2036 | 0.3115 | 0.4239 | 0.6140 | 0.8181 | 0.9259 | 1.2755 | 1.5332 |
| 50 | 0.0405 | 0.1025 | 0.2093 | 0.3209 | 0.4375 | 0.6354 | 0.8486 | 0.9615 | 1.3283 | 1.5989 |
| 100 | 0.0410 | 0.1038 | 0.2123 | 0.3258 | 0.4446 | 0.6467 | 0.8648 | 0.9804 | 1.3564 | 1.6341 |
| 0.25 | 0.5 | 0.75 | 1 | 1.4 | 1.8 | 2 | 2.6 | 3 | ||
| 1 | -- | -- | -- | -- | 1.0000 | 0.9967 | 0.9979 | 1.0000 | 1.0120 | 1.0247 |
| 2 | 0.9977 | 0.9949 | 0.9914 | 0.9895 | 0.9890 | 0.9910 | 0.9962 | 1.0000 | 1.0159 | 1.0303 |
| 3 | 0.9802 | 0.9795 | 0.9792 | 0.9800 | 0.9820 | 0.9872 | 0.9951 | 1.0000 | 1.0186 | 1.0342 |
| 5 | 0.9602 | 0.9617 | 0.9649 | 0.9689 | 0.9736 | 0.9827 | 0.9937 | 1.0000 | 1.0220 | 1.0393 |
| 10 | 0.9395 | 0.9432 | 0.9497 | 0.9568 | 0.9643 | 0.9775 | 0.9921 | 1.0000 | 1.0259 | 1.0453 |
| 25 | 0.9236 | 0.9288 | 0.9378 | 0.9472 | 0.9569 | 0.9733 | 0.9908 | 1.0000 | 1.0294 | 1.0507 |
| 50 | 0.9176 | 0.9233 | 0.9332 | 0.9434 | 0.9540 | 0.9716 | 0.9903 | 1.0000 | 1.0308 | 1.0529 |
| 100 | 0.9144 | 0.9204 | 0.9307 | 0.9414 | 0.9524 | 0.9707 | 0.9900 | 1.0000 | 1.0316 | 1.0541 |
5.2 Uniform input
Figure 3 reports mean insertion cost for six combinations of dimension and power, including . The exponential rule uses , except that the exact finite-N optimizer is used for . Before is inserted, the prefix-centroid rule uses as its attachment point. Each point in the figure averages between 30 and 6,000 independent trials, according to ; the shaded regions are normal-approximation 95 percent Monte Carlo intervals. Horizontal lines give the exact expected costs of the center star and the input-order path. The separate vertical scales use the plotting area to expose the finite-size differences in each parameter regime.
(a)

(b)
(c)
(d)
(e)
(f)
Figure 3: Uniform-input comparison for and . The upper and lower rows correspond to and , respectively. Points are Monte Carlo means, shaded regions are normal-approximation 95 percent Monte Carlo intervals, and horizontal dashed lines are exact expected costs. The prefix centroid before insertion is .
The comparison exhibits the intended interpolation. At the displayed input sizes, the calibrated exponential rule approaches the center-star level from above and stays well below the input-order path, while retaining a constant-memory update. The finite-size decrease is most pronounced for , where the exact calibration is available, and it remains visible for ordinary Euclidean length and for the sublinear power . The prefix centroid is a useful numerical comparator because it uses the entire preceding sequence; its different memory scale is reflected in the separation between its curve and the exponential curve.
5.3 Stationary radius across dimensions
Radial symmetry permits an exact one-dimensional simulation of the stationary state radius in every dimension. Conditional on , let and let be the scalar product between independent uniform directions on the unit sphere. The update satisfies
Here . For , has the beta distribution with both parameters equal to ; for , takes the values and with equal probability. Equation (65) therefore avoids storing -dimensional vectors while preserving the exact transition law.
For fixed , the stationary distribution does not depend on . Figure 4 therefore holds fixed within each panel and varies it across nine panels. It contains 5 million retained observations for each of the 450 displayed pairs, giving 2.25 billion observations over . Each horizontal row is divided into 500 radial bins. Its color is the empirical density divided by the maximum density in that row, so the blue-to-red scale runs from zero to one and reveals the location of the radial mass at every dimension. The superposed curve is the exact root mean square radius
from Eq.(45). The simulation is checked against the exact second moment for every displayed row. The largest absolute discrepancy is , and the largest relative discrepancy is 0.214%.
(a)
(b)
(c)
(d)

(e)
(f)
(g)
(h)
(i)
relative radial density
Figure 4: Empirical stationary distribution of for . The color in each row is its radial density normalized to , and the thin curve gives the exact root mean square radius. Each panel uses a fixed value of , and the dimension increases from 1 to 50 along its vertical axis.
For each fixed , the high-density band becomes narrower as the dimension increases, consistently with concentration of the uniform input toward the boundary of the ball. Increasing shifts the entire band toward the center, and the root mean square curve follows that shift throughout the displayed range. These two effects are distinct: dimension sharpens the radial profile, whereas the memory parameter controls its location.
5.4 Adversarial periodic sequences
Theorem 4.8 proves, in every dimension, that antipodal alternation attains the adversarial value for . We checked the periodic-orbit implementation on 3.6 million seeded random sequences with periods in , dimensions 1, 2, 3, 10, 100, four values of , and six values of . Through , the largest observed ratio to the alternating cost was . This is a numerical consistency check of the implementation over the sampled periodic families.
The block family in Proposition D.1 gives a more informative diagnostic beyond the proved range. Here a block of length means successive copies of a unit vector followed by successive copies of its antipode, with this pattern repeated periodically. Since the sequence lies on a diameter, it is available in every dimension. Figure 5 maximizes its exact cost over , for 99 values of and 4,000 values of . The ratio remains one throughout the range . Above three, the length-two block is the first competitor to exceed alternation for each value in Table 2; longer blocks subsequently give much larger ratios. For example, the crossing occurs at when , and at when . This calculation illustrates the change of worst-case behavior beyond the cubic range and leaves the complete optimization problem for open.
(a) best periodic block

(b) selected values of
cost ratio to alternation
Figure 5: Periodic block costs relative to antipodal alternation. For the same , the plotted ratio is the mean cost of the best periodic block with , divided by the mean cost of the alternating sequence . Panel (a) shows the full parameter grid; the dashed line marks . Panel (b) shows sections for selected values of . Every sequence lies on a diameter, so the calculation is dimension-independent.
The left panel makes the boundary at visible over the full parameter range. The sections in the right panel show that the departure from alternation is continuous in cost and can be rapid in the maximizing block length. The transition also moves toward three as increases, a pattern consistent with the critical values reported below.
Table 2: Transition within the periodic block family. The second column is the first power at which a block with has larger mean cost than alternation. For , is the maximizing block length and is its mean cost divided by the alternating mean cost.
| transition | |||||||||
|---|---|---|---|---|---|---|---|---|---|
| 0.10 | 8.1203 | 1 | 1.0000 | 1 | 1.0000 | 1 | 1.0000 | 2 | 1.1740 |
| 0.25 | 4.2480 | 1 | 1.0000 | 2 | 1.3261 | 2 | 1.8350 | 3 | 2.6586 |
| 0.50 | 3.2556 | 3 | 1.1235 | 4 | 2.0107 | 5 | 4.0230 | 5 | 8.4865 |
| 0.75 | 3.0418 | 7 | 1.1870 | 10 | 2.5153 | 11 | 6.3826 | 12 | 17.4155 |
| 0.90 | 3.0056 | 18 | 1.2027 | 26 | 2.6524 | 30 | 7.1309 | 34 | 21.0437 |
| 0.99 | 3.0001 | 187 | 1.2049 | 250 | 2.6594 | 250 | 6.8259 | 250 | 18.6879 |
Across the reported memory parameters, the first improving member of the block family has length two. At larger powers, the maximizing length grows and the ratio can become substantially larger than one. Thus the transition column locates the loss of optimality of alternation within this family, while the remaining columns quantify how quickly the competing periodic structure strengthens.
5.5 Fixed-weight comparison
The last calculation restricts Eq.(55) to finite-support weights. We compute 24 values of the prescribed mean lag between 0.1 and 12 and display 12 representative values in Table 3. The support endpoint is . For each prescribed mean lag, is minimized on a grid of 1,025 frequencies and evaluated on a grid of 65,537 equally spaced frequencies in . Let for a computed profile. If is the largest evaluated value and , then
Indeed, , and every frequency lies within of the grid. The maximum discrepancy between and the prescribed value is . Table 3 reports this interval and the corresponding interval for . The last column is the quantity to inspect: values above one exhibit a finite-support profile with smaller adversarial cost. For and , feasibility of this profile and Theorem 4.12 bracket the unrestricted approximation ratio between and .
Table 3: Numerical finite-support comparison under the prescribed mean-lag constraint. The third column is a certified interval for for the computed profile. The exponential maximum uses weights with the same mean lag. The last column is the corresponding interval for . Values above one measure a concrete improvement over exponential weights; for , is a certified lower bound on the approximation ratio, whose analytic upper bound is .
| mean lag a | support | certified m(w) | exponential max. | factor |
|---|---|---|---|---|
| 0.1 | 0–12 | [1.79999, 1.80003] | 1.83333 | [1.01850, 1.01852] |
| 0.25 | 0–12 | [1.56135, 1.56139] | 1.66667 | [1.06742, 1.06745] |
| 0.5 | 0–12 | [1.39615, 1.39620] | 1.50000 | [1.07435, 1.07438] |
| 0.75 | 0–12 | [1.30756, 1.30761] | 1.40000 | [1.07066, 1.07070] |
| 1 | 0–12 | [1.25186, 1.25192] | 1.33333 | [1.06503, 1.06508] |
| 1.5 | 0–12 | [1.18543, 1.18550] | 1.25000 | [1.05440, 1.05447] |
| 2 | 0–12 | [1.14702, 1.14711] | 1.20000 | [1.04611, 1.04619] |
| 3 | 0–12 | [1.10444, 1.10455] | 1.14286 | [1.03468, 1.03478] |
| 4 | 0–12 | [1.09275, 1.09287] | 1.11111 | [1.01669, 1.01681] |
| 6 | 0–18 | [1.06408, 1.06426] | 1.07692 | [1.01190, 1.01207] |
| 8 | 0–24 | [1.04895, 1.04918] | 1.05882 | [1.00919, 1.00941] |
| 12 | 0–36 | [1.03328, 1.03361] | 1.04000 | [1.00619, 1.00650] |
The largest base factor occurs at , with interval [1.07435, 1.07438]. For quadratic cost, its lower endpoint gives a improvement over exponential weights. The upper endpoint is below 1.01 by and decreases further at . Thus the table locates the largest short-memory gain and shows its decay toward the asymptotic near-optimality in Eq.(61). Online Resource 1 contains all 24 rows and the computed weight vectors.
6 Concluding remarks
The -strategy combines two properties of the endpoint constructions. Under uniform input, increasing improves every positive moment of the stationary insertion length. Under arbitrary input sequences, for each fixed , its exact asymptotic mean cost for approaches the unit worst-case scale of the center- star as increases to one. The attachment point remains a geometrically weighted average of the observed points. These results formalize the two properties that motivate the rule: its expected cost under uniform sampling retains the influence of the observed sequence, while its adversarial cost remains explicitly controlled.
For ordinary Euclidean length, the optimized rule has the same leading expected cost as the center- star and a strictly smaller leading constant than the input-order path and the star centered at . For insertions, Theorems 3.8 and 3.9 determine the asymptotic location of every minimizing constant parameter and its correction for general under the stated regularity condition. The quadratic case has a unique minimizer and an exact expression for every . Corollary 4.9 shows that the same square-root calibration has the sharp distributional correction and adversarial mean cost for the same value of . Propositions 3.11 and 3.12 clarify the role of the constant-parameter restriction: averaging all preceding points gives a log uniform-input correction and adversarial value one through the quadratic range, with a mean lag that grows with the sequence. The fixed exponential rule supplies a time-homogeneous coefficient profile and the exact cubic-range guarantee.
The comparison with general fixed nonnegative weighted averages provides a second justification for the exponential weights. Among all fixed nonnegative weight sequences with the same mean lag, their adversarial cost is within the factor of Theorem 4.12, and the sharper ratio in Eq.(61) converges to one as the mean lag grows. This comparison class may use unbounded support and storage, as explained in Section 4.1. The reproducible computations in Section 5 quantify the calibration, the stationary radial concentration across dimensions, the transition within the periodic block family, and the finite-support comparison. The appendices collect the stationary transform, higher moments, and endpoint limits that support the distributional analysis without obscuring the three main results.
For every fixed , periodic endpoint blocks produce a strictly larger adversarial mean cost than alternation at sufficiently high powers. Determining the complete adversarial value for , including the smallest power at which alternation ceases to be optimal, remains open. Further questions include other convex bodies, nonuniform input distributions, and time-varying weighting rules with controlled mean lag.
Data and code availability
Table-ready and plot-ready data for the numerical tables and figures, recorded seeds, and compact validation summaries are provided in the supplementary archive distributed with the versioned release of the project repository. Source code, build files, and complete calibration and adversarial grids are archived in the versioned project repository. The study uses no external datasets.
A Stochastic comparison for the running mean
The cost estimate in Proposition 3.11 is sufficient for the comparison in the main text. The next result records a stronger property of the same attachment point.
Proposition A.1. Fix , let satisfy , and let
If p is an independent uniform point in B, then
Consequently, the expected -power of the insertion length is no larger for than for , for every .
Proof. Every probability vector majorizes the equal vector . The uniform density on is symmetric and log-concave in the extended-value sense. Lemma 3.13 gives
for every compact convex set K symmetric about the origin. For fixed r, let
for . Lemma 3.1 shows that is radial and nonincreasing, so its superlevel sets are balls centered at the origin. Since , for any random vector in ,
Each set is either empty or a ball centered at the origin. Such an open ball is an increasing union of compact balls, so the peakedness inequality extends to it by continuity from below. Applying that inequality inside the integral gives . Averaging over the independent point gives Eq.(66). The moment comparison follows from
B Exact transforms and fourth moments
This appendix gives an exact transform description of the stationary state and records the fourth moments used to check the high-memory limit in Appendix C.
Lemma B.1. If p is uniform in B, its characteristic function is
where denotes the Bessel function of the first kind and order .
Proof. Rotation invariance makes the characteristic function depend only on . Slicing the ball orthogonally to the first coordinate gives
Poisson's integral representation for the Bessel function [20, Eq. 10.9.4] gives
With , this yields the stated expression for . The value at the origin follows from .
Theorem B.2. The characteristic function of is
and the product converges locally uniformly in . If p is an additional independent uniform point, then
Proof. For
independence gives
At the origin,
On every compact set of values of , the sum of is bounded by a convergent geometric series, after increasing the bound to cover finitely many initial terms. The finite products therefore converge locally uniformly. Moreover, , so the partial sums converge almost surely and in every , . Their characteristic functions converge to that of , which proves Eq.(67). The additional point is independent, and is even. Multiplying the characteristic functions proves Eq.(68).
For r > 0, let
Proposition B.3. The fourth moments of the stationary state and insertion vector are
where p is an additional independent uniform point.
Proof. For a uniform point p in B,
and isotropy gives . First take a finite sum . Expanding its fourth power, only terms in which every index occurs at least twice survive. For ,
The contribution of a pair is
Adding the single-index terms gives
For , take . The deterministic tail bound gives convergence in . Letting tend to infinity in Eq.(71) proves Eq.(69). For , first add the independent coefficient 1 to the finite sum and change the other signs. The same limit proves Eq.(70).
C Endpoint limits of the stationary state and insertion length
For , the stationary state has the series representation
from Eq.(42). This representation makes both endpoint regimes explicit. At , is uniform in . Under the coupling provided by the same sequence ,
Indeed, the coefficients of are for and for , . Independence and centering therefore give
which is Eq.(72). In particular, in as , and
For intermediate values of , Theorem B.2 gives the exact characteristic function, Proposition 3.16 gives its second moment, and the peakedness comparison in the proof of Theorem 3.15 shows that the state becomes more concentrated about as increases. As , the unscaled state converges to , while the following theorem identifies the nondegenerate limit after rescaling. The endpoint is distinct: the recursion preserves its initial state and hence admits every initial law as a stationary law. The stationary distribution selected by Eq.(42) is consequently defined only for .
Theorem C.1. As tends to one,
Moreover,
Thus the standardized radial fourth moment converges to , the value for an isotropic Gaussian vector.
Proof. After multiplication by the factor in Eq.(73), the coefficient of is
These coefficients satisfy
Let denote the vector on the left of Eq.(73). For fixed , independence and Lemma B.1 give
The expansion at the origin is
Because tends to zero, this expansion applies uniformly to all factors for each fixed when is sufficiently close to one. Consequently,
The limiting function is the characteristic function of . The continuity theorem for characteristic functions in [3, Sec. 29] proves Eq.(73). Dividing Eq.(69) by the square of Eq.(45), and using
gives Eq. .
The upper block of Figure 6 illustrates both endpoint regimes in dimension two. It displays one coordinate of . As , this variable converges to one coordinate of a uniform point in the unit disk, with density
As , Theorem C.1 gives the density of . These two fixed curves make visible which endpoint better describes each intermediate distribution. The C++/CGAL implementation retains 150 million observations after burn-in for each value of . The display histograms use 2,400 bins and light smoothing. The diagnostics and are binned CDF distances to the low-memory and high-memory limits, respectively, evaluated on a separate partition with 1,048,576 bins. They are trajectory diagnostics rather than iid test statistics or confidence bounds. The lower block uses the same numerical scale to display the distinct endpoint interpolation of the insertion length.
We now turn from the state to the insertion length , where is an additional independent uniform point in . Its two endpoints differ from those of the state. Let , where is a uniform point in . Its density is on , and its distribution function is . For real-valued random variables and , denotes the infimum of over all couplings with the prescribed marginal laws.
Theorem C.2. The Wasserstein distance between the laws of and satisfies
Proof. Use the coupling in which and share the point p. The reverse triangle inequality gives
The definition of , followed by Cauchy–Schwarz and Eq.(45), gives
40
☐
The opposite endpoint also has an explicit distribution. For , let
denote the regularized incomplete beta function.
Proposition C.3. At , is the distance between two independent uniform points in . Its density is
and its distribution function is
In particular, when , the density is and the distribution function is on .
Proof. Let be the volume of the unit ball. If and , the density of the difference of two independent uniform points, evaluated at , is
Slicing the intersection orthogonally to the line through the two centers gives
Multiplication by the radial Jacobian proves Eq.(77); this is the ball-distance distribution of Hammersley [15]. Integrating the density gives Eq.(78). Equivalently, differentiation of the right-hand side of Eq.(78), together with the beta duplication identity
recovers Eq.(77), and the value at r = 0 fixes the integration constant.
For , the two limiting densities used in the lower block of Figure 6 have simple forms. At the low-memory endpoint,
whereas the high-memory limit has density 2r on [0,1]. The same simulations used in the upper block record before every state update. The figure uses the same eight values of , sample size, display resolution, and independent CDF partition. Thus its and values measure the approach to the disk-distance and uniform-radius laws on a common numerical scale.
Proposition C.3, Theorem 3.15, and Theorem C.2 now describe the interpolation without identifying the endpoint distributions with those of . At , has the ball-distance law in Eq.(78). As increases, its tail probabilities decrease. For intermediate values, the exact characteristic function of the insertion vector is given by Eq.(68). Finally,
This last limit is one-sided. At , the state remains equal to its initial value, so the corresponding insertion-length distribution depends on that initialization. In particular, initialization at O gives the radial law immediately, while a uniformly distributed initial state gives the ball-distance law at every step.
empirical density ___ low-memory limit ( ) ___ high-memory limit ( )
(a) Rescaled stationary-state coordinate

rescaled coordinate
(b) Stationary insertion length

insertion length
Figure 6: Endpoint interpolation in dimension two, based on 150 million retained observations for each displayed value of . The upper block shows one-coordinate densities of , compared with the uniform-disk coordinate law and the Gaussian limit. The lower block shows densities of , compared with the distance between two independent uniform points in the disk and the uniform-radius limit. Dark-blue solid curves are empirical densities, light-blue dashed curves are the low-memory limits, and red dashed curves are the high-memory limits. Each panel reports the binned CDF distances and to these reference laws. The common ordering of makes the two interpolations directly comparable.
D Periodic endpoint blocks beyond the cubic range
Theorem 4.8 covers . The following family shows that Eq.(52) cannot remain valid for every .
Proposition D.1. Let , and fix a unit vector . Repeat copies of , followed by copies of , periodically. The mean insertion cost on the attracting periodic orbit is
The case is antipodal alternation. For every fixed , the inequality holds for all sufficiently large . Thus the -block construction produces a strictly larger adversarial mean cost than alternation in that range.
Proof. Represent the state as a scalar multiple of u, and let be its value immediately before a block of m copies of u. After this block and the following block of m copies of -u, the state is
Periodicity gives
During the first half of the period, the successive insertion lengths are
The second half has the same list. Summing the -powers and dividing by proves Eq.(80). Moreover,
For , the base in the last factor is larger than one. The fraction involving the powers of tends to one, so the complete expression tends to infinity as tends to infinity.
References
[1] T. W. Anderson, The integral of a symmetric unimodal function over a symmetric convex set and some probability inequalities, Proceedings of the American Mathematical Society 6 (1955), 170–176. https://doi.org/10.1090/S0002-9939-1955-0069229-1.
[2] C. J. Argue, A. Gupta, and G. Guruganesh, Dimension-free bounds for chasing convex functions, in Proceedings of the Thirty-Third Conference on Learning Theory, Proceedings of Machine Learning Research 125 (2020), 219–241. https://proceedings.mlr.press/v125/argue20a.html.
[3] P. Billingsley, Probability and Measure, 3rd ed., Wiley, New York, 1995.
[4] P. Bose and L. Devroye, Intersections with random geometric objects, Computational Geometry 10 (1998), 139–154. https://doi.org/10.1016/S0925-7721(98)00004-2.
[5] N. Broutin, O. Devillers, and R. Hemsley, Efficiently navigating a random Delaunay triangulation, Random Structures & Algorithms 49 (2016), 95–136. https://doi.org/10.1002/rsa.20630.
[6] N. Chen, G. Goel, and A. Wierman, Smoothed online convex optimization in high dimensions via Online Balanced Descent, in Proceedings of the Thirty-First Conference on Learning Theory, Proceedings of Machine Learning Research 75 (2018), 1574–1594. https://proceedings.mlr.press/v75/chen18b.html.
[7] P. M. M. de Castro and O. Devillers, On the asymptotic growth rate of some spanning trees embedded in , Operations Research Letters 39 (2011), 44–48. https://doi.org/10.1016/j.orl.2010.10.005.
[8] P. M. M. de Castro and O. Devillers, Practical distribution-sensitive point location in triangulations, Computer Aided Geometric Design 30 (2013), 431–450. https://doi.org/10.1016/j.cagd.2013.02.004.
[9] O. Devillers, S. Pion, and M. Teillaud, Walking in a triangulation, International Journal of Foundations of Computer Science 13 (2002), 181–199. https://doi.org/10.1142/S0129054102001047.
[10] L. Devroye, E. P. Mücke, and B. Zhu, A note on point location in Delaunay triangulations of random points, Algorithmica 22 (1998), 477–482. https://doi.org/10.1007/PL00009234.
[11] P. Diaconis and D. Freedman, Iterated random functions, SIAM Review 41 (1999), 45–76. https://doi.org/10.1137/S0036144598338446.
[12] B. Feldkord, T. Knollmann, and F. Meyer auf der Heide, Online facility location with mobile facilities, Theoretical Computer Science 907 (2022), 45–61. https://doi.org/10.1016/j.tcs.2022.01.019.
[13] G. Goel, Y. Lin, H. Sun, and A. Wierman, Beyond Online Balanced Descent: an optimal algorithm for smoothed online optimization, in Advances in Neural Information Processing Systems 32, 2019. https://proceedings.neurips.cc/paper_files/paper/2019/hash/9f36407ead0629fc166f14dde7970f68-Abstract.html.
[14] A. Gupta and A. Kumar, Online Steiner tree with deletions, in Proceedings of the Twenty-Fifth Annual ACM-SIAM Symposium on Discrete Algorithms, SIAM, 2014, 455–467. https://doi.org/10.1137/1.9781611973402.34.
[15] J. M. Hammersley, The distribution of distance in a hypersphere, Annals of Mathematical Statistics 21 (1950), 447–452. https://doi.org/10.1214/aoms/1177729805.
[16] M. Imase and B. M. Waxman, Dynamic Steiner tree problem, SIAM Journal on Discrete Mathematics 4 (1991), 369–384. https://doi.org/10.1137/0404033.
[17] Y. Katznelson, An Introduction to Harmonic Analysis, 3rd ed., Cambridge University Press, Cambridge, 2004. https://doi.org/10.1017/CBO9781139165372.
[18] S. G. Krantz, Handbook of Complex Variables, Birkhäuser, Boston, 1999. https://doi.org/10.1007/978-1-4612-1588-2.
[19] Y. Liu and P. H. Bauer, Frequency domain limitations in the design of nonnegative impulse response filters, IEEE Transactions on Signal Processing 58 (2010), 4535–4546. https://doi.org/10.1109/TSP.2010.2050142.
[20] NIST Digital Library of Mathematical Functions, Release 1.2.7 of June 15, 2026, F. W. J. Olver et al., eds. https://dlmf.nist.gov/.
[21] I. Olkin and Y. L. Tong, Peakedness in multivariate distributions, in Statistical Decision Theory and Related Topics IV, vol. 2, S. S. Gupta and J. O. Berger, eds., Springer, New York, 1988, 373–383.
[22] F. Proschan, Peakedness of distributions of convex combinations, Annals of Mathematical Statistics 36 (1965), 1703–1706. https://doi.org/10.1214/aoms/1177699798.
[23] S. W. Roberts, Control chart tests based on geometric moving averages, Technometrics 1 (1959), 239–250. https://doi.org/10.1080/00401706.1959.10489860.
[24] A. Saumard and J. A. Wellner, Log-concavity and strong log-concavity: a review, Statistics Surveys 8 (2014), 45–114. https://doi.org/10.1214/14-SS107.
[25] J. M. Steele, Cost of sequential connection for points in space, Operations Research Letters 8 (1989), 137–142. https://doi.org/10.1016/0167-6377(89)90039-4.
[26] S.-P. Wu, S. Boyd, and L. Vandenberghe, FIR filter design via spectral factorization and convex optimization, in Applied and Computational Control, Signals and Circuits, vol. 1, B. N. Datta, ed., Birkhäuser, Boston, 1998, 215–245. https://web.stanford.edu/boyd/papers/magdes.html.
[27] C. Xu and B. Moseley, Learning-augmented algorithms for online Steiner tree, in Proceedings of the Thirty-Sixth AAAI Conference on Artificial Intelligence, vol. 36, no. 8, AAAI Press, 2022, 8744–8752. https://doi.org/10.1609/aaai.v36i8.20854.