Algorithm configuration 2026-11-05
Algorithm configuration chooses settings of a parameterized algorithm to improve its performance on a specified class of inputs. An algorithm parameter space describes the allowed settings; the objective function may measure runtime, solution quality or another declared cost. The target algorithm solves the instances, while a configuration procedure searches for settings under which it works well.[ref]
ParamILS: An Automatic Algorithm Configuration Framework by Frank Hutter and others. Section 2, Definition 1: target algorithm, configurations, instance distribution and cost
For an original example, suppose two settings have runtimes seconds and seconds on two instance types. With equally likely types, the mean costs are and seconds, favouring . If the first type instead has probability , the means become and seconds, favouring . There is no distribution-independent best setting in this example: the intended workload is part of the optimization problem.
Measured cost estimates also depend on time limits, random seeds and which instances were sampled. Report those choices and evaluate the chosen setting on previously unused instances. Reusing the tuning results as the only evidence of improvement rewards settings that happened to fit the observed sample.
ParamILS supplies a concrete search procedure for this problem. Algorithm selection is a related decision about which algorithm to run for an instance, whereas the example above fixes one parameterized target and chooses its settings. In both cases, specifying what may change is necessary to interpret an experimental comparison.
Algorithm portfolio 2026-11-05
An algorithm portfolio combines several candidate algorithms or algorithm runs to exploit differences in their performance. It includes a policy for choosing or allocating work, rather than merely naming a collection. A parallel algorithm portfolio runs candidates concurrently; a sequential algorithm portfolio allocates time on one processor. The original 2001 study compared these approaches and restart strategies on specified distributions of search problems.[ref]
Algorithm portfolios by Carla P. Gomes and Bart Selman. Abstract and sections 4–5, portfolio policies and empirical comparisons
Consider invented runtimes seconds and seconds on two equally likely instance types. Either algorithm alone has mean seconds. Perfect per-instance algorithm selection would take one second before selection overhead. Running both on independent full-speed processors and stopping at the first answer also takes one second under this model, but uses two processors.
For a different policy, run for at most five seconds, then start if needed. The two completion times become and seconds, giving mean seconds. This invented sequential algorithm portfolio saves time relative to either fixed choice, without matching the two-processor wall time.
Complementary runtimes make these examples work. If all candidates are slow on the same instances, diversity in names supplies no such benefit. Compare wall time, total computing work and overhead separately, and test the allocation policy on new instances. The best completed run chosen retrospectively is a comparison bound, not automatically an implementable selector.
Algorithm selection 2026-11-05
Algorithm selection chooses an algorithm for a particular problem instance using information available before or during its solution. The available candidates form an algorithm portfolio. John R. Rice's 1976 treatment formalized the relationship between problem descriptions, descriptive features, algorithms and performance criteria.[ref]
The Algorithm Selection Problem by John R. Rice. Publisher summary, abstract models and feature-based selection
An original runtime example shows the potential benefit. Suppose algorithms and take and seconds on two equally likely instance types. Always choosing gives mean seconds; always choosing gives seconds. A selector that reliably recognizes both types and chooses the faster algorithm gives mean seconds before selection overhead. If computing its features and choosing costs another second, the total becomes seconds. The gain comes from complementary performance, not from either candidate being universally faster.
The hypothetical -second result assumes perfect decisions. A real selector can misclassify instances, spend time extracting features or encounter inputs unlike its training examples. Its complete measured runtime includes those costs. Looking up the faster solver after both have finished supplies a useful comparison bound, but does not itself implement an online choice.
Algorithm configuration instead searches settings of a parameterized target algorithm. The two ideas can be combined by selecting among configured candidates, provided the evaluation states what was tuned, what was selected and which instances were reserved for testing.
John Rischard Rice 2026-11-05
John Rischard Rice was a computer scientist and mathematician whose work included numerical approximation, elliptic partial differential equations and mathematical software. Purdue's memorial identifies his full name and records that he led the development of the ELLPACK elliptic-problem software.[ref]
In Memoriam: Professor Emeritus John R. Rice by Eugene H. Spafford. Opening identity paragraph and scientific-computing/ELLPACK paragraph
His algorithm selection work separates a problem instance, its descriptive features, candidate algorithms and the performance criterion used to choose between them. The institutional technical-report record is dated 1975; the later chapter is dated 1976.[ref]
The Algorithm Selection Problem by John R. Rice. Purdue technical report 75-152; later Advances in Computers15, pp65–118
Thus choosing an algorithm is itself a computational decision, not simply declaring one program universally best.For an original example, suppose two candidates in an algorithm portfolio take and seconds, with relative errors and on one stipulated instance. If the rule is to minimize runtime subject to error at most , only the second candidate qualifies. Relaxing the tolerance to makes the first candidate the faster admissible choice. The ranking changes because the stated task changes; the four values are chosen examples, not measured solver performance.
A real selector must obtain usable problem features and include selection overhead in its evaluation. Choosing after observing every candidate's completed result is a comparison bound, not automatically an implementable advance decision. This distinction connects numerical software to empirical tests of how its performance varies across inputs.
Thomas Stützle 2026-11-05
Thomas Stützle researches computational optimization, including local search and algorithm configuration. His author-maintained IRIDIA homepage describes the irace configuration software and its use of racing algorithms.[ref] He also coauthored Iterated Local Search by Helena R. Lourenço and others with Helena Ramalhinho Dias Lourenço and Olivier C. Martin.[ref]
The modular iterated local search framework keeps the embedded local search distinct from a local-search perturbation and the subsequent acceptance decision. That separation makes a solver's settings part of the experimental description rather than incidental implementation detail.
An original budget comparison illustrates a configuration pitfall. Suppose setting A takes per objective evaluation and setting B takes , with all other costs neglected. In a budget they can perform and evaluations respectively. Comparing both after evaluations instead gives B twice as much time. Neither evaluation count nor elapsed time is inherently the wrong budget; the comparison must state which resource is constrained. These are hypothetical costs, not irace timings.
This is why algorithm configuration and algorithm selection are related but distinct: one tunes a parameterized solver, while the other chooses among candidates for an instance. A useful evaluation records the tuned parameters, computational budget and held-out instances alongside solution quality.