Unexpected Change in Population Diversity of Genetic Algorithm
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
We have been having unexpected results in our optimization processes, using the genetic algorithm. We have found that the diversity of the population seems to increase back to the original population diversity at the beginning of the optimization process.
This appears to happen in mostly periodic steps in the generation every n generations. What seems odd is that the population immediately then collapses back to the diversity it had before the diversification.
We have had more than one script, by different users, produce the same result. We understand that the GA should change the diversity overtime, but it does not seem that the diversity should ‘explode’ for a single iteration, followed by an ‘implosion’ the next iteration.
This is demonstrated in the figure below showing the generation at a specific generation.

We are trying to optimize three integer variables with only upper and lower bounds on the variables, there is no constraints. The optimization is finding the a near optimal solution, but we want to understand why this population is diversifying periodically as a function of generation.
The same behavior is seen for different max generation counts also. Yet the period seems to change given the max generation count.

We observe the same behavior regardless of our fitness function, as can be seen below.

We have tried to change the crossover, scale and other settings, we can minimize this, but it still appears to happen. Again, it’s not so much that the population is becoming diverse, it’s the change of the magnitude of diversity over time that is our concern.
Thank you!
0 commentaires
Réponses (1)
Rakesh Kumar
le 29 Juil 2020
Hi David,
The behavior is strange. It would be great to have a reproduction script if you can share since this behavior is on any function.
Please note that if you are specifying integer constraints to GA many options including crossover, mutation, etc. cannot be changed. See this note:
Can you reproduce this behavior with different bounds and dimension?
Thanks,
Rakesh
4 commentaires
Paul Kerr-Delworth
le 3 Août 2020
Hi David,
I agree with Rakesh - this behavior is strange.
If you could attach a reproduction script, I can run it here and take a look for you.
Cheers,
Paul
Voir également
Catégories
En savoir plus sur Genetic Algorithm dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


