Utilitarian Algorithm Configuration

Devon R. Graham, Kevin Leyton-Brown, Tim Roughgarden

Algorithm Configuration (AC) is essential for tuning heuristic algorithms, such as SAT and Integer Program solvers, to perform optimally on specific problem distributions. Historically, the primary goal of AC has been to minimize expected runtime. However, this approach is often a "statistical nightmare." Because heuristic runtimes frequently exhibit heavy tails—where a few runs take an exceptionally long time—proving that one configuration is faster on average than another requires massive sample sizes and impractically long timeouts.

Furthermore, raw average runtime rarely reflects the true preferences of algorithm designers. In practice, users care about utility: finishing a task before a strict deadline, minimizing cloud compute costs, or ensuring a responsive user experience. By shifting the objective from raw runtime to utility, we can create tuning procedures that are both more robust and highly efficient.

The Utilitarian Framework

To address the flaws of expected runtime minimization, the authors introduce the Utilitarian Algorithm Configuration framework. Instead of minimizing expected runtime $E[T]$, the objective shifts to maximizing expected utility $E[u(T)]$. In this framework, $u(T)$ is a utility function that is bounded (strictly between 0 and 1) and monotonically decreases as runtime $T$ increases.

This shift provides an axiomatic justification rooted in classic decision theory (von Neumann–Morgenstern axioms), proving that maximizing expected utility is the mathematically sound way to handle preferences under uncertainty. More importantly, boundedness acts as a statistical superpower: it strictly controls the variance of the estimator, allowing for much tighter statistical confidence intervals with far fewer samples.

Utilitarian Procrastination (UP)

The core contribution of the paper is Utilitarian Procrastination (UP), an anytime algorithm designed to efficiently find near-optimal configurations with strong theoretical guarantees. UP relies on three key mechanisms:

  1. Anytime Performance: Unlike naive methods, UP does not require the user to pre-specify a target accuracy ($\epsilon$) or a fixed timeout (captime). It continuously refines its estimates as it runs.
  2. Adaptive Capping: UP solves the "Goldilocks" timeout problem. In traditional AC, a timeout that is too short fails to distinguish between good algorithms, while a timeout that is too long wastes massive amounts of compute on lost causes. UP follows a "procrastination" philosophy: it starts with very short timeouts and only doubles them for a specific configuration when the uncertainty caused by capping the run exceeds the uncertainty from the number of samples taken.
  3. Successive Elimination: The algorithm maintains upper and lower confidence bounds (UCB/LCB) for the utility of each configuration. If a configuration's best possible utility (UCB) falls below the current best configuration's worst possible utility (LCB), it is permanently eliminated.

Experimental Setup and Key Results

The authors evaluated UP on three established benchmark datasets from the algorithm configuration literature:

  • minisat: Runtimes for the MiniSat SAT solver on instances generated by CNFuzzdd.
  • cplex_region: Runtimes for the CPLEX solver on combinatorial auction winner determination problems.
  • cplex_rcw: Runtimes for CPLEX on woodpecker conservation problems.

The results demonstrate both theoretical and empirical success. Theoretically, the authors prove that UP's sample complexity and captime requirements are near-optimal, matching known theoretical lower bounds within constant or logarithmic factors.

Empirically, UP consistently outperformed a theoretically-grounded "Naive" baseline. The Naive approach proved highly sensitive to the user's choice of captime; if the user guesses wrong, or if high accuracy (small $\epsilon$) is required, the Naive approach's total runtime explodes. In contrast, UP automatically adapts to the data, remaining highly efficient by pruning suboptimal configurations early.

Limitations and Future Directions

While UP offers strong theoretical guarantees, the authors note a few limitations and avenues for future work:

  • Comparison to Heuristic Tuners: The paper compares UP to a theoretical baseline rather than popular heuristic tuners like SMAC or ParamILS. Because these tools optimize different objectives and lack comparable theoretical guarantees, a direct comparison would require significant re-engineering.
  • Parallelization: UP is presented as a sequential algorithm. Given that modern AC problems are often solved using massive compute clusters, extending UP to explicitly handle parallelism (similar to methods like AC-Band) is a logical next step.
  • Utility Function Selection: The system's success relies on users selecting a utility function that accurately reflects their needs. While the paper suggests defaults like the log-Laplace distribution, future work could focus on helping users discover or elicit their ideal utility functions.

Summary updated

BibTeX
@inproceedings{graham2023utilitarian,
  author = {Devon R. Graham and Kevin Leyton-Brown and Tim Roughgarden},
  title = {{Utilitarian Algorithm Configuration}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=InB9Loet1u},
}
Figure