OASC-2017: *Zilla Submission

Chris Cameron, Holger H. Hoos, Kevin Leyton-Brown, Frank Hutter

Abstract

In many computational domains, such as Boolean Satisfiability (SAT) and Constraint Programming (CP), no single algorithm dominates all problem instances. This paper describes Zilla (pronounced "Star-Zilla"), an evolution of the SATzilla framework designed for the Open Algorithm Selection Challenge (OASC 2017). Zilla introduces a fully automated pipeline for algorithm selection, featuring greedy solver sub-sampling to reduce training overhead and a novel dynamic scheduling approach that utilizes the internal geometry of random forests to determine instance similarity.

1. Introduction

The Algorithm Selection Problem (ASP) addresses the challenge of choosing the most efficient solver from a portfolio for a specific problem instance. While frameworks like SATzilla have historically demonstrated high performance, they often required significant manual tuning and lacked the flexibility to adapt to diverse problem domains without expert intervention.

*Zilla was developed to streamline this process, creating a robust, automated pipeline that handles feature selection, solver sub-sampling, and model training. The system was submitted to OASC-2017 in two variants: a standard classification-based pipeline and an experimental approach utilizing dynamic scheduling based on nearest-neighbor searches within random forest structures.

2. Methodology

The *Zilla architecture is divided into an offline training phase and an online execution phase.

2.1 The Standard Pipeline (Submission 1)

To manage the computational complexity of training on large portfolios, Zilla employs solver sub-sampling*. Instead of training models for every available solver, the system greedily selects a subset of solvers that provide the highest marginal improvement to the portfolio's overall performance.

The core predictive engine consists of weighted pairwise random forests. These classifiers compare solvers in pairs using a cost-sensitive approach, where the model is penalized more heavily for incorrect predictions when the performance gap between two solvers is significant. Additionally, a feature completion model is utilized to predict whether expensive problem features can be computed within a set time limit; if not, the system reverts to a pre-selected backup solver.

2.2 Dynamic Scheduling (Submission 2)

The second submission explored a more granular approach to algorithm selection through dynamic scheduling:

  1. Forest-based Distance: Rather than using random forests solely for classification, *Zilla leverages the trees to find the $k$-nearest training instances to a new test instance. Similarity is defined by the frequency with which instances share leaf nodes or the proximity of their paths within the forest.
  2. Optimized Scheduling: Based on these nearest neighbors, the system calculates an optimal sequence (schedule) of solvers to execute, tailored specifically to the characteristics of similar historical problems.

3. Key Innovations

3.1 Efficiency through Sub-sampling

Training random forests scales quadratically with the number of solvers in a portfolio. By implementing greedy sub-sampling, the authors significantly reduced the training time required to reach the "Virtual Best Solver" (VBS) performance ceiling, making the framework more scalable for large-scale competitions.

3.2 Random Forests as Distance Metrics

A significant conceptual contribution of *Zilla is the use of random forest internal geometry as a proxy for problem similarity. By measuring path lengths to common ancestors within the trees, the model performs effective nearest-neighbor searches without the need for a separate, manually defined distance metric.

3.3 The "Unconditioned" Shortcut

Unlike previous iterations that required separate models for different pre-solving schedules, *Zilla utilizes a single "unconditioned" model to evaluate all potential schedules, further streamlining the automated design process.

4. Results and Discussion

4.1 The "Two-Solver" Bug

Post-competition analysis revealed a critical rounding error in the solver sub-sampling code. This bug caused the system to accidentally select only two solvers for every scenario in the final submission, regardless of the portfolio size. This error significantly hampered *Zilla's official competition ranking.

4.2 Validation and Performance

Despite the submission bug, 10-fold cross-validation performed during development indicated that the experimental dynamic scheduling approach (Submission 2) frequently outperformed standard classification methods. However, this performance came at a high computational cost: Submission 1 required approximately 50 CPU days of computation, while Submission 2 required roughly 250 CPU days to fully explore the design space.

5. Limitations and Future Work

While the dynamic scheduling approach is promising, it introduces "online" overhead during the nearest-neighbor search and schedule generation. While not penalized in the OASC-2017 environment, this latency may be a constraint in real-time production systems. Furthermore, the current scheduling logic is optimized for minimizing runtime and does not yet account for solution quality objectives.

Future work will focus on re-evaluating the *Zilla architecture without the sub-sampling bug to determine its true performance potential and extending the framework to handle non-runtime optimization targets.

Summary updated

BibTeX
@inproceedings{cameron2017oasc,
  author = {Chris Cameron and Holger H. Hoos and Kevin Leyton-Brown and Frank Hutter},
  title = {{OASC-2017: *Zilla Submission}},
  booktitle = {OASC},
  year = {2017},
}
Figure