Introduction: The Flaw of Point Predictions
The "ski rental" problem is a classic rent-or-buy dilemma in online algorithms: do you rent skis for $1 a day or buy them outright for $b? Without knowing the total number of ski days ($T$), the classic deterministic strategy is to rent until day $b-1$ and buy on day $b$, guaranteeing a cost no more than twice the optimum.
Recently, the "algorithms with predictions" framework has sought to improve this using machine learning advice. However, existing work predominantly relies on point predictions (e.g., "You will ski for exactly 10 days"). The authors argue that point predictions are inherently lossy. Imagine an ML model predicts a 50% chance of a short 5-day season and a 50% chance of a long 50-day season. A point prediction might simply output the mean or one of the modes. If it predicts 5 days but you end up skiing for 50, you might rent indefinitely and incur massive costs. This paper addresses this vulnerability by utilizing distributional predictions—where the advice is a full probability distribution over possible skiing durations.
Methodology: Delay and Truncation
The authors propose an algorithm that takes a predicted distribution $\hat{p}$ and the purchase cost $b$ as inputs. It introduces two key mechanisms to handle the uncertainty of the prediction:
- The $\sqrt{b}$ Delay: Rather than blindly following the optimal policy for the predicted distribution $\hat{p}$, the algorithm calculates the optimal buying day for $\hat{p}$ and adds a buffer of $\sqrt{b}$ days. This balances the risk of buying too early against renting for too long.
- Tail Truncation: To ensure robustness against wildly inaccurate predictions, the algorithm calculates a threshold $U$ where the "tail" of the predicted distribution becomes negligible (specifically, less than $1/\sqrt{b}$). It forces a purchase no later than $U + \sqrt{b}$, preventing a "garbage" prediction with an infinitely long tail from tricking the algorithm into renting forever.
Theoretical Guarantees: Consistency vs. Robustness
The error between the predicted distribution $\hat{p}$ and the true distribution $p$ is measured using the Earth Mover’s Distance (EMD), denoted as $\eta$. The algorithm achieves an expected cost of at most:
$$OPT + O\left(\min \left(\max(\eta,1) \cdot \sqrt{b},\ b \log b \right) \right)$$
Crucially, the algorithm is parameter-free regarding the prediction error—it does not need to know $\eta$ in advance. This yields two powerful guarantees:
- Consistency: When the prediction is perfect ($\eta = 0$), the additive loss is bounded by $O(\sqrt{b})$.
- Robustness: Even if the prediction is completely inaccurate, the additive loss never exceeds $O(b \log b)$.
The authors provide lower bounds proving that this tradeoff is essentially tight; the $O(\sqrt{b})$ factor is mathematically necessary to handle distributional uncertainty, meaning the additive loss cannot scale linearly with the prediction error $\eta$.
Experimental Validation
Because the paper is primarily theoretical, it relies on synthetic datasets like bimodal distributions and Gaussian mixtures to demonstrate the algorithm's efficacy. In a bimodal experiment with a buying cost of $b=100$, the proposed algorithm achieved a cost of approximately 85—remarkably close to the theoretical optimum of 80. In contrast, point-prediction baselines collapsed the distribution into a single mode and suffered a much higher cost of roughly 132.
Limitations and Future Directions
The authors benchmark their performance against the expected optimal policy for the true distribution, which differs from the "optimum in hindsight" metric used in some classic online analyses. Additionally, current proofs assume the number of days is capped at a finite maximum $N$, though this is primarily for technical convenience.
Future work could extend this distributional prediction framework to more complex online problems, such as caching (paging) or the $k$-server problem, where advice is often inherently uncertain.
Summary updated