WorksComputer Science
A Primal-Dual Approach to Randomized Online Bidding with Tail Constraints
Abstract
Controlling tail risk in randomized algorithms has received increasing attention. Randomized online algorithms can achieve a lower expected competitive ratio than the competitive ratio of the best deterministic online algorithm. However, individual executions may still incur poor outcomes. Tail constraints address this risk by limiting the probability that the incurred ratio exceeds a prescribed threshold. We investigate how such constraints affect the structure and performance of randomized online bidding algorithms. By revisiting the classical primal-dual lower-bound framework for online bidding, we find that restricting the growth between consecutive bids can yield a stronger lower bound on the expected competitive ratio. We then show that tail constraints with zero exceedance probability impose an asymptotic upper bound on the ratios between consecutive bids. Incorporating this structural property into the primal-dual framework allows us to derive a stronger lower bound. Moreover, the dual analysis suggests a randomized geometric bidding algorithm whose performance matches this bound. The insight from our primal-dual analysis also guides the design of algorithms for general tail constraints allowing positive exceedance probabilities. Motivated by the geometric growth suggested by the dual solution, we study randomized periodic bidding algorithms. We show that, for any fixed geometric base, the uniform offset distribution is optimal in terms of both the expected competitive ratio and tail-constraint feasibility. We then characterize the exceedance probability of these algorithms and use this characterization to choose a geometric growth factor that satisfies the prescribed tail constraints, establishing parameter-dependent upper bounds on the optimal expected competitive ratio.
2012 ACM Subject Classification Theory of computation → Online algorithms
Introduction
In the study of online problems, competitive analysis is the standard measure for evaluating deterministic online algorithms. It considers the worst-case ratio between the cost of the algorithm and the optimal offline cost over all possible instances.
Randomized online algorithms allow us to go beyond deterministic worst-case guarantees. Conceptually, a randomized online algorithm runs different deterministic online algorithms in different parallel universes according to some probability distribution. Its expected competitive ratio measures, for the worst possible instance, the average performance across all these parallel universes. @♀♀♀♀references
Controlling tail risk. Although a good randomized online algorithm performs well on average, consider the particular universe in which we happen to live. The deterministic algorithm running in this universe may still perform badly on a given instance. Average happiness is little comfort if the universe we inhabit is unhappy.
A tail constraint limits the probability of such an unhappy outcome. More precisely, a tail constraint bounds the probability that the competitive ratio exceeds a prescribed threshold by , while we still seek to minimize the randomized algorithm’s expected competitive ratio.
Necessity of “bad” deterministic algorithms. Consider all possible deterministic algorithms . A randomized algorithm can be considered as a distribution on . The expected competitive ratio of is defined by , where is an instance of the online problem.
For the same instance, different deterministic algorithms may have very different ratios. By carefully assigning probabilities to these algorithms, a randomized algorithm attempts to capture instances that would otherwise yield large expected ratios. Changing the probability assigned to one deterministic algorithm may improve the expected ratios on some instances while worsening those on others. The challenge is therefore to balance the contributions of all deterministic algorithms so that no instance escapes with an excessively large expected ratio. In this process, even a deterministic algorithm with a large competitive ratio may be essential to achieving the optimal balance.
How to distribute probability among deterministic algorithms to capture these instances is closely tied to the structure of the underlying online problem. In particular, it depends on how the adversary can exploit the uncertainty in the input to make different groups of deterministic algorithms perform poorly.
See Figure 1a as a conceptual example. The x-axis represents the probability distribution of the deterministic algorithms used by the randomized algorithm , arranged in non-decreasing order of their competitive ratios. The length on the x-axis occupied by each deterministic algorithm represents its probability in . The y-axis represents the ratio of each deterministic algorithm on a given instance . The gray area represents the possible ratios, and its upper boundary represents the competitive ratio of the corresponding deterministic algorithm.

