Scroll Top

Scientists are teaching robots to share code and evolve just like animals


We all too often think of machines, and robots, as static things, but new breakthroughs in artificial intelligence, manufacturing, and materials are giving them the power to evolve.


Bacteria do it, viruses do it. Worms, mammals, even bees do it. So our parents tell us anyway… Every living thing on earth replicates, whether that’s asexually, which is boring, or sexually, which is a lot more fun – for most animals anyway. And even Google’s Artificial Intelligence (AI) programs are in on the act with a couple recently designing and producing their very own AI offspring. However, for all of their advanced skills and talents, from being able to do Parkour to running through rocky terrain, and picking apples, robots don’t do it. Furthermore, and despite the development of the world’s first self-evolving self-printing robot, and the first materials that will allow us to build the world’s first Terminator like shape shifting robots, that I spoke about a while ago, the majority of these steely automatons don’t even seem to be interested in reproduction at all – and that’s just crazy!


See also
AI has learnt to predict heart attacks more accurately than doctors


But perhaps they can learn to love and embrace it – and each other. And this is where scientists in a fascinating field known as Evolutionary Robotics are trying to get machines to adapt to the world, and eventually to reproduce on their own – just like biological organisms. But instead of combining genetic material these future robots will combine code, and instead of evolving new body parts they’ll manufacture them.

In short, someday, if, or more likely when, all goes according to plan two robots that are particularly well adapted to a certain environment could combine their code to produce a 3D printed baby robot that combines the strengths of both its parents, in the same way Darwinian Evolution works with animals. If the approach works, it could lead to robots that design themselves, building beautifully adapted morphologies and behaviors that a human engineer could never dream up.

While this might sound far-fetched and perhaps a bit alarming, evolutionary roboticists are already churning out these fantastical designs. For instance, researchers in Australia recently evolved robot leg shapes by first randomly generating 20 shapes. In a simulation, they tested how well each would walk on various surfaces – that is, testing for “fitness,” in the survival-of-the-fittest sense.


See also
An autonomous US Navy Stingray drone successfully refuelled an F-18 in mid flight


They then took the top performers and “mated” them to produce similar-looking legs, or children. The researchers did this over and over again, generation after generation, and wound up with legs that were marvellously adapted to walking on hard soil, on gravel, or in water. And unsurprisingly the designs are crazy – they look like tree-people doing Fortnite dances, which are great for hard soil, and misshapen elephant feet, which are great for water.

Which is exactly the point. Traditionally, when engineers set out to design a robot, they tend to recycle ideas. Why do Mars rovers have six wheels? Because six-wheeled vehicles have worked well on Mars before. But perhaps designers are missing something. The beauty of evolution is that it stumbles upon bonkers ideas all the time. No one, for example, designed a fungus to invade ants’ bodies and mind-control them around the rain forest – that unusual strategy emerged thanks to generation upon generation of random mutations and natural selection.

Just as in nature, in the future it will be mutations that will drive the evolution of the “robot species.” And the key is variation. When two organisms make a baby, their genes combine, but mutations also sneak in, which can lead to unique traits in the child, such as subtly different camouflage. That kind of mutation would thus make the offspring more or less adapted to a particular environment. If it’s an unfavorable mutation, the animal doesn’t reproduce as effectively, or at all, and those mutant genes don’t make it to the next generation.

Consider what computer scientist Gusz Eiben is doing at Vrije Universiteit Amsterdam. He takes two relatively simple robots made up of connected modules and mates them by combining their “genomes,” which carry information about, say, coloration. He also adds noise to this marriage of data, which mimics a biological mutation by subtly changing the offspring so it isn’t just a pure blend of its parents.


See also
Nvidia has found a way to let people peer into the brain of its AI


“One parent is fully green, and the other parent is fully blue,” Eiben says. “Then the child has some modules that are blue and some that are green, but the head is white. That’s not what we put in – it’s a mutation effect.”

