Learning-Augmented Algorithms with Explicit Predictors

Marek Elias, Haim Kaplan, Yishay Mansour, Shay Moran

Introduction

Traditional online algorithms are typically designed for the worst-case scenario, ensuring robustness against adversarial inputs but often at the cost of average-case performance. The burgeoning field of learning-augmented algorithms seeks to bridge this gap by incorporating "advice" from machine learning predictors. However, most existing frameworks treat these predictors as static black boxes, ignoring the costs of generating predictions and the potential for the algorithm to learn and adapt its predictor online.

This paper introduces a paradigm shift by "unpacking" the predictor. Instead of assuming a pre-trained model, the authors propose algorithms that explicitly learn a predictor from the input prefix, treating the learning task as a core component of the algorithmic challenge. This approach allows for tighter performance bounds, often achieving additive regret rather than just multiplicative competitive ratios.

The Modular Framework

The authors propose a decoupled framework consisting of two primary components:

  1. The Predictor: A learning module that maintains a hypothesis class $\mathcal{H}$ of potential input scenarios. As data arrives, it identifies the hypothesis that best fits the observed prefix.
  2. The Online Algorithm: This component executes the task (e.g., page eviction or job scheduling) based on the current best hypothesis provided by the predictor.

This separation allows the application of specialized learning theory tools, such as the Halving algorithm or Multiplicative Weights (HEDGE), to classical online problems. Crucially, the framework accounts for "switching costs"—the overhead incurred when the algorithm changes its underlying prediction, which can necessitate significant state re-arrangements in problems like caching.

Problem Domains and Methodology

The research focuses on three classic online optimization problems:

Caching

In the caching problem, the goal is to minimize page misses. The authors use a "Majority Predictor" for the realizable case (where the input matches a hypothesis) and a HEDGE-based randomized predictor for the agnostic case (where the input is merely close to a hypothesis). By learning the sequence structure online, they replace $O(\sqrt{T})$ terms in the regret bound with $O(\log \ell)$, where $\ell$ is the number of hypotheses.

Load Balancing

For load balancing on unrelated machines, the authors demonstrate that an "improper" predictor—one that outputs a median of several hypotheses rather than a single member of $\mathcal{H}$—can be more effective. This approach achieves integral solutions directly, bypassing the need for complex rounding techniques.

Non-Clairvoyant Scheduling

In scheduling, the algorithm must manage job durations without prior knowledge. The authors utilize monotone predictors to learn these durations. A key discovery was a performance separation: while additive bounds are possible for jobs with two distinct lengths, achieving sub-linear regret becomes impossible if there are three or more distinct lengths.

Key Results and Performance Comparison

The primary contribution of this work is the achievement of additive regret bounds for caching and scheduling. Unlike standard competitive ratios (e.g., $2 \cdot OPT$), additive bounds (e.g., $OPT + \text{error}$) provide much stronger guarantees when the optimal cost is large.

Summary of performance bounds for caching, load balancing, and non-clairvoyant scheduling compared to previous state-of-the-art methods.

As shown in the table above, the explicit predictor approach consistently matches or improves upon previous black-box methods. In the agnostic caching setting, the new bound $OPT + O(\mu^* + k \log \ell)$ significantly reduces the dependence on the sequence length $T$ compared to prior work by Emek et al.

Conclusion and Future Directions

By integrating explicit learning components into online algorithms, this research provides a more realistic and powerful model for learning-augmented systems. The transition from multiplicative to additive regret represents a significant theoretical advancement. Future work may extend this framework to more complex state-space problems, such as the k-server problem or general metrical task systems, where the interplay between learning and state transitions is even more intricate.

Summary updated

BibTeX
@inproceedings{elias2024learning,
  author = {Marek Elias and Haim Kaplan and Yishay Mansour and Shay Moran},
  title = {{Learning-Augmented Algorithms with Explicit Predictors}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=0XKvW4ijxp},
}
Figure