Figure 1.
Let be a worst-case instance that maximizes the expected ratio of . In Figure 1a, the thin solid curve depicts the ratios of all deterministic algorithms used by on , while the thin dashed curve depicts their ratios on another instance . The thick solid and dashed horizontal lines represent the corresponding expected ratios of , respectively. It can be seen that has a higher expected ratio than , although some deterministic algorithms with high competitive ratios perform much better on than on .
Tail constraint changes the optimal structure. Now consider introducing a tail constraint . Since this constraint requires that the probability of exceeding is zero for every instance, deterministic algorithms with competitive ratios larger than cannot be assigned positive probability in the randomized algorithm. A natural first attempt to satisfy this constraint is to simply remove these deterministic algorithms from and redistribute their probability mass among the remaining ones, say evenly, as illustrated in Figure 1b.
As shown in Figure 1b, this simple modification decreases the expected ratio on but increases that on , making the worse instance of the two. Thus, removing deterministic algorithms with poor worst-case guarantees may change which instance is worst for the randomized algorithm. More importantly, it may destroy the balance between the deterministic algorithms that made the original distribution effective. This illustrates why finding an optimal randomized algorithm under a tail constraint may require more than simply removing the deterministic algorithms that violate the constraint. The optimal randomized algorithm may have a substantially different structure.
Previous work. The model of online algorithms with tail constraints was recently introduced by Dinitz et al. [5]. They initiated this line of research for the ski rental problem and showed that imposing tail constraints can substantially change the structure of optimal randomized algorithms. Cui and Dinitz later extended this model to two-slope ski rental [4].
The concept of tail constraints is closely related to risk measures studied in economics and finance. In particular, Value-at-Risk (VaR) concerns the minimum threshold such that the probability of exceeding this threshold is bounded from above by a prescribed probability level. Conditional Value-at-Risk (CVaR), on the other hand, considers the average loss among the worst outcomes beyond a given quantile. Christianson et al. [2] considered a CVaR-based notion of competitive ratio, which captures the average competitive ratio in the upper tail of its distribution, as determined by a prescribed probability level.
Online bidding was formalized by Chrobak et al. [3] as a framework for studying doubling-based algorithms, with applications to incremental medians. The classical online bidding problem admits an optimal deterministic competitive ratio of 4 and an optimal randomized expected competitive ratio of . Chrobak et al. established the matching randomized lower bound using a linear-programming primal-dual approach, which we extend to the setting with tail constraints.
To the best of our knowledge, prior to our work and the independent concurrent work of Basiak et al. [1], tail constraints had only been studied for ski rental and its variants. These works represent the first extensions of the model beyond ski rental. In particular, Basiak et al. independently established the optimal expected competitive ratio for online bidding under pure tail constraints, using Yao’s min-max principle for their lower bound.
Our contributions. Our main contribution is a primal-dual approach to understanding randomized online bidding under tail constraints. By revisiting the classical primal-dual lower-bound framework of Chrobak et al. [3], we uncover a key structural insight: the lower-bound argument becomes strictly stronger when the ratio between consecutive bids is bounded from above by a constant strictly smaller than (Observation 4). This reveals a promising direction for extending the primal-dual framework to tail-constrained settings. The central challenge, however, is to establish a connection between the growth of consecutive bids and the tail constraints, which restrict the probability of large ratios. bridge this gap by showing that tail constraints with zero violation probability impose an asymptotic upper bound on consecutive-bid ratios (Lemma 9 and 10). Incorporating this structural property into the primal-dual framework allows us to derive stronger lower bounds under tail constraints (Lemma 11).
Beyond strengthening the lower-bound analysis, our primal-dual approach also provides insight into the design of optimal bidding strategies (Observation 12). In particular, the structure of the dual solution suggests a natural geometric growth factor for consecutive bids, motivating a randomized periodic bidding algorithm. By combining this algorithm with our refined primal-dual lower bound, we obtain a tight characterization of the optimal expected competitive ratio under zero-violation tail constraints (Theorem 1). We further extend the algorithmic approach to general tail constraints, establishing upper bounds on the expected competitive ratio (Theorem 2). We also show that, for any fixed geometric base, the uniform offset distribution is optimal among randomized periodic bidding algorithms in terms of both the expected competitive ratio and tail-constraint feasibility (Lemma 15). Thus, when considering periodic algorithms, we can restrict our attention to uniform offset distributions. Our main results are summarized in the following two theorems.
Theorem 1 (Optimal ratio for tail constraints with ). For a tail constraint with , the expected competitive ratio of the online bidding problem is exactly , where
For tail constraints , the expected competitive ratio is exactly , where .
Theorem 2 (Upper bound for general tail constraints). For and , let . Consider a tail constraint with and . Define
Then the expected competitive ratio of the online bidding problem is at most if exists. More generally, for a collection of tail constraints , the expected competitive ratio is at most , where , provided that exists for all and this choice satisfies all the constraints.
Paper organization. In Section 2, we define the online bidding problem and introduce the tail constraints. We then revisit a primal-dual framework for the problem without tail constraints in Section 2.1. Section 3 studies the problem with . We introduce a special bidding sequence in Section 3.1 and incorporate its properties into the primal-dual framework in Section 3.2. Finally, we discuss the problem with general tail constraints in Section 4. The omitted proofs are provided in the appendix.
Preliminaries
The online bidding problem. We consider the online bidding problem, in which an algorithm is faced with an unknown threshold . An algorithm submits a strictly increasing sequence of bids
without knowing . Let denote the index of the first bid that reaches or exceeds the threshold, i.e.,
where the condition involving is omitted when . The algorithm terminates upon submitting , and incurs cost
Let denote an optimal offline algorithm for threshold . Since OPT knows in advance, it can submit as its first bid and terminate immediately. Hence,
For a deterministic algorithm , its ratio on an instance is , and the algorithm’s competitive ratio is
The competitive ratio of the online problem is the infimum of the competitive ratios of all deterministic algorithms.
For a randomized algorithm , where the expectation is taken over the internal randomness of , its expected ratio on threshold is . Accordingly, the randomized algorithm’s expected competitive ratio is
The expected competitive ratio of the online problem is the infimum of the expected competitive ratios of all randomized algorithms.
The competitive ratio of the online bidding problem is , whereas the expected competitive ratio of the problem is [3].
Tail constraints. A tail constraint limits the probability that a randomized algorithm incurs a ratio exceeding a prescribed threshold. To formalize this, we first define the -exceedance probability as follows.
Definition 3 (-exceedance probability). Let be a randomized algorithm. For , the -exceedance probability of is
where the probability is taken over the internal randomness of .
A tail constraint is specified by a pair of parameters , where and . A randomized algorithm satisfies the tail constraint if its -exceedance probability is at most , i.e.,
Equivalently, for every , .
More generally, we consider a collection of tail constraints
A randomized algorithm is feasible with respect to this collection if it satisfies all tail constraints simultaneously, i.e., for every and every , .
Imposing a tail constraint restricts the class of feasible randomized algorithms and may therefore increase the optimal expected competitive ratio.
Revisiting the primal-dual lower bound without tail constraints
Our lower-bound analysis under tail constraints builds on the primal-dual framework of Chrobak et al. [3] for randomized online bidding. We begin by revisiting their lower-bound argument in the unconstrained setting. A closer examination of their proof reveals that a strictly stronger lower bound can be obtained if the ratio between every pair of consecutive bids is strictly less than . This observation provides a starting point for extending their analysis to the setting with tail constraints.
Chrobak et al. [3] restrict attention to the finite universe
so that both the threshold and all bids are required to lie in . They establish the lower bound for this restricted problem with arbitrarily large . Since the unrestricted problem includes every finite universe as a special case, any asymptotic lower bound obtained in this setting also applies to the original problem over the real-valued domain.
The authors establish the lower bound using a primal-dual approach. Specifically, they formulate a factor-revealing linear program whose objective captures the expected competitive ratio. They then construct a feasible dual solution whose objective value provides a lower bound on the optimal primal objective value by weak duality. The linear program is formulated as follows.
The factor revealing linear program [3]. Consider a bidding sequence , where for notational convenience. Let
for all , and let , which can be seen as the probability that and are consecutive bids in the algorithm’s bidding sequence. Choose a sufficiently large integer and set
The primal linear program is given in Figure 2.
Figure 2. Primal and dual linear programs for the classic online bidding problem [3]
The primal linear program minimizes , which represents an upper bound on the expected competitive ratio of the randomized algorithm. The first set of constraints ensures that, for every threshold , the expected total cost is at most . The second set of constraints ensures that the algorithm reaches or exceeds every threshold with probability 1. Every randomized bidding algorithm induces a feasible solution to this LP. Hence, the optimal LP value provides a lower bound on the optimal expected competitive ratio.
A feasible dual solution and a lower bound of the expected competitive ratio. After normalization, the corresponding dual program can be written as the form in Figure 2. The dual variables are constructed as follows.
where is a parameter to be chosen later.
Under this construction, the dual objective value approaches as :
Dividing the dual constraint by yields
To establish dual feasibility for a suitable choice of , they consider three cases according to the value of . For , the right-hand side is zero, and hence the constraint is always satisfied. For , both and are zero for all . Thus, the constraint is identical to that for , and it suffices to verify the constraint at .
For , they show that the left-hand side satisfies . The right-hand side can be upper-bounded as follows: . To determine the worst case, they maximize the function
Let be defined by . The function is maximized at and the maximum value is . Moreover, approaches as , which is ensured by taking . To ensure that , they choose . Therefore, the constructed solution is feasible.
What we learn from the primal-dual about the optimal randomized algorithm’s behavior. The maximizer of (1) offers a revealing clue about the primal bidding behavior associated with a worst-case instance. Intuitively, the dual can be viewed as searching for a worst-case instance, with an optimal dual solution representing such an instance. By the definition of , and are consecutive bids. Since (1) is maximized when , this suggests that consecutive bids in an optimal primal solution should differ by a factor of on a worst-case instance. Interestingly, this mirrors the behavior of the corresponding upper bound.
The role of does not end with this connection. (1) is increasing for . Hence, restricting the ratio of every pair of consecutive bids to at most some yields a strictly stronger lower bound. This leads to the following observation.
Observation 4 (Strengthening the primal-dual lower bound). Suppose that there exists a constant such that
where and are consecutive bids. Then, for the class of bidding algorithms satisfying this condition, the primal-dual argument of Chrobak et al. [3] yields a strictly stronger lower bound on the expected competitive ratio than the classical lower bound for the unconstrained problem.
Tail constraints with
To study the online bidding problem with tail constraints, we begin with the special case where . Since requires the -exceedance probability to be zero, we must have , as the optimal deterministic competitive ratio is 4. We first consider a single tail constraint and then extend our analysis to multiple tail constraints.
As discussed in the previous section, Observation 4 suggests that an upper bound on the ratios between consecutive bids could help us extend the lower bound analysis of the randomized online bidding problem to the setting with tail constraints. This motivates us to investigate whether the tail constraints imply such an upper bound. However, the value of this upper bound is not immediately clear. To derive this bound, we construct a special bidding sequence and use its consecutive-bid ratios to establish an asymptotic upper bound for any feasible bidding sequence.
Extremal bidding sequence
By imposing the tail constraint , we show that every realization of a randomized algorithm is -feasible, as defined below.
Definition 5 (-feasible bidding sequence). Let be a bidding sequence, and set for notational convenience. We say that is -feasible if
Lemma 6 (Feasibility of deterministic realizations). Let be a randomized algorithm satisfying the tail constraint . Then every deterministic algorithm in the support of is -feasible.
Proof. Suppose, for contradiction, that there exists a deterministic algorithm in the support of whose bidding sequence is not -feasible. That is, by Definition 5, there exists an index such that
We show that there exists an instance on which incurs a ratio larger than . Since is in the support of , it is selected with positive probability. Therefore, also has a positive probability of exceeding on the same instance, contradicting the tail constraint .
Consider the threshold . Since the bids are integral and strictly increasing, we have . Hence, is the first bid of that reaches or exceeds , and therefore . Since , it follows that
Because lies in the support of , it is selected with positive probability. Consequently,
contradicting the assumption that satisfies the tail constraint . Therefore, every deterministic algorithm in the support of is -feasible.
We consider a particular -feasible bidding sequence that is extremal in the sense that the defining inequality is tight at every step.
Definition 7 (Extremal bidding sequence). The extremal bidding sequence, denoted by , is defined by setting and requiring
Lemma 8 (Closed form of the extremal bidding sequence). For , the extremal bidding sequence admits the following closed form. If , let . Then, for every ,
If , then, for every , .
Proof. By the definition of the extremal bidding sequence, the -feasibility condition holds with equality for every . This allows us to derive a linear recurrence relation for the bids, which we then solve using its characteristic polynomial.
For , let . By the definition of the extremal bidding sequence, for every . For , using , we obtain . Rearranging gives the recurrence for , with initial conditions and .
We first consider the case . The characteristic polynomial of the recurrence is , whose two distinct roots are
Let . The general solution is therefore
The condition gives , and hence . Using , we obtain , so and . Thus, for every , .
It remains to consider the case . The recurrence becomes , whose characteristic polynomial has a repeated root at . Hence . The condition gives , while gives , and hence . Therefore for every , as claimed. ◀
The following two lemmas establish an asymptotic upper bound on the ratio between consecutive bids of any -feasible bidding sequence. The first lemma shows that the asymptotic growth rate of any such sequence is bounded above by that of the extremal bidding sequence, while the second lemma establishes that the growth rate of the extremal sequence converges to , which depends only on . Together, these results imply that
Lemma 9 (Asymptotic growth comparison). For any -feasible bidding sequence ,
Proof. Since shifting the indices by a fixed constant does not affect the limit superior, it suffices to prove that
for all .
Then, by taking the limit superior on both sides, we conclude the lemma.
Since is -feasible, for every , . Rearranging and dividing by gives . Similarly, the definition of the extremal bidding sequence gives . Define
Then
Thus, it suffices to establish
for all .
Once this claim is established, (2) implies that, for every ,
We now prove this claim by induction on .
For , since , we have . On the other hand, since ,
Hence the claim holds for .
For , assume that . We show that . First, the condition implies , and hence .
We next derive recursive relations for and . From the definition of ,
where the last inequality follows from and (2), which is . Similarly, from the definition of ,
Now consider the function , for . The function is strictly increasing on . By the induction hypothesis and the monotonicity of , we have . Therefore,
This completes the induction.
Lemma 10 (Growth rate of the extremal bidding sequence). For ,
Proof. We consider the two cases and separately. First suppose that . By Lemma 8, . Hence
Therefore, . Since , we have , and thus the claim follows in this case.
Now suppose that , and let . By Lemma 8, . Factoring out the dominant term gives
Since , we have and , and therefore . It follows that
Consequently,
Taking , the second factor converges to , and hence . This completes the proof.
Adapting the primal-dual approach to tail constraints
In this section, we incorporate properties of the extremal bidding sequence into the primal-dual approach proposed by Chrobak et al. [3].
In the previous section, we show that, for any -feasible bidding sequence, the ratio of two consecutive bids is at most , provided that the bids are sufficiently large. We incorporate this property into the linear program mentioned in § 2.1. More precisely, we relax the second constraint by considering only bids whose values are at least some sufficiently large value , and impose an upper bound of on the ratio of consecutive bids. We enforce this bound by reducing the upper limit of the summation index . This yields the primal and dual program in Figure 3.
!Primal and dual programs. Primal: , subject to , ; , ; , ; . Dual (after normalization): , subject to , ; , ; , . bbox=0.18,0.11,0.85,0.41
Figure 3. Primal and dual programs for the online bidding problem with tail constraint
The construction of the variables is identical to that of Chrobak et al. [3]. Thus, the objective value remains unchanged. The analysis of constraint satisfaction is also unchanged, except for the case . In this case, the analysis of the left-hand side remains unchanged, . The relevant term on the right-hand side can also be upper-bounded in the same way, . However, the maximum value of the function is different. Let be defined by . As mentioned in § 2.1, the function is maximized at and is increasing on . However, , which implies that . Therefore, if , the maximum is attained at ; otherwise, it is attained at . Consequently, the maximum value of the function is if , and otherwise. Moreover, is asymptotically equivalent to as , which is ensured by taking .
To ensure that , we choose if , and otherwise. Therefore, the constraint is satisfied, and the constructed solution is feasible.
Lemma 11 (Lower bound for tail constraints with ). For a tail constraint , the
expected competitive ratio of the online bidding problem is at least , where
For a collection of tail constraints , the expected competitive ratio is at least , where .
Proof. For , by the construction above, there exists a feasible solution with a expected competitive ratio of if , where . Since , this is equivalent to . On the other hand, if , there exists a feasible solution with a expected competitive ratio of .
For multiple tail constraints, we choose the smallest because doing so ensures that all tail constraints are satisfied.
We show a matching upper bound in the next section. The primal-dual analysis also leads to the following observation.
Observation 12. For the online bidding problem with a tail constraint , the primal-dual argument in this section suggests that consecutive bids in an optimal primal solution for a worst-case instance should differ by a factor of .
Tail constraints with general
In this section, we derive an upper bound on the expected competitive ratio for the online bidding problem under tail constraints. We first consider a single tail constraint and then extend our analysis to multiple tail constraints.
Observation 12 from the previous section suggests that consecutive bids in a randomized online algorithm should increase by a factor of , even when a tail constraint is imposed. This motivates the following periodic algorithm.
Periodic algorithm . For a parameter , we consider the following randomized algorithm . Initially, samples a random offset , and then submits the sequence of bids
until one of the bids reaches or exceeds the threshold. We will explain how to choose later.
This family of algorithms generalizes the optimal randomized algorithm for online bidding: setting recovers the optimal algorithm, i.e., . We now derive an upper bound on the competitive ratio of any realization of , as well as an upper bound on the expected competitive ratio of .
Lemma 13 (Competitive ratio of deterministic realizations). Every deterministic algorithm induced by has competitive ratio at most . Moreover, is decreasing on and increasing on .
Proof. Fix an arbitrary realization of the random offset. The resulting deterministic algorithm submits the bids
Fix a threshold , and let be the index of the first bid that reaches or exceeds .
Suppose that . Then the ratio of the deterministic algorithm is , where we use , , and .
Now suppose that . Since is the first index for which , we have . The cost incurred by the algorithm is
Hence, the ratio of the algorithm is
The fact that is decreasing on and increasing on can be seen by differentiating the function with respect to .
Lemma 14 (Expected competitive ratio of ). The expected competitive ratio of is at most . Moreover, is decreasing on . Proof. For a fixed threshold , let be the smallest positive integer such that the -th bid reaches or exceeds . The expected ratio of on is
Let , so that . Since is the integer such that , we have . Define , which measures the excess of over on a base- logarithmic scale. Then , and . Therefore, the expected ratio is at most
It remains to determine the distribution of . Since , we obtain . Equivalently, , where denotes the fractional part. Since is uniform on , translation modulo preserves the uniform distribution, and therefore . Hence, the expected ratio is at most
The fact that is decreasing on can be seen by differentiating the function with respect to .
Given a base and an arbitrary offset distribution density function on , we denote as a randomized periodic algorithm for online bidding where the -bid is and the offset . We show that the uniform offset distribution is optimal in terms of the expected competitive ratio among all such algorithms.
Lemma 15 (Optimality of the uniform offset). Given any tail constraint , if there exists a feasible periodic algorithm that satisfies the tail constraints, the periodic algorithm with uniform offset is also feasible. Moreover,
Proof. Fix an offset and consider the corresponding deterministic realization of the randomized algorithm . For any threshold , the last bid of is where .
Expected ratio of on threshold . Since the last bid of on threshold is , the total cost of . Let , where . The ratio
Expected competitive ratio of . Now we derive the expected competitive ratio of , where is an arbitrary offset density. First, given a fixed threshold , the expected ratio of on ,
Consider any legal with . By the average bound, the competitive ratio of ,
By Lemma 14, the expected competitive ratio of is at least the expected competitive ratio of the algorithm , where the offset density function is uniform.
Feasibility of . Now, assume that is feasible for the tail constraint . We are going to show that is also feasible for the same tail constraint. It suffices to show that, in the worst case, the probability that exceeds is at least , the probability that exceeds .
Consider an arbitrarily large threshold . The probability that exceeds ,
where .
Since , if , and if . Otherwise, when , the probability that the expected ratio of exceeds is . By the three cases, for any arbitrarily large , is independent on the realized and is at least . ◀
Since the uniform offset distribution minimizes the expected competitive ratio among all , we focus on . We now derive the -exceedance probability of .
Lemma 16 (-exceedance probability of ). For every ,
where
Moreover,
Consequently, the -exceedance probability of is .
Proof. For completeness, we include part of the proof of Lemma 14. Fix a threshold , and write . For a realization , let be the index of the first bid that reaches or exceeds . Since the bids are , the terminal bid is , where . Indeed, , so is always a nonnegative integer.
Define the overshoot . Equivalently, , where denotes the fractional part. Since is uniform on , translation modulo preserves the uniform distribution, and hence .
For this realization, the competitive ratio is
Since , we have
In addition,
Consequently,
Since , we have
Thus, for any , the exceedance probability is if , and if . For the remaining case, , we have
Therefore, by the definition of ,
for every . Applying this identity with and to the probability bounds above yields
As is continuous, letting and applying the squeeze theorem gives
Together with the upper bound above, this implies
Hence the -exceedance probability of is .
Proof of Theorem 2. Consider a tail constraint , where and . By Lemma 16, the -exceedance probability is given by .
For , since , the relevant solutions to lie in the range . By Lemma 14, the expected competitive ratio decreases as increases over . Therefore, we select as the largest solution to in , if such a solution exists.
For , under the same assumption , the equation may admit two solutions, and , satisfying . However, since , choosing satisfies the tail constraint. By Lemma 14, minimizes the expected competitive ratio. Thus, we set .
In either case, the expected competitive ratio is
For multiple tail constraints, we choose , provided that this choice satisfies all the constraints.
Corollary 17 (Upper bound for tail constraints with ). For a tail constraint with , the expected competitive ratio of the online bidding problem is at most , where
For tail constraints , the expected competitive ratio is at most , where .
Proof. By Lemma 16, the -exceedance probability is given by . Since , we require , which is equivalent to . For , the largest feasible value of is the larger root of the corresponding quadratic equation, given by
On the other hand, by Lemma 13, the competitive ratio of is at most . Hence, if , satisfies the tail constraint. Furthermore, by Lemma 14, minimizes the expected competitive ratio. Thus, we choose in this case.
For multiple tail constraints, we choose to ensure that all tail constraints are satisfied.
Corollary 17 and Lemma 11 together prove Theorem 1.
AI Tools Usage Disclosure. ChatGPT was used to assist with English language polishing, including grammar correction, sentence clarity, and readability, as well as with determining the range of in Theorem 2.
References
- [1]Mateusz Basiak, Marcin Bieńkowski, Yongho Shin, and Agnieszka Tatarczuk. Pure tail constraints for online problems. CoRR, abs/2609.35337, 2026. URL: https://arxiv.org/abs/2609.35337, arXiv:2609.35337.
- [2]Nicolas Christianson, Bo Sun, Steven H. Low, and Adam Wierman. Risk-sensitive online algorithms (extended abstract). In Conference on Learning Theory (COLT), pages 1140–1141, 2024.
- [3]Marek Chrobak, Claire Kenyon, John Noga, and Neal E. Young. Incremental medians via online bidding. Algorithmica, 50(4):455–478, 2008.DOI
- [4]Qiming Cui and Michael Dinitz. Controlling tail risk in two-slope ski rental. In Workshop on Approximation and Online Algorithms (WAOA), pages 81–96, 2025.arxiv.org/abs/2508.06809
- [5]Michael Dinitz, Sungjin Im, Thomas Lavastida, Benjamin Moseley, and Sergei Vassilvitskii. Controlling tail risk in online ski-rental. In Proceedings of the 2024 ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 4247–4263. SIAM, 2024. doi:10.1137/1.9781611977912.147.DOI