And with this variation comes a new kind of creativity in robotic design.

“It gives you a lot of diversity, and it gives you the power to explore areas of a design space that you wouldn’t normally go into,” says research scientist David Howard, who developed the evolving leg system and recently published a framework for evolutionary robotics in Nature Machine Intelligence.

“One of the things that makes natural evolution powerful is the idea that it can really specialize a creature to an environment,” he says.

The idea is to get robots to adapt to niches in a particular environment in a similar way. So, say you want a robot that can explore the jungle on its own. That means it needs algorithms that govern how it moves through the vegetation, as well as a morphology that gets along with a dense forest, so, for example, that means no rotors. You would first simulate that environment for robots to navigate, choosing and breeding those that perform best, then design slightly varied physical machines based on that.

“What we’d do is get lots of small robots that are quite simple and cheap to make,” Howard says. “We’d send them out, and some of them would do better than others. If a robot doesn’t make it back, it’s not considered ‘fit’ – natural selection at work. Those that do make it get to sire the next generation, which a 3D printer would automatically spit out. Thus, the robotic species evolves.”


See also
Fully autonomous raspberry picking robot successfully completes field trials


Howard reckons we could see this sort of system at work in about 20 years.

Indeed, the materials these evolved robots will be made of though is a bit more of an issue, but there are an abundance of new options coming through including new smart materials that spread the robot’s intelligence all over its body, like I discussed a while ago, rather than confining it all to a central “brain.”

“If 3D printing advances in speed, this kind of idea will become true, but today’s printers are very slow,” says Juan Cristobal Zagal, who studies evolutionary robotics at the University of Chile. Both the machines and printing materials are expensive too. But 3D printers can already print a range of materials, including metal, and they will only get faster and cheaper from here, all of which will help robots, like the one I mentioned at the beginning of the article, evolve physically faster – much much faster.

Broadly, the range and scope of these robots will come down in large part to how these evolutionary systems get creative with materials. When they’re making traditional robots, engineers know what materials to use where, from the metal of motors to the carbon fiber of limbs – or they think they know based on decades of research. But in addition to auditioning different robot morphologies and behaviors in simulation, engineers could add new materials to the mix. They’d first build a database describing the properties of each material, something that we’re already doing to assist the design and evolution of Creative Machines, such as the one that recently designed Under Armour’s newest sneakers, and NASA’s latest planetary rover, then assign those materials to parts of the robot. So maybe a leg made of plastic works better when walking through a particular environment than carbon fiber. If the robot survives, that means there’s something in the combination of components and materials that made it fit for the job or, in the evolutionary sense, its niche.


See also
AI drones will soon be controlling autonomous vehicles on building sites


“Maybe if a new class of materials becomes available, we can just plug that in, and it will be able to select from that,” says Howard. “It takes a lot of the onus away from the human designer.”

By this point you might be thinking, “Hey, what could possibly go wrong with letting robots procreate?” The answer, apparently, is you have nothing to worry about. Ha. Silly gullible human. On a serious note though we’re told that the researchers are “rigorously designing these systems to follow certain rules,” such as the principles of natural selection. Call me a cynic – everything gets weaponised at some point – hunter killer drones anyone?

Just like we know why fish evolved legs to walk on land, we know why a lineage of robots might adapt morphologies and behaviors for specific environments.

“The resulting designs may be surprising, but they won’t be detrimental to our species,” say the researchers, “unless a designer tells the robots to evolve to kick as much human ass as possible.”

Hmmm, let me think – that’s unlikely right? Phew.

Yes, giving robots the ability to evolve and breed is certainly a more complicated way to design machines compared with traditional techniques, but it will also unleash a new kind of awesome engineering creativity, and let’s all hope that we can contain those downsides… For now though, in the short term, as they say, everything’s cool maaaan.

Related Posts

Leave a comment


Awesome! You're now subscribed.

Pin It on Pinterest

Share This