ask-matt
MAmattpocock/skills337k4,978 new stars in the last 7 days
Diverse Island Genetic Algorithm skill. USE WHEN the user explicitly requests Diverse Island GA / diversity-oriented island GA, or wants specialized island roles with adaptive migration and novelty preservation instead of a uniform island GA.
Reference: LLM4AD_Next specialized island model. Extends IslandGA with specialized island roles (a continuous exploitation↔exploration spectrum), adaptive stagnation-aware migration, and novelty preservation.
Diverse IslandGA builds on the classic island model but removes the assumption that all islands are identical. Instead, it assigns each island a continuous strategy position along the exploration↔exploitation spectrum, and coordinates them through adaptive migration that fires only when an island stagnates. This keeps the population diverse and avoids the premature spread of a local optimum.
Core mechanisms:
| Concept | Role |
|---|---|
| Island strategy spectrum | island_strategy_strength controls how much islands differ (experience-reuse → novelty exploration) |
| Adaptive migration | adaptive_migration receives migrants only after an island stagnates |
| Stagnation threshold | migration_stagnation_threshold consecutive non-improving generations before migration is allowed |
| Novelty survivor | novelty_survivor_ratio reserves non-elite survivor slots for code-dissimilar individuals |
| Exploration restart | exploration_restart_ratio share of candidates built from scratch on the most exploratory island |
| Short-run guard | short_task_max_migrations caps migration events on short runs |
See params.yaml in this directory for the recommended parameter configuration.
Note: This variant ships with a smaller out-of-box workload (max_generations=10, island_population_size=5) than the plain IslandGA, so it is safe to run without heavy tuning.
num_islands islands, each at a distinct point on the strategy spectrumelite_reevaluation_count)migration_stagnation_threshold non-improving generationsshort_task_max_migrationsisland_strategy_strengthexploration_restart_ratio and novelty ratioshort_task_max_migrations low (default 1)MAmattpocock/skills337k4,978 new stars in the last 7 days
MAmattpocock/skills337k4,978 new stars in the last 7 days
MAmattpocock/skills337k4,978 new stars in the last 7 days
OBobra/superpowers331k4,772 new stars in the last 7 days
AFaffaan-m/ECC315k4,381 new stars in the last 7 days
AFaffaan-m/ECC315k4,381 new stars in the last 7 days