Skip to main content
Carsten Felix Draschner, PhD

Alternative to GenAI creativity? Watch and try out these fun Evolutionary Algorithms. Problem-solving without GenAI and SGD-based approaches explained!

Exploring Evolutionary Algorithms as an alternative to GenAI for problem-solving, using a fun 2D vehicle race example.

Evo Cars

TL;DR ⏱️

Background ☺️

Evolutionary algorithms (EAs) explained 👨🏼‍🏫

Problem 🏁:

Vehicle Configuration = Genome 🧬:

Key EA Steps on the vehicle race example 🔢 :

  1. Initialization: Generate a set of vehicles with random characteristics (genome) called population
  2. Fitness Evaluation: Check how far they have got on the randomly generated surface.
  3. Selection: Select a subset of the best vehicles from the population to reproduce and form the next generation, e.g., by tournament selection or rank selection.
  4. Crossover (Recombination): Combine the genetic information of two or more selected vehicles to create new offspring. E.g., average two good car genomes or randomly select the information of each...
  5. Mutation: Randomly modify the genetic information of some individuals in the population to introduce new variations and prevent convergence to a local optimum.
  6. Replacement: Replace the least performing vehicles with new offspring generated through crossover and mutation.
  7. Termination: Repeat until a stopping criterion is met: the needed distance, number of iterations, or convergence threshold.
  8. Output: best vehicle, representing the near-optimal solution

My Perspective 🤗:

Credit ❤️

Questions

Stay tuned by following me here on Linked ❤️

#LostInGenai #artificialintelligence #evolutionaryalgorithms

LinkedIn Post