Online Resource Allocation with Replenishable Budgets

Eleonora Fidelia Chiefari, Francesco Emanuele Stradi, Alberto MarchesiarXiv 2026

TL;DR

This paper introduces a novel framework for Online Resource Allocation (ORA) where budgets can be replenished over time, moving beyond the traditional assumption that resources only deplete. The authors develop a "best-of-both-worlds" dual-based algorithm that achieves optimal $\widetilde{\mathcal{O}}(\sqrt{T})$ regret in stochastic environments and sublinear $\alpha$-regret in adversarial ones, all while strictly satisfying hard budget constraints.

What Problem Does This Paper Address?

Online Resource Allocation is a cornerstone of sequential decision-making. Imagine an online advertising platform or a cloud provider: at each step, a request arrives, and the system must decide which action to take to maximize reward without exceeding a finite budget (like money or CPU cycles).

Standard ORA models are monotonic: every action you take consumes resources, and once the budget is gone, you're done. However, many real-world systems aren't that simple.

  • Inventory Systems: A retailer sells stock (depletion) but also places orders from suppliers (replenishment).
  • Energy Markets: A battery discharges to meet demand but recharges when prices are low or renewables are active.

In these cases, resource dynamics are non-monotonic. The challenge is that standard primal-dual algorithms—which use "dual variables" as shadow prices to penalize resource use—break down when costs can be negative. Negative costs can artificially deflate these shadow prices, leading the algorithm to over-consume resources and crash into hard budget limits prematurely.

Methods

The authors propose Replenishing Dual Gradient Descent (Algorithm 1). It is a primal-dual framework that treats resource constraints as penalties in a Lagrangian objective function.

Key technical innovations include:

  1. The "Void Action" with Guaranteed Replenishment: The model assumes the existence of a fallback "void action" ($\emptyset$) that yields zero reward but provides a guaranteed minimum replenishment factor $\beta$ for all resources.
  2. Safety Thresholding: Before acting, the algorithm checks if the remaining budget is sufficient ($B_{t,i} \ge 1$). If any resource is too low, it is forced to play the void action to recover capacity.
  3. Dual Update Pausing: Crucially, during forced replenishment rounds, the algorithm pauses the update of dual variables. This prevents the "artificial deflation" mentioned earlier, ensuring the shadow prices remain high enough to discourage over-consumption once the budget is recovered.
  4. Projected Online Gradient Descent (OGD): In "safe" rounds, the algorithm updates its dual variables (shadow prices) using OGD, projecting them onto the positive orthant to ensure they always act as penalties.

Datasets

This is a theoretical paper focused on establishing regret bounds and competitive ratios. As such, no empirical datasets or benchmarks were used for training or evaluation. The results are proved mathematically for any input sequence that satisfies the problem's assumptions (stochastic i.i.d. or adversarial).

Key Insights and Ideas

  • Replenishment as a Performance Booster: One of the most striking findings is that the replenishment factor $\beta$ doesn't just make the problem more realistic; it actually makes the bounds tighter. The regret scales inversely with $\rho + \beta$ (where $\rho$ is the per-round budget). Essentially, the ability to replenish acts like an "augmented margin," providing more room for the algorithm to recover from mistakes.
  • Structural Slater's Condition: In optimization, a "Slater's condition" usually requires a strictly feasible point. Here, the existence of the replenishing void action implicitly provides this condition, which the authors exploit to keep the dual variables (shadow prices) tightly bounded.
  • Cross-Constraint Compensation: The authors identify a specific vulnerability in non-monotonic ORA where an action might consume a critical resource but look "optimal" because it heavily replenishes a non-critical one. Their algorithm's design specifically prevents this "masking" effect.

Key Results

The paper establishes "best-of-both-worlds" (BoBW) guarantees, meaning the same algorithm performs optimally regardless of whether the environment is predictable (stochastic) or hostile (adversarial).

Comparison of theoretical guarantees showing how $\beta > 0$ improves performance.

As shown in the table above:

  • Stochastic Regret: The algorithm achieves $\widetilde{\mathcal{O}}(\frac{1}{\rho+\beta}\sqrt{T})$ regret. When $\beta > 0$, this is strictly better than the state-of-the-art for monotonic models.
  • Adversarial $\alpha$-Regret: It achieves $\widetilde{\mathcal{O}}(\sqrt{T})$ fractional regret against a competitive ratio $\alpha = \frac{\rho+\beta}{1+\beta}$.
  • Strict Feasibility: Unlike many online algorithms that only satisfy constraints "on average" or at the end of the horizon, this algorithm ensures the budget is never violated at any time step $t$.

Limitations and Future Work

  • Global vs. Resource-Specific Replenishment: The current model assumes a single void action that replenishes all resources simultaneously. In reality, you might have one action to restock "Item A" and another for "Item B." Extending the framework to handle resource-specific replenishing actions is a suggested next step.
  • Replenishment in Expectation: The current proofs rely on a worst-case replenishment $\beta$ for every input tuple. The authors suggest relaxing this to a "replenishment in expectation" model, which would be more suitable for highly volatile stochastic environments.
  • Estimating $\beta$: While the algorithm doesn't strictly need to know $\beta$ to run, its performance bounds are better if $\beta$ is known. Future work could investigate if the algorithm can learn or estimate the replenishment factor online.

Summary updated

BibTeX
@misc{chiefari2026online,
  author = {Eleonora Fidelia Chiefari and Francesco Emanuele Stradi and Alberto Marchesi},
  title = {{Online Resource Allocation with Replenishable Budgets}},
  year = {2026},
  eprint = {2609.35384},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2609.35384},
}
Figure