Abstract
Dynamic Algorithm Configuration (DAC) aims to optimize algorithm performance by adjusting parameters during execution using reinforcement learning (RL). However, the lack of ground-truth optimal policies in existing benchmarks makes it difficult to evaluate RL agent performance objectively. This paper introduces a theoretically grounded benchmark based on the LeadingOnes problem. By deriving exact optimal policies for various parameter portfolios, the authors provide a rigorous framework for measuring the gap between learned and optimal strategies. Results demonstrate that while RL agents succeed on small-scale problems, they face significant challenges as problem dimensions and portfolio sizes increase.
Introduction
The performance of evolutionary algorithms is highly sensitive to parameter settings, such as mutation rates. Dynamic Algorithm Configuration (DAC) addresses this by learning policies that adapt parameters on-the-fly. Despite its potential, the DAC field lacks benchmarks with known optimal solutions, often relying on "black-box" performance improvements. This makes it challenging to determine if an RL agent has reached the theoretical limit or is stuck in a local optimum. This work addresses this gap by proposing a benchmark using the well-understood LeadingOnes problem, allowing for a direct comparison between learned policies and mathematical ground truth.
Methods
The benchmark utilizes the LeadingOnes problem, where the goal is to maximize the number of consecutive ones at the start of a bit string. The authors employ a (1+1) Randomized Local Search (RLS) where the search radius (number of bits flipped) is the dynamic parameter.
A key contribution is the mathematical derivation of the exact optimal policy for any given portfolio—a predefined subset of allowed parameter values. This allows researchers to calculate the minimum expected runtime for any configuration. The authors explore various portfolio types, including powers_of_2, initial_segment, and evenly_spread.
Key Insights: The Role of Portfolios
The choice of the parameter portfolio $\mathcal{K}$ acts as a hidden hyperparameter that significantly influences learning difficulty. As shown in Figure 1, different portfolios lead to different theoretical performance limits. Interestingly, portfolios with more diverse values (e.g., evenly_spread) create more "rugged" learning landscapes. While this increases training variance, it provides a stronger signal that helps RL agents converge to the optimal policy faster than smoother portfolios like initial_segment.
Results and Scaling Limits
To evaluate learning capabilities, a Double Deep Q-Network (DDQN) agent was trained on bit strings of lengths $n \in \{50, 100, 150, 200\}$. On small-scale instances ($n=50, k \in \{3, 4, 5\}$), the DDQN agent demonstrates high efficiency, consistently matching the performance of the theoretically optimal policy within 100,000 time steps.
As shown in Figure 4, the DQN agent's iteration counts are nearly indistinguishable from the optimal ground truth, significantly outperforming random baselines. However, this success does not easily scale. When the problem size increases to $n=100$ or the portfolio size expands to $k \ge 10$, the RL agent often fails to find a competitive policy within the allocated 1.4 million step budget. This suggests a "learning limit" where standard RL techniques struggle with the increased state-action space of larger DAC problems.
Conclusion and Future Work
This work provides a vital "sanity check" for the DAC community by establishing a benchmark with known optimal limits. Future research will focus on expanding this framework to more complex landscapes beyond LeadingOnes and investigating "zero-shot" generalization, where policies learned on small instances are applied to much larger problems. Additionally, incorporating more internal state information beyond simple fitness may help RL agents overcome current scaling limitations.
Summary updated