On Tradeoffs in Learning-Augmented Algorithms

Ziyad Benomar, Vianney Perchet

Abstract

The field of learning-augmented algorithms has gained significant attention in recent years. Using potentially inaccurate predictions, these algorithms must exhibit three key properties: consistency, robustness, and smoothness. In scenarios with stochastic predictions, a strong average-case performance is required. Typically, the design of such algorithms involves a natural tradeoff between consistency and robustness, and previous works aimed to achieve Pareto-optimal tradeoffs for specific problems. However, in some settings, this comes at the expense of smoothness. In this paper, we explore the tradeoffs between all the mentioned criteria and show how they can be balanced.

Introduction

Online algorithms traditionally focus on robustness—minimizing the competitive ratio in the worst-case scenario. Learning-augmented algorithms extend this by incorporating machine learning predictions to improve performance when predictions are accurate (consistency). However, a critical and often overlooked property is smoothness: the requirement that performance degrades gracefully as prediction error increases.

Many existing algorithms that are Pareto-optimal in terms of consistency and robustness suffer from brittleness. In these cases, even a marginal prediction error can cause the competitive ratio to jump from a near-optimal value to the worst-case bound. This paper addresses this gap by analyzing three fundamental problems: Line Search, One-Max Search, and Ski-Rental.

Smoothing via Randomization

In problems like Line Search and One-Max Search, brittleness is inherent in deterministic Pareto-optimal designs. To mitigate this, we introduce a randomization parameter $\rho$. Instead of relying on a raw prediction $y$, the algorithm utilizes a perturbed version $\tilde{y}$. This approach effectively "blurs" the decision boundaries, preventing the sharp performance drops characteristic of brittle algorithms.

Randomization (ρ) smooths the competitive ratio in Line Search, preventing performance cliffs.

As shown in Figure 3, increasing the randomization parameter $\rho$ leads to a smoother competitive ratio across the range of predictions. However, this smoothness is not free; there is an inherent tradeoff where increased smoothness typically results in a reduction in consistency (performance with a perfect prediction).

Improved Bounds for Ski-Rental

For the classic Ski-Rental problem, we propose a new parameterized deterministic algorithm, $A^{SR}_{\lambda, \rho}$. This design allows for a fine-tuned balance between consistency, robustness, and smoothness. Our analysis reveals a hidden tension: striving for maximum smoothness can actually degrade average-case performance.

Comparison of the proposed average-case bound (Corollary 4.3) against prior work for the Ski-Rental problem.

We provide a tighter average-case bound, Corollary 4.3, which outperforms previous state-of-the-art results from Benomar & Perchet (2023). Our results indicate that when the prediction's "side" (e.g., whether to rent or buy) is likely to be correct, a lower value of $\rho$ (less smoothing) is actually optimal for average-case efficiency.

Key Insights and Results

Our investigation highlights several critical takeaways for the design of learning-augmented algorithms:

  1. The Smoothness-Consistency Tradeoff: In Line Search and One-Max Search, randomization provides a safety net against small errors but necessitates a sacrifice in peak performance on perfect predictions.
  2. Randomization as a Robustness Tool: Intentionally introducing noise can make an algorithm more reliable in real-world deployments where predictions are rarely perfect.
  3. Average-Case vs. Smoothness: In Ski-Rental, we demonstrate that the pursuit of smoothness must be balanced against average-case performance, as the two can be at odds.

Conclusion

This work establishes a three-way tradeoff between consistency, robustness, and smoothness. By introducing strategic randomization and new deterministic frameworks, we show how to build algorithms that are not only theoretically optimal in the worst case but also practical and resilient to prediction noise. Future research should aim to characterize the full Pareto-optimal front encompassing all three criteria across a broader range of algorithmic problems.

Summary updated

BibTeX
@inproceedings{benomar2025tradeoffs,
  author = {Ziyad Benomar and Vianney Perchet},
  title = {{On Tradeoffs in Learning-Augmented Algorithms}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2025},
  url = {https://openreview.net/forum?id=dZCQCanOAg},
}
Figure