Can Computers Evolve?

Since life first started, it has been adapting and evolving into something more sophisticated, prepared and smarter. Can computers start doing the same thing, and how?

St Andrews 20266 min read · 3 reads

Digital Darwin

For billions of years, life has flourished on Earth, shaped by one key principle: evolution. Through mutations, environmental adaptation and reproduction, living organisms have adapted over billions of years. But what if we used these principles in the world of Computer Science? Rather than relying on programmers to lay the foundations, machines could solve problems through this sophisticated form of trial and error.

And most importantly, this is not science fiction. A branch of computer science already exists, known as evolutionary computing, which uses mathematical models based on evolution to solve complex problems. By allowing these solutions to compete, mutate and reproduce over many digital ‘generations’, computers could discover solutions and methods far more sophisticated than mathematicians, scientists and programmers might ever have imagined. These technologies could extend far beyond computer science, including robotics and biological research.

How Does Artificial Evolution Work?

At the foundation of artificial evolution lie the same principles as biological evolution: variation, selection and reproduction.

A computer creates a pool of possible solutions to a problem. This pool is then evaluated on its effectiveness in reaching a certain objective. The strongest candidates are selected, and their characteristics are then combined through a process known as crossover. Mutations can also introduce new variations into the solutions. This produces the second generation of solutions. Over many iterations, this pool of solutions may converge towards an increasingly effective method.

Let’s take the example of robotics. In robotics, there are two main ways in which programmers gain a result from a robot. The first is very simple: programmers sit down and programme the robot to do something, for example, take a step. The second method is more interesting in my opinion: the programmers place an exact copy of the robot in a simulated environment. They then give the robot an abstract instruction on what to do. For example, to reach the finish line in the most energy-efficient way. If the robot executes this well, it receives a point. If it does it badly, it loses a point. The computer then repeats this process over many generations, selecting and modifying the most successful solutions.

However, computers are not literally ‘alive’. They themselves do not undergo biological evolution, and the success of the task depends on factors such as the clarity of the objective, the available computational resources and the way the algorithm explores the solutions.

From Evolution To Discovery

One of the most important applications of digital evolution is scientific research. Scientists often come across problems with thousands, perhaps even millions of solutions, where it is exceedingly difficult to deduce a single answer through pure calculation. A computer running an evolutionary algorithm can eliminate the chaff and continue optimising until an effective solution is reached.

An unusual example of this is NASA’s use of an evolutionary algorithm to develop an antenna for its Space Technology 5 mission. The resulting antenna had an unusual, asymmetrical shape, with branching structures resembling something found in nature, rather than a conventional antenna design. The antenna was installed on each of the three spacecraft in the mission.

In medicine and biology, evolutionary algorithms could help researchers investigate complex problems such as optimising chemotherapy treatment schedules. Researchers have explored how these algorithms can identify effective combinations and timings of drug administration through computational simulations. However, this does not mean that they can currently determine the best treatment for individual patients.

Separately, DeepMind’s AlphaFold2 predicts protein structures. Evolutionary algorithms can also be used to explore new biological designs, including ones with unknown uses.

Like in the example of NASA, they can be used to optimise aircraft components, car aerodynamics and engine systems, and try millions of combinations to evaluate a highly efficient system.

Evolution For All, All For Evolution

Beyond advances in technology, the entire planet is facing huge challenges such as climate change, resource shortages and higher energy demands. Evolutionary algorithms could become planet-savers.

While some of these uses are currently hypothetical, NASA’s antenna optimisation demonstrates that evolutionary algorithms can produce practical engineering designs. Consider the impact they could have on renewable energy. With solar panels and wind turbines operating in varying environments which may not always be optimal, evolutionary algorithms could optimise blade geometry, energy distribution networks and the geographical positioning of installations.

In goods manufacturing, algorithms can be used to engineer optimum factory tools, using minimal amounts of energy and reducing material waste. With plastic polluting the oceans, evolutionary algorithms could help us find optimum materials for goods manufacturing as well, to optimise recyclability without compromising strength and weight.

Agriculture could benefit as well. Computational systems may help researchers find crop varieties which are more resistant to drought, heat or cold. Irrigation systems could be optimised to improve the ratio of water used to land effectively irrigated. Meanwhile, robotic harvesting equipment could also be optimised.

These applications will not instantly solve all the problems the world is facing right now. Their effectiveness depends on scientific validation, implementation and availability of resources. Nevertheless, consider that many systems throughout daily life have stayed the same for decades or even centuries, despite advancements in materials. With an evolutionary algorithm, these systems could be engineered and moulded like a living thing, through successive generations of optimisation, until a more effective solution is found.

The Limits

Despite the immense potential of this technology in engineering, medicine and agriculture, the main limit is cost. Evaluating solutions across millions of generations requires huge processing power and electricity. If the energy consumed by the algorithms exceeds the benefits, their usefulness is reduced.

Another problem may be unpredictability. If an objective is not clear, an algorithm may produce solutions that technically satisfy its requirements but fail to achieve the intended result. A poorly designed fitness function may encourage a computer to develop useless optimisations, which perform poorly in practice.

In areas such as nuclear research and medicine, where safety is crucial, there needs to be extensive research and testing by human scientists to make sure that the technology proposed by the algorithm works under real-world physical conditions.

Keeping the factors mentioned in mind, human scientists will always be essential. We cannot put all our trust in computers, because solutions need to be tested in order to be safe and beneficial. Artificial evolution should be looked at as a boost to scientific reasoning rather than a replacement.

Conclusion: The Next Evolution

The concept of digital evolution lies at the intersection of computing, biology, physics, engineering and mathematics. By harnessing the process that shaped us and the living things around us, humanity has created methods capable of searching through huge pools of possibilities and producing solutions that may be beyond conventional human understanding and design.

The applications of this technology range from discovering new materials and improving renewable energy to medicine and helping astronomers investigate distant planets. Genetic algorithms, for example, have been used to fit possible exoplanet orbits to astronomical observations. Although there are still limitations to this technology becoming globally used, the potential is considerable.

Nature has spent billions of years evolving increasingly complex forms of life. Artificial evolution allows humanity to apply some of these seemingly basic principles in the digital world. Perhaps the next breakthrough in space exploration, engineering or programming will not be the brainchild of a human being, but the result of collaboration between digital evolution and human testing. If so, computers will no longer be merely instruments we use daily, but also active participants in the discovery and shaping of our planet's future

Reader discussion

Join the conversation.

0 contributions

No comments yet. Start the discussion.

Deep Dive

Written by students at Eton.
Read by anyone curious.

Your cookie preferences

We use essential cookies to run this website. With your permission, we also use analytics cookies to understand how visitors use the site.