Abstract
Dynamic Algorithm Configuration (DAC) aims to optimize algorithm parameters on-the-fly, yet standard Reinforcement Learning (RL) often struggles with scaling and suboptimal convergence. This paper presents a case study using the (1+(λ,λ)) Genetic Algorithm on the OneMax problem to diagnose these failures. By introducing adaptive reward shifting and undiscounted learning, the authors enable Double Deep Q-Networks (DDQN) to achieve performance parity with theoretically optimal policies while surpassing existing automated tuning methods in sample efficiency by several orders of magnitude.
Introduction
Algorithm Configuration (AC) typically involves identifying a static set of parameters that performs well across an entire execution. Dynamic Algorithm Configuration (DAC) extends this by learning a policy to adjust parameters during a run based on the algorithm's current state. While Reinforcement Learning (RL) is theoretically well-suited for DAC, practical applications often suffer from "out-of-the-box" failures, where agents either fail to scale or converge to suboptimal "safe" policies.
This study investigates these failures using the OneMax problem controlled by a (1+(λ,λ)) Genetic Algorithm (GA). Because the theoretical optimum for this problem is known, it provides a "white-box" benchmark to evaluate RL performance against a ground truth.
Methodology
The authors evaluated two prominent DRL architectures: Double Deep Q-Networks (DDQN) and Proximal Policy Optimization (PPO). To overcome common RL pitfalls in DAC, two primary interventions were introduced:
- Adaptive Reward Shifting: To prevent agents from falling into the "small λ trap"—where they prioritize immediate low computational costs over long-term optimization speed—the authors implemented a negative reward bias. This bias is calculated during a warm-up phase based on the distribution of observed rewards, encouraging the agent to explore higher-performing, albeit more "expensive," actions.
- Undiscounted Learning (γ = 1): Standard RL uses a discount factor to prioritize immediate rewards. However, in DAC, early decisions significantly impact late-stage optimization. The authors found that setting γ = 1 allows DDQN to account for the entire planning horizon, whereas PPO struggled with the resulting high variance.
Results and Discussion
The proposed DDQN approach demonstrated significant improvements in both policy quality and sample efficiency.
Policy Quality and Scalability
As shown in Figure 1 (left), the learned policies closely mirror the step-wise behavior of the theoretically optimal policy. In terms of performance, the Expected Running Time (ERT) of the DDQN-tuned GA matches the theoretical optimum across problem sizes ranging from n=50 to n=300 (Figure 1, right). Notably, the learned policies sometimes outperformed discretized versions of the theoretical optimum.
Sample Efficiency
The DDQN with adaptive reward shifting exhibited remarkable sample efficiency. For a problem size of n=2000, the RL agent required only 34,000 training steps to reach a high-performing policy. In contrast, the previous state-of-the-art automated method, irace, required approximately 159 million steps—a speedup of over four orders of magnitude.
Conclusion
This research highlights that while standard RL may fail at DAC tasks due to planning horizon mismatches and under-exploration, these issues can be mitigated with targeted interventions like undiscounted learning and adaptive reward shifting. Future work will focus on richer state representations and multi-parameter control to extend these findings to more complex, black-box optimization environments.
Summary updated