AdaSwitch: An Adaptive Switching Meta-Algorithm for Learning-Augmented Bounded-Influence Problems

Xi Chen, Yuze Chen, Yuan ZhouarXiv 2025 · DOI

Introduction

In online decision-making, algorithms must process requests sequentially without knowledge of future events. Traditionally, performance is measured by the competitive ratio, comparing the online algorithm's performance to an optimal offline counterpart. Recently, the field of "learning-augmented algorithms" has emerged, seeking to improve performance by incorporating machine learning predictions. This introduces a critical trade-off between consistency (performance with perfect predictions) and robustness (performance guarantees when predictions are adversarial).

The AdaSwitch Meta-Algorithm

AdaSwitch is a general meta-algorithm designed to navigate this trade-off for a broad class of "bounded-influence" problems. It functions as a wrapper around two components: a "conservative" online oracle that provides safety guarantees and a "predictive" offline oracle that optimizes based on future predictions.

The AdaSwitch Meta-Algorithm architecture showing the interaction between predictive and conservative states.

The algorithm operates in two primary states:

  1. Conservative State: AdaSwitch follows the online oracle, building up a reward "buffer."
  2. Predictive State: Once a sufficient buffer is established, the algorithm switches to the predictive state, following the offline oracle to exploit potential gains from predictions.

Transitions are governed by the cumulative prediction error. If the error exceeds a threshold, the system reverts to the conservative state to rebuild its buffer.

Bounded Influence and Generality

The core innovation of AdaSwitch is its reliance on the bounded-influence property. This property ensures that a single decision has a limited impact on future rewards, allowing the algorithm to "gamble" on predictions with the knowledge that it can recover from errors. This makes AdaSwitch applicable to diverse problems, including:

  • Online Lead-Time Quotation (OLTQ): Managing manufacturing lead times.
  • k-server Problems: Generalizing caching and movement tasks.
  • Reusable Resource Allocation: Managing shared assets like cloud GPUs or bike-sharing fleets.

Key Results and Comparative Analysis

Theoretical analysis demonstrates that AdaSwitch achieves near-perfect consistency and near-optimal robustness. Its performance gracefully interpolates between these two regimes based on prediction quality.

In the context of OLTQ, AdaSwitch was compared against the state-of-the-art Q-FRAC algorithm. As shown in the table below, AdaSwitch offers superior theoretical bounds and introduces an instance-dependent bound that improves performance in high-stakes, long-running scenarios.

Theoretical comparison of AdaSwitch and Q-FRAC for the Online Lead-Time Quotation (OLTQ) problem.

Numerical experiments using synthetic data (e.g., i.i.d. geometric distributions for OLTQ) confirm these theoretical findings, showing that AdaSwitch consistently outperforms benchmarks across various request sequence lengths and robustness levels.

Conclusion

AdaSwitch provides a robust framework for integrating ML predictions into online decision-making. By identifying bounded influence as a key primitive, the authors offer a template for creating safe, high-performance algorithms. Future work may involve extending the algorithm to handle distributional forecasts and exploring metrics beyond the competitive ratio, such as regret bounds.

Summary updated

BibTeX
@misc{chen2025adaswitch,
  author = {Xi Chen and Yuze Chen and Yuan Zhou},
  title = {{AdaSwitch: An Adaptive Switching Meta-Algorithm for Learning-Augmented Bounded-Influence Problems}},
  year = {2025},
  eprint = {2509.02302},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2509.02302},
}
Figure