Online Resource Allocation With General Constraints
Eleonora Fidelia Chiefari, Francesco Emanuele Stradi, Matteo Castiglioni, Alberto Marchesi
NeurIPS 2026
Abstract. Online resource allocation (ORA) is a fundamental framework for sequential decision-making problems under budget constraints, with applications ranging from online advertising to revenue management. In this work, we study a broader setting that includes both budget constraints and general constraints, extending the classical budget-only model. This extension is essential for modelling critical economic requirements, such as Return-on-Investment (ROI) constraints. We develop an algorithm that achieves best-of-both-world guarantees within this generalized framework. In particular, against a dynamic benchmark, our algorithm achieves regret in the stochastic regime and -regret of order in the adversarial regime, where depends on the feasibility margin of the corresponding offline problem. At the same time, our algorithm guarantees strict satisfaction of the budget constraints and cumulative violation for the general ones. From a technical perspective, introducing general constraints alongside budgets precludes the use of standard budget-focus methods. While budget methods rely on a zero-consumption "safe'' action to ensure feasibility, general constraints are much less "aligned'' towards feasibility. We overcome these difficulties with a new analysis that exploits weak adaptivity to get boundedness of the Lagrangian multipliers and best-of-both-world guarantees.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:43 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
Post-rebuttal: The author response was helpful, and the reviewers remain (weakly) positive. Overall, the paper appears to make solid contributions to a meaningful problem, and we recommend acceptance if there is space. We encourage the authors to implement the changes mentioned in the response and further revise the paper based on the reviewers' comments.
===== initial meta-review =====
The paper studies a generalized online resource allocation setting that subsumes both budget constraints and "general constraints" (like ROI). The main result is an algorithm that provides best-of-both-world guarantees. Specifically, against the dynamic benchmark, it gets regret in the stochastic regime and -regret of order in the adversarial regime.
The paper appears to be a borderline positive case given the initial reviews. The reviewers see strengths of the paper, including in particular the generality and theoretical soundness of the results. The reviewers also raise a number of concrete questions. For example, several questions concern the implementation of the Lagrangian optimization oracle, and the authors may want to clarify in more depth. The role of the Slater margin also attracts quite a few questions. I believe clear answers to these questions would help the reviewers better appreciate the results. On the practical side, there are also questions regarding experimental evaluation of the proposed algorithms. Some preliminary results or observations would be much appreciated, but I realize comprehensive experiments might be too much given the short time frame. Given the theoretical nature of the paper, I encourage the reviewers to slightly discount experimental results if they find the theoretical contribution significant enough already.
Final justification
The author response was helpful, and the reviewers remain (weakly) positive. Overall, the paper appears to make solid contributions to a meaningful problem, and we recommend acceptance if there is space. We encourage the authors to implement the changes mentioned in the response and further revise the paper based on the reviewers' comments.
Read meta-review
Meta-review
Post-rebuttal: The author response was helpful, and the reviewers remain (weakly) positive. Overall, the paper appears to make solid contributions to a meaningful problem, and we recommend acceptance if there is space. We encourage the authors to implement the changes mentioned in the response and further revise the paper based on the reviewers' comments.
===== initial meta-review =====
The paper studies a generalized online resource allocation setting that subsumes both budget constraints and "general constraints" (like ROI). The main result is an algorithm that provides best-of-both-world guarantees. Specifically, against the dynamic benchmark, it gets regret in the stochastic regime and -regret of order in the adversarial regime.
The paper appears to be a borderline positive case given the initial reviews. The reviewers see strengths of the paper, including in particular the generality and theoretical soundness of the results. The reviewers also raise a number of concrete questions. For example, several questions concern the implementation of the Lagrangian optimization oracle, and the authors may want to clarify in more depth. The role of the Slater margin also attracts quite a few questions. I believe clear answers to these questions would help the reviewers better appreciate the results. On the practical side, there are also questions regarding experimental evaluation of the proposed algorithms. Some preliminary results or observations would be much appreciated, but I realize comprehensive experiments might be too much given the short time frame. Given the theoretical nature of the paper, I encourage the reviewers to slightly discount experimental results if they find the theoretical contribution significant enough already.
Final justification
The author response was helpful, and the reviewers remain (weakly) positive. Overall, the paper appears to make solid contributions to a meaningful problem, and we recommend acceptance if there is space. We encourage the authors to implement the changes mentioned in the response and further revise the paper based on the reviewers' comments.
- Rating
- 5/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 4/4
- Significance
- 3/4
- Originality
- 1/4
- Contribution type
- theory
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper studies the problem of online resource allocation under a generalized constraint setting that includes both traditional budget constraints and general long-term constraints. The main difference from prior work is that the authors consider constraints that are not structurally aligned and do not rely on a zero-consumption "safe" action to ensure feasibility. The authors develop a dual-based algorithm that uses online gradient descent for the dual updates and a greedy step for the primal action. By exploiting the weak adaptivity of the updates, they show that the Lagrangian multipliers remain naturally bounded without needing prior knowledge of the feasibility margin. The algorithm achieves best-of-both-worlds guarantees, yielding regret in the stochastic regime and -regret in the adversarial regime, while strictly satisfying budgets and keeping general constraint violations sublinear.
Strengths and weaknesses
- Quality
Strength: The theoretical framework is rigorous and sound.
Weakness: In the adversarial setting, the performance guarantee relies on -regret. When the feasibility margin is tiny, approaches zero and it appears the algorithm is evaluated against a heavily discounted fraction of the true optimum.
- Clarity
Strength: The submission is clear and logically structured throughout. The authors also do a good job explaining the limitations of classical methods using a single-round toy case.
- Significance
Strength: The paper studies a fundamental online allocation problem and extends it by incorporating general long-term constraints. The problem is nicely motivated by realistic e-commerce applications.
Weakness: There is a lack of empirical validation of the results. Testing on synthetic benchmarks or historical logs could help demonstrate how tightly the constraint violation holds or how the dual variables behave dynamically in practice.
- Originality
Strength:It is a good spin on a traditional setting. Bypassing the standard assumption of a point-wise safe "void" action by demonstrating that weak adaptivity in OGD can control cross-constraint exploitation is an original theoretical angle.
Questions
- How do approximate primal solvers with an additive error affect the cumulative constraint violation bounds?
- Is the weak -regret bound when an inherent limitation of the problem?
- Any comment on the feasibility of a simulation showing whether the dual variables dynamically self-bound smoothly or oscillate heavily in practice?
Limitations
Yes
Final justification
I maintain my original positive opinion of the paper as expressed and justified in the original review.
Formatting concerns
None
1 comment
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 2/4
- Originality
- 2/4
- Contribution type
- theory
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper studies a generalized online resource allocation (ORA) setting that considers both budget constraints and “general constraints”. The authors give an algorithm that provides best-of-both-world guarantees for this setting. Specifically, against the dynamic benchmark, it gets in the stochastic regime and -regret of order in the adversarial regime, while ensuring that budget constraints are strictly satisfied, and sublinear cumulative violation for the general constraints.
Strengths and weaknesses
Strengths (+) The paper generalizes a result that was previously known only for budget constraints, to general constraints. (+) The algorithm is quite simple. Weaknesses (-) While the budget constraints are strictly satisfied, the other constraints are violated (in a bounded way).
Questions
Are your results restricted to the case where is drawn iid from ? can it be extended to non-iid values?
Limitations
yes.
Formatting concerns
No formatting concerns.
1 comment
Rebuttal
We thank the Reviewer for the positive evaluation of our work.
Are your results restricted to the case where is drawn iid from ? can it be extended to non-iid values?
Thank you for the opportunity to clarify this key feature of this work: our results are not restricted to the i.i.d. case. To accommodate any form of non-i.i.d. data---such as drifting distributions, temporal correlations or even arbitrary sequence changes---we explicitly analyze the fully adversarial setting. The adversarial model described in Section 2.2 represents the most general possible non-i.i.d. scenario, as it allows the sequence of inputs to be chosen arbitrarily without any statistical assumptions. Theorem 5.3 proves that our algorithm handles this worst-case setting, providing cumulative -regret. As established in Section 2.2, it is impossible to achieve standard sublinear regret under adversarial constraints, therefore our -regret bound represents the best theoretical guarantee for this setting without additional assumptions.
Please let us know if further discussion is necessary.
- Rating
- 3/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 2/4
- Originality
- 2/4
- Contribution type
- theory
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper studies online resource allocation under both budget constraints and general long-term constraints. In contrast to classical ORA models that primarily consider budget limitations, the proposed setting also accommodates practical requirements related to ROI, fairness, and risk. The objective is to satisfy the budget constraints strictly while ensuring that the cumulative violation of the general constraints grows sublinearly. To address this problem, the authors develop a Lagrangian primal-dual algorithm. At each round, the algorithm observes the complete input, chooses an action by maximizing the instantaneous Lagrangian, and updates the dual variables through online gradient descent. It switches to the void action when the remaining budget becomes insufficient. A key technical contribution is the proof that the dual variables remain naturally bounded without requiring prior knowledge of the Slater parameter. Building on this result, the authors establish regret in the stochastic setting and -regret in the adversarial setting. They also guarantee strict satisfaction of the budget constraints and an cumulative violation bound for the general constraints.
Strengths and weaknesses
Strengths:
-
The problem is meaningful. Extending best-of-both-world online resource allocation from budget-only constraints to settings with both budget and general long-term constraints is natural and practically relevant, since applications may involve ROI, fairness, risk, or other cumulative requirements.
-
The paper identifies a real technical difficulty. In budget-only settings, the void action provides a clear feasibility margin, but for general constraints it does not provide strict slack, and different constraints may compensate for or conflict with one another. Using weak adaptivity of OGD to control the Lagrangian multipliers is the main technical contribution.
-
The theoretical guarantees are fairly complete. The paper provides bounds for strict budget feasibility, cumulative violation of general constraints, stochastic regret, and adversarial -regret within a single framework.
Weaknesses:
-
The proposed method relies on a fairly strong feedback model and an exact optimization oracle. In each round, the algorithm observes the complete reward and constraint functions and is required to solve exactly. This optimization problem may be difficult for general action spaces or nonlinear functions. The paper would benefit from a clearer discussion of the settings in which such an oracle is computationally available, as well as whether approximate solutions could be accommodated.
-
The adversarial result is also somewhat limited. The guarantee is stated in terms of -regret, where , rather than regret against the full dynamic benchmark. If the Slater margin is small, the resulting value of may be close to zero. In that case, the guarantee becomes much less informative. The paper should better explain the practical meaning of this dependence and clarify whether the factor can be improved or is unavoidable.
-
The paper is entirely theoretical and does not include any numerical evaluation or illustrative example. Even a small synthetic experiment would help demonstrate how the algorithm behaves in practice. In particular, it would be useful to show the evolution of the dual variables, the cumulative constraint violation, and the effect of the stopping rule when the budget is nearly exhausted. Comparisons with budget-only methods or approaches based on projected dual variables would also help clarify the benefit of the proposed framework.
Questions
-
Under what conditions can the per-round Lagrangian maximization oracle be implemented efficiently? How would the guarantees change if only an approximate oracle is available?
-
How small can the Slater margin be in typical applications such as ROI-constrained allocation or fairness-constrained allocation? In such cases, is the resulting still meaningful?
-
Is the -regret dependence on tight in the adversarial setting? Are there matching lower bounds showing that a stronger guarantee is impossible under the proposed model?
-
Why is OGD essential compared with more general OMD methods? The paper gives intuition based on weak adaptivity, but a clearer explanation or example in the main text would help.
-
How sensitive are the constants in the bounds to the number of constraints , especially since the violation bound scales as ?
Limitations
The authors should more explicitly discuss the practical limitations of their assumptions. In particular, the algorithm requires full-information feedback and exact primal optimization at every round, which may be unrealistic in large-scale settings or when reward and constraint functions are only partially observed. It would be useful to discuss whether approximate oracles and weaker feedback models can be supported.
Final justification
After considering the rebuttal, several of my technical concerns have been clarified, including the role of the optimization oracle and the motivation for using weakly-adaptive OGD. However, my main concern about the presentation and motivation remains. The paper introduces general constraints through abstract examples such as ROI and fairness, but still lacks a concrete illustrative or running example showing how these constraints arise in an ORA instance, why the budget-only framework fails, and how the proposed mechanism addresses the resulting difficulty. The technical example in Section 4.1 helps explain the dual analysis, but does not fully serve this purpose. For a theory paper introducing a generalized ORA framework, I believe such an example is important for making the problem, technical challenge, and contribution accessible and convincing. The promised synthetic simulation in the appendix is useful, but does not directly resolve this concern. I therefore maintain my score.
Formatting concerns
No
1 comment
Rebuttal
We thank the Reviewer for the effort in evaluating our work.
The paper is theoretical and does not include any numerical evaluation or illustrative example. Even a small synthetic experiment would help demonstrate how the algorithm behaves in practice. In particular, it would be useful to show the evolution of the dual variables, the cumulative constraint violation, and the effect of the stopping rule when the budget is nearly exhausted. Comparisons with budget-only methods or approaches based on projected dual variables would also help clarify the benefit of the proposed framework.
We thank the Reviewer for the suggestion. We acknowledge that our submission is entirely theoretical: establishing, to the best of our knowledge, the first best-of-both-worlds bound for ORA under general constraints with unknown . A proper experimental evaluation falls outside the scope of this paper. However, we completely agree that providing more intuition on the dynamic behavior of the algorithm is important. To provide this intuition without altering the main paper's focus, we will include a synthetic simulation demonstrating that the dual variables do not oscillate significantly but self-bound smoothly. We will include this simulation and a brief discussion in the appendix.
Under what conditions can the per-round Lagrangian maximization oracle be implemented efficiently? How would the guarantees change if only an approximate oracle is available?
Using an exact maximization oracle is a standard assumption in Lagrangian-based ORA frameworks (e.g., [Balseiro et al., 2023], which relies on a similar oracle). This per-round maximization can be implemented efficiently in practice when the action space is finite, or when functions are linear/concave over a convex space. Furthermore, our analysis can be extended to a setting where an exact oracle is not available. Specifically, the approximation error would add a term to both the cumulative regret and the cumulative constraint violation. If scales as , this term is bounded by a constant , preserving the asymptotic guarantees established in our analysis.
How small can the Slater margin be in typical applications such as ROI-constrained allocation or fairness-constrained allocation? In such cases, is the resulting still meaningful?
The parameter is a problem-specific parameter representing the feasibility margin of the instance. Therefore, a small means satisfying the constraints is harder and may lead to the algorithm losing performance in terms of regret. In typical applications, such as ROI-constrained allocation, if the environment is heavily constrained, can indeed be small. We agree that for small values of , the parameter is close to . However, this is an inherent limitation of the adversarial setting, rather than a looseness in our analysis. The parameter remains meaningful, being an indicator of how much performance must be sacrificed to respect tight operational margins.
Is the -regret dependence on tight in the adversarial setting? Are there matching lower bounds showing that a stronger guarantee is impossible under the proposed model?
As discussed above, the parameter sets the fundamental limits of the environment's feasibility margin. Under fully adversarial constraints, no algorithm can achieve a stronger competitive ratio or bypass this scaling factor. Matching lower bounds from the ORA literature (e.g., [Balseiro and Gur, 2019; Balseiro et al., 2023]) prove that no algorithm can do better than a factor proportional to without any additional assumption. Consequently, the -regret metric is necessary and represents the strongest achievable guarantee in this setting.
Why is OGD essential compared with more general OMD methods? The paper gives intuition based on weak adaptivity, but a clearer explanation or example in the main text would help.
The core issue of OMD methods lies in the absence of the weak adaptivity property. A standard OMD algorithm only guarantees global no-regret, i.e. no regret over the whole time horizon . General constraints can be negative, thus an OMD algorithm can accumulate negative regret in some intervals and use it to compensate massive penalties, allowing the dual multipliers to grow unbounded. This behaviour is illustrated in Figure 1. OGD is natively weakly-adaptive, meaning it guarantees no-regret also over any arbitrary sub-interval . This property prevents compensations even in the presence of general constraints, allowing us to derive the results shown in Lemma 4.2.
How sensitive are the constants in the bounds to the number of constraints , especially since the violation bound scales as ?
The scaling factor arises from the theoretical worst-case bound on the -norm of the dual multipliers across the constraints. This represents a rigorous strictly pessimistic upper bound, inherently assuming that the maximum violation occurs across all constraints simultaneously. However, this worst-case bound is highly conservative and does not reflect the typical behavior of the algorithm. In practice, only a subset of the constraints accumulates penalties and cross-constraint dynamics naturally compensate for one another. Consequently, the practical impact of the dependence on may be milder than suggested by the worst-case theoretical bound. The synthetic simulation discussed above will provide further intuition on this aspect.
We hope to have addressed all the Reviewer concerns. Please let us know if further discussion is necessary.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Rebuttal
We thank the Reviewer for the positive evaluation of our work.
An ϵ additive error in the approximate primal solver propagates through the analysis introducing an additional O(ϵT) term to both the cumulative regret and the cumulative constraint violation bounds. Therefore, as long as the total cumulative error scales as ϵ=O(1/T), this cumulative penalty is bounded by a constant O(1), fully preserving our O~(T) guarantees.
As defined in Section 2.1-2.2, ρ is a problem-specific parameter representing the available feasibility margin of the instance, therefore its value depends on the inherent complexity of the problem. Without a strictly safe margin (ρ→0) the environment becomes extremely resource-constrained; in this setting the adversary can choose inputs that force any online algorithm to either violate constraints or incur massive regret. As established in the literature [Balseiro and Gur, 2019; Balseiro et al., 2023] performance bounds inherently deteriorate as problems become more resource-constrainted. Consequently, the α-regret scaling is an inherent limitation which cannot be overcome without introducing additional structural assumptions.
We thank the Reviewer for this suggestion. Although our submission is primarily theoretical, we agree that illustrating the behavior of the algorithm may be helpful. We will prepare a synthetic simulation demonstrating this and include the plots and a brief discussion in the appendix.
Please let us know if further discussion is necessary.