Introduction
Reinforcement Learning (RL) has emerged as a powerful tool for Dynamic Algorithm Configuration (DAC), where an agent is tasked with adjusting an algorithm's hyperparameters on the fly to optimize performance. However, a persistent challenge in this domain is the "overfitting" problem: agents often become highly specialized to the specific instances encountered during training, failing to generalize when presented with new, unseen tasks. This paper addresses this lack of generalization by identifying instance bias as a primary culprit. When a training set contains many redundant or similar instances, the RL agent tends to optimize for the majority behavior, neglecting the nuances required for a truly robust policy.
To combat this, the researchers propose a method to subselect a representative subset of training instances. By focusing the training budget on a diverse and informative core, the agent can learn a policy that generalizes better to the broader problem space.
The SELECTOR Framework
The authors developed a multi-stage pipeline designed to refine the training set through behavioral analysis rather than static properties. The process follows five key steps:
- Initial Probing: A baseline RL agent (using Proximal Policy Optimization, or PPO) is trained on the complete, original instance set.
- Trajectory Generation: This trained agent is then evaluated across all training instances. The resulting "rollouts"—the sequences of actions taken and rewards received—serve as a behavioral fingerprint for each instance.
- Meta-Feature Extraction: These trajectories are converted into usable data using two methods: Raw (concatenated actions/rewards) and Catch22 (a library of 22 high-performing time-series features). Catch22 is particularly useful for capturing the underlying dynamics of the interaction, such as autocorrelation and distribution properties.
- Instance Selection: Using the SELECTOR framework, instances are treated as nodes in a graph. By calculating the similarity between trajectory features, graph algorithms like Dominating Sets or Maximal Independent Sets are used to identify a subset of instances that "cover" the diversity of the entire space.
- Retraining: A new RL agent is trained from scratch using only this carefully curated subset, while maintaining the same total interaction budget as the original training process.
Experimental Evaluation
The study utilized DACBench, a standardized library for DAC research, focusing on two distinct benchmarks:
- Sigmoid: A "white-box" benchmark where the agent approximates sigmoid functions with varying slopes and shifts. This provides a controlled environment to test if the selection process covers the parameter space.
- CMA-ES: A real-world scenario involving the Covariance Matrix Adaptation Evolution Strategy. The agent adapts the step-size ($\sigma$) for various synthetic black-box optimization functions. This benchmark is more complex, with varying episode lengths and diverse dynamics.
Key Insights and Results
Behavioral Fingerprinting
A central finding of the paper is that using an agent's behavioral trajectories is more effective than using static instance features. By observing how the problem actually "feels" to the agent during interaction, the SELECTOR framework can identify instances that are computationally unique, even if their static descriptions appear similar.
The "Less is More" Principle
The results demonstrated that training on a SELECTOR-chosen subset led to superior generalization on test sets compared to training on the full instance set or random subsets. By reducing redundancy, the agent spends more time mastering unique dynamics rather than wasting the interaction budget on repetitive cases.
The Diversity Escape
In the CMA-ES benchmark, the subselected agent actually outperformed Instance-Specific Agents (ISAs)—agents trained exclusively on a single task. This suggests that exposure to a diverse set of trajectories helps the RL agent escape local minima in the policy space that a single-task agent might otherwise fall into. Diversity in training acts as a regularizer, forcing the agent to learn a more flexible and capable policy.
Conclusion and Future Directions
While the proposed method significantly improves generalization, it introduces computational overhead by requiring an initial training phase to generate trajectories. Future research will focus on mitigating this cost through early stopping—determining if a partially trained "probing" agent can provide sufficient trajectories—and exploring meta-learning to create a more streamlined, one-pass selection pipeline. Additionally, addressing reward scaling issues across different instances remains a priority to further stabilize the retraining phase.
Summary updated