Competitive Algorithms for Cooperative Multi-Agent Ski-Rental Problems

Xuchuang Wang, Bo Sun, Hedyeh Beyhaghi, John C. S. Lui, Mohammad Hajiesmaili, Adam WiermanarXiv 2025 · DOI

TL;DR

This paper generalizes the classic "ski-rental" problem to a multi-agent setting where a group can choose between renting, buying individual passes, or purchasing a discounted group pass. The authors prove that despite agent heterogeneity, symmetric, state-aware policies—where all active agents follow the same dynamic threshold—are optimal for minimizing competitive ratios across group and individual perspectives.

What Problem Does This Paper Address?

The classical ski-rental problem is a cornerstone of online algorithms: do you rent skis for \$1/day or buy them for \$B? The optimal strategy is to rent until day $B$ and then buy, ensuring you never pay more than twice the "offline optimal" (the cost you would have paid if you knew exactly how many days you'd ski in advance).

However, real-world decisions often happen in groups. Think of a research lab buying an Overleaf subscription, a neighborhood investing in a community solar project, or a company managing a fleet of cars. In these cases, there is often a third option: a group pass that is cheaper than the sum of individual passes but must be shared. The challenge is that agents have different "active days" (some ski for 5 days, others for 50). As agents finish their active days and drop out, the "state" of the group changes, complicating the decision of when—or if—to pull the trigger on a group purchase.

Methods

The authors use competitive analysis to design algorithms that perform well even when the number of active days for each agent is unknown. They define three distinct objectives:

  1. Overall Competitive Ratio (CR): Minimizing the total cost of the entire group.
  2. State-Dependent CR: Minimizing the cost for remaining agents, treating the costs of agents who have already left as "sunk costs."
  3. Individual Rational CR: Ensuring that self-interested agents reach a Nash Equilibrium where no one is incentivized to deviate from the group strategy.

The core technical contribution is the design of state-aware threshold functions. Unlike the static threshold in the single-agent version, these thresholds $T(\ell)$ update dynamically based on $\ell$, the number of agents who have already become inactive.

The authors analyze both:

  • Deterministic Policies: Fixed thresholds where the group buys a pass once a specific day is reached.
  • Randomized Policies: Thresholds sampled (and resampled) from tailored probability distributions to "confound" an adversary and achieve better average-case performance.

Datasets

The paper does not use real-world datasets; instead, it employs synthetic simulations to validate the theoretical bounds.

  • Setup: 10 agents with varying rental and purchase costs ($B=200, G=1500$).
  • Distribution: Active days are sampled from normal distributions with different means (140–180) and standard deviations ($\sigma = 10, 30, 50, 70$) to test the impact of agent heterogeneity.
  • Scale: Each experiment is repeated 10,000 times to generate histograms and Cumulative Distribution Functions (CDFs) of the competitive ratios.

Key Insights and Ideas

  • Symmetry Beats Asymmetry: One might think that agents with different needs should have different thresholds. However, the authors rigorously prove that symmetric policies (where all active agents adopt the same threshold) are optimal in almost all heterogeneous settings. This simplifies group coordination significantly.
  • The "State" is the Key: In the multi-agent version, the "state" isn't just time; it's the history of who has dropped out. An optimal online algorithm must be "state-aware," revising its purchase threshold every time an agent becomes inactive.
  • Sunk Cost Logic: The "State-Dependent" policy, which ignores money already spent by departed agents, actually performs the best in practical, average-case scenarios, even though it's designed for a specific worst-case ratio.
  • Homogeneous Exception: The only case where asymmetric policies might have an edge is the "homogeneous" deterministic case (where everyone is known to have the same number of active days), as it allows the group to "trick" an adversary.

Key Results

  • Theoretical Optimality: The authors provide matching upper and lower bounds for all three competitive ratios. For randomized policies, the competitive ratio converges to $e/(e-1) \approx 1.58$ as costs grow, matching the efficiency of the classical single-agent ski-rental problem.
  • Empirical Performance: In simulations, the "Det SD" (Deterministic State-Dependent) policy consistently achieved the lowest average group cost.
  • Robustness: As the group becomes more heterogeneous (higher $\sigma$), state-aware adaptive policies significantly outperform "state-unaware" baselines that use a fixed threshold.

Limitations and Future Work

  • Cost Sharing: The model assumes the group pass cost is split equally. The authors acknowledge that in the real world, "fair" cost-sharing (e.g., using Shapley values or proportional splitting based on usage) is a complex open question.
  • Temporary Passes: The current model assumes a "buy" lasts forever. Future work could explore "temporary" group passes (like the Bahncard problem) that only provide discounts for a limited window.
  • Learning Augmentation: The authors suggest integrating machine learning predictions. If an algorithm has a "hint" about how long agents will stay active, it could potentially break the $1.58$ barrier.

Summary updated

BibTeX
@misc{wang2025competitive,
  author = {Xuchuang Wang and Bo Sun and Hedyeh Beyhaghi and John C. S. Lui and Mohammad Hajiesmaili and Adam Wierman},
  title = {{Competitive Algorithms for Cooperative Multi-Agent Ski-Rental Problems}},
  year = {2025},
  eprint = {2507.15727},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2507.15727},
}
Figure