[Paper Review] Temporal Heterogeneity Improves Speed and Convergence in Genetic Algorithms
This paper proposes temporal heterogeneity in genetic algorithms by making crossover probability inversely proportional to individual fitness—fitter individuals cross over less frequently. This approach accelerates convergence and improves solution quality on the N-Queens and Traveling Salesperson Problems without requiring prior knowledge of the search space, achieving a 1000-Queens solution in 191 minutes versus failure in the classical algorithm after 6000 generations.
Genetic algorithms have been used in recent decades to solve a broad variety of search problems. These algorithms simulate natural selection to explore a parameter space in search of solutions for a broad variety of problems. In this paper, we explore the effects of introducing temporal heterogeneity in genetic algorithms. In particular, we set the crossover probability to be inversely proportional to the individual's fitness, i.e., better solutions change slower than those with a lower fitness. As case studies, we apply heterogeneity to solve the $N$-Queens and Traveling Salesperson problems. We find that temporal heterogeneity consistently improves search without having prior knowledge of the parameter space.
Motivation & Objective
- To investigate whether dynamically adjusting crossover probability based on individual fitness improves genetic algorithm performance.
- To evaluate if temporal heterogeneity enhances convergence speed and solution quality in combinatorial optimization problems.
- To test whether this method works without prior knowledge of the parameter space or problem structure.
- To compare performance against classical genetic algorithms on N-Queens and TSP with large-scale instances.
- To explore the potential of this approach for real-coded and stochastic optimization problems in future work.
Proposed method
- Crossover probability is set as inversely proportional to individual fitness, so fitter individuals undergo fewer crossovers.
- The method applies to both N-Queens and TSP, using standard genetic algorithm components: selection, crossover, mutation, and fitness evaluation.
- Fitness is evaluated using the number of conflicts (in N-Queens) or total path length (in TSP).
- The algorithm runs for fixed generations (e.g., 6000 for 1000-Queens) with a fixed population size (e.g., 300).
- Heterogeneity is applied only to crossover; mutation remains constant across individuals.
- Performance is measured by convergence speed, number of crossover instructions, and solution quality (e.g., path length or number of conflicts).
Experimental results
Research questions
- RQ1Does dynamically adjusting crossover probability based on fitness improve convergence speed in genetic algorithms?
- RQ2Can temporal heterogeneity enhance solution quality in NP-hard combinatorial problems like N-Queens and TSP?
- RQ3Does this method outperform classical genetic algorithms without requiring problem-specific parameter tuning?
- RQ4How does the number of crossover operations scale with heterogeneity, and what is its impact on execution time?
- RQ5Is temporal heterogeneity effective for large-scale instances, such as 1000-Queens or 7,000-node TSP?
Key findings
- The heterogeneous algorithm solved the 1000-Queens problem in 191.31 minutes with 1.5 billion crossover instructions, while the classical algorithm failed to converge in 6000 generations.
- For the 1000-Queens problem, the heterogeneous algorithm achieved a solution with only one successful run, whereas the classical algorithm produced no valid solution.
- In the 7,000-node TSP, the heterogeneous algorithm achieved a path length of 24,032.29 in 87.24 hours, compared to 35,395.33 in 94.89 hours for the classical algorithm.
- Despite performing more crossover instructions (211k vs. 192k), the heterogeneous algorithm reached a significantly better solution in less time.
- The method reduced the number of evaluations on high-fitness individuals, decreasing computational load and accelerating convergence.
- The results suggest that temporal heterogeneity enables better exploration of the search space by preserving fit individuals and promoting recombination of unfit ones.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.