Practical, Utilitarian Algorithm Configuration

Devon R. Graham, Eros Rojas Velez, Kevin Leyton-Brown

TL;DR

The authors make COUP, a theoretically-grounded algorithm configuration method that maximizes user utility over runtime, empirically competitive with state-of-the-art heuristic tuners like SMAC. By introducing KL-based confidence bounds, best-arm identification via LUCB, adaptive configuration addition, and model-based search, the revised method matches SMAC's empirical performance across 80 SAT benchmark scenarios while retaining rigorous, anytime theoretical optimality guarantees.

What Problem Does This Paper Address?

Configuring algorithms (e.g., tuning SAT solver hyperparameters) to minimize solve times across input distributions is traditionally framed as an empirical black-box optimization problem. Practical tools like SMAC use heuristics that perform exceptionally well in practice but offer zero guarantees about how close the returned configuration is to the true optimum. Conversely, theoretical approaches that treat configuration as a multi-armed bandit problem offer PAC-style optimality bounds ($\epsilon, \gamma, \delta$), but historically have been too slow and computationally demanding for practical adoption.

Recently, the COUP algorithm introduced a decision-theoretic framework: instead of arbitrarily minimizing average runtime, it maximizes an explicit user utility function (capturing deadlines, compute costs, or diminishing returns) while bounding suboptimality. However, basic COUP lagged far behind heuristic configurators in practice. This paper bridges the gap between theoretical rigor and real-world performance.

Methods

The authors introduce four key algorithmic refinements to COUP:

  1. KL-Divergence Confidence Bounds: Standard COUP relies on Hoeffding’s inequality, which degrades when empirical means are close to 0 or 1 (a frequent scenario in utilitarian runtime models). Replacing this with numerical Kullback-Leibler (KL) bounds (inspired by KL-UCB) yields provably tighter upper and lower bounds ($\text{UCB}_i$ and $\text{LCB}_i$).
  2. Lower Upper Confidence Bound (LUCB) Exploration: Standard UCB targets cumulative regret minimization. Because algorithm configuration is a best-arm identification problem, the authors adapt LUCB, which alternates between sampling the empirical best arm with the lowest lower confidence bound and the non-best arm with the highest upper confidence bound.
  3. Adaptive Configuration Addition: Instead of forcing users to manually tune static exploration schedules, COUP adaptively adds new configurations when: $$(\text{UCB}_{i'} - \text{LCB}_{i^*})^2 < \gamma(1 - \text{UCB}_{i'})$$ This gracefully balances shrinking suboptimality $\epsilon$ on known configurations against exploring unseen parameter regions.

  4. Model-Guided Sampling via XGBoost: To discover rare, high-performing configurations, COUP trains an ensemble of boosted regression trees (XGBoost) with bootstrap aggregation to predict configuration performance and uncertainty. To preserve theoretical PAC guarantees, COUP alternates 50/50 between model-guided suggestions (via local search) and uniform random sampling.

Datasets

  • ACLib Benchmarks: Evaluation was performed on 80 real-world scenarios from the Algorithm Configuration Library (ACLib), spanning 4 SAT solvers (Spear, cryptominisat, lingeling, and probSAT) across 20 diverse problem instance sets.
  • International SAT Competition 2023: Runtime distributions from submitted solvers were used in a case study evaluating solver selection and utility parameter sensitivity.

Key Insights and Ideas

  • Theoretical Guarantees Do Not Require Heuristic Sacrifices: Rigorous PAC-style best-arm identification can match Bayesian optimization heuristics in empirical quality without abandoning formal bounds.
  • Preserving Proofs with Machine Learning Guidance: By interleaving surrogate model-guided search with random sampling in a 1:1 ratio, the effective sample size for uniform coverage drops by only a constant factor of 2. This keeps theoretical guarantees intact ($\gamma \to 0$ as $n \to \infty$) while drastically improving sample efficiency.
  • Robustness to Utility Specifications: Practitioners often worry about choosing the "wrong" utility function. The authors show that First-Order Stochastic Dominance (FOSD) and regret analyses over parameterized utility spaces (such as Penalized Average Runtime $\text{PAR}(c, \kappa)$ and exponential discounting $e^{-\lambda t}$) can prove that top configurations often remain optimal across broad parameter regimes.

Key Results

  • Parity with SMAC: Across 80 benchmark scenarios (each evaluated with a 96-hour wall-clock training budget and 60-second timeouts), 71 out of 80 runs performed within 10% of SMAC's normalized utility. SMAC outperformed COUP in 5 scenarios, while COUP outperformed SMAC in 4 scenarios.
  • Provable Anytime Bounds: Unlike SMAC, COUP simultaneously produced and tightened anytime theoretical guarantees on suboptimality $\epsilon$ and out-of-sample probability $\gamma$ with failure probability $\delta = 0.01$.
  • Component Contributions: KL bounds and LUCB drastically reduced the provable suboptimality gap $\epsilon$ early in the search, while XGBoost-guided search consistently discovered higher-utility configurations faster than random sampling.

Limitations and Future Work

  • Solver-Specific Challenges: Certain solvers and datasets (notably probSAT and heavily heavy-tailed instance distributions) required significantly more compute time to push the optimality bound $\epsilon$ down toward zero.
  • Utility Function Diversity: The main empirical evaluation tested a shifted logarithmic utility function; broader evaluations across non-logarithmic and highly discontinuous utility functions remain for future work.
  • Benchmarking Scope: Future investigations aim to contrast this improved COUP against other state-of-the-art heuristic configurators beyond SMAC (e.g., ParamILS, irace).

Summary updated

BibTeX
@inproceedings{graham2026practical,
  author = {Devon R. Graham and Eros Rojas Velez and Kevin Leyton-Brown},
  title = {{Practical, Utilitarian Algorithm Configuration}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2026},
  url = {https://openreview.net/forum?id=07uu6yHGhk},
}

Loading related content...

Figure