Towards White-box Benchmarks for Algorithm Control

André Biedenkapp, H. Furkan Bozkurt, Frank Hutter, Marius LindauerarXiv 2019

Introduction

In fields ranging from machine learning to combinatorial optimization, the performance of an algorithm is often dictated by its hyperparameters. While traditional Algorithm Configuration focuses on finding a single static set of parameters for an entire run, the optimal settings frequently change as the algorithm progresses. This paper formalizes the dynamic adjustment of these parameters as Algorithm Control, providing a framework to learn instance-specific policies.

Formalizing Algorithm Control

The authors frame Algorithm Control as a Contextual Markov Decision Process (cMDP). In this framework, a controller interacts with an algorithm iteratively. At each step $t$, the controller observes the algorithm's internal state $s_t$, takes an action $a_t$ (adjusting a hyperparameter), and receives a reward $r_t$ based on performance. Crucially, this process is conditioned on a context $i$, representing the specific problem instance being solved.

The Algorithm Control loop formalizes the interaction between a controller and an algorithm within a contextual MDP framework.

By framing the problem this way, Reinforcement Learning (RL) can be applied to learn "meta-policies" that adapt to the problem at hand. This contrasts with traditional black-box optimizers that often treat a sequence of decisions as a single high-dimensional vector, leading to a "curse of dimensionality."

White-box Benchmarks

To study this problem rigorously, the authors introduce several "white-box" benchmarks. These synthetic tasks provide a ground truth optimal policy, allowing for clear evaluation of different agents before applying them to complex real-world solvers:

  • Luby: Based on the Luby sequence (1, 1, 2, 1, 1, 2, 4...), this benchmark tests an agent's ability to learn complex, long-range temporal patterns.
  • Sigmoid: Instances are defined by varying inflection points and scales, testing an agent's ability to perform per-instance adaptation.
  • Fuzzy: Evaluates how agents handle stochastic rewards.

Key Results: RL vs. Black-box Optimization

A central finding is that RL agents significantly outperform state-of-the-art black-box optimizers like SMAC in complex control scenarios.

On the Luby benchmark, which requires learning a sequence of length $T=32$, tabular $\epsilon$-greedy Q-learning reached the optimal policy within just 200 episodes. In contrast, SMAC struggled significantly due to the search space explosion, achieving only partial accuracy even after $10^5$ episodes.

Performance comparison on the Luby benchmark shows RL agents (orange) significantly outperforming black-box optimizers like SMAC (green) in learning complex temporal sequences.

Furthermore, on the Sigmoid benchmark, Deep Q-Network (DQN) agents successfully leveraged instance context to achieve near-perfect rewards and demonstrated the ability to generalize to unseen test instances. Context-oblivious optimizers, meanwhile, failed to distinguish between different problem instances, resulting in significantly lower average rewards.

Conclusion

This work highlights the limitations of static configuration and the potential of RL for dynamic algorithm control. By providing transparent, white-box benchmarks, the authors establish a foundation for developing more sophisticated agents capable of managing the complexity of real-world solvers and optimization pipelines.

Summary updated

BibTeX
@misc{biedenkapp2019towards,
  author = {André Biedenkapp and H. Furkan Bozkurt and Frank Hutter and Marius Lindauer},
  title = {{Towards White-box Benchmarks for Algorithm Control}},
  year = {2019},
  eprint = {1906.07644},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1906.07644},
}
Figure