A Swiss team has applied the principles of Darwinian selection to robot development. The result: robots that can walk, cooperate to achieve shared goals and even “hunt” in groups. Their behavior is driven by a neural network: sensors feed information into it, and its outputs control the motors that move each robot. Remarkably, some learned to behave altruistically. But could a robot of this kind become a threat?

When engineers design a robot, they usually consider how many degrees of movement it needs, how precise its moving parts must be and what tasks its software should perform. With those requirements in hand, they can build a machine that welds a car body, flies a drone or vacuums your home. Such robots typically follow behavior that is fully predetermined at the factory, adhering closely to rules set during development and manufacturing.

Other robots, though, are controlled by artificial intelligence that, put simply, “learns” the rules governing its movements. This is the kind of robot developed by researchers at the École Polytechnique Fédérale de Lausanne and the University of Lausanne in Switzerland.

9FCF.jpg
Can robots evolve, too?

Professor Dario Floreano, who led the work at the Laboratory of Intelligent Systems (LIS), says the results “demonstrate that, thanks to natural selection, just a few hundred generations are enough for robots to evolve to the point where they can move through a maze without colliding with one another, devise sophisticated predator-and-prey strategies, cooperate and even develop something resembling altruism.”

These Swiss robots do not have a conventional electronic brain. Floreano equipped them with a neural network that changes their behavior over time, based on their “experiences” and the results of the strategies they try. In some ways, humans learn to perform tasks in a similar fashion. “In every case, the behaviors emerged through natural selection, using a simple neural network,” the professor says. Sensors activated the neurons in the network’s input layer, while its output layer controlled the motors.

At the start of the experiment, each robot had a different “genome.” This cybernetic genome was a description of the connections between its artificial neurons. The differences initially produced erratic behavior: most robots struggled to move in a straight line, avoid obstacles or make their way through the maze. Robotic Darwinian selection gradually changed that behavior by favoring the artificial genomes best suited to the challenges Floreano set. Those “successful genes” provided the basis for the next generation. The Lausanne team found that, after about 100 generations, the robots could cross a maze without hitting obstacles.

9FCD.jpg
A robot with complete “free will” could become a problem.

The researchers then set up experiments in which the robots had to learn typical predator behavior. Through trial and error—as in biological evolution—they had to develop successful tactics, such as stalking prey or using the “walls” of their world to catch it.

The robots evolved again, displaying behavior that was strikingly altruistic. In some games, the objective could be achieved only through cooperation between two or more robots. On several occasions, a robot “sacrificed” itself—for example, by dropping out of the game—so that its team could succeed.

“These examples of experimental evolution in robots are very useful for testing the real power of evolutionary strategies based on mutation, recombination and natural selection,” Floreano says. “The robots’ ability to navigate, escape predators and even cooperate is particularly remarkable, given that their genotypes were deliberately mapped in a simple way and the neural networks used consisted of just a dozen neurons.”

The findings, published in PLOS Biology, demonstrate that robots can learn on their own. Taken to its furthest extent, the idea could make it possible to build a single kind of robot with a blank “brain” and then train it for whatever task is needed.

Still, even if robots can show something resembling altruism, they are machines. If they get out of control, they could become dangerous. A robot equipped with a neural network and something like complete “free will” might decide that a human is standing in the way of its assigned task—and choose to remove that obstacle. A combination of a brain like Floreano’s and strict control rules, perhaps modeled on Asimov’s Three Laws of Robotics, might produce a safer result.

For now, the research has shown that robots do not have to be stupid: they can learn and evolve on their own.