NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Automated Dynamic Algorithm Configuration

Steven Adriaensen, André Biedenkapp, Gresa Shala, Noor H. Awad, Theresa Eimer, Marius Lindauer, Frank Hutter · DOI

TL;DR

Most algorithms rely on "static" parameters that remain fixed during execution, but many problems are better solved by adjusting settings on the fly. This paper formalizes Automated Dynamic Algorithm Configuration (DAC), a framework for automatically learning these adjustment policies from data, and introduces DACBench, a standardized library to accelerate research in this burgeoning field.

Introduction: Beyond Static Settings

In the world of AI, "Algorithm Configuration" (AC) is the process of finding the best settings for an algorithm's parameters—such as the learning rate in a neural network or the population size in an evolutionary algorithm. Traditionally, this is a static process: practitioners find one set of "golden" parameters and use them for the entire run.

However, many algorithms are dynamic by nature. A learning rate that is perfect at the start of training might be too high at the end. While experts often hand-craft heuristics or schedules to handle these changes, doing so is tedious and often sub-optimal. DAC addresses the need for a principled, automated way to learn dynamic policies—rules that change parameters based on the algorithm's current state—across different problem instances.

The DAC Framework

The paper provides the first comprehensive formalization of DAC, treating it as a meta-algorithmic problem. Solution methods are categorized into two primary "schools":

  1. DAC by Reinforcement Learning (RL): The algorithm is treated as an "environment," and the configuration policy is an "agent." The agent observes the algorithm's internal state and takes "actions" (changing parameters) to maximize a reward. The authors advocate for Contextual MDPs (cMDPs) to ensure the learned policies can generalize across different problem instances.
  2. DAC by Optimization: This approach reduces policy search to a black-box optimization problem. Instead of tuning the algorithm directly, tools like SMAC (Sequential Model-based Algorithm Configuration) are used to tune the parameters of a policy (e.g., the weights of a neural network that decides the learning rate).
Comparison of Offline and Online Dynamic Algorithm Configuration (DAC) workflows.

As shown in the figure above, DAC can be implemented through an offline configuration phase where policies are learned on a training distribution and then transferred to use time, or through an online approach where the policy is refined directly during interaction with new problem instances.

Benchmarking with DACBench

To move the field forward, the authors introduced DACBench, a benchmark library designed specifically for DAC. It includes a variety of scenarios across different AI domains:

  • Toy Problems: Sigmoid (tracing curves) and Luby (sequence selection).
  • Evolutionary Computation: CMAStepSize and ModCMA (controlling step sizes and design choices in CMA-ES).
  • AI Planning: FastDownward (selecting heuristics during state-space search).
  • Machine Learning: SGD-DL (controlling the learning rate for neural network training).
  • Theory-driven Benchmarks: TheoryBench (mutation rate control for the LeadingOnes problem).

Key Insights and Empirical Results

The authors conducted empirical case studies demonstrating that automated DAC can beat both static defaults and hand-crafted heuristics:

  • AI Planning: In the "Barman" domain, the DAC-learned policy solved significantly more problems than the best static baseline, often finding these superior policies in less than 10% of the total computational budget.
  • Evolutionary Optimization: Learned policies for CMA-ES were able to outperform the standard, hand-crafted "CSA" heuristic on 87% of training runs and generalized well to unseen test functions.
  • Deep Learning: While DAC required a higher initial budget (up to 10x more than static tuning), it eventually discovered learning rate policies that reduced training loss more effectively than any fixed learning rate or standard schedule.

Limitations and Future Work

Despite its promise, several hurdles remain:

  • Scaling to Many Parameters: Current DAC methods typically focus on one or two parameters. Managing the "exploding" state-action space of multi-parameter DAC is a major open challenge.
  • Computational Overhead: Learning a dynamic policy is currently more expensive than finding a static configuration. Future research needs to focus on making DAC more "anytime" efficient.
  • Temporally Sparse Reconfiguration: Not every parameter needs to change at every millisecond. The authors suggest "Temporally Sparse DAC"—learning when to reconfigure—as a way to reduce complexity and improve stability.

Summary updated

BibTeX
@article{adriaensen2022automated,
  author = {Steven Adriaensen and André Biedenkapp and Gresa Shala and Noor H. Awad and Theresa Eimer and Marius Lindauer and Frank Hutter},
  title = {{Automated Dynamic Algorithm Configuration}},
  journal = {J. Artif. Intell. Res.},
  year = {2022},
  doi = {10.1613/jair.1.13922},
}
Figure