Introduction
In the field of combinatorial optimization, the development of robust solvers for NP-hard problems often relies on "Experience-based Optimization" (EBO). Traditionally, this involves offline training where a parameterized algorithm is tuned against a static set of benchmark instances. However, this approach frequently suffers from a "static flaw": if training instances are too simple, the solver plateaus; if they are unrepresentative, the solver fails in real-world applications.
This paper introduces LiangYi, a coevolutionary framework designed to overcome these limitations. Named after the Taoist concept of interacting opposites, LiangYi treats problem instances not as static data, but as active "sparring partners" that evolve alongside the solver population. By forcing solvers to adapt to increasingly difficult, tailor-made challenges, LiangYi ensures continuous improvement and broader generalization.
The LiangYi Framework
LiangYi utilizes a competitive coevolutionary loop consisting of two primary modules that operate in an alternating "arms race":
1. EvolveAlg (Solver Evolution)
This module manages an Algorithm Population (AP), representing a parallel portfolio of solvers. Using an Evolutionary Algorithm, it searches for parameter configurations that perform well on the current set of problem instances. To prevent "catastrophic forgetting," the fitness function balances current performance with historical performance, ensuring that as solvers adapt to new challenges, they retain their efficacy on previously encountered problems.
2. EvolveIns (Instance Evolution)
Simultaneously, the Instance Population (IP) module searches for new problem instances that the current solvers struggle to solve. By evolving instances to maximize solver failure, LiangYi effectively maps the "holes" in the current portfolio's capabilities. This automated filtering prevents the training process from wasting computational resources on instances the solver has already mastered.
Experimental Methodology
The researchers evaluated LiangYi using the Traveling Salesman Problem (TSP), a benchmark for computationally hard optimization.
- Base Algorithm: The framework utilized a parameterized version of the Chained Lin-Kernighan (CLK) algorithm.
- Evaluation: To ensure statistical significance, the authors generated a massive test set of 10,000 TSP instances (500 cities each). This represents one of the largest evaluation sets used in TSP solver research, providing a rigorous measure of generalization.
Key Results and Insights
LiangYi was compared against ParHydra, a state-of-the-art method for constructing parallel algorithm portfolios. The results highlight several advantages of the coevolutionary approach:
- Superior Generalization: On the 10,000-instance test set, LiangYi-trained solvers achieved an average applicability (finding near-optimal solutions within strict time limits) of 68.22%, significantly outperforming ParHydra’s 63.83%.
- High-Quality Instance Generation: The instances evolved by LiangYi proved to be inherently "harder" and more useful for training. When these evolved instances were used to train the baseline ParHydra model, its performance improved, suggesting that LiangYi is a powerful tool for discovering the features that make a problem difficult.
- Computational Efficiency: Despite the complexity of coevolution, LiangYi proved remarkably efficient. The training process required approximately 19 CPU days, a stark contrast to the 642 CPU days required for the ParHydra/ParamILS setup used in the study.
Conclusion and Future Work
LiangYi demonstrates that by treating solver training as a dynamic competition between algorithms and instances, we can produce more robust and efficient optimization tools. The coevolutionary process acts as a natural "gym," preparing solvers for the diversity of real-world problem spaces.
Future research directions include:
- Online Adaptation: Extending the framework to allow solvers to learn "on the fly" during deployment.
- Diversity Preservation: Implementing techniques like Negatively Correlated Search to ensure the solver portfolio remains complementary and diverse.
- Surrogate Modeling: Utilizing machine learning regression models to predict solver performance, which could further accelerate the coevolutionary cycles by reducing the need for full evaluations.
Summary updated