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

ASlib: A benchmark library for algorithm selection

Bernd Bischl, Pascal Kerschke, Lars Kotthoff, Marius Lindauer, Yuri Malitsky, Alexandre Fréchette, Holger H. Hoos, Frank Hutter, Kevin Leyton-Brown, Kevin Tierney, Joaquin Vanschoren · DOI

TL;DR

The algorithm selection problem—using machine learning to choose the best algorithm for a specific problem instance—has seen massive success in AI, but the field has historically lacked standardized benchmarks. This paper introduces ASlib, a standardized data format and growing repository of benchmark scenarios for algorithm selection. By providing pre-computed performance data and tools for automated analysis, ASlib drastically lowers the barrier to entry and enables fair, reproducible comparisons of machine learning models.

What Problem Does This Paper Address?

In computer science, particularly when dealing with NP-hard problems like Boolean Satisfiability (SAT) or Constraint Satisfaction Problems (CSP), there is rarely a single "master algorithm" that solves all instances optimally. Instead, different algorithms excel on different types of instances. Algorithm selection tackles this by using machine learning to look at the features of a problem instance and predict which algorithm from a portfolio will solve it fastest.

Despite the success of algorithm selection (often dominating solver competitions), the research community lacked a standard format or centralized repository for this data. Researchers had to manually gather raw data, run computationally expensive solver evaluations themselves, and write custom parsers just to test a new machine learning model. Furthermore, traditional solver competitions often actively discourage portfolio-based approaches. ASlib was created to solve this by providing a standardized ecosystem to evaluate algorithm selectors on their own terms.

Methods

The authors developed a comprehensive ecosystem for algorithm selection benchmarking:

  • The ASlib Format: A standardized file structure that captures meta-information, pre-computed algorithm performance (e.g., runtime, accuracy), instance features, feature computation costs, and cross-validation splits.
  • Automated Exploratory Data Analysis (EDA): An online platform (aslib.net) and an R package (aslib) that automatically generate performance distributions, cumulative density functions, and solver correlation matrices for any uploaded scenario.
  • Baseline Benchmarking Study: To prove the library's utility, the authors used the LLAMA toolkit to evaluate standard ML approaches across all datasets. They tested classification (SVM, Random Forest, CART), regression (Linear, Random Forest, CART), and clustering (XMeans) models.
  • Subset Selection: They applied forward selection to both the algorithms and the features to see if smaller, pruned portfolios could achieve the same performance as the full sets.

Datasets

ASlib Release 2.0 includes 17 algorithm selection scenarios spanning 6 different problem domains:

  1. SAT (Propositional Satisfiability)
  2. QBF (Quantified Boolean Formula)
  3. MAXSAT (Maximum Satisfiability)
  4. CSP (Constraint Satisfaction Problem)
  5. ASP (Answer Set Programming)
  6. PREMAR (Container pre-marshalling)

Crucial distinction: These datasets do not contain the actual problem instances or solver binaries. Instead, they contain the pre-computed features and performance metrics. This means ML researchers can train and test selection models in minutes or hours, rather than spending CPU-years actually running the solvers.

Key Insights and Ideas

  • Pre-computation democratizes the field: By decoupling the execution of hard combinatorial solvers from the training of the ML selection models, ASlib allows data scientists and ML engineers to contribute to algorithm selection without needing deep domain expertise in things like SAT solving.
  • Solver redundancy is rampant: The automated correlation matrices reveal that many solvers in a given portfolio are highly correlated in their performance. Portfolios can often be drastically pruned without losing effectiveness.
  • Feature efficiency: You rarely need all the features you compute. The study showed that a tiny fraction of instance features is usually enough to reliably predict solver performance, which is critical since computing features takes time away from actually solving the problem.

Key Results

  • Random Forests dominate: Random regression forests were the clear winner among the tested ML models, achieving the best performance on 13 out of the 17 datasets.
  • Selection beats the single best: Almost all ML-based algorithm selection approaches successfully outperformed the "single best solver" baseline (the single algorithm that performs best on average across the whole dataset).
  • Massive reduction via subset selection: Forward selection proved highly effective. For example, on the SAT12-RAND scenario, the portfolio was reduced from 31 solvers down to just 2, and the feature set was reduced from 113 features down to just 3, while actually improving the penalized average runtime (PAR10 score dropped from 3241 to 3153 due to reduced feature computation overhead).

Limitations and Future Work

  • Risk of Overfitting: Because the test and training data splits are public, the authors acknowledge the risk that the community might overfit to these specific scenarios over time. They plan to mitigate this by continuously adding new scenarios.
  • No new data generation: Unlike its sister project AClib (which focuses on tuning/configuring a single algorithm's parameters), ASlib cannot generate new performance data for novel solver configurations since it doesn't host the binaries.
  • Future Directions: The authors plan to host ongoing competitions (like the ICON Challenge) using hidden test splits, and they intend to expand the automated EDA tools to include more advanced measures of algorithm performance across instance spaces.

Summary updated

BibTeX
@article{bischl2016aslib,
  author = {Bernd Bischl and Pascal Kerschke and Lars Kotthoff and Marius Lindauer and Yuri Malitsky and Alexandre Fréchette and Holger H. Hoos and Frank Hutter and Kevin Leyton-Brown and Kevin Tierney and Joaquin Vanschoren},
  title = {{ASlib: A benchmark library for algorithm selection}},
  journal = {Artificial Intelligence},
  year = {2016},
  doi = {10.1016/j.artint.2016.04.003},
}
Figure