Introduction
In the landscape of online resource allocation—ranging from cloud computing and digital advertising to retail and shared mobility—platforms must make real-time decisions about which products or services to offer customers. A cornerstone strategy for maximizing revenue in these environments is Inventory Balancing (IB). IB algorithms work by dynamically adjusting the perceived cost of a resource based on its scarcity: as inventory depletes, the algorithm becomes more selective, preserving remaining stock for high-value requests.
Traditionally, these algorithms rely on a fundamental assumption: inventory is a depleting resource that only moves downward. However, real-world systems are rarely so simple. This paper addresses the challenge of "inventory shocks"—unpredictable fluctuations where supply can increase or return—and introduces a robust new framework called Batched Inventory Balancing (BIB).
The Problem of Inventory Shocks
Standard IB proofs and performance guarantees break down when inventory levels fluctuate non-monotonically. The authors identify two primary types of shocks that complicate online planning:
- Endogenous Shocks (Reusable Resources): In sectors like cloud computing or vacation rentals, a resource is "bought" for a period and then returns to the inventory pool.
- Exogenous Shocks (Supply Injections): In retail, inventory may increase due to customer returns or the arrival of new shipments. In crowdsourcing, new volunteers may join a platform unexpectedly.
When inventory can increase, the classic mathematical relationship between remaining stock and optimal pricing is severed. Existing algorithms often over-react to temporary surges or fail to account for the future availability of returning items, leading to sub-optimal revenue.
The Batched Inventory Balancing (BIB) Algorithm
To restore the theoretical guarantees of online allocation in the face of shocks, the authors propose Batched Inventory Balancing (BIB). The core innovation of BIB is the treatment of inventory units as discrete batches rather than a continuous pool.
The Batching Mechanism
BIB organizes units into batches of a fixed size. Each batch exists in one of two states:
- Charging: A newly arrived or returned unit enters a "charging" phase. The batch is not available for sale until it has accumulated enough units to meet a specific threshold (denoted as $\gamma$).
- Ready: Once the threshold is met, the batch becomes "ready" and can be used to satisfy customer demand.
By implementing this charging phase, the algorithm creates a mathematical buffer. This prevents the "noise" of small, frequent supply injections from causing erratic shifts in the pricing logic. When a customer arrives, BIB determines the assortment to display by penalizing product prices based on the inventory level of the "readiest" available batch.
Theoretical Innovation: The Interval Assignment Problem
The primary theoretical hurdle in this research was proving that BIB could achieve the "gold standard" competitive ratio of $1 - 1/e$ (~63.2%) despite non-monotonic inventory. To solve this, the authors developed a randomized primal-dual analysis centered on a new combinatorial challenge: the Interval Assignment Problem (IAP).
In a system with shocks, the dual variables (which represent the opportunity cost of resources) do not behave predictably. The IAP allows the authors to "re-label" the usage intervals of products. By mapping these intervals to a set of integers that behave like a depleting resource, they create a surrogate inventory path that is monotonic. This mapping allows the researchers to apply classic dual-fitting techniques to a non-classic problem, proving that BIB remains asymptotically optimal as initial inventory grows.
Experimental Results
The authors validated BIB through simulations involving 3,000 time periods and 6 products, using a Multinomial Logit (MNL) choice model for consumer behavior.
- Performance vs. Heuristics: BIB consistently outperformed "obvious" modifications of standard IB. In one scenario, BIB achieved a revenue of approximately 5607, while Static-Capacity IB (which ignores shocks) trailed at 5103.
- Robustness to Heterogeneity: The algorithm proved stable across various arrival patterns. While other algorithms saw performance degradation as customer arrivals became more heterogeneous, BIB’s performance remained consistent.
- Simplicity: A key advantage of BIB is that it does not require the platform to know the future arrival rate of shocks or the exact return times of reusable items. It only needs to monitor the current state of its batches.
Conclusion and Future Work
Batched Inventory Balancing provides a theoretically sound and practically robust solution for online assortment planning in volatile environments. By introducing the batching and charging framework, the authors demonstrate that the $1 - 1/e$ competitive ratio is achievable even when the assumption of monotonic inventory is removed.
Future research directions include extending the formal proofs to account for stochastic (random) return durations and incorporating negative exogenous shocks, such as inventory damage or loss. Additionally, exploring the intersection of BIB with inventory holding costs would provide further utility for physical retail applications.
Summary updated