Online algorithms—those that must make decisions without full knowledge of the future—are increasingly being augmented with machine learning (ML) predictions. However, standard ML models are often noisy or overconfident. This research, presented at ICML 2025, introduces calibration as a superior framework for handling prediction uncertainty in online decision-making, outperforming traditional methods like global trust parameters or conformal prediction.
The Problem: Uncertainty in Advice
In the "algorithms with predictions" framework, the goal is to use ML forecasts to improve an algorithm's performance (its competitive ratio). Existing approaches typically handle model fallibility in two ways:
- Global Trust: Setting a single parameter to weight the model's overall reliability, which fails to account for instance-specific confidence.
- Conformal Prediction: Providing intervals that contain the true value with high probability. In high-variance settings, these intervals often become too wide (e.g., predicting a value is between 0 and 100) to provide actionable guidance.
This paper proposes using calibrated predictions, where a model’s predicted probability of an event matches its actual observed frequency. This allows algorithms to exploit local, instance-specific uncertainty.
Application: The Ski Rental Problem
The classic "rent-or-buy" dilemma (Ski Rental) involves deciding whether to rent equipment for a daily fee or buy it for a larger upfront cost without knowing how many days you will ski. The authors develop Algorithm 1, which uses a calibrated probability $v$ (the likelihood that the total skiing duration will justify a purchase).
Unlike binary predictors that force a hard choice, the calibrated algorithm smoothly interpolates between a cautious worst-case strategy and a greedy strategy based on the model's confidence.
As shown in the experimental results using NYC Citi Bike ridership data, the calibrated approach achieves a lower expected competitive ratio across a wide range of breakeven points compared to naive binary predictors.
Application: Online Job Scheduling
In job scheduling, a machine must process jobs with unknown priorities to minimize weighted completion time. The authors introduce a $\beta$-threshold rule (Algorithm 3): if the calibrated probability of a job being high-priority exceeds $\beta$, it is processed preemptively; otherwise, it is handled non-preemptively.
A key insight here is that granularity matters. Coarse predictors that only output a few values lead to "ties" in job ordering that must be broken randomly. Finer-grained, calibrated predictions reduce these ties, leading to fewer "inversions" (wrongly ordered jobs) and lower delay costs, as demonstrated on clinical sepsis datasets.
Key Insights and Theoretical Bounds
The paper’s core technical contribution is proving that an algorithm's performance degrades gracefully as a function of the model's calibration error ($\alpha$) and mean-squared error ($\eta$).
- Calibration vs. Conformal Prediction: In binary settings where a conformal approach might return a vague "{0, 1}" set, a calibrated predictor provides a specific probability (e.g., 60%), which is actionable information for hedging bets.
- Smooth Degradation: The algorithms are robust; their competitive ratios do not "fall off a cliff" if the model is slightly miscalibrated, ensuring reliability even with imperfect advice.
Conclusion
By shifting the focus from global trust to instance-level calibration, this research provides a more nuanced way to integrate ML into online systems. While current work focuses on binary targets, the authors suggest that extending these calibration-based guarantees to continuous distributions is a promising next step for the field.
Summary updated