Controlling tail risk in two-slope ski rental

Qiming Cui, Michael Dinitz

Abstract

This paper investigates a generalization of the classic ski rental problem by incorporating two-slope cost structures and tail risk constraints. In this setting, "buying" reduces the ongoing cost rate rather than eliminating it, and the objective is to minimize the expected competitive ratio subject to a constraint on the probability of exceeding a specific performance threshold. We characterize the optimal strategy's structure, proving it involves a combination of "CR-tight" and "mass-tight" constraints. We propose a Binary Search Greedy algorithm and a Linear Programming formulation to find optimal randomized strategies. Our results reveal complex behaviors in the low-risk regime, including phase transitions and non-unique optimal solutions.

Introduction

The classic ski rental problem is a fundamental model in online algorithms, representing the dilemma of whether to continue paying a recurring cost (renting) or to pay a large upfront fee to eliminate future costs (buying). The goal is typically to minimize the competitive ratio—the ratio of the online algorithm's cost to the cost incurred by an offline adversary with perfect foresight.

This research extends the classical model in two critical dimensions. First, it introduces two-slope costs, where buying an asset reduces the marginal cost per unit of time from a higher rate to a lower, non-zero rate. This more accurately reflects scenarios like upgrading manufacturing equipment or cloud computing instances where operational costs persist after an initial investment. Second, it introduces tail risk constraints. While traditional algorithms optimize for average-case or worst-case performance, many real-world applications in finance and systems engineering require bounding the probability of a "disastrous" outcome—specifically, ensuring that the probability of the competitive ratio exceeding a threshold $\gamma$ is capped at a small value $\delta$.

Problem Formulation

In the two-slope ski rental problem, an agent pays a cost of 1 per unit time until they decide to "buy" at time $t$. Upon buying at time $t$, they pay a fixed cost $b$ and thereafter pay a reduced rate $a$ (where $0 < a < 1$) per unit time. The game ends at an unknown time $y$.

The objective is to find a randomized strategy—a probability distribution over buying times—that minimizes the expected competitive ratio while satisfying the tail risk constraint: $$\mathbb{P}(\text{Competitive Ratio} > \gamma) \le \delta$$

Methodology

The authors employ a combination of theoretical structural analysis and algorithmic design to solve this constrained optimization problem.

Structure Theorems

The researchers characterize the optimal solution through the lens of "tightness." They demonstrate that an optimal strategy must satisfy one of two conditions at any given point: it is either CR-tight (the expected competitive ratio exactly hits the target) or mass-tight (the strategy has exhausted the allowed risk budget $\delta$). This structural insight allows the problem to be framed as a search for the optimal distribution that balances these two constraints.

Algorithmic Approaches

  1. Binary Search Greedy: The authors prove that if the optimal competitive ratio (OPT) is known, the optimal probability distribution can be constructed greedily. Since OPT is unknown, they implement a fast algorithm that binary searches for the best possible ratio. This approach is highly efficient, typically reaching a precision of $10^{-6}$ within 12-15 iterations.
  2. Linear Programming (LP): The paper proves that an optimal solution exists with "finite support," meaning the agent only needs to consider buying within a specific, bounded time range. This allows the problem to be discretized and solved exactly using Linear Programming, providing a benchmark for the faster greedy heuristic.

Key Insights and Results

The Complexity of Small Risk

The study reveals that the optimal strategy becomes significantly more complex when the risk tolerance $\delta$ is very small. In the classical ski rental problem, the optimal strategy is relatively smooth. However, under tail risk constraints, the optimal probability density function can "shatter" into a series of discrete spikes and gaps. This behavior reflects the algorithm's need to avoid specific "bad intervals" where an adversary could stop the game to force a high competitive ratio.

Phase Transitions and Non-Uniqueness

The authors identify a threshold for $\delta$. Above this threshold, the problem's behavior mirrors the classical version. Below it, the solution structure changes fundamentally. Furthermore, unlike the classical problem which often yields a unique optimal randomized strategy, the two-slope version with tail risk can support multiple, distinct strategies that all achieve the same optimal expected performance.

Finite Support

A major theoretical contribution is the proof that the optimal distribution always has a finite support $[0, L_b] \cup \{\infty\}$. This implies there is a definitive time $L_b$ after which an agent should either buy immediately or wait indefinitely; there is no benefit to "trickling" the probability of buying into the infinite future.

Conclusion

By combining two-slope cost structures with tail risk constraints, this paper provides a more robust framework for decision-making under uncertainty. The discovery of the "shattered" strategy structure in low-risk regimes challenges the intuition that optimal online strategies should be smooth or simple.

Future research directions include extending these findings to multi-slope problems (where multiple levels of upgrades are available) and exploring scenarios with multiple risk constraints (e.g., simultaneously bounding the 1% and 5% tails). Such extensions would further bridge the gap between theoretical online algorithms and complex, real-world financial and operational decision-making.

Summary updated

BibTeX
@inproceedings{cui2025controlling,
  author = {Qiming Cui and Michael Dinitz},
  title = {{Controlling tail risk in two-slope ski rental}},
  booktitle = {WAOA},
  year = {2025},
  url = {https://openreview.net/forum?id=Tavnq6E4k3},
}
Figure