Abstract In this paper, we address the challenge of online resource allocation where multiple resources, each with a finite initial capacity, are used to satisfy sequential requests arriving over a discrete time horizon. Unlike traditional models that assume fixed resource consumption, our framework incorporates stochastic resource consumption, where both the reward and the size of a request are random variables. We develop two Adaptive Threshold Policies (ATP) that achieve near-optimal performance. Specifically, we prove that these policies yield an $O(\log T)$ regret bound relative to an offline prophet, representing the theoretical gold standard for such online decision problems. Our results cover settings with both finite and infinite reward supports, provided certain regularity conditions on the size distributions are met.
Introduction
In modern logistics, cloud computing, and online advertising, decision-makers frequently face "now-or-never" allocation problems. When a request arrives, the system must immediately decide whether to accept it and which resource to utilize, without knowing the specifics of future arrivals. A central difficulty in these environments is that the "size" of a request—the actual amount of resource consumed—is often not known with certainty until the task is processed.
In the paper "Online Resource Allocation with Stochastic Resource Consumption," Jiashuo Jiang and Jiawei Zhang from NYU’s Stern School of Business provide a mathematically rigorous framework for this problem. They move beyond the limitations of "unitary" consumption (where every task consumes exactly one unit) to a more realistic model of continuous, stochastic resource consumption.
Problem Formulation
The authors consider a provider with $m$ types of resources, each starting with a capacity $B_i$. Over $T$ time periods, requests arrive sequentially. For each request $t$, a reward $r_t$ and a resource consumption vector $d_t$ are drawn from a known distribution. The decision-maker must decide:
- Whether to accept or reject the request.
- Which resource $i \in \{1, \dots, m\}$ to assign to the request.
The objective is to maximize the total expected reward over the horizon $T$ while strictly adhering to the capacity constraints of each resource. This generalizes the classic Online Knapsack Problem by allowing the consumption $d_t$ to be a continuous random variable.
The Adaptive Threshold Policy (ATP)
The core contribution of the paper is the development of the Adaptive Threshold Policy (ATP). The policy is derived from a Linear Programming (LP) relaxation of the offline problem, which serves as an upper bound for what an omniscient "prophet" could achieve.
Threshold Structure
The authors demonstrate that the optimal solution to the LP relaxation possesses a threshold structure. Specifically, there exists a critical "price" or threshold for each resource. A request should be accepted if its reward-to-size ratio exceeds this threshold.
Adaptive Re-solving
To handle the uncertainty of future arrivals and the stochastic nature of consumption, the ATP does not rely on a static threshold. Instead, it re-calculates the optimal thresholds at every time step based on the remaining capacity and the remaining time. This "adaptive re-solving" allows the algorithm to correct for earlier deviations and maintain a path toward near-optimality.
Two Operational Settings
The paper provides two distinct versions of the policy:
- ATP1: Designed for cases where rewards are drawn from a finite set. It allows for resource-dependent sizes, assuming that sizes are perfectly positively correlated across different resources for a given request.
- ATP2: Designed for cases where rewards and sizes are resource-independent, allowing for rewards with infinite support (continuous distributions).
Key Theoretical Insights
Logarithmic Regret
The primary metric for performance is "regret"—the difference between the reward obtained by the online policy and the reward obtained by an offline prophet. The authors prove that their policies achieve $O(\log T)$ regret. In the context of online algorithms, $O(\log T)$ is considered the "gold standard," as it implies that the error grows extremely slowly as the time horizon increases. Specifically, the regret bounds are $O(nm^2 \log T)$ for ATP1 and $O(m \log T)$ for ATP2.
Regularity and Curvature
The $O(\log T)$ bound is contingent on "regularity conditions" regarding the probability density of the request sizes. If the size distribution is well-behaved (e.g., Uniform, Exponential, or Truncated Normal), the adaptive threshold can effectively "learn" the optimal allocation strategy rapidly.
Decomposition
For the multi-resource case with finite rewards, the authors show that the problem can be decomposed into $n$ separate sub-problems. This decomposition allows the decision-maker to manage complex resource dependencies by treating different reward levels as distinct allocation tasks, simplifying the computation of the adaptive thresholds.
Conclusion and Future Directions
Jiang and Zhang’s work bridges a significant gap in the literature by extending $O(\log T)$ regret results to the stochastic consumption setting. Their findings suggest that adaptive re-solving is a powerful tool for achieving asymptotic optimality in real-world systems where resource usage is unpredictable.
However, the research also highlights several open challenges:
- Correlation Assumptions: The current model for resource-dependent sizes assumes perfect positive correlation. Relaxing this to allow for independent stochastic consumption across resources remains a complex hurdle.
- Non-Stationarity: The model assumes that requests are drawn from a stationary distribution. Future work could explore how these policies perform under "drifting" distributions or in adversarial environments where the arrival patterns change over time.
By providing a robust theoretical foundation for stochastic resource allocation, this paper offers a blueprint for more efficient management of finite resources in dynamic, high-stakes environments.
Summary updated