Online Resource Allocation With General Constraints

Eleonora Fidelia Chiefari, Francesco Emanuele Stradi, Matteo Castiglioni, Alberto Marchesi

TL;DR

This paper introduces the first "best-of-both-worlds" algorithm for online resource allocation that simultaneously handles strict budget constraints and general long-term constraints (like fairness or ROI). Operating without prior knowledge of the problem's feasibility margin, the algorithm achieves optimal $\widetilde{\mathcal{O}}(\sqrt{T})$ regret and constraint violation bounds in both stochastic and adversarial environments.

What Problem Does This Paper Address?

Online Resource Allocation (ORA) is a classic framework for sequential decision-making used in online advertising, auction bidding, and revenue management. Traditionally, ORA algorithms only look at budget constraints. Budgets are relatively easy to manage because there is always a "void" (do-nothing) action that consumes zero resources and guarantees safety.

However, modern applications require satisfying general constraints—such as ensuring a minimum Return-on-Investment (ROI) or maintaining demographic fairness. These general constraints are tricky: they don't have a universally safe "void" action, and they often conflict with one another (e.g., maximizing ROI might violate fairness). This forces the algorithm to tolerate temporary violations in some rounds to be compensated in others.

Existing techniques fail to provide robust performance guarantees across both predictable (stochastic) and unpredictable (adversarial) settings when these complex, unaligned constraints coexist.

Methods

The authors design a Dual Gradient Descent algorithm that treats constraint violations as penalties.

  1. Primal Action Selection: At each step, the algorithm greedily selects an action that maximizes the instantaneous Lagrangian function (balancing immediate reward against constraint penalties).
  2. Dual Update: The Lagrangian multipliers (the penalty weights) are updated using standard Online Gradient Descent (OGD).
  3. Strict Budget Enforcement: If any budget constraint is close to being violated, the algorithm overrides the greedy choice and forces the "void" action.

The core technical innovation lies in the analysis. Usually, bounding these penalty weights requires projecting them onto a known bounded space, which requires knowing the problem's feasibility margin (Slater's parameter, $\rho$) in advance. The authors bypass this by exploiting the weak adaptivity of OGD. Weak adaptivity guarantees sublinear regret over any arbitrary sub-interval of time. The authors prove that this property naturally forces the penalty weights to remain bounded; if violations grow too large, the OGD dynamics systematically pull them back down.

Datasets

Not discussed in the paper. This work is purely theoretical and focuses on mathematical proofs of correctness and optimality rather than empirical evaluation.

Key Insights and Ideas

  • Cross-Constraint Compensation: Unlike budgets, general constraints allow for trade-offs. An algorithm might intentionally violate one constraint if it means satisfying another by a massive margin. The authors show that weak adaptivity prevents the algorithm from indefinitely exploiting this loophole.
  • OGD vs. OMD: Standard Online Mirror Descent (OMD) methods (like those using entropy regularizers) can accumulate negative regret early in the timeline and use it to "absorb" massive penalties later. OGD's weak adaptivity prevents this historical buffering, making it uniquely capable of controlling unaligned constraints.
  • Parameter-Free Feasibility: The algorithm does not need to know Slater's parameter ($\rho$) upfront. It naturally adapts to the environment's feasibility margin online.

Key Results

The algorithm delivers optimal, theoretical "best-of-both-worlds" guarantees:

  • Stochastic Regime: Achieves $\widetilde{\mathcal{O}}(\sqrt{T})$ cumulative expected regret when requests are drawn i.i.d. from an unknown distribution.
  • Adversarial Regime: Achieves $\widetilde{\mathcal{O}}(\sqrt{T})$ cumulative $\alpha$-regret against an omniscient adversary, where $\alpha = \rho / (1+\rho)$ gracefully degrades based on how difficult the constraints are to satisfy.
  • Constraint Violations: Budget constraints are strictly satisfied deterministically ($0$ violation), while general long-term constraint violations are strictly bounded by $\widetilde{\mathcal{O}}(\sqrt{T})$ across all environments.

Limitations and Future Work

The primary limitation is that the adversarial analysis assumes a static (though arbitrarily chosen) environment over the time horizon. The authors point out that a natural and promising next step is extending this framework to non-stationary settings, where the underlying data distribution or adversarial strategy changes dynamically over time.

Summary updated

BibTeX
@inproceedings{chiefari2026online,
  author = {Eleonora Fidelia Chiefari and Francesco Emanuele Stradi and Matteo Castiglioni and Alberto Marchesi},
  title = {{Online Resource Allocation With General Constraints}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=BtOcFcAUxb},
}
Figure