Introduction
Traditional online resource allocation models, such as the knapsack problem, typically operate under a fixed total budget constraint. However, many modern applications—ranging from public service allotment to digital advertising and online statistical testing—require maintaining a "running average" or "per-unit" budget. This paper introduces a novel framework for online resource allocation governed by average budget constraints. The authors demonstrate that standard "re-solving" algorithms, which excel under total budget constraints, fail significantly in this new setting. To address this, they propose the Multilevel Logarithmic Buffer (MLB) policy, achieving near-optimal logarithmic regret.
Total vs. Average Budget Constraints
The fundamental shift in this research is the move from end-of-horizon feasibility to "any-time" feasibility. In a total budget setting, the decision-maker only needs to ensure the budget is not exceeded by the final period $T$. In contrast, an average budget constraint must be satisfied at every discrete time step.
As shown in the table above, average constraints are horizon-independent and support smoother allocations over time, making them natural for flow-based or per-capita settings. However, this requirement introduces a significant challenge: the budget effectively "replenishes" as more items are accepted (provided they are low-cost), leading to a phenomenon the authors call the "Optimism Trap." Standard algorithms become overly optimistic about future replenishment, over-accepting early and suffering massive losses when the expected "cheap" arrivals do not materialize.
The Multilevel Logarithmic Buffer (MLB) Policy
The core contribution of this work is the Multilevel Logarithmic Buffer (MLB) policy. Unlike re-solving heuristics that update strategies based on current remaining budget, MLB incorporates strategic safety buffers.
- Safety Buffers: MLB only accepts a task if the current budget exceeds a specific cushion that scales logarithmically with the remaining time. This prevents the system from falling into a "deficit" that is too difficult to recover from.
- Task Categorization: The policy categorizes incoming tasks into four types: replenishment, low-cost, boundary, and high-cost, allowing for nuanced decision-making.
- Adaptivity: For practical applications, the authors developed MLB-AC (Adaptive/Continuous), which estimates thresholds and gaps on the fly using a sliding window, making it robust for non-stationary or continuous data streams.
Theoretical and Experimental Results
The authors analyze the problem through the lens of regret—the gap between the online algorithm's reward and the "all-knowing" offline optimal solution.
As illustrated in the figure above, while many standard policies (like HO and DP) suffer $\Omega(\sqrt{T})$ or even linear regret under average constraints, the MLB policy achieves $\tilde{O}(1)$ or $O(\ln^2 T)$ regret. This represents a massive theoretical improvement.
Anomaly Detection in NYC Taxi Data
The practical utility of MLB-AC was tested using NYC taxi ridership data for online anomaly detection, where the "resource" is the False Discovery Rate (FDR).
- Performance: Targeting a 5% FDR, MLB-AC achieved 862 discoveries, nearly reaching the theoretical offline upper bound of 882.
- Comparison: It significantly outperformed established frequentist methods like LOND (315 discoveries) and LORD++ (562 discoveries).
- Robustness: An "any-time" variant (MLB-AC-A) that does not require knowledge of the horizon $T$ in advance still achieved 858 discoveries, proving its viability for open-ended data streams.
Conclusion and Future Work
This research highlights the critical differences between total and average budget constraints in online resource allocation. By identifying the "optimism trap" inherent in average constraints and proposing the MLB policy with logarithmic safety buffers, the authors provide a robust framework for a wide array of real-world applications. Future work remains to extend formal theoretical guarantees to non-stationary environments and to explore tighter instance-dependent regret bounds for continuous cost distributions.
Summary updated