Evolutionary algorithm (EA)
An evolutionary algorithm is an optimisation method modelled on natural selection that keeps a population of candidate solutions and repeatedly selects, recombines and mutates the best of them.
An evolutionary algorithm treats possible solutions to a problem like organisms. It starts with a random population, scores each member with a fitness function that measures how well it solves the problem, and lets the fitter ones become parents. Their offspring are made by combining parts of two parents and by making small random changes, the less fit members are dropped, and the cycle repeats until a good enough solution appears or the budget runs out.
The appeal is that the method only needs a way to score candidates. It does not need the gradient that neural network training relies on, so it can work on problems where the score comes from a simulation, a physical test or a program's output. That makes it a kind of black-box optimiser.
Several branches grew up separately. Genetic algorithms, the most popular, usually encode solutions as strings of numbers. Evolution strategies, developed by Ingo Rechenberg, Hans-Paul Schwefel and colleagues, work on real-valued vectors and adapt their own mutation settings as they go. Genetic programming evolves computer programs, and differential evolution builds new candidates from the differences between existing ones.
Evolutionary methods keep resurfacing in AI research. In 2017 Tim Salimans and colleagues presented evolution strategies as a scalable alternative to reinforcement learning, reporting that it used over a thousand parallel workers to solve 3D humanoid walking in 10 minutes. In May 2025 Google DeepMind announced AlphaEvolve, in which Gemini models propose changes to code, automated evaluators score them and an evolutionary framework keeps the most promising. DeepMind said it had found a scheduling heuristic that recovers about 0.7% of Google's worldwide compute, a way to multiply 4x4 complex-valued matrices with 48 scalar multiplications, and a kernel speed-up that cut Gemini's training time by about 1%.
The weaknesses are practical. Evaluating thousands of candidates can be very expensive, there is no guarantee of finding the best possible solution, and populations can get stuck around a good but not optimal answer. Evolutionary algorithms work best when a candidate can be scored quickly and automatically, and AlphaEvolve's results came in exactly such areas: mathematics and code, where a computer can check the answer.
Evolutionary algorithm is the family name. A genetic algorithm is its most popular member, usually representing solutions as strings of numbers and relying on crossover and mutation. Evolution strategies, genetic programming and differential evolution are other members. Gradient descent adjusts one solution by following the slope of an error function, which requires that slope to be calculable. Evolutionary algorithms keep many candidates and only need a score for each, so they work on problems with no usable gradient, at the price of many more evaluations. Yes, though not to train large language models, which use gradient descent. They appear in research on reinforcement learning, in searching for model designs, and in systems such as Google DeepMind's AlphaEvolve, announced in May 2025, which uses Gemini models inside an evolutionary loop to improve algorithms. They can need a very large number of fitness evaluations, which is costly when each one is slow. They offer no guarantee of finding the best solution, and they can converge on a good but not optimal answer if the population loses variety.Common questions
What is the difference between an evolutionary algorithm and a genetic algorithm?
How do evolutionary algorithms differ from gradient descent?
Are evolutionary algorithms used in modern AI?
What are the limitations of evolutionary algorithms?
Search for "evolutionary computation", "evolution strategies" or "genetic programming" to explore the family, and for "AlphaEvolve" for the most prominent recent use. Reliable sources include the research papers on arXiv, the developers' own technical reports and blog posts, and textbooks on evolutionary computation. Results announced by companies about their own systems are worth checking against the accompanying paper, which states exactly what was measured.Finding more
Working out what this means for your business?
Aileron Shift builds the systems behind this site: AI newsrooms that research, write and publish on their own, marketing automation and WordPress hosting for companies that need to move faster than their competitors.