ParamILS: An Automatic Algorithm Configuration Framework

Frank Hutter, Holger H. Hoos, Kevin Leyton-Brown, Thomas StützleJAIR 2009 · DOI

Abstract

The identification of performance-optimizing parameter settings is an important part of the development and application of algorithms. We describe an automatic framework for this algorithm configuration problem. More formally, we provide methods for optimizing a target algorithm's performance on a given class of problem instances by varying a set of ordinal and/or categorical parameters. We review a family of local-search-based algorithm configuration procedures and present novel techniques for accelerating them by adaptively limiting the time spent for evaluating individual configurations. We describe the results of a comprehensive experimental evaluation of our methods, based on the configuration of prominent complete and incomplete algorithms for SAT. We also present what is, to our knowledge, the first published work on automatically configuring the CPLEX mixed integer programming solver. All the algorithms we considered had default parameter settings that were manually identified with considerable effort. Nevertheless, using our automated algorithm configuration procedures, we achieved substantial and consistent performance improvements.

Introduction

Most high-performance algorithms for hard computational problems are "parameter-rich." For example, the CPLEX solver has over 80 parameters affecting its search strategy. Traditionally, finding the "perfect" settings for such complex algorithms has been a manual process—a "dark art" where researchers spend weeks "twiddling knobs" to achieve peak performance. This manual approach is inefficient and often fails to capture complex interactions between parameters.

The "Algorithm Configuration Problem" formalizes this challenge: given a target algorithm, a set of possible parameter values (ordinal or categorical), and a distribution of problem instances, the goal is to find the configuration that minimizes a specific cost metric, such as mean runtime. This paper introduces ParamILS, a framework that automates this search process using stochastic local search.

The ParamILS Framework

ParamILS applies Iterated Local Search (ILS) to the space of parameter configurations. The process begins with a default configuration and performs a local search by changing one parameter at a time (hill-climbing). To avoid getting stuck in local optima, the framework "perturbs" the result to jump to a new area of the search space.

Overview of the automated algorithm configuration framework.

The framework is implemented in two primary versions:

  1. BasicILS: This version evaluates every configuration on a fixed set of $N$ instances.
  2. FocusedILS: A more sophisticated approach that adaptively increases the number of instances used to evaluate a configuration as it proves promising. This ensures computational resources are not wasted on precisely measuring the performance of poor settings.

A critical innovation in ParamILS is Adaptive Capping. This technique kills off poor-performing runs early. If a candidate configuration exceeds the runtime of the current best configuration (the incumbent) on a subset of problems, the run is terminated immediately. This allows the search to evaluate significantly more configurations within the same time budget.

Experimental Evaluation

The authors evaluated ParamILS across several "Broad" scenarios and specific case studies:

  • SAT Solvers: SAPS (stochastic local search) and SPEAR (tree-search) were tested on Graph Coloring (SWGCP) and Quasigroup Completion (QCP) problems.
  • CPLEX: This study represents the first published work on the automated configuration of CPLEX, a commercial-grade mixed-integer programming (MIP) solver widely considered the industrial "gold standard."
  • Real-World Benchmarks: Benchmarks included the Combinatorial Auction Test Suite (CATS), machine-job assignment (MJA), lot-sizing (CLS), and knapsack (MIK) problems.

Key Results and Insights

The performance gains achieved by ParamILS were often staggering. For the SAPS solver on SAT problems, speedup factors of up to 3540x were recorded compared to original manual defaults. In the 2007 SAT Competition, versions of the SPEAR solver tuned by ParamILS outperformed versions tuned manually by the developer.

For CPLEX, ParamILS achieved a 23x speedup on knapsack (MIK) instances over default settings. On combinatorial auction problems, it reduced mean runtime from 72 seconds to just 10.5 seconds. These results demonstrate that even when human experts have spent years identifying "strong defaults," automated tools can find significantly better configurations for specific problem classes.

Furthermore, ParamILS natively handles categorical parameters (e.g., selecting between different heuristics), effectively allowing it to design an algorithm from various components rather than just tuning numerical values.

Conclusion and Future Work

While highly effective, ParamILS currently requires continuous parameters to be discretized. Future work aims to provide native support for continuous search spaces. Additionally, the framework's performance depends on the homogeneity of problem instances; diverse training sets require careful management to ensure generalization. The success of ParamILS laid the groundwork for subsequent developments in the field, such as Sequential Model-based Algorithm Configuration (SMAC), which uses predictive models to guide the search even more effectively.

Summary updated

BibTeX
@article{hutter2009paramils,
  author = {Frank Hutter and Holger H. Hoos and Kevin Leyton-Brown and Thomas Stützle},
  title = {{ParamILS: An Automatic Algorithm Configuration Framework}},
  journal = {J. Artif. Intell. Res.},
  year = {2009},
  doi = {10.1613/jair.2861},
}
Figure