TL;DR
This paper introduces RLECEO, a novel framework that uses Deep Reinforcement Learning to dynamically control constraint relaxation ($\epsilon$-relaxation) in evolutionary algorithms. By automatically balancing objective optimization and constraint satisfaction based on real-time landscape features, RLECEO significantly outperforms traditional hand-crafted constraint handling methods on expensive optimization problems.
What Problem Does This Paper Address?
Many real-world engineering design problems—ranging from automotive aerodynamics to chemical process control—are Constrained Expensive Optimization Problems (CEOPs). These problems are defined by two major hurdles: they have complex mathematical constraints, and evaluating a single candidate solution requires computationally heavy simulations, meaning the algorithm must operate under a very strict evaluation budget.
To handle constraints without distorting the optimization landscape, researchers often use $\epsilon$-relaxation, a method that treats slightly infeasible solutions as feasible to maintain a healthy balance between exploring the search space and exploiting known good regions. However, setting and adjusting this relaxation threshold ($\epsilon$) has traditionally relied on rigid, hand-crafted heuristics designed by human experts. These static or pre-defined rules often fail to generalize when applied to new, unseen problem landscapes.
Methods
The authors propose RLECEO (Reinforcement Learning-assisted Constraint Relaxation for Constrained Expensive Optimization), which frames the optimization process as a Markov Decision Process (MDP) and uses a Meta-Black-Box Optimization (MetaBBO) paradigm.
The framework consists of two main layers:
- Low-Level Optimizer: The framework uses L-SHADE, a state-of-the-art evolutionary algorithm, to evolve a population of candidate solutions under the relaxed constraint rules.
- Meta-Level Policy: A Double Deep Q-Network (DDQN) agent observes the state of the optimization process and dynamically selects an action to adjust the $\epsilon$-relaxation vector for the next generation.
MDP Formulation:
- State Space: A 10-dimensional vector capturing population-level features. This includes standard Exploratory Landscape Analysis (ELA) features (like fitness variance and mean) alongside custom constraint-related features (e.g., the proportion of feasible solutions and the trade-off relationship between constraint violation and objective values).
- Action Space: 11 discrete actions that scale the constraint relaxation exponentially between a tiny threshold ($\delta = 10^{-3}$) and the population's baseline average violation. High actions push the optimizer to focus on the objective function, while low actions force it to prioritize finding feasible regions.
- Reward Function: A compositional reward that dynamically shifts focus. When constraint violations are high, the reward prioritizes constraint reduction; as the population finds feasible space, the reward shifts to favor objective function improvements.
Datasets
The framework was trained and evaluated using the CEC 2017 Constrained Real-Parameter Optimization benchmark. This dataset consists of 28 distinct problems (C01–C28) spanning various dimensions (10D, 50D, and 100D) and featuring diverse landscape characteristics like separable, non-separable, shifted, and rotated functions with disjoint feasible regions.
The authors validated generalization using two setups:
- Leave-one-out cross-validation: Training on 27 problems and testing on the remaining unseen problem.
- Train-test split: Training on problems C01–C20 and testing on C21–C28.
Key Insights and Ideas
- Landscape-Aware Adaptability: The RL agent successfully learns to read the geometry of constraints. For simpler, continuous constraint manifolds (like the hypersphere in problem CEC12), the agent maintains high $\epsilon$ values to aggressively optimize the objective. For highly complex, disjoint, "quantized" constraint spaces (like the nested hypercube shells in CEC14), it automatically drops $\epsilon$ to focus strictly on feasibility.
- Cross-Dimensional Generalization: One of the most striking findings is that an agent trained entirely on low-dimensional (10D) problems can successfully generalize its constraint-handling policy to high-dimensional (50D and 100D) problems. This implies that low- and high-dimensional problem spaces share fundamental, learnable optimization dynamics.
- Escaping Local Optima: While traditional hand-crafted baselines tend to converge rapidly and get trapped in local optima early on, RLECEO's dynamic policy allows it to continuously navigate out of local traps and sustain optimization progress over time.
Key Results
RLECEO was compared against two strong baselines: standard L-SHADE and L-SHADE-BOC (a competition-winning algorithm utilizing adaptive penalty methods).
- Superior Performance: In the leave-one-out experiments, RLECEO significantly outperformed the baselines on the vast majority of the 28 benchmark problems across 10D, 50D, and 100D settings.
- Robust Out-of-Distribution Generalization: When the model trained on 10D problems was directly evaluated on 50D and 100D problems, it maintained a clear performance edge, showing smoother and deeper convergence curves than the comparison methods.
Limitations and Future Work
Although RLECEO demonstrates strong generalization, the authors noted that its performance edge slightly diminishes as the problem dimensionality scales up to 100D. This suggests that the current 10-dimensional population feature vector loses some of its descriptive capacity in massive search spaces.
To address this, the authors plan to focus future work on developing more fine-grained, high-dimensional state representations and further refining the dynamic reward weighting mechanism.
Summary updated