Machine Learning for Online Algorithm Selection under Censored Feedback

Alexander Tornede, Viktor Bengs, Eyke Hüllermeier

Introduction

Algorithm Selection (AS) is critical in domains like SAT solving or Constraint Satisfaction where no single algorithm dominates across all problem instances. In the online setting (OAS), agents must learn instance-specific preferences on the fly. A significant challenge in this context is censored feedback: algorithms are often terminated at a predefined cutoff time $C$, providing only a lower bound on the true runtime. Naive approaches that ignore or incorrectly impute these values (e.g., assuming the runtime was exactly $C$) introduce a systematic bias that makes slow algorithms appear faster than they are, leading to suboptimal selection strategies.

Proposed Framework

The authors propose a theoretically grounded framework for OAS under censored feedback by modeling the problem as a contextual multi-armed bandit. Their approach moves beyond simple heuristics to explicitly handle the uncertainty of timeouts.

Log-Linear Modeling and PAR10 Loss

To handle heavy-tailed runtimes, the system models the log-runtime as a linear function of problem features. Performance is evaluated using the PAR10 score, which penalizes timeouts by ten times the cutoff. The framework derives an expected PAR10 loss minimization strategy that explicitly accounts for the probability of an algorithm exceeding the cutoff when making a selection.

Thompson Sampling and Buckley-James Estimation

Two primary strategies are introduced to balance exploration and exploitation while mitigating censoring bias:

  1. Thompson Sampling (thompson_rev): A Bayesian approach that samples model weights from a posterior distribution, naturally managing the uncertainty inherent in censored data.
  2. Buckley-James Integration (bj_thompson): Borrowed from survival analysis, this technique iteratively "augments" censored observations by replacing them with expected values derived from the current model, allowing for more accurate updates to the learner.
Performance vs. Prediction Time for various OAS strategies. Thompson variants (bottom right) achieve the best balance of low rePAR10 and manageable prediction time.

Experimental Evaluation

The methods were tested on ASlib (v4.0), the gold-standard benchmark library for algorithm selection. The authors simulated an online stream across 25+ scenarios including SAT, TSP, and CSP, requiring agents to update models immediately after each observation.

Performance Results

The Thompson Sampling variants significantly outperformed traditional bandit algorithms like LinUCB and previous state-of-the-art methods. As shown in the detailed results, bj_thompson and thompson_rev consistently achieve lower average PAR10 scores across diverse problem classes, improving performance by approximately 6% over the previous leading approach by Degroote et al.

Detailed PAR10 scores across ASlib scenarios. Bold values indicate the best performance, showing the dominance of Thompson Sampling variants over the previous state-of-the-art (Degroote et al.).

Conclusion

This work demonstrates that addressing censoring bias is crucial for effective online algorithm selection. By combining Thompson Sampling with survival analysis techniques like the Buckley-James estimator, the proposed framework achieves superior performance while maintaining the scalability required for real-time systems. Future work will explore non-linear models, such as online Random Forests, to capture more complex performance patterns.

Summary updated

BibTeX
@inproceedings{tornede2022machine,
  author = {Alexander Tornede and Viktor Bengs and Eyke Hüllermeier},
  title = {{Machine Learning for Online Algorithm Selection under Censored Feedback}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2022},
  doi = {10.1609/aaai.v36i9.21279},
}
Figure