Applied Online Algorithms with Heterogeneous Predictors

Jessica Maghakian, Russell Lee, Mohammad Hajiesmaili, Jian Li, Ramesh K. Sitaraman, Zhenhua LiuICML 2023

Machine learning (ML) models are increasingly integrated into decision-making, but their black-box nature and lack of theoretical guarantees often hinder adoption in critical online systems. The emerging field of "algorithms with predictions" bridges this gap by using ML to guide decisions while maintaining worst-case safety nets. However, existing research typically assumes access to only a single predictor. This paper breaks the "one-predictor" mold, demonstrating that combining multiple predictors of different quantities—such as static parameters and dynamic inputs—significantly improves performance, explainability, and computational efficiency.

The Problem: Bridging Theory and Production Reality

In online algorithms, decisions must be made sequentially without knowledge of the future. Traditional worst-case analysis ensures a baseline level of performance, but ML allows systems to "peek" ahead. If the ML prediction is accurate, performance is near-optimal; if it is wrong, the algorithm falls back on its safety net.

In production environments, however, engineers rarely rely on just one model. They manage a "zoo" of models: some forecasting long-term trends, others predicting short-term spikes. This research addresses the gap between single-predictor theory and multi-model reality, focusing specifically on capacity-constrained "rent/buy" problems, such as managing cloud bandwidth costs.

Methodology: A Heterogeneous Approach

The authors introduce a framework for heterogeneous predictors, proposing several algorithmic approaches to leverage different types of forecasts:

  • parSBO (Parameter Prediction): Utilizes a static prediction of the "break-even point" (the threshold where buying becomes cheaper than renting). It is highly efficient but sensitive to prediction errors.
  • inDBO (Input Prediction): Employs a dynamic "look-ahead" window of predicted future demand. It is more robust than parSBO but computationally heavier.
  • The meta Classifier: A meta-algorithm that uses a simple classifier to select the best algorithm for a given scenario based on historical context, running complex optimizations only when absolutely necessary.
  • RoBO (Robustified Break-even Optimization): A family of algorithms incorporating a "trust parameter" ($\lambda$), allowing human operators to tune their reliance on ML advice versus classical safety logic.

Crucially, the RoBO-2 variant simultaneously leverages both parameter and input predictors. The authors mathematically prove that under certain conditions, using two noisy predictors is strictly better than using just one.

Empirical Evaluation: Real-World Stress Tests

The framework was evaluated on two large-scale datasets to test both everyday variability and extreme distributional shifts:

  1. Akamai Production Traffic: A proprietary dataset spanning over 180 global metro areas, capturing the high variability of internet traffic across different geographies.
  2. Milan COVID-19 Lockdown Data: Public peering traffic records from Milan during the 2020 lockdowns. This served as a massive "stress test," where internet demand surged by over 30% almost overnight.

Key Findings and Results

  • Outperforming State-of-the-Art: The meta algorithm improved upon existing state-of-the-art methods (like the WLW algorithm) by up to 11.5% in average-case cost and 28.6% in worst-case cost. Furthermore, it proved to be an order of magnitude faster because it only triggers complex dynamic optimizations less than 9% of the time.
  • Pareto Dominance of Heterogeneity: Theoretical and empirical results confirm that RoBO-2 (two predictors) Pareto-dominates RoBO-1 (one predictor). Combining a static "long-term" view with a dynamic "short-term" view achieves a superior trade-off between consistency (performance with accurate predictions) and robustness (performance with poor predictions).
  • Resilience to Shocks and the "New Normal": The COVID-19 data revealed that while massive shocks initially break predictions, systems quickly stabilize into a new pattern. In these scenarios, RoBO-2 delivered significant performance improvements even with very low trust ($\lambda \approx 0.02$) in the predictors. Interestingly, simple parameter-based models (parSBO) actually outperformed complex ones once the "new normal" was established.

Limitations and Future Directions

The authors note that their theoretical robustness bounds for RoBO-2 are quite conservative compared to its actual, highly successful empirical performance. While the current study focuses on rent/buy problems using parameter and input predictors, the framework shows promise for generalization to other online challenges like facility location or load balancing. Future work could also explore incorporating aggregate statistics or distributional forecasts as additional heterogeneous sources.

Summary updated

BibTeX
@inproceedings{maghakian2023applied,
  author = {Jessica Maghakian and Russell Lee and Mohammad Hajiesmaili and Jian Li and Ramesh K. Sitaraman and Zhenhua Liu},
  title = {{Applied Online Algorithms with Heterogeneous Predictors}},
  booktitle = {International Conference on Machine Learning},
  year = {2023},
  url = {https://openreview.net/forum?id=SOjqVS0E98},
}
Figure