Introduction
Genetic Algorithms (GAs) are powerful optimization tools but often require extensive manual tuning of parameters such as mutation rates and crossover probabilities. Suboptimal settings can lead to premature convergence or inefficient search. This paper introduces an autonomous, adaptive GA that utilizes matrix formulations to dynamically adjust these parameters based on population statistics, effectively eliminating the need for manual hyperparameter tuning.
Methodology
The core innovation of this research is the replacement of scalar parameters with Mutation and Crossover Matrices. This approach allows the algorithm to treat the population as a statistical data source to guide its search.
- Mutation Matrix ($M$): Instead of a global mutation rate, the algorithm assigns a unique probability to every gene in the population. This is determined by:
- Fitness Ranking: High-fitness chromosomes are protected from mutation to preserve good solutions, while low-fitness ones are mutated more aggressively to explore new areas.
- Locus Statistics: The algorithm monitors the standard deviation of alleles at each gene position (locus). Low variance suggests the population has converged on a useful structural component, prompting the algorithm to reduce mutation at that spot.
- Crossover Matrices: The authors propose two strategies based on the Hamming distance between parents:
- Long Hamming Distance Crossover (LHDC): Pairs parents that are significantly different, emphasizing exploration of the solution space.
- Short Hamming Distance Crossover (SHDC): Pairs similar parents, emphasizing exploitation and local fine-tuning.
- Parameter-Free Selection: Selection probabilities are derived directly from relative fitness ranks, removing the need for user-defined selection pressure constants.
Experimental Setup
The researchers evaluated their algorithm using the One-Dimensional Random Coupling Ising Spin Glass problem, a classic physics model for disordered systems that is mathematically analogous to the Knapsack Problem. They tested configurations with chromosome lengths ($N_{loci}$) ranging from 10 to 30, comparing the new matrix-based methods against a mutation-only adaptive GA (MOGA).
Results and Discussion
The experimental results demonstrate a significant performance advantage for the matrix-based crossover methods, particularly as problem complexity increases.
As shown in Table 1, the LHDC and SHDC variants consistently outperformed MOGA in both speed and reliability. For the most complex case ($N_{loci} = 30$), LHDC achieved a solution in an average of 1,724 generations, compared to 123,621 for MOGA—a nearly 70-fold speedup. Furthermore, while MOGA exhibited high failure rates in difficult configurations (e.g., 280 failures for sample 2 at $N_{loci} = 30$), both LHDC and SHDC maintained a 0% failure rate across all tested samples.
One of the most important findings was that LHDC consistently outperformed SHDC. This suggests that for complex optimization landscapes like the Ising spin glass, forcing the algorithm to combine diverse "ideas" through long-distance crossover is a more effective strategy than local refinement.
Conclusion
By leveraging Mutation and Crossover Matrices, the proposed adaptive GA effectively balances exploration and exploitation without manual intervention. The dramatic improvements in speed and reliability on benchmark problems suggest that this statistical approach to population management is a robust path toward more autonomous optimization. Future work may explore extending this framework to continuous search spaces and adaptive population sizing.
Summary updated