We study online allocation problems where n requests over m resources arrive in an adversarial order and must be served immediately and irrevocably. This framework captures both Online Resource Allocation, where the goal is to maximize value subject to resource budgets, and Online Load Balancing, where the goal is to minimize the makespan. We seek (1±ϵ)-competitive algorithms in the large-budget or large-makespan regime.
We consider a sampling model that generalizes the following two well-studied sampling models. In the Single-Sample Prophet Inequality (SSPI) model, request t is drawn from an unknown distribution Dt, and the algorithm is given one independent sample from each Dt before the online phase. In the p-Sample model, the requests are adversarial, but a uniformly random p-fraction is revealed upfront as training data.
Although near-optimal algorithms are known in the easier random-order model (RO), where the requests arrive in a uniformly random order, prior algorithms for SSPI and p-Sample were problem-specific and incurred substantially worse dependencies on ϵ, m, and n. Our main contribution is a general framework that converts RO algorithms into algorithms for the p-Preview model, a model that generalizes both SSPI and p-Sample. As consequences, we obtain near-optimal bounds for Online Resource Allocation, generalized Online Load Balancing, and online mixed packing-covering problems in these adversarial-order sampling models, significantly improving the bounds of [Ghuge, Singla, Wang (STOC'25)] and [Gupta and Molinaro (SODA'26)].
Contents
1 Introduction 2
2 Model and Preliminaries 7
3 Online-History Independence via Random Order Algorithms 9
4 Applications to Resource Allocation 12
5 Applications to Load Balancing and Mixed Packing-Covering 22
6 Lower Bounds 27
A Missing Proofs 34
∗School of Computer Science / H. Milton Stewart School of Industrial and Systems Engineering / Algorithms and Randomness Center, Georgia Institute of Technology, Atlanta, USA. Email: mfaw3@gatech.edu. Supported in part by NSF award CCF-2440113.
†School of Computer Science, Georgia Institute of Technology, Atlanta, GA, USA. Email: ssingla@gatech.edu. Supported in part by NSF awards CCF-2327010 and CCF-2440113.
‡School of Computer Science, Georgia Institute of Technology, Atlanta, GA, USA. Email: ywang3782@gatech.edu. Supported in part by NSF awards CCF-2327010 and CCF-2440113.
1 Introduction
Online allocation is a fundamental problem in computer science and operations research, with applications including online advertising, combinatorial auctions, routing, and online packing/covering LPs. In this problem, a sequence of n requests arrives over time and must be served immediately using m resources; different ways of serving the same request may consume different amounts of the resources. On the maximization side, the canonical example is Online Resource Allocation, where each allocation option for a request has a corresponding value, and the objective is to maximize the welfare, i.e., the total value of the selected allocations, while never exceeding the allocation budget of any of the m resources. On the minimization side, the canonical example is Online Load Balancing, where each request must be assigned to one of several feasible options, each inducing load on one or more resources. The objective there is to minimize the makespan, i.e., the maximum load on any resource after serving all requests.
We aim to design (1±ϵ)-competitive online allocation algorithms: for Resource Allocation a (1−ϵ)-approximation to the offline optimum value, and for Load Balancing, a (1+ϵ)-approximation to the offline makespan. Without any assumption on the arriving requests, however, such goals are unachievable. Indeed, even in standard special cases, Online Resource Allocation admits only an O(1/n) worst-case competitive ratio, while Online Load Balancing has an Ω(log(m)) worst-case lower bound. Consequently, to obtain near-optimal guarantees, one must assume that the algorithm has some form of knowledge about the input.
If the online arrivals are in a uniformly random order (secretary model), then an impressive line of work [DH09, AWY14, MR14, DJSW19, KRTV18, AD15, GM16] obtains (1±ϵ)-competitive algorithms under natural large-budget conditions; see also book chapters [EIV23, Chapter 6] and [GS20] for background on large-budget Online Resource Allocation. In the general m-resource setting, for Online Resource Allocation each resource should have budget Ω(ϵ−2log(m)), and for Online Load Balancing the optimal makespan should be Ω(ϵ−2log(m/δ)) when the algorithm fails with probability at most δ. However, these algorithms rely on the uniformity of the arrival order. In an adversarial order, the early arrivals may be statistically unrelated to the later arrivals. Hence, to handle non-uniform arrivals, the following two natural online models have been studied.
(i) Prophet model. In this setting, each request γt is drawn independently from a distribution Dt, where different distributions need not be identical. With known distributions, solving the corresponding ex-ante/configuration LP relaxation and independently rounding its fractional solution yields (1±ϵ)-competitive algorithms for both online resource allocation and online load balancing under the appropriate large-budget condition. In many real applications, however, assuming complete knowledge of the distributions is unrealistic: a decision maker can only hope to learn about them from previous interactions or limited historical data.
This motivated Ghuge, Singla, and Wang [GSW25] to consider Online Resource Allocation in the single-sample prophet inequality model (SSPI). In this model, an adversary chooses unknown distributions D1,…,Dn; the algorithm receives one independent sample γ~t∼Dt for every t∈[n], then must irrevocably serve a fresh request γt∼Dt in the online phase. [GSW25] show that a single sample from each distribution already suffices to obtain a (1−ϵ)-approximation for non-identical distributions with budgets Bj≥Ω(ϵ−6⋅log4(nm/ϵ)). Compared to the LP-rounding and random-order benchmarks, however, this leaves a polynomial gap in the dependence on 1/ϵ and logm, and also has an additional dependence on the time horizon n. Moreover, their techniques are tailored to the value maximization objective and do not directly yield analogous guarantees for minimization problems such as Load Balancing or Mixed Packing-Covering.
(ii) p-Sample model. In this setting, the requests γt are chosen adversarially, but a uniformly random p-fraction of the requests is revealed upfront to the online algorithm. Then the n requests arrive online in the original adversarial order. This model originated in the study of online matching and secretary problems to overcome strong worst-case impossibility results [KNR20, KNR22]. Argue, Frieze, Gupta, and Seiler [AFGS22] first studied this model for the restricted-assignment special case of online load balancing, obtaining a (1+ϵ)-competitive algorithm when optimal makespan is Ω(ϵ−5p−1⋅log3(m/ϵ)).
More recently, Gupta and Molinaro [GM26] considered the general load balancing problem and its extension to multiple-choice mixed packing-covering in the p-Sample model. They obtain a (1+ϵ)-competitive algorithm when optimal makespan is Ω(ϵ−8p−1⋅log(nmK/ϵ)5), where K is the number of processing options for each job. Compared to the LP-rounding and random-order benchmarks, this again leaves a polynomial gap in the dependence on 1/ϵ and logm, and also has an additional dependence on the time horizon n and the number of options K. Moreover, their framework does not give the value-maximization guarantees of online resource-allocation.
The gaps present in these results motivate the following question addressed in this work:
Can we obtain (1±ϵ)-competitive online allocation algorithms in the SSPI and p-Sample models nearly-matching the large-budget requirements in the known-distribution LP-rounding and random-order settings?
1.1 Main Results
In this paper, we resolve this question for the canonical maximization and minimization problems above. Our first main result is for the single-sample model:
Theorem 1.1 (Main results for SSPI model). For every ϵ∈(0,1) and δ∈(0,ϵ), the following guarantees hold in the SSPI model:
For online resource allocation with m resources, there is an algorithm whose expected welfare is at least a (1−O(ϵ))-fraction of the expected offline optimum, provided that the budget of every resource j satisfies Bj=Ω(ϵ−2⋅log(m/ϵ)).
For online generalized load balancing on m machines, there is an algorithm that, with probability at least 1−δ, outputs an allocation of makespan at most (1+O(ϵ))Opt, where Opt denotes the expected offline optimal makespan, provided that Opt=Ω(ϵ−2⋅log(m/δ)).
For online resource allocation, this matches the guarantee available under known distributions and in the random-order model, up to the logarithmic dependence on ϵ. In fact, Ω(ϵ−2logm) budget is information-theoretically necessary in general, even for known input distributions [DJSW19, GSW25]. Theorem 1.1 improves the previous single-sample online resource-allocation guarantee of [GSW25], whose budget requirement was larger by a polynomial factor in 1/ϵ and logm, and also depended on time horizon n. On the minimization side, the theorem gives analogous single-sample guarantees for generalized load balancing, a setting not covered by [GSW25].
Our second main result is for the p-Sample model.
Theorem 1.2 (Main Results for p-Sample). For every ϵ∈(0,1), δ∈(0,ϵ), and p∈(0,1], the following guarantees hold in the p-Sample model:
For online resource allocation with m resources, there is an algorithm whose expected welfare is at least a (1−O(ϵ))-fraction of the expected offline optimum on the n requests, provided that every resource budget satisfies Bj=Ω(p−1ϵ−2⋅log(m/ϵ)).
For online generalized load balancing on m machines, there is an online algorithm that, with probability at least 1−δ, outputs an allocation with makespan at most (1+O(ϵ))Opt, where Opt denotes the expected offline optimal makespan on the n requests, provided that Opt=Ω(p−1ϵ−2⋅log(m/δ)).
As a complementary set of results, we establish matching lower bounds for the main guarantees above. In Section 6, we also show that these bounds are information theoretically tight (up to logarithmic dependence on ϵ) in p,ϵ,logm for both online resource allocation and online load balancing. Theorem 1.2 improves the prior p-Sample guarantees of [GM26]: for online generalized load balancing they required the optimal load to be polynomially larger in ϵ and logm, and we remove the dependence on both the time horizon n and on the number of processing options K. On the maximization side, this gives the first near-optimal p-Sample guarantee for online resource allocation.
Pricing implications. For many applications of online resource allocation, we desire item-pricing algorithms: before each request arrives, the algorithm posts a price for each resource, and the request takes the decision that maximizes the difference between its value and its price. Additionally, in such applications, the algorithm may not even have full samples from request distributions, and can only learn about a request through an item-pricing query as above. In Section 4.4, we strengthen the online resource allocation results for the SSPI and p-Sample models stated above: when a rough estimator of Opt is given, our algorithms can replace full observation of each request available in the offline learning phase with the outcome of a single pricing query to that request, while still achieving the same (1−ϵ)-competitiveness guarantees as in our main results.
Taken together, our results in the SSPI and p-Sample models show that a small amount of offline information is sufficient to recover essentially the best guarantees known in the random-order model.
1.2 Our Techniques
For simplicity, we first restrict our discussion to the SSPI model, where each online request γt is drawn independently from Dt.
Online-History Independent algorithms. The starting point of our techniques is that “online-history independent” allocation algorithms exist with near-optimal performance: We call a policy online-history independent (OnlineHI) if, after the learning phase, its decision on request t (before imposing any feasibility constraints) depends only on the current request γt and on the offline sample-history, but not on the online history. When request distributions are given, (1±ϵ)-competitive OnlineHI algorithms are known to exist: solve the LP relaxation offline and then use the fractional solution to independently round the action for request γt; feasibility is then enforced by the usual large-budget concentration/capping argument. This observation motivates the question: Given only one sample from each distribution, can we learn near-optimal OnlineHI allocation algorithms?
To design such an OnlineHI allocation algorithm, we begin with a thought experiment. Suppose that, instead of coming in adversarial order, the requests came in a uniformly random order. As discussed earlier, online allocation in the random-order (denoted RO) model is fairly well understood, and we know (1±ϵ)-competitive algorithms under large-budget conditions [KRTV18, GM16, AD15]. A crucial feature of these RO algorithms is that they do not require distributional knowledge: the multiset of requests may be adversarially chosen, and only its order is random.
Simulating RO for an OnlineHI algorithm. To obtain an OnlineHI allocation algorithm from the single sample, our idea is to simulate a random order on the samples, and, when a request γt arrives, simply make the allocation that the RO algorithm would have made on the samples, if γt replaced its sample γ~t. More concretely, let {γ~t}t∈[n] be the samples observed offline by the algorithm, and let π be a uniformly random order of these samples. Now, if we run a RO algorithm RoBB on the samples in order π, we get a sequence of sample requests γ~π(i) and corresponding decisions θ~π(i) made by RoBB. Let Hπ(i)s=(γ~π(j),θ~π(j))j<i be the offline sample-history before processing sample γ~π(i) in this random order. Then we can express the decision of the RO algorithm on sample π(i) as:
θ~π(i)=RoBB(γ~π(i)∣Hπ(i)s)
Our proposal is to mimic this decision online with RoBB by using the offline sample-history in place of the online history. In particular, when request γt arrives during the online phase, we ignore the online history and replace it with the offline sample-history Hts before the sample γ~t is processed in random order. Thus, we take the decision that RoBB would have made on the sample, had γt appeared offline instead of γ~t:
θt=RoBB(γt∣Hts).
Since Hts is determined before γ~t is revealed in the simulated random order, it is independent of both γ~t and the fresh draw γt. Thus, conditioned on Hts, the sample decision θ~t and the online decision θt have the same distribution. Hence, the decisions on the sampled requests and the decisions on the actual requests form tangent sequences with respect to the learning histories, in the sense of [KW89, DIPG12]. This tangent relation is the bridge between the RO execution on samples and the adversarial-order execution on the true requests.
Using this bridge, we can view the learning-phase process and the allocation-phase process as two martingales with matched conditional increments. Consequently, Freedman/Bernstein-type martingale inequalities imply that, for the consumption of a resource or the load placed on a machine, the online allocation phase is close to the learning phase. This argument transfers bounded linear statistics, such as resource consumptions and machine loads, from the simulated RO execution to the online execution. For online load balancing, the idea is essentially sufficient to obtain our guarantees, since the load of each request on a resource is uniformly bounded.
Handling correlations between value and budget exhaustion. For online resource allocation, however, the value associated with each request may be unbounded. Thus, the martingale concentration is not enough to transfer the RO guarantees to this setting. The main challenge is to show that the event that our algorithm over-allocates is not (significantly) positively correlated with the value collected. The tangent relation guarantees two useful facts:
With high probability, the uncapped online execution does not consume too much of any resource.
The expected value of the uncapped online execution is exactly the same as the expected value of the RO execution on the samples.
Thus, if resource consumption and value were independent, a simple argument would suffice: a small probability of running out of budget would immediately imply a proportional value loss. However, in resource allocation these two quantities are correlated. The histories on which the algorithm is close to exhausting a resource may also be precisely the histories on which the algorithm obtains large value.
Our key additional idea is to control resource consumption on the bad histories rather than value directly. Using Cauchy–Schwarz and a second-moment bound on the deviation between the online allocation and the RO allocation on the sample, we show that, for each resource j, the expected consumption on bad histories is at most O(Pr[bad]Bj). Thus, dividing the bad-history decisions by this factor yields a feasible solution to the resource-allocation LP, guaranteeing their value is bounded by the same factor times Opt. By ensuring the concentration failure probability is O(ϵ2), the loss then becomes O(ϵOpt). Thus, this second-moment argument is sufficient to preserve, in the online execution, a (1−ϵ)-fraction of the RO's expected value on the sample.
Extensions to the p-Sample and p-Preview models. We establish our results in a setting we call the p-Preview model (Definition 2.2), which generalizes the SSPI and p-Sample settings. Here, an adversary chooses n request distributions D1,…,Dn, and requests are sampled independently γt∼Dt. Offline, a single sample γ~t∼Dt from a subset of the request distributions t∈S are revealed, where S is a uniformly-random p-sample of [n].
In the p-Preview model, the algorithm described above is no longer well-defined, since only the requests at times t∈S have a sample pair; the remaining (1−p)-fraction have no sample information. However, there is a simple modification for requests t∈/S: when request γt arrives, we insert it into a uniformly random position of the sampled order and take the decision that RoBB would have made on γt in this counterfactual execution. Notice that we can express this decision as:
θt=RoBB(γt∣HTts),
where Tt is the uniformly random position of γt in this counterfactual sampled order.
To understand why this algorithm performs well in the allocation phase, it is helpful to compare it with a hypothetical RO algorithm run on all n requests. For a request processed in the online phase, the policy it would face in this hypothetical RO execution is learned from a uniformly random prefix of the other requests. In our p-Sample algorithm, the policy faced by the same request is learned from a random prefix of the sampled sequence. This prefix is shorter, because it comes only from the p-fraction of samples S observed offline, but, up to this scaling, it is still a uniformly random subset of the relevant prefix of the instance. Accordingly, we simulate the RO algorithm on the sample with budgets and load thresholds scaled by αp=∣S∣/n=p, the ratio of the number of samples to requests. The same tangent-sequence and martingale-transfer argument then compares the scaled sample execution to the online execution, yielding the same guarantees with the natural additional factor αp in the required budget or makespan.
1.3 Further Related Work
Sample-based online resource allocation. A large body of work has studied sample-based online resource allocation problems. Early work of Azar, Kleinberg, and Weinberg [AKW14] initiated the study of prophet inequalities with limited information, and subsequent work obtained sharp guarantees from samples in single-choice and related settings [RWW20, CDFS19, CCES24, CZ24]. Particularly relevant to our work is the line of algorithms based on greedy prices or greedy-ordered selection [KP09, CDF +22, DKL +24]. These algorithms run an offline greedy procedure on samples, or on a sample/statistic mixture, and couple this greedy execution to the online process. Our reduction follows a similar high-level philosophy, but with a different offline process: rather than running a greedy algorithm, we run a random-order online algorithm on the samples and transfer its internal states to the adversarial-order online phase.
For the online resource allocation model studied in our paper, [GSW25] first studied almost optimal online resource allocation through samples for heterogeneous agents. Recently, [TW26] studied the sample complexity of the dual pricing algorithm for the same online resource allocation model. Another line of research considers the online resource allocation problem with regret minimization objectives: [BKM+23] analyzed the single resource setting and provided a near-optimal algorithm which uses only a single sample. [JLZ25] investigated the generalization to multiple resources, which also focuses on how the Wasserstein distance between the learned empirical distribution and the true distribution impacts the regret.
Learning from samples in online algorithms. The p-Sample model and related sample-augmented online models were introduced to interpolate between worst-case online algorithms and random-order/stochastic models [KNR20, KNR22, AFGS22, GKL24]. In particular, [GKL24] also design a p-sample algorithm using a random order algorithm as a subroutine; however, online set cover behaves very differently from online allocation, where our analysis crucially exploits properties of tangent sequences. More broadly, our work is also related to data-driven algorithm design, where one uses historical instances to learn an algorithmic policy or tune an online algorithm [Bal20, BDD +21]. A related template appears in work on online learning via offline algorithms [GKS14, RW18, NGW +21], where structural properties of an offline algorithm, often greedy, are used to obtain online guarantees from samples. Our contribution is to show that random-order online algorithms themselves can serve as the offline learning primitive.
Online allocation and pricing. Online resource allocation has also been studied extensively in stochastic, adversarial, robust, and revenue-management models, often via primal-dual, re-solving, or pricing-based policies [MSVV07, Meh13, AD15, DJSW19, BLM20, JK12, Jas14, BW20, BLM23, BGSZ20, AGMS22]. In contrast to this literature, our main focus is on learning from extremely limited offline information—one sample per distribution in SSPI or a small random subset in p-Sample—while matching the large-budget guarantees of random-order algorithms.
2 Model and Preliminaries
We are interested in Online Allocation problems both from the maximization and minimization perspectives. The following definition introduces the model we consider throughout the paper.
Definition 2.1 (Online Allocation problem). An online allocation problem instance consists of a finite sequence of requests (γt)t∈[n] for m resources. When request γt∈Γt arrives, it must be satisfied immediately and irrevocably by a decision in Θt (let Θ and Γ denote the set of all possible decisions and requests, respectively). Selecting a decision θt∈Θt generates an allocation at(θt)∈[0,1]m to potentially many of the m resources.
The Online Allocation problems we consider have additionally a problem-specific objective to either maximize or minimize a function which depends on the allocation decisions. Additionally, in some settings, there may be budget constraints on the set of feasible allocations. Throughout, the benchmark against which we compare an algorithm's performance is the hindsight optimal feasible allocation. Our paper focuses on the following three canonical Online Allocation problems:
Online Resource Allocation: Here, requests are of the form γt=(vt,at,Θt). Selecting a decision θt∈Θt generates value vt(θt)∈R≥0 and consumes at(θt)∈[0,1]m units of resources. We assume there is always a null action ϕ∈Θt which contributes no value and consumes no resources, i.e., vt(ϕ)=0 and at(ϕ)=0. The m resources have allocation budget constraints B=(Bj)j∈[m], and the goal is to maximize the value collected while not exceeding the allocation budget Bj on any resource j∈[m].
• Online Generalized Load Balancing: Here, the online requests are of the form γt=(at,Θt). Selecting a decision θt∈Θt generates an allocation load at(θt)∈[0,1]m on a subset of the m resources. The goal is to minimize the makespan, i.e., the maximum load on a resource after all requests have been satisfied.
• Online Packing-Covering Multiple-Choice LPs: This setting is (essentially) a generalization of the Online Generalized Load Balancing problem, where choosing a decision θt∈Θt generates load at(θt)=(atp(θt),atc(θt)), where atp(θt),atc(θt)∈[0,1]m correspond to the packing and covering loads, respectively. The objective is to (approximately) satisfy the packing and covering constraints Bp,Bc∈R≥0m, i.e., ∑t∈[n]atp(θt)≤Bp and ∑t∈[n]atc(θt)≥Bc.
We study these online allocation problems in the following p-Preview setting. Here, each request is sampled independently from a distribution γt∼Dt. We consider the challenging setting where only a single sample from a p-fraction of the distributions is available offline:
Definition 2.2 (p-Preview model). In the p-Preview setting, parametrized by p∈(0,1], an adversary chooses a request distribution Dt for each t∈[n]. These requests are initially unknown to the learner. Offline, a subset S⊆[n] of size s=p⋅n is sampled uniformly without replacement, and for each t∈S, an independent sample γ~t∼Dt is revealed. Then, online, independent requests γt∼Dt for each t∈[n] are revealed sequentially in order.
We note that the 1-Preview captures the well-studied Single-Sample Prophet Inequality setting, where a single sample from every distribution is available offline.
Definition 2.3 (SSPI model). The single-sample prophet inequality (denoted SSPI) setting corresponds to the 1-Preview setting, where a single sample from every distribution (γ~1,…,γ~n)∼D=D1×…×Dn is revealed offline, then, online, requests γt∼Dt are sampled independently then revealed in t=1,…,n.
The p-Preview setting also captures the online p-Sample setting, where each request is chosen adversarially, and a p-fraction of the request sequence is revealed offline:
Definition 2.4 (p-Sample model). The p-Sample setting, parametrized by p∈(0,1], corresponds to the p-Preview setting, where each distribution Dt is a point-mass distribution corresponding to the adversarially chosen request γt. Offline, a subset of s=p⋅n uniformly random requests sampled without replacement is revealed. Then, online, all [n] requests are revealed sequentially in their original order. 1
To obtain results in the p-Preview model, we will rely heavily on algorithms from the random-order model in which the request sequence is chosen adversarially, and the requests are presented in a uniformly random order:
Definition 2.5 (RO model). In the Random Order (denoted RO) setting, an adversary chooses a request sequence γ1,…,γn. Then, online, the requests are presented in a uniformly random order.
Compared to the p-Preview setting, due to the random order of arrivals, no samples are needed to obtain (1±ϵ)-competitive online algorithms for the RO setting, since in expectation, the first ϵ-fraction of requests contributes at most an ϵ-fraction of the Opt solution. In particular, for Online
1Our results can also be extended with minor modifications to the related model where only the unsampled indices R=[n]∖S arrive online, and Opt depends only on the unsampled requests R=[n]∖S.
Resource Allocation in the RO model, [KRTV18] gave an optimal LP-resolving based algorithm for the large budget setting of Bj=Ω(ϵ−2⋅log(m)). For Online Generalized Load Balancing in RO, [GM16] gave a (1+ϵ)-competitive algorithm that succeeds with probability at least 1−δ when the optimal makespan is Ω(ϵ−2⋅log(m/δ)). Moreover, they also gave an algorithm for Online Packing-Covering Multiple-Choice LPs that satisfies the packing/covering constraints up to (1±ϵ) factors, assuming the constraints are Ω(ϵ−2⋅log(m/δ)).
Our results for the p-Preview setting will use these RO algorithms in a black-box manner. We use RoBB to denote a generic RO algorithm which maps a request γ with decision set Θ and an interaction history Hs of prior requests and decisions to a decision θ:
θ=RoBB(γ∣Hs)∈Θ.
By definition, if the Online Allocation problem has constraints, the decision θ must be feasible given the prior decisions in Hs. We note that the decision θ of RoBB may depend additionally on independent random coins in addition to the request γ and Hends. For instance, the RoBB may first compute a fractional decision based on γ and Hends, and then apply randomized rounding to convert it to an integral decision in Θ. For simplicity, we suppress the dependence on these independent coins in our notation.
3 Online-History Independence via Random Order Algorithms
Recall from Section 1.2 that our goal is to design an OnlineHI algorithm, i.e., one whose decision, ignoring feasibility, depends only on the current request γt and on the samples (γ~i)i∈S. As discussed in Section 2, under the appropriate large-budget conditions, there exist (1±ϵ)-competitive RO algorithms for the online allocation problems studied in this paper. Our plan is to use these RO algorithms in a black-box manner to design OnlineHI algorithms with nearly matching competitive guarantees in the p-Preview setting. In particular, we aim to design online algorithms satisfying the following property:
Definition 3.1 (Online-History Independent Algorithm). An online allocation algorithm for the p-Preview setting is online-history independent (OnlineHI) if its tentative decision θt (i.e., the decision before imposing feasibility) on request γt is independent of all other requests γt′ and tentative decisions θt′, t′=t, conditioned on the samples (γ~i)i∈S and any additional offline randomness.
Our main algorithmic idea to obtain OnlineHI algorithms is to use a good RO algorithm, denoted RoBB, together with the sample to make decisions. We first describe our approach in the 1-Preview (i.e., SSPI) setting, since our algorithms are more intuitive there. Here, each request γt∼Dt has a paired, independent offline sample, γ~t∼Dt. We proceed as follows: (i) First, sample a uniformly random ordering π on the sample and run RoBB on the sample in this random order. Before processing sample π(i), record the offline sample-history Hπ(i)s generated by the previous samples and associated offline decisions. (ii) Then, for online request γt, replace the online history with Hts, the offline sample-history immediately before processing γ~t in random order, and take the decision of RoBB on γt given this history Hts. In this way, we naturally obtain a online-history independent algorithm. Further, and crucially, the online tentative decision of Algorithm 2 on request γt is identically distributed to the RO algorithm's offline decision on sample γ~t, conditioned on offline sample-history Hts.
More specifically, we convert a good RO algorithm RoBB to an OnlineHI algorithm through the following two-phased procedure:
(1) Offline RO simulation. First, before any online requests arrive, we select a uniformly random order π of the samples (γ~i)i∈S, then run the RoBB algorithm on the sample in order π. Before processing sample γ~π(i), we record the observation history Hπ(i)s (i.e., the sample requests and decisions before processing γ~π(i)). Since we will use RoBB algorithms that are (1±ϵ)-competitive for RO, the offline execution on the randomly ordered sample inherits the corresponding RO guarantee. The goal is to use the decision policies RoBB(⋅∣Hπ(i)s) obtained in this offline phase to obtain a good online algorithm. The details of this offline phase are described in Algorithm 1.
Algorithm 1: GENERATING OFFLINE HISTORY VIA RO SIMULATION
Input: Black-box algorithm RoBB, s sampled indices S⊆[n], samples (γ~t)t∈S
Draw a permutation π of S uniformly at random, where π(i)∈S denotes index of the ith sample processed in random order for each i∈[s].
for i=1,…,s do
Let Hπ(i)s=(γ~π(j),θ~π(j))j∈[i−1] be the offline sample-history before processing γ~π(i).
Record θ~π(i)=RoBB(γ~π(i)∣Hπ(i)s), the RoBB decision on sample γ~π(i) in random order.
Update the state of RoBB with (γ~π(i),θ~π(i)).
Let Hends:=(π(j),γ~π(j),θ~π(j))j∈[s] be the final offline sample-history.
Output: (π(i),Hπ(i)s)i∈[s]
(2) Replacing online history with offline history for OnlineHI allocation. After the offline phase, we process online requests in adversarial order. To make an OnlineHI allocation for request γt, we use RoBB to make tentative decisions as if the online history were replaced by the offline sample-history and the current request γt appeared in the offline random-order. For requests γt with a corresponding sample (i.e., t∈S), this corresponds to the tentative decisions if γt appeared in the offline sample instead of γ~t, i.e., θt=RoBB(γt∣Hts). For the remaining requests t∈/S, this corresponds to the tentative decision if γt had appeared at a uniformly random position in the sample ordering, i.e., θt=RoBB(γt∣HTts), where Tt∼Unif(S) are sampled independently. For feasibility-constrained problems, if the tentative decision is ever infeasible (e.g., in the resource allocation setting, if the online allocation ever exceeds budget Bj for some resource j∈[m]), then the algorithm makes the null decision ϕ for every remaining time-step. The details of this procedure are given in Algorithm 2.
Algorithm 2: ONLINEHI ALLOCATION VIA OFFLINE HISTORY
Input: time horizon n≥1, s sampled indices S⊆[n], samples (γ~t)t∈S
Run Algorithm 1 on samples (γ~t)t∈S to obtain the sampling histories (π(i),Hπ(i)s)i∈[s]
for each online request t∈[n] do
Observe request γt and record θt={RoBB(γt∣Hts)RoBB(γt∣HTts)if t∈Sif t∈/S, where Tt∼iidUnif(S)
if at(θt) is feasible given the prior allocations (at′(θt′))t′<t then
Make decision θt.
else
Mark τterm=t and make the null decision ϕ for this and all future time-steps.
To gain some intuition for why this approach might work, consider the online resource allocation problem in the 1-Preview (i.e., SSPI) setting where S=[n]. Suppose we run Algorithm 2 with a black-box random-order algorithm RoBB with budget (1−O(ϵ))B.
As noted above, conditioned on Hts, the offline decision θ~t=RoBB(γ~t∣Hts) and the uncapped online proposal θt=RoBB(γt∣Hts) are identically distributed, because γ~t,γt∼Dt and are independent of Hts. In particular, this implies that (i) the allocations a~t(θ~t) and at(θt), as well as (ii) the corresponding values v~t(θ~t) and vt(θt), are identically distributed. Thus, if Algorithm 2 is never over-allocated, then the expected value collected by Algorithm 2, E[Alg], would be the same as that collected by the RoBB algorithm, E[AlgRoBB((1−O(ϵ))B)], in Algorithm 1 (we establish the formal relation for the general p-Preview setting in Property 1 of Lemma 3.3 below). In particular, we would have that
E[Alg]=E[AlgRoBB((1−O(ϵ))B)]≥(1−ϵ)Opt.
In the p-Preview setting with p∈(0,1), the samples and online requests are not paired: indeed, there are fewer samples than requests. Nevertheless, the revealed sample is a uniformly random subset of the full adversarial instance. This exchangeability, together with the scaling factor p, plays the role of the sample-online symmetry. This symmetry allows us to treat the p-Preview setting with similar ideas as the SSPI setting.
Note that the above bound holds with an extra assumption that Algorithm 2 is never over-allocated. To bypass this assumption, we face two main challenges:
C1. Algorithm 2 may over-allocate online even though Algorithm 1 never does on the sample (by definition of RoBB).
C2. In the Online Resource Allocation setting, the event that Algorithm 2 over-allocates could be positively correlated with the collected value, so that even if the probability of over-allocation were small, the expected value collected during over-allocation could be large.
To resolve these two challenges, we bridge the performance of Algorithm 2 on the online requests with the performance of the RoBB in Algorithm 1 on the offline samples. The first step in connecting the performance of these two algorithms is observing that, by design, Algorithm 2 is OnlineHI:
Observation 3.2 (Algorithm 2 is online-history independent). In the p-Preview setting, Algorithm 2 is OnlineHI. In particular, for every t∈[n], the request γt and tentative decision θt are independent of (γt′,θt′)t′=t, conditioned on the offline sample-history, Hends.
Proof. Note that θt depends only on the current request γt, Hts (if t∈S) or HTts where Tt∼Unif(S) (if t∈/S), and independent randomness. Thus, since the (γt)t∈[n] are jointly independent and independent of (γ~t)t∈S, and hence also Hends in the p-Preview setting, and (Tt)t∈[n] are jointly independent conditionally on Hends, (γt,θt) is independent of (γs,θs)s=t given Hends.
Notice that, as a consequence of Observation 3.2 and Bernstein's inequality, the tentative allocations ∑t∈[n]at(θt) of Algorithm 2 concentrate about its expectation conditioned on the offline sample-history Hends.
To complete the connection between the online decisions of Algorithm 2 and the offline decisions of Algorithm 1, we relate the expected performance of the tentative decisions of Algorithm 2 with the sample decisions of Algorithm 1. In the 1-Preview (i.e., SSPI) setting, this connection follows from the observation that the tentative online decisions of Algorithm 2, θt, are tangent to the offline sample decisions of Algorithm 1, θ~t. That is, conditioned on the offline sample-history Hts before processing sample γ~t, the decisions θt and θ~t are identically distributed. Moreover, in the general p-Preview setting, we can establish a similar relation between the decisions of Algorithms 1 and 2. The crucial consequences of this tangent relation are summarized in Lemma 3.3: equality of expectations, a second-moment bound used for the value-on-bad-histories argument, and a high-probability deviation bound used to transfer resource consumptions and machine loads. We prove this result in Section A.2.
Lemma 3.3. Take θ~π(i) to be the decision of Algorithm 1 on sample γ~π(i) in random order π(1),…,π(s), and θt the decision of Algorithm 2 on request γt. Then, in the p-Preview setting, we have
Let us now briefly discuss how to use Lemma 3.3 to handle the Challenges mentioned above. For Challenge 1, we apply Property 3 of Lemma 3.3 to the allocation function at,j(θt)∈[0,1]. This shows that the conditional expected online consumption of each resource is close to its consumption in the offline sample run. Then, by the OnlineHI concentration inequality from Observation 3.2, the realized online consumption is close to this conditional expectation. Since RoBB never over-allocates (by definition), we can conclude that Algorithm 2 will not either with high probability.
For Challenge 2, using an LP relaxation characterization of the optimal allocation, we show that the expected value collected on bad histories is negligible as long as the resource consumption on those histories is small in expectation. To bound this quantity, we use Property 2 of Lemma 3.3, which shows that the second moment of the difference between the online and offline allocations is bounded by the expected offline allocation. This second-moment bound, combined with Cauchy–Schwarz, bounds the value carried by bad histories and resolves Challenge 2.
4 Applications to Resource Allocation
We now apply the framework from Section 3 to Online Resource Allocation. Recall that, in this setting, the seller receives n online requests from buyers arriving in arbitrary order, for m kinds of limited resources with budgets B=(B1,B2,⋯,Bm)∈R≥0m. The request from each buyer t∈[n] is denoted by γt=(vt,at,Θt), where choosing a decision θt∈Θt generates value vt(θt)∈R≥0 for buyer t, while consuming at most one unit of each resource at(θt)=(at,1(θt),⋯,at,m(θt))∈[0,1]m. Without loss of generality assume Bj≤n for each resource j. We always assume that there is a null decision ϕ∈Θt for each buyer, such that vt(ϕ)=0 and at(ϕ)=0. The objective of the seller is to maximize social welfare ∑t∈[n]vt(θt), while not exceeding the budget of any resource.
Our benchmark is the expected hindsight fractional optimum E[Opt[n](B)], where Opt[n](B) is the optimal value of the configuration linear program defined below on the realized requests. For each t∈[n], let zt,θ denote the fractional allocation corresponding to the decision θ∈Θt for request γt. Then we can write the configuration LP as follows:
Our main result of this section is that, given any good black-box RO algorithm RoBB, the value collected by Algorithm 2 in the p-Preview setting is a (1−ϵ)-approximation to the appropriately scaled value of RoBB in the large-budget setting.
Theorem 4.1. Suppose we run any black-box RO algorithm RoBB for Online Resource Allocation offline in Algorithm 1 with budget p(1−2ϵ)B for some p∈(0,1] and ϵ∈(0,1/2] on samples γ~1,…,γ~s, where the budgets satisfy Bj=Ω(log(m/ϵ)⋅ϵ−2p−1) for all j∈[m]. Let AlgRoBB(p(1−2ϵ)B) denote the value collected by RoBB on the sample. Then, if we run Algorithm 2 in the p-Preview setting, and let Alg denote the value collected by Algorithm 2 online,
To obtain our online resource allocation results for the p-Preview setting, we combine this theorem with near-optimal RO online algorithms in the large budget setting.
Lemma 4.2 ([KRTV18]). There exists an online resource allocation algorithm 2 such that executing it on samples (γ~i)i∈S in RO with budget αB, where α∈(0,1] and the budgets satisfy αBj=Ω(log(m/ϵ)⋅ϵ−2) for all j∈[m], returns an integral online allocation with expected value
E[AlgRoBB(αB)∣(γ~t)t∈S]≥(1−ϵ)OptS(αB),
where the expectation is over the random arrival order and any possible randomness of the algorithm.
We also need the well-known rescaling property of Opt[n](B); e.g., it appeared in [KRTV18, Lemma 1] under slightly different conditions. For completeness, we give its proof in Section A.3.
Lemma 4.3. Let S⊆[n] be a uniformly random subset of indices of size s=pn. Suppose that Bj≥p−1ϵ−2(2+5log(2m/ϵ)). Then,
E[OptS(p(1−2ϵ)B)]≥p(1−5ϵ)⋅E[Opt[n](B)].
Now combining Theorem 4.1 with the last two lemmas, we immediately obtain the desired guarantees for resource allocation in the p-Preview setting, and hence also the SSPI (Theorem 1.1) and p-Sample (Theorem 1.2) settings.
Corollary 4.4. If we run Algorithm 2 with RoBB being the RO algorithm in Lemma 4.2, instantiated with budget p(1−2ϵ)B with each Bj=Ω(p−1ϵ−2(1+log(m/ϵ))), then
In the rest of the section, we focus on proving Theorem 4.1. The plan is to implement the strategy described in Section 3. Indeed, if there were no budget constraints, then Property 1 of
2We note that [AD15, GM16, GSW25] also provide algorithms for online resource allocation in the RO model under these budget assumptions. However, as written, they require either an estimate of the optimal allocation, or that each value is at most O(ϵ2Opt/log(m)). These conditions are not required in [KRTV18].
Lemma 3.3 implies that the expected uncapped value collected online is the same as the expected value E[AlgRoBB(p(1−2ϵ)B)] collected by the RO algorithm on the sample, up to the p−1 scaling:
As a consequence, our high-level approach to prove the theorem is to (i) show that the probability of over-allocation is negligible (Lemma 4.8), and then (ii) show that the over-allocation event is not significantly positively correlated with the value collected online (Lemma 4.7). The heart of the proof lies in controlling this positive correlation.
4.1 Proof of Theorem 4.1
As discussed above, if Algorithm 2 never violated the budget constraints, then the expected value collected by the algorithm would equal the value collected by the RoBB algorithm on the sample, scaled by p−1. Thus, to reason about the value collected by the algorithm, we need to show the value collected under budget exhaustion is not too large. We formally define budget exhaustion.
Definition 4.5 (Budget exhaustion). The budget exhaustion event BE is the event that one of the resources runs out of budget in the online execution of Algorithm 2, i.e.,
BE={∃j∈[m]:t∈[n]∑at,j(θt)>Bj}.
Notice that, by Property 1 of Lemma 3.3, the value collected by Algorithm 2 satisfies
Thus, our objective is to upper bound the expected value on the budget exhaustion event BE.
Notice that BE depends both on the offline samples and online requests. Instead of reasoning about BE directly, we will instead reason about a related, simpler Bad “(pseudo) over-allocation” event (and its complement, the Good event) which depends only on the samples.
Definition 4.6 (Good (Pseudo) allocation event). Define Good to be the event such that the expected allocation of Algorithm 2 conditioned on the sampling history Hends of Algorithm 1 is bounded, and Bad to be the complement of Good, i.e.,
where the second equality follows since vt(θt) is deterministic conditioned on the sampling history Hends and the current request γt and decision θt. We proceed by bounding the two terms in (2) separately, where bounding the first term will be the main challenge of the proof.
Bounding Value collected on the Bad event We focus first on bounding the first term of (2), which is the main challenge of the proof. We prove the following result in Section 4.2, and discuss the main steps below.
Lemma 4.7. Let Bad be the bad (pseudo) over-allocation event defined in Definition 4.6. Then,
E[1[Bad]⋅∑t∈[n]vt(θt)]≤4ϵ⋅E[Opt[n](B)].
The main difficulty in establishing this claim comes from the fact that, although Bad happens with small probability (an immediate consequence of Property 3 of Lemma 3.3), vt(θt) could be arbitrarily large relative to E[Opt[n](B)] and positively correlated with Bad. To handle this possibility, we begin by showing that the expected (tentative) allocation on the Bad event must be small. We show this by noting: (i) by construction, the RoBB running in Algorithm 1 allocates at most p(1−2ϵ)B units of resource on the sample, and (ii) the difference in allocations of the offline and online decisions in Algorithms 1 and 2 can be bounded using Cauchy-Schwarz together with the tangent connection between the online and offline decisions of Algorithms 1 and 2 (specifically, the second-moment bound in Lemma 3.3). We then translate this bound on the expected allocation on the Bad event to a bound on the expected value on the bad event using the standard fluid characterization of E[Opt[n](B)]. The full proof is given in Section 4.2.
Bounding the Probability of Budget Exhaustion. To bound the second term in (2), it suffices to show that the probability of budget exhaustion BE on the Good event is small, even after conditioning on the sampling history Hends and the current request γt.
Lemma 4.8. Recall the Good (pseudo) allocation event from Definition 4.6 and the budget exhaustion event BE from Definition 4.5. Then, for any run of Algorithm 1 generating a sampling history Hends, and any online request γt, t∈[n],
Pr[Good∩BE∣Hends,γt,θt]≤ϵ.
The main idea of the proof of Lemma 4.8 is the following: By definition, whenever Good and BE are true, then the following two conditions are satisfied:
Now, since Algorithm 2 is OnlineHI by Observation 3.2, the tentative decisions {θt}t∈[n] are independent conditioned on Hends. Thus, since (at′(θt′))t∈[n] are bounded in [0,1], by Bernstein's inequality, ∑t∈[n]at(θt) concentrates about ∑t∈[n]E[at(θt)∣Hends], conditioned on any offline sample-history Hends. Moreover, since the allocations are independent and bounded for all t∈[n], conditioning on any single request γt and decision θt does not significantly change this concentration bound. As a consequence, we can conclude that Good ∩ BE must happen with small probability. For the full proof of Lemma 4.8, refer to Section 4.3.
Putting everything together. Using the above results, Theorem 4.1 follows readily. Indeed, as we observed in (1) and (2), the value collected by Algorithm 2 can be lower bounded as follows:
4.2 Bounding Value on the Bad event: Proof of Lemma 4.7
We now turn our attention to establishing Lemma 4.7, the main technical challenge in proving Theorem 4.1. We begin by establishing that the probability of Bad is negligible. Then, we show that the expected tentative allocations on the Bad event are at most O(ϵ)B. Using these results together with a fluid characterization of E[Opt[n](B)] allows us to establish the result.
4.2.1 Bounding the probability of Bad
The first ingredient in proving Lemma 4.7 is the following result, which shows that the probability of the Bad event must be small.
Lemma 4.9. Let Bad be the event defined in Definition 4.6. Then, Pr[Bad]≤ϵ2.
Proof. Since at,j(θt),a~π(i),j(θ~π(i))∈[0,1] for all j∈[m], taking a union bound over the m resources and applying Lemma 3.3 with δ←δ/m implies that, with probability at least 1−2δ, for any η∈(0,1),
Thus, by Definition 4.6, the above implies that Pr[Bad]≤ϵ2, as claimed.
4.2.2 Bounding the expected allocation on the Bad event
Note that Lemma 4.9 alone is not sufficient to establish Lemma 4.7. This is because vt(θt) can be arbitrarily large relative to E[Opt[n](B)] and is correlated with the Bad event. Indeed, consider a problematic scenario when the value collected by Algorithm 2 is positively correlated with the Bad (pseudo) over-allocation event. It could be the case that, even though Pr[Bad]≤ϵ2, the value collected on this event could be very large, e.g., E[1[Bad]⋅∑t∈[n]vt(θt)]≫Pr[Bad]E[∑t∈[n]vt(θt)].
Fortunately, we are able to show that this is not the case. The following is the key result that shows that the expected allocation on the Bad event must be small. The main idea here is to (i) use the fact that, by definition, the RoBB running in Algorithm 1 allocates at most p(1−2ϵ)B units of resource, and (ii) apply Cauchy-Schwarz together with the second-moment bound from Property 2 of Lemma 3.3 on the difference between the allocations made online and on the offline sample.
Lemma 4.10. Let Event be any event depending only on the offline sample-history Hends. Then, the allocations made by Algorithm 2 satisfy the following guarantees:
E[1[Event]t∈[n]∑at(θt)]≤2Pr[Event]B.
In particular, since Bad depends only on Hends, we have E[1[Bad]∑t∈[n]at(θt)]≤2ϵB.
Proof. For any resource j∈[m], we can decompose the allocations made by Algorithm 2 for j as follows: Using the fact that the request indices [n] and Event are deterministic given Hends,
The first term in this decomposition depends on the allocations of RoBB on the sample, while the second depends on the difference between the allocations on the sample and those online. Now, since RoBB allocates at most p(1−2ϵ)B units of resources deterministically on the sample by definition,
Now, since a~π(i),j(θ~π(i)),at,j(θt)∈[0,1], we may apply Property 2 in Lemma 3.3, and again using the fact that RoBB allocates at most p(1−2ϵ)B units of resource,
4.2.3 Bounding the expected value on Bad via a fluid LP characterization of OPT
To conclude our proof of Lemma 4.7, we prove the following stronger claim: fix any Event which depends only on the offline learning phase of Algorithm 1, i.e., Hends. Then, we will show that
Notice that, since Bad depends only on Hends and Pr[Bad]≤ϵ2 by Lemma 4.9, the above inequality implies the claimed result.
The main challenge in proving (3) is that the values vt(θt) can be arbitrarily large, and both Event and vt(θt) depend on the sampling history Hends. We thus need to ensure that, when the Event occurs, the expected value collected is negligible, at most O(Pr[Event]E[Opt[n](B)]). We establish this in two steps. First, we introduce a fluid upper bound Opt(B) on E[Opt[n](B)] which is tight up to (1±ϵ) factors in the large-budget regime. Then, we characterize the expected value collected by Algorithm 2 on Event through a feasible solution to this LP with the constraints scaled by a factor 2Pr[Event]. This characterization allows us to establish the claimed bound.
Fluid characterization of E[Opt[n](B)] In the p-Preview setting, the solution Opt[n](B) to (LPra) is a random variable where each request γt=(vt,at,Θt)∼Dt is random. Because of this source of randomness, it will be convenient to introduce the following fluid LP:
It is folklore that Opt[n](B) and Opt(B) are equivalent in the large budget regime, up to (1±ϵ) multiplicative factors.
Observation 4.11. For any ϵ∈(0,1), assuming Bj=Ω(ϵ−2log(m/ϵ)), we have that, assuming the requests are generated according to the p-Preview model:
Opt(B)≥E[Opt[n](B)]≥(1−ϵ)Opt(B).
The upper bound on E[Opt[n](B)] follows immediately by the standard averaging argument (e.g., [DJSW19, Lemma 2.1]), noting that if zt,θ∗ is an optimal solution LPra, then xt,γ,θ=E[zt,θ∗∣γt=γ] is feasible for LPra with value E[Opt[n](B)]. The lower bound follows from standard contention resolution schemes/randomized rounding with alterations arguments for packing LPs (e.g., [BKNS12, CVZ14, CQT20]). The main idea is to use an optimal solution xt,γ,θ to LPra((1−O(ϵ))B) to define a feasible solution zt,θ to LPra(B) on requests (γt)t∈[n] by taking z^t,θ=xt,γt,θ, truncating the terms after the time τ that allocation of z^t,θ exhausts the budget of one of the resources, i.e., zt,θ=z^t,θ1[t≤τ], and applying Bernstein concentration bounds to show that truncation happens with negligible probability (under the large-budgets assumption).
Expressing the value collected on Event via (LPra). The key ingredient in the proof of Lemma 4.7 is demonstrating an LP solution to a rescaled version of LPra(B) where the constraints are scaled by Pr[Event], and showing that this scaled solution is feasible. In particular, we will establish the following:
Lemma 4.12. Let Event be any event depending only on the offline sample-history Hends. Then, define, for all t∈[n], γ=(v,a,Θt)∈Γt, θ∈Θt:
yt,γ,θ:=Pr[Event,θt=θ∣γ]
Denote q:=Pr[Event]. Then, assuming q>0, the variables yt,γ,θ/2q for t∈[n],γ∈Γt, and θ∈Θt form a feasible solution to LPra(B). In particular,
(a) ∑t∈[n]E[∑θ∈Θtat(θ)yt,γt,θ]≤2q⋅B.
(b) ∑θ∈Θtyt,γt,θ≤q for all t∈[n] and γt∈Γt.
Using Lemma 4.12, Lemma 4.7 follows readily by the tower rule of expectations. Indeed, we first rewrite the expected value collected by allocations θt on Event as:
Now, if q=0, notice that yt,γt,θ=0 (since γt is independent of Hends and thus also Event), so the claimed result is immediate. Otherwise, if q>0, combining these observations and applying Lemma 4.12, we conclude:
Then, using Observation 4.11 to upper-bound Opt(B)≤2E[Opt[n](B)] yields the claimed result. Thus, we conclude by establishing Lemma 4.12.
Bounding the expected allocation of the LP solution: Proof of Lemma 4.12(a) Now, we start to prove Lemma 4.12. Begin by noticing, by definition of yt,γt,θ, and applying the tower rule of expectations, we have that:
Bounding the allocation probability of the LP solution: Proof of Lemma 4.12(b) We begin by noting, for any fixed t∈[n] and γt=(vt,at,Θt)∈Γt, since RoBB selects a single decision,
Now, in the p-Preview model, notice that Hends, and hence also Event, is independent of γt. Therefore, the above simplifies to
∑θ∈Θtyt,γt,θ≤Pr[Event]≤q,
as claimed.
4.3 Bounding probability of BE: Proof of Lemma 4.8
We show that, on the Good (pseudo) allocation event, the probability of budget exhaustion BE is small, even when we condition on the sample history Hends of Algorithm 1.
Proof of Lemma 4.8. Since BE depends on γt, it will be convenient to introduce the following modification to the BE event, BE−t, which is the event of budget exhaustion when the allocation at(θt) at time t is ignored and B is replaced by B−1:
BE−t={∃j∈[m]:t′∈[n]\{t}∑at′,j(θt′)>Bj−1}.
Notice that, since at,j(θt)∈[0,1], if BE occurs, then so must BE−t, i.e., BE⊆BE−t. Therefore, it suffices to bound the following probability:
To do this, observe that Good ∩ BE₋t is independent of the current request γt and decision θt conditioned on Hₑᵣ. This follows since Good is deterministic given Hₑᵣ by Definition 4.6, and BE₋t is defined after removing the allocation at time t, and the decisions of the algorithm are OnlineHI (Observation 3.2). Thus,
We conclude by showing that Pr[Good∩BE−t∣Hends]≤ϵ. Indeed, recall that, by Definitions 4.5 and 4.6, Good∩BE−t implies that, for some resource j∈[m],
Finally, using the fact that (at,j(θt))t∈[n] are bounded on [0,1] and independent conditioned on the offline sample-history Hends (by the OnlineHI property in Observation 3.2), we may apply Bernstein's inequality (specifically, Corollary A.3) to conclude:
4.4 Online Resource Allocation with Pricing Queries
We show that, for online resource allocation, instead of observing the full information in each sample γ~t, Algorithm 2 can use only the response to one pricing query per γ~t. The pricing query model, initiated for large-supply online resource allocation by [TW26], is motivated by item-pricing algorithms: before each request arrives, an item-pricing algorithm posts a price for each resource, and the buyer responds by choosing her favorite decision, namely, the decision that maximizes her utility—the difference between her value and her payment. Item-pricing algorithms are desirable for their ease of implementation and because they directly yield truthful online mechanisms. We give a formal definition of item-pricing algorithms:
Definition 4.13 (Item-pricing algorithm). An online resource allocation algorithm is an item-pricing algorithm if, before each request γt arrives, it posts a per-unit price vector λt∈[0,∞]m. The buyer then chooses a utility maximizing decision θt∈argmaxθ∈Θt{vt(θ)−⟨λt,at(θ)⟩}, receives the allocation at(θt), and pays ⟨λt,at(θt)⟩. When multiple decisions have the same utility, we assume buyer t's (possibly randomized) tie-breaking rule is independent to other buyers.
We study scenarios, where we may only have pricing-query access to each sample, rather than access to the full sample. More specifically, pricing-query access is defined as follows:
Definition 4.14 (Pricing query). A pricing query to a sample γ~t=(v~t,a~t,Θ~t) specifies a price vector λ∈[0,∞]m, and the sample returns a decision θ~t∈argmaxθ∈Θ~t{v~t(θ)−⟨λ,a~t(θ)⟩}, together with its resource consumption a~t(θ~t), with the tie-breaking rule specified by Definition 4.13. The query does not reveal the sample's valuations, including the value v~t(θ~t) of the chosen decision.
Our main result in this subsection is to show that, given an estimate of Opt, the sample access in Theorem 4.1 can be further reduced to only one pricing query per sample. To achieve this, it suffices to provide a near-optimal RO online algorithm that relies only on pricing queries. Fortunately, such an RO algorithm is known.
Lemma 4.15 (Theorem 4.3 of [GSW25]). There exists an online resource allocation algorithm with the following guarantee. Given an estimate Opt satisfying Opt∈[OptS(αB)/β,OptS(αB)], when run on samples (γ~i)i∈S in RO with budget αB, where α∈(0,1] and αBj=Ω(log(βm/ϵ)⋅ϵ−2) for all j∈[m], the algorithm returns an integral online allocation with expected value
E[AlgRoBB(αB)∣(γ~t)t∈S]≥(1−ϵ)OptS(αB),
where the expectation is over the random arrival order and any internal randomness of the algorithm. Furthermore, the algorithm is an item-pricing algorithm and uses only one pricing query per sample γ~i.
Then, as an immediate corollary, we obtain the desired (1−ϵ)-competitive algorithms in the p-Preview setting, as well as the SSPI (Theorem 1.1) and p-Sample (Theorem 1.2) settings, via an item-pricing algorithm using only one pricing query per sample:
Corollary 4.16. Suppose we are given an estimate Opt∈[OptS(p(1−2ϵ)B)/β,OptS(p(1−2ϵ)B)] which is independent of the samples (γ~t)t∈S. Run Algorithm 2 with RoBB being the RO algorithm in Lemma 4.15, instantiated with budget p(1−2ϵ)B, where each Bj=Ω(p−1ϵ−2(1+log(βm/ϵ))). Then, using only one pricing query per sample, we have
We remark that, to ensure that the algorithm in Corollary 4.16 is an item-pricing algorithm, we should modify Algorithm 2 as follows: instead of voiding an action that would cause budget exhaustion, we should terminate allocation, or equivalently set the price of every item to infinity, as soon as at least Bj−1 units of some resource j have been allocated. The proof of Theorem 4.1 still holds with minor adjustments. We also note that assuming access to an estimate of Opt is necessary in the pricing query model, since learning an estimate given only polynomially many pricing queries is impossible (see [TW26, Section 3]).
5 Applications to Load Balancing and Mixed Packing-Covering
We now show how to apply the framework from Section 3 to Packing-Covering Multiple-Choice LPs. Then, we show how to apply these results to the Generalized Load Balancing problem.
5.1 Packing-Covering Multiple-Choice LPs
We show that our framework from Section 3 further applies to Online Packing-Covering Multiple-Choice LPs. Recall that, in this setting, we are given packing and covering constraints Bp,Bc∈R≥0m, and n requests arrive in an arbitrary order. Each request γt=(at,Θt) must be served by some decision θ∈Θt, which generates a load at(θt)=(atp(θt),atc(θt)), where atp(θt),atc(θt)∈[0,1]m correspond to the packing and covering loads, respectively. Unlike in the Resource Allocation setting of Section 4, we do not require that a null decision ϕ with atp(ϕ)=0=atc(ϕ) be feasible. The goal is to approximately satisfy the packing and covering constraints Bp,Bc after all requests have been served, i.e., to find an approximate online integral solution to the following program:
find
(zt,θ)t∈[n],θ∈Θt
s.t. Packing:
∑t∈[n]∑θ∈Θtatp(θ)zt,θ≤Bp
Covering:
∑t∈[n]∑θ∈Θtatc(θ)zt,θ≥Bc
(LP pc)
∀t∈[n],
θ∈Θt∑zt,θ=1
∀t∈[n],θ∈Θt,zt,θ∈[0,1]
In particular, we want to, with high probability, find an O(ϵ)-feasible integral solution: a solution to LPpc which satisfies the packing constraints (1+O(ϵ))Bp and covering constraints (1−O(ϵ))Bc.
Recall that, in the p-Preview model, each sample γ~t and request γt is sampled independently from distribution Dt. Thus, the feasibility of LPpc depends on the realized requests. Because of this, it will be convenient to introduce the following stochastic LP relaxation:
find
(xt,γt,θ)t∈[n],γt∈Γtθ∈Θt
s.t. Packing:
∑t∈[n]Eγt[∑θ∈Θtatp(θ)xt,γt,θ]≤Bp
Covering:
∑t∈[n]Eγt[∑θ∈Θtatc(θ)xt,γt,θ]≥Bc
(LP pc)
∀t∈[n],γt∈Γt,
θ∈Θt∑xt,γt,θ=1
∀t∈[n],γt∈Γt,θ∈Θt,xt,γt,θ∈[0,1]
We show that, given any black-box RO algorithm RoBB which approximately satisfies its constraints with high probability, the allocation of Algorithm 2 in the p-Preview setting will also approximately satisfy the constraints with high probability.
Theorem 5.1. Suppose we run any black-box RO algorithm RoBB for Online Packing-Covering Multiple-Choice LPs offline in Algorithm 1 on samples (γ~i)i∈S with packing constraint p(1+ϵ)Bp and covering constraint p(1−ϵ)Bc, where p∈(0,1]. If we run Algorithm 2 online in the p-Preview setting (with no feasibility cap imposed), then for any ϵ,δ∈(0,1), the resulting packing and covering allocations PackAlg and CoverAlg satisfy, coordinatewise, with probability at least 1−δ,
where PackRoBB(p(1+ϵ)Bp;S) and CoverRoBB(p(1−ϵ)Bc;S) are the sample packing and covering allocations of the offline run of Algorithm 1.
To obtain our results for the p-Preview setting, we combine this theorem with the following RO algorithm for Online Multi-Choice Packing-Covering LPs from [GM16].
Lemma 5.2 ([GM16]). Fix any α,β>0, and suppose LPpc is feasible on samples (γ~i)i∈S with packing and covering constraints αBp, βBc. Then, there exists an online packing-covering multiple-choice LP algorithm such that, for an absolute constant ϵ0≤1 and any ϵ∈(0,ϵ0) and δ∈(0,ϵ), with probability at least 1−δ, it returns an integral online allocation which is an approximate solution to LPpc assuming αBjp∧βBjc=Ω(ϵ−2⋅log(m/δ)) for all j∈[m], i.e.,
where the probability is over the random arrival order and any possible randomness of the algorithm.
We note that, while the RO result [GM16, Theorem 4.1] is stated for Packing-Covering Multiple-Choice LPs with “full simplex” constraints (i.e., the constraints ∑θ∈Θtzt,θ≤1 instead of ∑θ∈Θtzt,θ=1 in LPpc), their result for LPs with the simplex constraint as in LPpc follows almost immediately from their arguments. We discuss the required modifications in Section A.4.
We also need the following elementary result that guarantees, if LPpc is feasible, then with high probability, LPpc on the samples (γ~t)t∈S is feasible after budget rescaling.
Lemma 5.3. Suppose LPpc with packing and covering constraints Bp,Bc is feasible. Let (γ~t)t∈S be the p-sample in the p-Preview model. Then, for any ϵ∈(0,1),δ∈(0,1), assuming Bjp∧Bjc≥192p−1ϵ−2log(8m/δ) for all j∈[m], with probability at least 1−δ, there is a feasible solution to LPpc on samples (γ~t)t∈S with packing and covering constraints p(1+ϵ)Bp and p(1−ϵ)Bc.
Proof. Let (xt∗,γt,θ)t∈[n],γ∈Γt,θ∈Θt be a feasible solution to LPpc with packing and covering constraints Bp,Bc. Then, let γ~t∼Dt for all t∈[n], and S⊆[n] be a uniformly random subset of size s=pn. We construct a feasible solution zt,θ to LPpc on samples (γ~t)t∈S and constraints p(1+ϵ)Bp and p(1−ϵ)Bc as follows: First, define zt,θ′=xt,γ~t,θ∗ for all t∈[n] and θ∈Θ~t, the decision set associated with γ~t. Then, define zt,θ=zt,θ′ for all t∈S and θ∈Θ~t. Our argument proceeds in two steps: (i) first, we will show that zt,θ′ is feasible for LPpc on (γ~t)t∈[n],θ∈Θ~t with packing and covering constraints (1+O(ϵ))Bp and (1−O(ϵ))Bc with high probability. Then (ii) conditioned on the feasibility of zt,θ′, we will show that zt,θ is feasible for LPpc on (γ~t)t∈S with packing and covering constraints p(1+ϵ)Bp and p(1−ϵ)Bc.
First, by feasibility of xt,γ,θ∗, we trivially have that zt,θ′∈[0,1] and ∑θ∈Θ~tzt,θ′=1. Thus, it remains to reason about the packing and covering constraints. Now, since the samples (γ~t)t∈[n] are independent in the p-Preview model and identically distributed to the requests (γt)t∈[n], and
a~tp(θ),a~tc(θ)∈[0,1], we may apply Bernstein’s inequality (specifically, Corollary A.3) to conclude that, for any η,δ∈(0,1), with probability at least 1−δ/2, the following inequalities hold simultaneously for all j∈[m]
Now, conditioned on (γ~t)t∈[n], S is a uniformly random subset of size s=pn. Thus, we apply Bernstein's inequality for sampling without replacement (Corollary A.3) so that, with probability at least 1−δ/2, for all j∈[m],
Combining these two inequalities, choosing η=ϵ/4, and using the fact that Bjp∧Bjc≥192log(8m/δ)ϵ−2p−1, we have that, with probability at least 1−δ, for all j∈[m],
Now, combining Theorem 5.1 with Lemmas 5.2 and 5.3, we immediately obtain the desired guarantees for the p-Preview setting (and hence also in the SSPI and p-Sample settings):
Corollary 5.4. Suppose LPpc with packing and covering constraints Bp,Bc is feasible. In the setting of Theorem 5.1, suppose we run Algorithm 2 with RoBB being the RO algorithm in Lemma 5.2 instantiated with packing and covering constraints p(1+ϵ)Bp and p(1−ϵ)Bc. Then, for an absolute constant ϵ1≤1 and any ϵ∈(0,ϵ1) and δ∈(0,ϵ), with probability 1−δ, assuming Bjp∧Bjc=Ω(p−1ϵ−2log(m/δ)), Algorithm 2 finds an integral O(ϵ)-feasible solution to LPpc on requests (γt)t∈[n], i.e.,
PackAlg≤(1+O(ϵ))BpandCoverAlg≥(1−O(ϵ))Bc.
We now present the proof of Theorem 5.1. The proof proceeds in two stages: first, use the fact that the online decisions of Algorithm 2 are OnlineHI by Observation 3.2 together with Bernstein's inequality to conclude that the packing and covering loads concentrate about their expectation conditioned on the sample history Hends. Then, apply Property 3 from Lemma 3.3 to conclude that the online packing and covering loads concentrate about those of the RoBB.
Proof of Theorem 5.1. By Lemma 3.3, for any η,δ∈(0,1), with probability at least 1−δ/2, for every j∈[m], since at,jp(θ),at,jc(θ)∈[0,1], we have the following two inequalities:
Further, since the allocations at,jp(θt),at,jc(θt)∈[0,1] and are independent across time conditioned on the offline sample-history Hends (by the OnlineHI property, Observation 3.2), we may apply Bernstein's inequality (specifically, Corollary A.3) to conclude that, with probability at least 1−δ/2, for all j∈[m],
Recall that, in this setting, there are m machines, and n job requests arrive online in arbitrary order. Each request γt=(at,Θt) must be served by some decision θ∈Θt, which generates an allocation load at(θt)∈[0,1]m on a subset of the m resources. The goal is to minimize the makespan, i.e., the maximum load ∑t∈[n]at,j(θt) among all machines j∈[m].
Our benchmark is the hindsight fractional optimum E[Opt[n]], where Opt[n] is the optimal value of the configuration linear program defined below on the requests. For each t∈[n], let zt,θ denote the fractional allocation corresponding to the decision θ∈Θt for request γt. Then, we can write the configuration LP as:
Here, we use the notation ∥v∥max=maxj∈[m]vj. In this section, we show how to obtain (1+O(ϵ))-competitive algorithms for Online Generalized Load Balancing in the p-Preview model as a corollary of our results for Online Packing-Covering Multiple-Choice LPs.
Theorem 5.5. There is an algorithm for Online Generalized Load Balancing in the p-Preview model such that, for an absolute constant ϵ2≤1 and any ϵ∈(0,ϵ2) and δ∈(0,ϵ), if E[Opt[n]]=Ω(p−1ϵ−2log(m/δ)), then with probability at least 1−δ, it finds an integral allocation with makespan Alg satisfying:
Alg≤(1+O(ϵ))E[Opt[n]].
Algorithm. Our algorithm follows the standard template for converting an algorithm for Online Packing Multiple-Choice LPs to an Online Generalized Load Balancing algorithm (see, e.g., [GM26]). The main idea is to use part of the sample to estimate the expected optimal makespan E[Opt[n]], and the remaining part of the sample to run the Packing-Covering version of Algorithm 2 with this estimate as the packing constraint. We state the algorithm for a generic estimator Opt which will be chosen shortly.
Algorithm 3: ONLINE GENERALIZED LOAD-BALANCING VIA PACKING-COVERING LPS
Input: time horizon n≥1, s sampled indices S⊆[n], samples (γ~t)t∈S
Let S1 and S2 be the first and second pn/2 sample indices of S, respectively.
Compute estimator Opt of E[Opt[n]] based on S1.
Run Algorithm 2 for packing-covering LPs as specified in Corollary 5.4 on the following instance:
Sample U∼Unif(0,1), and let the packing and covering constraints be Bjp=(1+Uϵ)Opt and Bjc=n∀j∈[m].
For each load balancing request γt=(at,Θt), define the associated packing-covering request atp(θ)=at(θ) and at,jc(θ)=1 for all j∈[m], θ∈Θt (and similarly for the samples (γ~i)i∈S2).
Feed the samples S2 offline and online requests to Algorithm 2, and take the decisions θt.
Notice that the covering constraints in the above LPs will be trivially satisfied (since all covering allocations are at,jc(θt)=1). Since the packing constraint upper-bounds the load on each resource, finding feasible solutions to both LPs yields an allocation with makespan at most (1+ϵ)Opt. Thus, we need an estimator which (i) is close to E[Opt] so that the computed makespan is small, yet (ii) sufficiently large so that, with high probability, the constructed LPs will be feasible.
To obtain such an estimator of E[Opt[n]], we use the well-known fact that OptS concentrates about an appropriately-scaled version of E[Opt[n]]; similar versions have appeared, e.g., in [GM26, Lemma 5.2]. Since the proof is standard, we defer it to Section A.5.
Lemma 5.6. Let OptS denote the optimal fractional value to LPlb on samples (γ~i)i∈S, and similarly Opt[n] the optimal fractional value on requests (γt)t∈[n]. If the samples and requests are generated according to p-Preview, then, for any ϵ,δ∈(0,1), with probability at least 1−δ,
∣OptS−pE[Opt[n]]∣≤pϵE[Opt[n]]+144ϵ−1log(8m/δ).
Lemma 5.6 allows us to construct estimators Optℓ satisfying the two desired properties listed above. We are thus now prepared to prove Theorem 5.5.
Proof of Theorem 5.5. We establish the result for Algorithm 3. Let S1 and S2 be the first and second pn/2 samples from the p-Preview respectively. Notice that S1 and S2 are each (marginally) a p/2-Preview for requests in [n]. In particular, we run Algorithm 3 with estimator:
Now, let Es={E[Opt[n]]≤Opt≤(1+2ϵ)E[Opt[n]]} be the good sampling event depending on samples in S1, and notice Pr[Es]≥1−δ/2 by Lemma 5.6, since E[Opt[n]]=Ω(p−1ϵ−2log(m/δ)). For b≥0, let Eℓ(b) denote the event that Algorithm 3 run with packing constraints Bjp=b for all j∈[m] finds an online allocation with makespan at most (1+cϵ)b for an absolute constant c>0.
Notice that, whenever b≥E[Opt[n]], then the packing-covering LP relaxation LPpc defined in Algorithm 3 is feasible: Indeed, if we define xt,γ,θ=E[zt,θ∗∣γt=γ], where (zt,θ∗)t∈[n],θ∈Θt is an optimal solution to LPlb on requests (γt)t∈[n], then the covering constraints are trivially satisfied, and the packing constraints are satisfied since
Thus, since E[Opt[n]]=Ω(p−1ϵ−2log(m/δ)) and (γ~t)t∈S2 is a p/2-Preview, when Algorithm 3 is run with any fixed packing constraint b≥E[Opt[n]], by Corollary 5.4, Pr[Eℓ(b)]≥1−δ/8. Now, notice that the packing constraints from Algorithm 3 are Bjp∼Unif[Opt,(1+ϵ)Opt]. Thus, we can decompose
where the first inequality uses the definition of Es, and the second inequality uses the fact that Pr[Eℓc(b)]≤δ/8 for all b≥E[Opt[n]]. Combining the above inequality with our observation that Pr[Esc]≤δ/2, it follows that Pr[Esc∪Eℓc((1+Uϵ)Opt)]=Pr[Esc]+Pr[Es∩Eℓc((1+Uϵ)Opt)]≤δ. By construction, the packing allocations correspond to the request loads, i.e., atp(θ)=at(θ). Therefore, we conclude that, whenever Es∩Eℓ(b) hold (i.e., with probability at least 1−δ), the makespan of Algorithm 3 satisfies:
Alg≤(1+Uϵ)Opt=(1+O(ϵ))E[Opt[n]].
6 Lower Bounds
In this section, we show that the dependencies on m, ϵ, and p in our positive results are necessary. For online resource allocation, we focus on the p-Sample model. For the SSPI model, the known-i.i.d. construction of [DJSW19] already gives an Ω(logm⋅ϵ−2) budget lower bound, even when the common arrival distribution is known to the algorithm. The same construction can be benchmarked against the expected hindsight fractional optimum by retaining the realization-wise benchmark used in its proof. Our p-Sample construction uses the same hypercube geometry, which also appears in [AWY14, GSW25]. We prove the following theorem.
Theorem 6.1 (p-sample resource allocation). For every p∈(0,1/2], ϵ∈(0,10−3], sufficiently large m, and every randomized fractional online resource-allocation algorithm, there exists a fixed deterministic instance in the p-Sample model such that its common resource budget satisfies B=Θ(logm/(pϵ2)), and
E[Algra]≤(1−10−4ϵ)Optra.
Here, Optra is the hindsight integral optimum on all n online requests. The expectation is over the uniformly random p-sample and the algorithm's random coins.
For load balancing, we give lower bounds both for the known i.i.d. and the p-Sample models.
Theorem 6.2 (Known i.i.d. load balancing). For every ϵ∈(0,10−3] and all sufficiently large m and every randomized fractional online load-balancing algorithm, there exists an online load balancing instance with m resources and n requests with known i.i.d. distribution such that
E[Alglb]≥(1+10−4ϵ)Optlb,
where Optlb is the expected hindsight integral optimum on all n realized requests, and Optlb=Θ(logm/ϵ2).
Theorem 6.3 (p-sample load balancing). For every p∈(0,1/2], ϵ∈(0,10−3], and all sufficiently large m and every randomized fractional online load-balancing algorithm, there exists an online load balancing instance in the p-Sample model such that
Here, Optlb is the hindsight integral optimum on all n online requests, and the expectation is over the uniformly random p-sample and the algorithm's random coins.
We remark that a crucial property of the hard instances for Theorem 6.2 and Theorem 6.3 is that the requests are sparse, i.e., each request is “unit-demand” where satisfying a request (in any possible way) only adds load to at most one resource. This is in contrast to the hard instances for the online resource allocation problem, where the requests are dense, i.e., each request puts load on Θ(m) resources simultaneously. Indeed, this property of dense requests is necessary for obtaining the logm factor in the supply lower bound for online resource allocation problems, as [KRTV18] shows that when each request is interested in at most s resources, the logm dependency can be further improved to logs. Therefore, our lower bounds Theorem 6.2 and Theorem 6.3 rule out the possibilities of such improvements for generalized load balancing problem.
6.1 Resource Allocation Lower Bound in the p-Sample Model
In this subsection, we give the proof of Theorem 6.1. Throughout the proofs, we assume without loss of generality that 1/(2p) is an integer, and m is a power of 2.
The Hypercube Geometry. We begin with introducing some basic facts we need for the hard instance. These facts mainly follow the hard instance constructions in [DJSW19].
Let z:=log2m. Since we assume m is a power of 2, z must be an integer. We identify m=2z active resources with the bit strings in {0,1}z. For every ℓ∈[z], we define two request types:
• a request of type Aℓ requests all active resources whose ℓ-th bit is 1;
• a request of type Bℓ requests all active resources whose ℓ-th bit is 0.
Thus, Aℓ and Bℓ are request types, not resources. Every request is single-minded and receives its value only when allocated one copy of every requested resource.
Observation 6.4 (Hypercube capacity identity). Suppose that an allocation serves aℓ units of type Aℓ and bℓ units of type Bℓ, where the quantities may be fractional. Its maximum consumption over the active resources is ∑ℓ=1zmax{aℓ,bℓ}.
Proof. The load on resource x∈{0,1}z is ∑ℓ:xℓ=1aℓ+∑ℓ:xℓ=0bℓ. Choosing each bit xℓ to select the larger of aℓ and bℓ proves the observation.
Now, we are ready to prove Theorem 6.1.
The hard instance. For simplicity of the notations, we define N:=(2⌈(20ϵ)−1⌉)2. Then, we have N=Θ(ϵ−2). The instance contains m=2z resources, and the supply of each resource is B:=zN/(2p), i.e., we have B=Θ(logm/(pϵ2)). For the arriving requests, we create the following three groups for every ℓ∈[z]:
• Group 1. There are N/(2p) requests of type Aℓ, each with value 2.
Group 2. There are 2N labeled macro-groups, each containing 1/(2p) identical requests of type Aℓ. Independently for every macro-group, all its requests have value 1 or all have value 3, each with probability 1/2.
• Group 3. There are N/(2p) requests of type Bℓ, each with value 4.
In the hard instance, the requests from Group 1 arrive first. Then, requests from Group 2 and Group 3 arrive in arbitrary order. Intuitively, if the ℓ-th macro-group of Group 2 has value 1, then the type Aℓ requests from Group 1 should be accepted; otherwise these Group 1 requests need to be rejected. For the optimal offline algorithm, it can learn the values of all macro-groups from Group 2 in advance; however, in the p-Sample model, the online algorithm can only learn this information via p-fraction of the samples. We will later show that this information cannot be accurately learned for every group, and therefore every online algorithm must incur an Θ(ϵ)⋅Optra loss.
We start from bounding the order of Optra.
Claim 6.5. For every realization of the Group-2 values, the hindsight fractional optimum has an integral optimal solution that serves all N/(2p) requests of type Bℓ and exactly N/(2p) requests of type Aℓ for every ℓ. Thus, the hindsight fractional and integral optima coincide. Moreover, we have 5B≤Optra≤7B.
Proof. Write aℓ and bℓ for the accepted masses of the two types. By Observation 6.4, feasibility is equivalent to ∑ℓmax{aℓ,bℓ}≤B.
First, no optimal allocation needs aℓ>N/(2p). If this occurs, capacity can be freed by dropping type- Aℓ mass of value at most 3 and used to accept missing Group-3 mass of value 4; such missing mass must exist because the total capacity is zN/(2p). Once aℓ≤N/(2p) for all ℓ, every missing Group-3 request can be added without violating feasibility: either it does not increase the corresponding maximum, or the sum of the maxima is strictly below B. Thus, all Group-3 requests may be accepted. With bℓ=N/(2p), increasing any aℓ<N/(2p) remains feasible and strictly increases value. This proves the structural statement. For every ℓ, after fixing the accepted type- Aℓ mass to be N/(2p), accepting the N/(2p) highest-value requests of this type is integral and weakly increases the value. Therefore, an optimal fractional allocation can be chosen to be integral, and the two optima coincide.
The Group-3 requests contribute 4B. The accepted type- Aℓ requests contribute between B and 3B, which proves the two value bounds.
Next, we upper-bound the performance of every online algorithm by giving the online algorithm more power through the following two-stage process. After observing the sample, it first chooses how many Group-1 requests of each type to accept. All Group-2 and Group-3 requests are then revealed simultaneously, and the algorithm may compute the best feasible completion. Let qℓ be the accepted Group-1 mass of type Aℓ, and let Xℓ be the number of value-3 macro-groups for coordinate ℓ. For a real number r, we use r+:=max{r,0}. By Claim 6.5, the hindsight-optimal first-stage choice is qℓ∗=2p1min{N,(N−Xℓ)+}. For a fixed first-stage choice, the best completion loses exactly ∣qℓ−qℓ∗∣ relative to hindsight in coordinate ℓ: accepting too many value-2 requests displaces value-3 requests, while accepting too few replaces value-2 requests by value-1 requests.
Claim 6.6. For every coordinate ℓ and sample-measurable qℓ∈[0,N/(2p)], E[∣qℓ−qℓ∗∣]≥3840pN.
Proof. Let Tℓ be the set of Group-2 macro-groups touched by the sample, and let Uℓ be the number of sampled Group-2 requests for coordinate ℓ. Since every touched macro-group contributes at least one sampled request, ∣Tℓ∣≤Uℓ. There are N/p such requests, and the sample is a uniformly random p-fraction of all requests, so E[Uℓ]=N. Applying Corollary A.3 with η=1/4 and δ=1/2, with probability at least 1/2, we have Uℓ≤45N+12log4≤23N, where the last inequality uses N≥104. Hence, ∣Tℓ∣≤3N/2 with probability at least 1/2.
Conditional on the touched set, let Wℓ be the number of touched value-3 groups minus the number of touched value-1 groups. It is a sum of k:=∣Tℓ∣ independent Rademacher variables. We next show that, conditional on k≤3N/2, the event ∣Wℓ∣≤N/2 has probability at least 1/4. If k≤N/16, write Wℓ=2V−k, where V is a sum of k independent Bernoulli(1/2) random variables. Applying the variance-sensitive bound in Theorem A.1 gives
Pr[∣Wℓ∣>2N]≤2exp(−k/2+N/6N/16)≤2e−3/2<43,
where the second inequality uses k≤N/16 and N≥104. Otherwise, Theorem A.4 implies
Pr[∣Wℓ∣≤2N]≥2Φ(61)−1−N4.48>41,
where Φ is the standard Gaussian distribution function and the last inequality uses N≥104. Thus, both events hold with probability at least 1/8, and hence at least 1/12.
Condition on the complete sample, the values of the touched macro-groups, the algorithm's random coins, and these two events. Between N/2 and 2N macro-groups remain untouched, and their values are still independent fair coins. If their signed value imbalance is denoted by S, then 2Xℓ−2N=Wℓ+S. Since ∣Wℓ∣≤N/2, another application of Theorem A.4 gives
Pr[Xℓ≥N+4N]≥1−Φ(2)−0.56N2>201
and, by symmetry, we also have
Pr[Xℓ≤N−4N]>201.
On the first event, qℓ∗=0; on the second, qℓ∗≥N/(8p). If qℓ≥N/(16p), the first event causes loss at least N/(16p); otherwise, the second event causes the same loss. The conditional expected loss is therefore at least N/(320p). Multiplying by 1/12 proves the claim.
Now, we are ready to finish the proof of Theorem 6.1. Summing Claim 6.6 over the coordinates gives
E[Optra−Algra]≥3840pzN.(5)
This inequality averages over the random Group-2 values in addition to the sample and the algorithm's coins. Averaging over those values fixes a deterministic instance for which (5) continues to hold over the random sample and the algorithm's coins. Since N≤1/(5ϵ) for ϵ≤10−3, the additive gap in (5) is at least 1920NB≥400ϵB. Since Optra≤7B by Claim 6.5, this gap is at least ϵOptra/2800, which proves the theorem.
6.2 Load Balancing Lower Bounds
In this subsection, we prove Theorem 6.2 and Theorem 6.3. Both load-balancing hard instances only contain the following two types of requests. Here, ej denotes the j-th standard basis vector in Rm.
A request of type F has action set [m], where selecting action j∈[m] consumes one unit of resource j.
For every j∈[m], a request of type Ej has only single feasible action, which consumes one unit of resource j.
Thus, every decision in the two hard instances generates unit load on a single resource. With these two types of requests, we use the following elementary characterization of the hindsight integral optimum.
Observation 6.7. Consider n unit requests, each of which has type F or Ej for some j∈[m]. If Zj is the number of requests of type Ej, then the hindsight integral optimum is max{⌈mn⌉,maxj∈[m]Zj}.
Proof. The right-hand side is a lower bound by averaging and because every request of type Ej must generate load on resource j. After allocating all requests of type Ej to their unique decisions, the total residual capacity under the makespan on the right-hand side is at least the number of requests of type F. This residual capacity consists of integral unit slots, and every request of type F can generate load on any single resource. Therefore, these requests can be integrally allocated within the residual capacity.
####### 6.2.1 Known i.i.d. arrivals
We first introduce the hard instance we use to prove Theorem 6.2. Let n:=100mϵ−2logm, and consider n i.i.d. requests from the following known distribution. Every request has type F with probability ϵ. Otherwise, a resource j is selected uniformly from [m], and the request has type Ej.
Proof of Theorem 6.2. We show that the above instance satisfies the desired properties in Theorem 6.2. For every resource j, the random variable Zj is a sum of independent Bernoulli random variables with mean μj:=E[Zj]=m(1−ϵ)n. Applying Theorem A.1 with t:=n/m−μj=100ϵ−1logm, we obtain
Pr[Zj>mn]≤2exp(−2μj+tt2)≤2exp(−50logm)≤m−20.
A union bound gives Pr[maxjZj>n/m]≤m−19. By Observation 6.7, on the complementary event, the hindsight integral optimum is ⌈n/m⌉. Since every makespan is at most n, for all sufficiently large m, the expected hindsight integral optimum satisfies
Optlb≤mn+1000ϵlogm.(6)
Consider the moment before the final 3mlog(m)/(50ϵ2) requests arrive. Let Lj be the load already generated on resource j, and set cj:=n/m−Lj. The residual capacities satisfy ∑jcj=3mlog(m)/(50ϵ2). We further strengthen the algorithm by revealing the complete suffix at once and allowing it to select the decisions for all suffix requests of type F after observing all suffix requests of type Ej. If Xj is the number of suffix requests of type Ej, then we have
Alglb≥mn+(j∈[m]max(Xj−cj))+.(7)
The suffix is independent of the entire prior history, including any independent training data given to the algorithm. We next prove that, conditionally on every prior history, we have
Pr[Alglb≥mn+25ϵlogmpriorhistory]≥21.
Fix the prior history, and set x:=3log(m)/(50ϵ2) and d:=logm/(25ϵ). If cj≤−d for some resource j, then the desired inequality follows deterministically from (7). Thus, suppose that cj>−d for every resource j. Since ∑jcj=mx, the number of resources satisfying cj≤x+d/2 is at least md/(2x+3d)≥ϵm/4. Indeed, otherwise summing the lower bound −d over these resources and the lower bound x+d/2 over all remaining resources would give ∑jcj>mx.
Fix any such resource j. The random variable Xj has distribution Bin(mx,(1−ϵ)/m) and mean μ:=(1−ϵ)x. The event Xj≥x+3d/2 implies Xj−cj≥d. For sufficiently large m, the parameters q=(1−ϵ)/m, μ, and t:=ϵx+3d/2 satisfy the assumptions of Lemma A.5. Therefore,
for all sufficiently large m. If Y is the number of candidate resources satisfying Xj≥x+3d/2, then Lemma A.6 gives Pr[Y=0]≤E[Y]1. Since E[Y]≥ϵm1/4/4, this probability is at most 1/2 for all sufficiently large m. This proves the displayed conditional bound.
Consequently, E[Alglb]≥n/m+log(m)/(50ϵ). Together with (6) and n/m=100ϵ−2logm, we have
E[Alglb]−Optlb≥1000ϵ19logm≥10−4ϵ⋅Optlb,
which proves the theorem.
6.2.2 The p-sample model
We first introduce the hard instance we use to prove Theorem 6.3. Let G:=100mϵ−2logm. We construct G labeled macro-groups, each containing 1/(2p) identical unit requests - we assume without loss of generality that (2p)−1 is an integer. Independently for every macro-group, all its requests have type F with probability ϵ. Otherwise, a resource j is selected uniformly from [m], and all requests in the macro-group have type Ej. In the online order, all macro-groups of type F precede all other macro-groups. The macro-group partition and labels are known to the algorithm. The total number of requests is n:=G/(2p), so n/m=50logm/(pϵ2).
Proof of Theorem 6.3. We show that the above random construction contains a fixed deterministic instance with the desired properties in Theorem 6.3. Call a realization of the construction balanced if, for every resource j, the number of macro-groups of type Ej is at most (1−ϵ/2)100ϵ−2logm. For a fixed resource j, let Zj be the number of macro-groups of type Ej. This is a sum of independent Bernoulli random variables with mean μj:=E[Zj]=100ϵ−2(1−ϵ)logm. The balanced threshold exceeds μj by t:=50ϵ−1logm. Hence, by Theorem A.1,
A union bound shows that the realization is balanced with probability at least 1−m−5. For every balanced realization, the load generated by the requests of type Ej on every resource j is smaller than n/m. Hence, by Observation 6.7, we have
Optlb=⌈mn⌉.(8)
The sample contains G/2 requests and therefore touches at most G/2 macro-groups. Thus, at least G/2 macro-groups remain untouched. Conditional on the set of untouched macro-groups, let M be the number of untouched macro-groups whose requests have type Ej for some j∈[m]. If the untouched set contains u macro-groups, then M∼Bin(u,1−ϵ) and has mean μ:=(1−ϵ)u≥(1−ϵ)G/2. Applying Theorem A.1 with t:=μ−G/4 gives
Pr[M<4G]≤2exp(−2μ+tt2)≤2exp(−24G)≤exp(−40G),
where the second inequality uses that (μ−G/4)2/(3μ−G/4) is increasing in μ>G/4 and ϵ≤10−3. Therefore, we have
Pr[M≥4G]≥1−e−G/40.(9)
Consider the moment immediately after all requests of type F have been allocated. Every touched macro-group whose requests have type Ej has already revealed the corresponding resource j through the sample. Let Lj be the load allocated to resource j by the requests of type F, plus the inevitable future load from the touched macro-groups of type Ej, and set cj:=n/m−Lj. Conditional on the complete history and on M, the resources associated with the untouched non-flexible macro-groups remain independent and uniform over [m]. If Xj is the number of these macro-groups whose requests have type Ej, then ∑jcj=M/(2p) and
Alglb=mn+j∈[m]max(2pXj−cj).(10)
On the event in (9), we have 25mlogm/ϵ2≤M≤100mlogm/ϵ2. We next prove that, conditionally on the complete history and M, we have
Pr[Alglb≥mn+2pϵlogmcompletehistory,M]≥21.
Set x:=M/m and d:=logm/ϵ. Since ∑j2pcj=M=mx, if 2pcj≤−d for some resource j, then the desired inequality follows deterministically from (10). Thus, suppose that 2pcj>−d for every resource j. The number of resources satisfying 2pcj≤x+d/2 is at least md/(2x+3d)≥ϵm/201. This follows from the same averaging argument as above and the upper bound x≤100logm/ϵ2.
Fix any such resource j. The random variable Xj has distribution Bin(M,1/m) and mean x. The event Xj≥x+3d/2 implies Xj−2pcj≥d. For sufficiently large m, the parameters q=1/m, μ=x, and t:=3d/2 satisfy the assumptions of Lemma A.5. Therefore,
Pr[Xj≥x+23d]≥20x1exp(−4x27d2)≥m−1/3
for all sufficiently large m, where the last inequality uses x≥25logm/ϵ2. If Y is the number of candidate resources satisfying Xj≥x+3d/2, then Lemma A.6 gives Pr[Y=0]≤E[Y]−1. Since E[Y]≥ϵm2/3/201, this probability is at most 1/2 for all sufficiently large m. This proves the displayed conditional bound.
For the random choice of macro-group types and their associated resources, the last event and the balanced event occur jointly with probability at least 2/5 for all sufficiently large m. Averaging fixes a balanced deterministic instance for which the displayed makespan gap occurs with probability at least 2/5 over the sample and the algorithm's coins. On this instance, by (8), for all sufficiently large m, we have
where the last inequality uses Optlb≤1+50p−1ϵ−2logm. This proves the theorem.
Acknowledgments. The authors used GPT-5.5 Pro for assistance with writing and to explore proof strategies. The authors have checked the arguments and take full responsibility for all content of the paper.
A Missing Proofs
A.1 Concentration Inequalities
Theorem A.1 (Bernstein's inequality, e.g., Lemma 2.2.9, [vdVW96]). Suppose that Y={Yi}i∈[n] is a collection of independent random variables taking values in [0,1]. Denote Y[n]=∑i∈[n]Yi, μ=n1∑i∈[n]E[Yi], and σ2=n1∑i∈[n]Var(Yi). Then, for any t>0,
Theorem A.2 (Theorem 2.14.19 in [vdVW96]). Let Y={Yi}i∈[n] be a set of real numbers in [0,1], and let S be a uniformly random subset of the index set [n] of size s, drawn without replacement. Then, denoting YS=∑i∈SYi, μ=n1∑i∈[n]Yi, and σ2=n1∑i∈[n](Yi−μ)2, for any t>0,
Pr[∣YS−sμ∣>t]≤2exp(−2sσ2+tt2)≤2exp(−2sμ+tt2)
where the second inequality uses the fact that, since Yi∈[0,1], σ2≤μ.
Corollary A.3 (of Theorem A.1 and A.2). In the same setting as Theorem A.1 or A.2, for any η,δ∈(0,1), with probability at least 1−δ,
∣YS−sμ∣≤ηsμ+3η−1log(2/δ),
where S=[n] and s=n in the setting of Theorem A.1, and S is a uniformly random subset of [n] of size s in the setting of Theorem A.2.
Proof. In the context of Theorem A.1 or A.2, choose t=max{ηsμ,3η−1log(2/δ)}, and consider the two cases that (i) sμ≤η23log(2/δ), and (ii) sμ>η23log(2/δ). In case (i), the corresponding bound from Theorems A.1 and A.2 implies that
Theorem A.4 (Berry–Esseen inequality for Rademacher sums; [Ess42, She10]). Let k≥1, let R1,…,Rk be independent Rademacher random variables, let Sk:=∑i=1kRi, and let Φ be the standard Gaussian distribution function. Then, for every x∈R,
Lemma A.5 (A binomial upper-tail lower bound). Let X∼Bin(r,q) and let μ:=rq. If q≤1/4, μ≥2, and 2≤t≤μ/2, then
Pr[X≥μ+t]≥20μ1exp(−μ3t2).
Proof. Let k:=⌈μ+t⌉ and a:=k/r. The factorial bounds
2πhh+1/2e−h≤h!≤ehh+1/2e−h(h≥1)
imply
Pr[X=k]≥4ra(1−a)1exp(−rD(a∥q)),
where D(a∥q):=alog(a/q)+(1−a)log((1−a)/(1−q)) is the binary relative entropy. Since t≤μ/2, t≥2, and q≤1/4, we have k≤2μ, a≤1/2, and
rD(a∥q)≤μ(1−q)(k−μ)2≤μ3t2,
where the first inequality uses D(a∥q)≤(a−q)2/(q(1−q)), and the second uses k−μ≤t+1≤3t/2. Moreover, ra(1−a)≤k≤2μ, so 1/(4ra(1−a))≥1/(20μ). Combining these bounds with Pr[X≥μ+t]≥Pr[X=k] proves the claim.
Lemma A.6 (Multinomial exceedance indicators). Let (X0,X1,…,Xm) be the occupancy counts from r independent trials with cell probabilities (q0,q1,…,qm). For any J⊆[m] and thresholds
(aj)j∈J, define
Y:=j∈J∑1[Xj≥aj].
Then, we have Var(Y)≤E[Y]. Consequently, whenever E[Y]>0, we have Pr[Y=0]≤E[Y]1.
Proof. Fix distinct coordinates i,j∈J. If qi=1, all other counts are deterministic and the claim is immediate. Otherwise, conditional on Xi=h, Xj has distribution Bin(r−h,qj/(1−qi)). Hence, h↦Pr[Xj≥aj∣Xi=h] is nonincreasing, while h↦1[h≥ai] is nondecreasing. For any random variable H, any nondecreasing function f, and any nonincreasing function g, an independent copy H′ gives
2Cov(f(H),g(H))=E[(f(H)−f(H′))(g(H)−g(H′))]≤0.
It follows that the indicators 1[Xi≥ai] and 1[Xj≥aj] have nonpositive covariance. Therefore,
A.2 Properties of Tangent Sequence: Proof of Lemma 3.3
Let us begin by recalling the setup of the p-Preview model. The samples and requests are generated as follows: let (γ~1,…,γ~n)∼D=D1×…×Dn and (γ1,…,γn)∼D be sampled independently, and let S⊆[n] be a uniformly random subset of s=p⋅n indices. Offline, s samples (γ~t)t∈S are revealed to the algorithm. Then, online, the requests (γt)t∈[n] are revealed sequentially in the original order. Let R=[n]∖S denote the set of unsampled request indices, and notice that R is a uniformly random subset of size (1−p)n. By construction, both S and R are measurable with respect to the sampling history Hends.
Instead of viewing the sample indices S, the corresponding samples (γ~t)t∈S, and the random ordering π as being chosen before running RoBB on the sample as in Algorithm 1, we can equivalently view these quantities as being sampled iteratively, as in Algorithm 4:
Let us record a few useful observations:
Observation A.7. The samples generated by Algorithm 4 satisfy the p-Preview assumptions, and the permutation π, samples (γ~π(i))i∈[s], sample decisions θ~π(i), and sample histories are identically distributed to those in Algorithm 1. The online samples γπ(i) and decisions θπ(i) for each i∈[s] are also identically distributed to the corresponding samples and decisions at iterations satisfying t=π(i) in Algorithm 2.
Moreover, for any i∈[s], Pr[i∈I]=1−p.
Proof. Notice that sampling π(i) and π^(i) as defined in Algorithm 4 is always well-defined. Indeed, since s=pn is an integer, and thus also (1−p)n, and p≤1,
Input: Black-box algorithm RoBB, number of samples s, total number of requests n
Let K be a random variable in {⌊(1−p)s⌋,⌈(1−p)s⌉} such that E[K]=(1−p)s.
Given K, let I be a uniformly random subset of [s] of size K.
Initialize U1=[n]
for i=1,…,s do
Sample π(i)∼Unif(Ui), take Hπ(i)s=(γ~π(j),θ~π(j))j<i, and sample γ~π(i),γπ(i)∼idDπ(i)
Record θ~π(i)=RoBB(γ~π(i)∣Hπ(i)s) and θπ(i)=RoBB(γπ(i)∣Hπ(i)s)
if i∈I then
Sample π^(i)∼Unif(Ui∖{π(i)}) and sample γπ^(i)∼Dπ^(i)
Record θ^i=RoBB(γπ^(i)∣Hπ(i)s)
Take Ui+1=Ui∖{π(i),π^(i)}
else
Take Ui+1=Ui∖{π(i)}
Take S={π(i)}i∈[s], R^={π^(i)}i∈I, R=[n]∖S, and Hends=σ{(π(i),γ~π(i),θ~π(i))}
Output: (π(i),Hπ(i)s)i∈[s]
Then, the fact that S={π(1),…,π(s)} are sampled uniformly without replacement from [n] follows by symmetry: relabeling the elements of [n] with any permutation σ does not change the distribution of K, I, or π(1)∼Unif([n]). Thus, since the distribution of π(i+1) is completely determined by [n], I, and π(1),…,π(i), it follows that the distribution of π(1),…,π(s) and of σ(π(1)),…,σ(π(s)) is the same, and thus must be a uniformly random size s sample without replacement from [n].
As a consequence, since γ~π(i),γπ(i)∼idDπ(i) are sampled independently, the resulting θ~π(i),θπ(i) and all sample histories are identically distributed in Algorithms 1 and 4.
The second statement follows since, for any i∈[s],
(1−p)s=E[K]=E[∣I∣]=i′∈[s]∑Pr[i′∈I]=sPr[i∈I],
where the last equality follows since I is sampled uniformly, and thus by symmetry, Pr[i∈I]=Pr[i′∈I] for all i,i′∈[s].
Connecting the offline RO and online decisions via a tangent sequence. In order to establish the claims in Lemma 3.3, we need to connect the decisions made online by Algorithm 2 to the decisions made offline in random order in Algorithm 1. Using the equivalence from Observation A.7, we can reason instead about the execution of Algorithm 4. This allows us to construct the following sequence of random variables, which is the key to connecting the performance of Algorithms 1 and 2.
Definition A.8. Let f:Θ×Γ→R be any measurable function. For any iteration i∈[s] of Algorithm 4, let γ~π(i),γπ(i)∼Dπ(i) be the sample and observation generated by Algorithm 4, and let θ~π(i),θπ(i) the associated decisions. If i∈I, let γπ^(i)∼Dπ^(i) and θ^i be as in Algorithm 4. Then, let
Let Fi be the filtration corresponding to all observations of Algorithm 4 at the end of step i, where F0=σ{K,I}.
The key observation is that the random variables (Xi,Yi) from Definition A.8 satisfy the following tangent relation:
Lemma A.9. In the setting of Definition A.8, the random variables (Xi,Yi) are adapted to Fi, and the distributions of Xi and Yi conditioned on Fi−1 are equal. In particular,
E[Xi∣Fi−1]=E[Yi∣Fi−1].
Moreover, taking Hends to be the sample history as defined in Algorithms 1 and 4,
We note that tangent sequences satisfy the following concentration inequality, which will be useful in establishing Lemma 3.3.
Theorem A.10. Suppose that Xt,Yt∈[0,1] for t∈[n] are two sequences of random variables adapted to Ft such that E[Yt∣Ft−1]=E[Xt∣Ft−1]. Then, for any σ-algebra G such that Yt is measurable w.r.t. G for all t, for any η,δ∈(0,1), with probability at least 1−δ,
∣t∈[n]∑(E[Xt∣G]−Yt)∣≤η5log(2/δ)+ηt∈[n]∑Yt
First, we will show how to use Lemma A.9 to prove Lemma 3.3. Then, we give the proof of Lemma A.9 and Theorem A.10.
Proof of Lemma 3.3. We note that Property 1 follows immediately from Lemma A.9, the tower rule of expectations, and linearity of expectations:
Now, since we assume f is bounded on [0,1],Xi,Yi∈[0,1]. Thus, since Xi−Yi are Fi-measurable and E[Xi−Yi∣Fi−1]=0 by Lemma A.9, Xi−Yi∈[±1] is a martingale difference sequence. Thus, we conclude that
Establishing the tangent property and consequences: Proof of Lemma A.9 and Theorem A.10.
Proof of Lemma A.9. Notice that Xi=f(θπ(i),γπ(i))1[i∈/I]+f(θ^i,γπ^(i))1[i∈I] and Yi=f(θ~π(i),γ~π(i)) are Fi-measurable, since all relevant random variables are sampled by the end of iteration i of Algorithm 4. Now, conditioned on i∈I and Fi−1, π^(i) and π(i) are both (marginally) uniform on Ui, so, since the decisions are OnlineHI by Observation 3.2, f(θ^i,γπ^(i)) and f(θπ(i),γπ(i)) are (conditionally) identically distributed. Thus, by definition of Xi, Xi and f(θπ(i),γπ(i)) are identically distributed, conditioned on Fi−1. Therefore, since γπ(i),γ~π(i)∼idDπ(i) conditioned on Fi−1, and again applying the OnlineHI property, f(θ~π(i),γ~π(i)) and f(θπ(i),γπ(i)) are identically distributed conditionally on Fi−1. It thus follows that Xi and Yi=f(θ~π(i),γ~π(i)) are identically distributed conditionally on Fi−1, as claimed.
since, by construction of Algorithm 4, conditioned on any realization of I, the sample indices π(1),…,π(s) are sampled uniformly without replacement from [n], so (π(i))i∈[s] is independent of I, and thus also the sample history Hends, online request γπ(i), and decision θπ(i)=RoBB(γπ(i)∣Hπ(i)s) are independent of I.
For the second term, observe that, for any non-empty I, π^(i) is uniform on R conditioned on Hends and I, so on the event that i∈I:
where the second equality follows since I is independent of Hends, (γt)t∈R, and any additional randomness of RoBB. Thus, since Pr[i∈I∣Hends]=Pr[i∈I]=1−p by Observation A.7,
where the last line follows since ∣S∣=s=pn, ∣R∣=(1−p)n, and Tt∼Unif(S) (note that we treat the terms summing over R as 0 in the case of R=∅, i.e., when p=1). Thus, using the definition of θt for t∈[n]∖S from Algorithm 2, we conclude that
where the second inequality follows since XtYt∈[0,1] and (exp(cη)−1)(exp(−(1+η)cη)−1)≤0 for η∈(−1,1), and the equality follows since E[Xt∣Ft−1]=μt=E[Yt∣Ft−1]. Therefore, since ex≤1+x+x2 for x≤1 and μt≥0, the above is bounded as
where the last inequality used the fact that η≤1 and c=1/5. Therefore, since Xt,Yt are Ft-measurable, we can apply the above inequality recursively to conclude:
The result essentially follows from Lemma 1 of [KRTV18]. However, the statement of their result requires that p≥2Bmin1+log(m). While minor modifications to their argument can remove this requirement, we choose to prove this result here for completeness.
Throughout, we will assume without loss of generality that s≥1, since otherwise s=pn=0, so either p or n is 0 and the claim is trivially true. Additionally, in the arguments below, we condition on a fixed realization of n requests (γt)t∈[n], and take expectations only with respect to the uniformly random sample S⊆[n] of size s=pn. Our final claim will then hold by taking expectations over these n realized requests.
First, notice that:
OptS(p(1−2ϵ)B)≥(1−2ϵ)OptS(pB),(12)
since for any optimal solution (zt,θ)t∈S,θ∈Θt to LPra(pB;S), (1−2ϵ)zt,θ)t∈S,θ∈Θt is feasible for LPra(p(1−2ϵ)B;S) and has value (1−2ϵ)OptS(pB). Thus, we will focus on lower bounding E[OptS(pB)].
Let (zt,θ∗)t∈[n],θ∈Θt be an optimal solution to LPra((1−2ϵ)B;[n]). We use this solution to define a feasible solution (zi,θ)i∈S,θ∈Θi to LPra(pB;S)
∀i∈S:z^i,θ=zi,θ∗andzi,θ=zi,θ∗1[i≤τ],
where τ is the first time z^i,θ saturates the budget of one of the resources, i.e.,
where, in the second line, we used the fact that Pr[t∈S]=s/n=p for all t∈[n]. Thus, we conclude by upper-bounding Pr[τ<t∣t∈S]. Notice that we can upper bound this quantity as follows: For every t∈[n], let At,j∗=∑θ∈Θtat,j(θ)zt,θ∗. Then, we have
Where the last inequality follows from the fact that Ai,j∗∈[0,1]. Now, conditioned on t∈S, the remaining s−1 elements of S are uniform over [n]∖{t}. Thus, by Corollary A.3, together with the fact that ∑t∈[n]At,j∗≤(1−2ϵ)Bj (by feasibility of zt,θ∗), we have that, with probability at least 1−ϵ/m, conditioned on t∈S, for any j∈[m]
where, in the second line, we used the fact that 1≤s≤n, and thus (s−1)/(n−1)≤s/n=p, and the final line used the fact that ϵpBj≥2+ϵ5log(2m/ϵ). Combining this observation with the previous, we conclude that
where the final inequality follows from the observation that, if zt,θ′ is an optimal solution for LPra(B;[n]), then (1−2ϵ)zt,θ′ is feasible for LPra((1−2ϵ)B;[n]). Combining this with (12), we conclude that
Here, we describe the modifications to the proof of Theorem 4.1 from [GM16] to obtain the guarantee stated in Lemma 5.2. While their algorithm handles more general Packing-Covering Multiple-Choice LPs with an objective, we will focus on the simpler feasibility version of the problem, as this is the version needed for our result. We outline below how to modify their arguments, which hold for LPs with “full simplex” constraints (i.e., the constraints ∑θ∈Θtzt,θ≤1 instead of ∑θ∈Θtzt,θ=1 in LPpc) to instead handle the simplex constraints in LPpc. For simplicity of notation, we will denote the scaled packing and covering constraints specified in Lemma 5.2 as B~jp=αBjp and B~jc=βBjc. There are two main modifications:
Modification 1: Load Balancing request construction. Their RO algorithm (Algorithm 2 in their paper) reduces the packing-covering LP problem to a generalized load-balancing instance with possibly negative loads (for which they give a RO algorithm, see their Theorem 3.1) of the following form: Each request at time t∈[n] for 2m resources can take a decision θ∈Θt∪{ϕ}, where ϕ denotes the null decision, and has (in our notation) load of the form: the first m resources j∈[m] have loads at,j(θ)=at,jp(θ)/B~jp and at,j(ϕ)=0 for all θ∈Θt, and the last m resources have loads at,j+m(θ)=2/n−at,jc(θ)/B~jc and at,j+m(ϕ)=2/n for all θ∈Θt.
In our setting, since we do not assume the option of null requests, we modify the instance to have requests for 2m+1 resources, where each request is of the form:
Under this construction, notice that the following analogue of their Claim 4.2 (the first step in the proof of their Theorem 4.1) holds:
Claim A.11 (Analogue of Claim 1, [GM16]). Consider any Packing-Covering requests for which LPpc is feasible. Let (14) be the associated (possibly negative) load requests, and λ∗ be the optimal makespan of LPlb. Then, λ∗=1.
Proof. Let (zt,θ)t∈[n],θ∈Θt be any feasible solution to LPpc. Then, by feasibility of the solution and the definition of load balancing requests in (14), ∑t∈[n]∑θ∈Θtat,j(θ)zt,θ≤1 for all j∈[2m]. Moreover, every feasible solution to LPlbzt,θ′ (which, in particular, includes the solution zt,θ to LPpc) further satisfies: ∑t∈[n]∑θ∈Θtat,2m+1(θ)zt,θ′=∑t∈[n]∑θ∈Θtn1zt,θ′=1. Thus, noting that the makespan is defined as the largest load (i.e., not the largest magnitude load), we conclude that the optimal makespan of this instance must be λ∗=1.
It is also easy to verify that their Claim 2 (the second step in the proof of their Theorem 4.1) continues to hold under the modified loads from (14).
Claim A.12 (Claim 2, [GM16]). Given any feasible Packing-Covering instance LPpc, the corresponding Load Balancing instance with requests (14) is (M,2)-well-bounded for M−1=1/2minj∈[m]B~jp∧B~jc=Ω(ϵ−2log(m/δ)) (as in Definition 2 from [GM16]), i.e., every load balancing requests at,j(θ)∈[−M,M] and, for each j∈[2m+1] either at,j(θ)≥−2λ∗/n for all t∈[n], θ∈Θt or at,j(θ)≤2λ∗/n for all t∈[n], θ∈Θt, where λ∗ is the optimal value of LPlb with requests from (14).
Proof. By definition of the load balancing requests (14), and by assumption that B~jp=Ω(ϵ−2log(m/δ)) and at,jp(θ)∈[0,1], it follows that, for each j∈[m], at,j(θ)=at,jp(θ)/B~jp∈[0,M]. Further, since B~jc=Ω(ϵ−2log(m/δ)) and at,jc(θ)∈[0,1], it follows that for each j∈[m], at,j+m(θ)=2/n−at,jc(θ)/B~jc∈
[−M,2/n]. Further, at,2m+1(θ)=1/n. Note also that, without loss, n≥B~jc for all j∈[m], since otherwise LPpc cannot be feasible, and thus 2/n≤2/B~jc≤M. Thus, since λ∗=1 by Claim A.11, the claim follows.
Modification 2: No rescaling of the multiplicative weights update solution. The final step of their RO Packing-Covering algorithm (Phase 3 in [GM16, Algorithm 2]) rescales the solution zt,θ′ returned by their expertLB procedure by a multiplicative factor (1−O(ϵ)) in order to guarantee that the packing constraints are satisfied exactly. Without this rescaling, however, the solution still satisfies the packing constraints (1+ϵ)B~jp. Thus, the appropriate modification to their Algorithm 2 is the following:
Run their Online Generalized Load-Balancing RO algorithm (Algorithm 1, expertLB, with the multiplicative weights update algorithm from their Theorem 2.1) on the generalized load balancing requests from (14), with scale parameter M=2maxj∈[m](B~jp∧B~jc)−1=O(ϵ2/log(m/δ)) and error parameter ϵ′=c1ϵ (for a sufficiently large universal constant c1) to obtain a solution zt,θ to LPlb online, and take decision θt=θ with probability zt,θ for the Packing-Covering requests.
Concluding the proof. With this modification to their algorithm, and using the modified load balancing instance from (14) and Claims A.11 and A.12, the proof follows easily. Indeed, by their Theorem 3.1, and since the instance is (M,2)-well-bounded by Claim A.12 and λ∗=1≥3Mlog(2m/δ)/(ϵ′)2 by Claim A.11 and choice of M,ϵ′, the decisions returned by their Algorithm 1 satisfies, with probability at least 1−δ/2,
where λ∗ is the optimal value of LPlb for requests from (14) and c2 is a positive universal constant. Plugging in the request definitions from (14) and using the fact that ∑θ∈Θtzt,θ=1, it follows immediately that ∑t∈[n]∑θ∈Θtat,jp(θ)zt,θ≤(1+O(ϵ))B~jp and ∑t∈[n]∑θ∈Θtat,jc(θ)zt,θ≥(1−O(ϵ))B~jc for all j∈[m]. Since the algorithm selects decision θt=θ with probability zt,θ, and since the fractional decisions zt,θ do not depend on this rounding step, Bernstein's inequality (Corollary A.3) then implies that, with probability at least 1−δ/2, ∑t∈[n]at,jp(θt)≤(1+O(ϵ))B~jp and ∑t∈[n]at,jc(θt)≥(1−O(ϵ))B~jc for all j∈[m] (since B~jp∧B~jc=Ω(ϵ−2log(m/δ))). Thus, by rescaling ϵ appropriately, the claimed result follows.
A.5 Proof of Lemma 5.6
In the p-Preview setting, each request is sampled independently from a distribution Dt, so the solution to LPlb is random. Thus, it will be convenient to instead reason about the following fluid LP relaxation of LPlb:
since, if (zt,θ∗)t∈[n],θ∈Θt is an optimal solution to LPlb, then xt,γ,θ=E[zt,θ∗∣γt=γ] is feasible for LPlb with value ∥∑t∈[n]Eγt[∑θ∈Θtat(θ)zt,θ∗]∥max≤E[∥∑t∈[n]∑θ∈Θtat(θ)zt,θ∗∥max]=E[Opt[n]].
Further, taking (xt,γ,θ∗)t∈[n],γ∈Γt,θ∈Θt to be an optimal solution to LPlb and L~t,j=∑θ∈Θ~ta~t(θ)xt,γ~t,θ∗ to be the corresponding load on resource j corresponding to sample γ~t, we have that OptS≤maxj∈[m]∑t∈SL~t,j. Now, since L~t,j∈[0,1] by feasibility, and since S is a uniformly random size-pn subset of [n] by the p-Preview model, we may apply Bernstein's inequality for sampling without replacement (Corollary A.3) to obtain that, for any η,δ∈(0,1), with probability at least 1−δ/4,
Finally, since γ~t,γt∼Dt, and hence also the loads L~t,j, are sampled independently for every t∈[n] in the p-Preview model, and L~t,j∈[0,1], Bernstein's inequality (specifically, we use the version in Corollary A.3) implies that, with probability 1−δ/4,
where △m={y∈R≥0m:∑j∈[m]yj=1} and gt(y,γ~t)=minzt,∈△∣Θ~t∣⟨y,∑θ∈Θ~ta~π(i)(θ)zt,θ⟩∈[0,1]. Thus, taking y∗ to be an optimal dual solution to LPlb, and since S is a uniformly random sample of [n] of size s=pn, by Bernstein's inequality for sampling without replacement (Corollary A.3), for any η,δ∈(0,1), with probability at least 1−δ/4,
[AD15] Shipra Agrawal and Nikhil R Devanur. Fast algorithms for online stochastic convex programming. In Proceedings of the Twenty-Sixth Annual ACM-SIAM Symposium on Discrete Algorithms, pages 1405–1424. SIAM, 2015. 2, 4, 7, 13
[AFGS22] C. J. Argue, Alan M. Frieze, Anupam Gupta, and Christopher Seiler. Learning from a sample in online algorithms. In Advances in Neural Information Processing Systems 35: Annual Conference on Neural Information Processing Systems 2022, NeurIPS, 2022. 3, 7
[AGMS22] C. J. Argue, Anupam Gupta, Marco Molinaro, and Sahil Singla. Robust secretary and prophet algorithms for packing integer programs. In Proceedings of ACM-SIAM Symposium on Discrete Algorithms, SODA, pages 1273–1297, 2022. 7
[AKW14] Pablo Daniel Azar, Robert Kleinberg, and S. Matthew Weinberg. Prophet inequalities with limited information. In Proceedings of SODA, pages 1358–1377, 2014. 6
[AWY14] Shipra Agrawal, Zizhuo Wang, and Yinyu Ye. A dynamic near-optimal algorithm for online linear programming. Operations Research, 62(4):876–890, 2014. 2, 27
[Bal20] Maria-Florina Balcan. Data-driven algorithm design. In Tim Roughgarden, editor, Beyond the Worst-Case Analysis of Algorithms, pages 626–645. Cambridge University Press, 2020. 7
[BDD +21] Maria-Florina Balcan, Dan DeBlasio, Travis Dick, Carl Kingsford, Tuomas Sandholm, and Ellen Vitercik. How much data is sufficient to learn high-performing algorithms? generalization guarantees for data-driven algorithm design. In Proceedings of the 53rd Annual ACM SIGACT Symposium on Theory of Computing, STOC, pages 919–932, 2021. 7
[BGSZ20] Domagoj Bradac, Anupam Gupta, Sahil Singla, and Goran Zuzic. Robust algorithms for the secretary problem. In 11th Innovations in Theoretical Computer Science Conference, ITCS, volume 151 of LIPics, pages 32:1–32:26, 2020. 7
[BKM +23] Santiago Balseiro, Rachitesh Kumar, Vahab Mirrokni, Balasubramanian Sivan, and Di Wang. Robust budget pacing with a single sample. In Proceedings of the 40th International Conference on Machine Learning, ICML'23. JMLR.org, 2023. 7
[BKNS12] Nikhil Bansal, Nitish Korula, Viswanath Nagarajan, and Aravind Srinivasan. Solving packing integer programs via randomized rounding with alterations. Theory of Computing, 8(1):533–565, 2012. 18
[BLL +11] Alina Beygelzimer, John Langford, Lihong Li, Lev Reyzin, and Robert Schapire. Contextual bandit algorithms with supervised learning guarantees. In Proceedings of the Fourteenth International Conference on Artificial Intelligence and Statistics, AISTATS, pages 19–26, 2011. 40
[BLM20] Santiago Balseiro, Haihao Lu, and Vahab Mirrokni. Dual mirror descent for online allocation problems. In International Conference on Machine Learning, pages 613–628. PMLR, 2020. 7
[BLM23] Santiago R Balseiro, Haihao Lu, and Vahab Mirrokni. The best of many worlds: Dual mirror descent for online allocation problems. Operations Research, 71(1):101–119, 2023. 7
[BW20] Pornpawee Bumpensanti and He Wang. A re-solving heuristic with uniformly bounded loss for network revenue management. Management Science, 66(7):2993–3009, 2020. 7
[CCES24] José Correa, Andrés Cristi, Boris Epstein, and José A Soto. Sample-driven optimal stopping: From the secretary problem to the iid prophet inequality. Mathematics of Operations Research, 49(1):441–475, 2024. 6
[CDF +22] Constantine Caramanis, Paul Dütting, Matthew Faw, Federico Fusco, Philip Lazos, Stefano Leonardi, Orestis Papadigenopoulos, Emmanouil Pountourakis, and Rebecca Reiffenhäuser. Single-sample prophet inequalities via greedy-ordered selection. In Proceedings of SODA, 2022. 6
[CDFS19] José R. Correa, Paul Dütting, Felix A. Fischer, and Kevin Schewior. Prophet inequalities for I.I.D. random variables from an unknown distribution. In Proceedings of EC, pages 3–17. ACM, 2019. 6
[CQT20] Chandra Chekuri, Kent Quanrud, and Manuel R Torres. ℓ1-sparsity approximation bounds for packing integer programs. Mathematical Programming, 183(1):195–214, 2020. 18
[CVZ14] Chandra Chekuri, Jan Vondrák, and Rico Zenklusen. Submodular function maximization via the multilinear relaxation and contention resolution schemes. SIAM Journal on Computing, 43(6):1831–1879, 2014. 18
[CZ24] Andrés Cristi and Bruno Ziliotto. Prophet inequalities require only a constant number of samples. In Proceedings of STOC, 2024. 6
[DH09] Nikhil R. Devanur and Thomas P. Hayes. The adwords problem: online keyword matching with budgeted bidders under random permutations. In Proceedings 10th ACM Conference on Electronic Commerce, EC, pages 71–78. ACM, 2009. 2
[DJSW19] Nikhil R Devanur, Kamal Jain, Balasubramanian Sivan, and Christopher A Wilkens. Near optimal online algorithms and fast approximation algorithms for resource allocation problems. Journal of the ACM (JACM), 66(1):1–41, 2019. 2, 3, 7, 18, 27, 28
[DKL +24] Paul Dütting, Thomas Kesselheim, Brendan Lucier, Rebecca Reiffenhäuser, and Sahil Singla. Online combinatorial allocations and auctions with few samples. In 65th IEEE Annual Symposium on Foundations of Computer Science, FOCS, pages 1231–1250. IEEE, 2024. 6
[DIPG12] Victor De la Pena and Evarist Giné. Decoupling: from dependence to independence. Springer Science & Business Media, 2012. 5
[EIV23] F. Echenique, N. Immorlica, and V. V. Vazirani. Online and Matching-Based Market Design. Cambridge University Press, 2023. 2
[Ess42] Carl-Gustav Esseen. On the liapunov limit error in the theory of probability. Ark. Mat. Astr. Fys., 28:1–19, 1942. 35
[GKL24] Anupam Gupta, Gregory Kehne, and Roie Levin. Set covering with our eyes wide shut. In Proceedings of the 2024 Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 4530–4553. SIAM, 2024. 7
[GKS14] Daniel Golovin, Andreas Krause, and Matthew J. Streeter. Online submodular maximization under a matroid constraint with application to learning assignments. CoRR, abs/1407.1082, 2014. 7
[GM16] Anupam Gupta and Marco Molinaro. How the experts algorithm can help solve lps online. Math. Oper. Res., 41(4):1404–1431, 2016. 2, 4, 9, 13, 23, 43, 44
[GM26] Anupam Gupta and Marco Molinaro. Learning packing and covering from samples. In Proceedings of the 2026 Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 1239–1267. SIAM, 2026. 3, 4, 26
[GS20] Anupam Gupta and Sahil Singla. Random-order models. In Tim Roughgarden, editor, Beyond the Worst-Case Analysis of Algorithms, pages 234–258. Cambridge University Press, 2020. 2
[GSW25] Rohan Ghuge, Sahil Singla, and Yifan Wang. Single-sample and robust online resource allocation. In Proceedings of the 57th Annual ACM Symposium on Theory of Computing, STOC, pages 1442–1453. ACM, 2025. 2, 3, 6, 13, 21, 27
[Jas14] Stefanus Jasin. Reoptimization and self-adjusting price control for network revenue management. Operations Research, 62(5):1168–1178, 2014. 7
[JK12] Stefanus Jasin and Sunil Kumar. A re-solving heuristic with bounded revenue loss for network revenue management with customer choice. Mathematics of Operations Research, 37(2):313–345, 2012. 7
[JLZ25] Jiashuo Jiang, Xiaocheng Li, and Jiawei Zhang. Online stochastic optimization with wasserstein-based nonstationarity. Management Science, 71(11):9104–9122, 2025. 7
[KNR20] Haim Kaplan, David Naori, and Danny Raz. Competitive analysis with a sample and the secretary problem. In Proceedings of SODA, pages 2082–2095, 2020. 3, 7
[KNR22] Haim Kaplan, David Naori, and Danny Raz. Online weighted matching with a sample. In Proceedings of SODA 2022, pages 1247–1272, 2022. 3, 7
[KP09] Nitish Korula and Martin Pál. Algorithms for secretary problems on graphs and hypergraphs. In International Colloquium on Automata, Languages, and Programming, ICALP, 2009. 6
[KRTV18] Thomas Kesselheim, Klaus Radke, Andreas Tönnis, and Berthold Vöcking. Primal beats dual on online packing lps in the random-order model. SIAM J. Comput., 47(5):1939–1964, 2018. 2, 4, 9, 13, 28, 41
[KW89] S Kwapien and WA Woyczynski. Tangent sequences of random variables: basic inequalities and their applications. Almost everywhere convergence (Columbus, OH, 1988), pages 237–265, 1989. 5
[Meh13] Aranyak Mehta. Online matching and ad allocation. Found. Trends Theor. Comput. Sci., 8(4):265–368, 2013. 7
[MR14] Marco Molinaro and R. Ravi. The geometry of online packing linear programs. Math. Oper. Res., 39(1):46–59, 2014. 2
[MSVV07] Aranyak Mehta, Amin Saberi, Umesh V. Vazirani, and Vijay V. Vazirani. Adwords and generalized online matching. J. ACM, 54(5):22, 2007. 7
[NGW +21] Rad Niazadeh, Negin Golrezaei, Joshua R. Wang, Fransisca Susan, and Ashwinkumar Badanidiyuru. Online learning via offline greedy algorithms: Applications in market design and optimization. In EC '21: The 22nd ACM Conference on Economics and Computation, pages 737–738. ACM, 2021. 7
[RW18] Tim Roughgarden and Joshua R. Wang. An optimal learning algorithm for online unconstrained submodular maximization. In Conference On Learning Theory, COLT, volume 75 of Proceedings of Machine Learning Research, pages 1307–1325. PMLR, 2018. 7
[RWW20] Aviad Rubinstein, Jack Z. Wang, and S. Matthew Weinberg. Optimal single-choice prophet inequalities from samples. In Proceedings of ITCS, volume 151 of LIPIcs, pages 60:1–60:10, 2020. 6
[She10] Irina G Shevtsova. An improvement of convergence rate estimates in the lyapunov theorem. In Doklady Mathematics, volume 82, pages 862–864, 2010. 35
[TW26] Yifeng Teng and Yifan Wang. Learning anonymous pricing for online resource allocation. arXiv preprint arXiv:2606.26651, 2026. 6, 21, 22
[vdVW96] Aad W. van der Vaart and Jon A. Wellner. Weak convergence and empirical processes. Springer Series in Statistics. Springer-Verlag, New York, 1996. 34