On Performance Estimation in Automatic Algorithm Configuration

Shengcai Liu, Ke Tang, Yunwen Lei, Xin Yao

Introduction

Modern algorithms, ranging from SAT solvers to sophisticated machine learning models, often feature numerous parameters that significantly influence their performance. Manually tuning these "knobs" is a complex and time-consuming task, which has led to the development of Automatic Algorithm Configuration (AAC) tools such as SMAC and ParamILS. However, AAC faces a fundamental challenge: performance estimation. To determine if one configuration is superior to another, it must be evaluated within a finite budget of runs and a limited set of training instances.

This paper addresses two critical questions in AAC:

  1. Allocation: Given a fixed budget of $N$ runs, how should they be distributed across training instances to minimize estimation error?
  2. Generalization: How reliably does an algorithm's performance on training data predict its performance on unseen test instances?

Unlike previous theoretical work that assumed an infinite supply of problem instances, this research focuses on the realistic scenario of a fixed, finite training set.

Theoretical Foundations

The researchers utilize statistical learning theory to establish a rigorous foundation for AAC performance estimation.

The Universal Best Performance Estimator

A central contribution is the mathematical proof of the Universal Best Performance Estimator. The authors demonstrate that to minimize the variance of a performance estimate, the total number of runs ($N$) should be distributed across the available training instances ($K$) as evenly as possible. This confirms a long-held suspicion among practitioners: spreading runs thin to cover more ground is more effective than "greedily" focusing runs on a few instances to achieve high local precision.

Probabilistic Error Bounds

Using Bernstein’s Inequality, the authors derive theoretical bounds on the estimation error—the discrepancy between training performance and true expected performance. For infinite parameter spaces (continuous parameters), they employ "covering numbers" to establish bounds based on the complexity and "smoothness" (Lipschitz continuity) of the algorithm's response to parameter changes. These bounds provide a mathematical explanation for "over-tuning," showing that the risk of error increases with the complexity of the configuration space.

Empirical Validation

The theoretical findings were validated across four distinct algorithm configuration scenarios: SATenstein-QCP (SAT solver), clasp-weighted-sequence (ASP solver), and LKH-uniform (TSP solver) on instances of varying sizes. Performance was measured using PAR-10 (Penalized Average Runtime), which accounts for timeouts by applying a heavy penalty.

Estimation error by PAR-10 across four algorithm configuration scenarios as a function of the number of runs N. The solid line represents the even distribution estimator, which consistently minimizes error.

Key Results

As shown in the figure above, the empirical results strongly support the theoretical predictions:

  • Superiority of Even Distribution: In all scenarios, the "even distribution" estimator (solid line) consistently yielded lower estimation errors than "greedy" or "random" allocation strategies, particularly when the total budget $N$ was small.
  • Theoretical Alignment: The empirical error curves closely followed the functional forms predicted by the derived bounds, validating the use of statistical learning theory in this context.
  • Stability Threshold: Estimation error typically became low and stable once the number of runs reached approximately half the number of training instances ($N \approx K/2$), suggesting a practical "sweet spot" for AAC budget allocation.

Discussion and Future Work

The "even distribution" rule provides a clear guideline for practitioners: prioritize covering more instances over repeated runs on the same instances. Furthermore, the relationship between configuration space complexity and estimation error suggests that tuning algorithms with many parameters requires significantly more data to avoid over-tuning.

While these results provide a robust framework, the authors note that the current theoretical bounds are "worst-case" and could be tightened. Future research may focus on developing "data-dependent" bounds that calculate over-tuning risk dynamically based on specific training results. Additionally, a deeper analysis of how the search process itself biases results—the "notorious over-tuning phenomenon"—remains an important area for further investigation.

Summary updated

BibTeX
@inproceedings{liu2020performance,
  author = {Shengcai Liu and Ke Tang and Yunwen Lei and Xin Yao},
  title = {{On Performance Estimation in Automatic Algorithm Configuration}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2020},
  doi = {10.1609/aaai.v34i03.5618},
}
Figure