NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

AS-ASL: Algorithm Selection with Auto-sklearn

Brandon M. Malone, Kustaa Kangas, Matti Järvisalo, Mikko Koivisto, Petri Myllymäki

TL;DR

as-asl is an automated framework that uses Auto-sklearn to solve the "algorithm selection problem"—picking the best solver for a specific task instance. By combining greedy feature selection, a two-level stacking model that accounts for runtime uncertainty, and a "presolver" strategy, it provides a robust, open-source pipeline for maximizing computational efficiency.

What Problem Does This Paper Address?

In many areas of computer science, such as SAT solving or combinatorial optimization, there isn't one "perfect" algorithm. Instead, Algorithm A might be lightning-fast on one problem instance but stall indefinitely on another, while Algorithm B behaves the opposite way. This is the Algorithm Selection Problem.

The challenge is building a "scheduler" that can look at a new problem instance, extract some features, and decide which solver to run. However, this introduces two secondary problems:

  1. Feature Cost: Extracting features takes time. If feature extraction takes longer than just running a solver, the selection process is a net loss.
  2. Uncertainty: Predicting exactly how long a solver will take is difficult. Most systems use a single "point estimate," which ignores the inherent risk or variance in the prediction.

Methods

The authors propose a three-step architecture implemented in their software, as-asl:

  1. Feature Set Selection: Not all features are useful. The system uses a greedy, wrapper-based forward selection search. It evaluates feature sets based on the PAR10 metric (Penalized Average Runtime), which heavily penalizes timeouts, ensuring the chosen features actually help avoid slow-running solvers.
  2. Two-Level Stacking Model: This is the core "brain" of the system.
  3. Level 1 (Regression): For every available solver, an ensemble of regression models (built via Auto-sklearn) predicts the runtime. Crucially, instead of just passing a single number to the next stage, they calculate the mean and variance of these predictions to represent uncertainty.
  4. Level 2 (Classification): A final Auto-sklearn classifier takes the original features plus the mean and variance from Level 1 to make the final choice of which solver to run.
  5. Presolver Selection: To handle "easy" instances, the system picks one solver to run for a very short burst before any features are even extracted. If this presolver finishes the job, the system saves the overhead of the entire selection pipeline.

To handle scenarios with dozens of solvers where Auto-sklearn might be too slow, they also implemented as-rf, a faster version using Random Forests with standard hyperparameters.

Datasets

The software was specifically designed for and evaluated on the 2017 Open Algorithm Selection Challenge (OASC). While the paper doesn't list the specific problem domains (which typically include SAT, CSP, and MaxSAT), it focuses on the scenarios provided by the OASC competition framework.

Key Insights and Ideas

  • Embracing Uncertainty: Most algorithm selectors treat runtime predictions as facts. By passing the variance of ensemble predictions into the second-level classifier, as-asl allows the model to "know" when it is guessing, potentially leading to more conservative, safer solver choices.
  • AutoML for Algorithm Selection: The authors essentially use "Meta-AutoML." They use Auto-sklearn (which automates machine learning) to automate the process of picking algorithms for other non-ML tasks.
  • The "Presolver" Safety Net: Recognizing that feature extraction has a cost is vital. The inclusion of a presolver step acknowledges that for some instances, the "smart" approach is actually slower than a "brute force" quick start.

Key Results

  • Efficiency: Typical training runs for the OASC scenarios took between one to two hours, making the approach computationally feasible for researchers.
  • Resource Constraints: The authors demonstrated that effective models could be trained even with strict limits (e.g., 10 minutes of Auto-sklearn training per model on standard Dell PowerEdge nodes).
  • Open Source: The authors released the entire pipeline under the MIT license, providing a reusable tool for the community to apply Auto-sklearn to algorithm selection tasks.

Limitations and Future Work

  • Computational Expense: While the 1-2 hour runtime is reasonable, the authors noted that Auto-sklearn can be expensive when dealing with many solvers, necessitating the "as-rf" (Random Forest) fallback.
  • One-Way Uncertainty: Currently, uncertainty is only propagated from the runtime predictors to the solver selector. The authors suggest that future versions could also quantify and utilize the uncertainty within the final solver selection step itself.
  • Fixed Budgets: The current model uses a fixed time budget for presolving; a more dynamic approach to time allocation could potentially improve performance.

Summary updated

BibTeX
@inproceedings{malone2017as,
  author = {Brandon M. Malone and Kustaa Kangas and Matti Järvisalo and Mikko Koivisto and Petri Myllymäki},
  title = {{AS-ASL: Algorithm Selection with Auto-sklearn}},
  booktitle = {OASC},
  year = {2017},
  url = {https://openreview.net/forum?id=cDB9X3-r1f},
}
Figure