
LIVING creatures took millions of years to evolve from amphibians to four-legged mammals 鈥 with larger, more complex brains to match. Now an evolving robot has performed a similar trick in hours, thanks to a software 鈥渂rain鈥 that automatically grows in size and complexity as its physical body develops.
Existing robots cannot usually cope with physical changes 鈥 the addition of a sensor or new type of limb, say 鈥 without a complete redesign of their control software, which can be time-consuming and expensive.
So artificial intelligence engineer Christopher MacLeod and his colleagues at the Robert Gordon University in Aberdeen, UK, created . 鈥淚f we want to make really complex humanoid robots with ever more sensors and more complex behaviours, it is critical that they are able to grow in complexity over time 鈥 just like biological creatures did,鈥 he says.
Advertisement
As animals evolved, additions of small groups of neurons on top of existing neural structures are thought to have allowed their brain complexity to increase steadily, he says, keeping pace with the development of new limbs and senses. In the same way, Macleod鈥檚 robot鈥檚 brain assigns new clusters of 鈥渘eurons鈥 to adapt to new additions to its body.
The robot is controlled by a neural network 鈥 software that mimics the brain鈥檚 learning process. This comprises a set of interconnected processing nodes which can be trained to produce desired actions. For example, if the goal is to remain balanced and the robot receives inputs from sensors that it is tipping over, it will move its limbs in an attempt to right itself. Such actions are shaped by adjusting the importance, or weighting, of the input signals to each node. Certain combinations of these sensor inputs cause the node to fire a signal 鈥 to drive a motor, for example. If this action works, the combination is kept. If it fails, and the robot falls over, the robot will make adjustments and try something different next time.
Finding the best combinations is not easy 鈥 so roboticists often use an evolutionary algorithm to 鈥渆volve鈥 the optimal control system. The EA randomly creates large numbers of control 鈥済enomes鈥 for the robot. These behaviour patterns are tested in training sessions, and the most successful genomes are 鈥渂red鈥 together to create still better versions 鈥 until the best control system is arrived at.
MacLeod鈥檚 team took this idea a step further, however, and developed an incremental evolutionary algorithm (IEA) capable of adding new parts to its robot brain over time.
The team started with a simple robot the size of a paperback book, with two rotatable pegs for legs that could be turned by motors through 180 degrees. They then gave the robot鈥檚 six-neuron control system its primary command 鈥 to travel as far as possible in 1000 seconds. The software then set to work evolving the fastest form of locomotion to fulfil this task.
鈥淚t fell over mostly, in a puppyish kind of way,鈥 says MacLeod. 鈥淏ut then it started moving forward and not falling over straight away 鈥 and then it got better and better until it could eventually hop along the bench like a mudskipper.鈥
When the IEA realises that its evolutions are no longer improving the robot鈥檚 speed it freezes the neural network it has evolved, denying it the ability to evolve further. That network knows how to work the peg legs 鈥 and it will continue to do so.
At this point, it is just like any other evolved robot: it would be unable to cope with the addition of knee-like joints, say, or more legs. But unlike conventional EAs, the IEA is sensitive to a sudden inability to live up to its primary command. So when the team fixed jointed legs to their robot鈥檚 pegs, the software 鈥渞ealises鈥 that it has to learn how to walk all over again. To do this, it automatically assigns itself fresh neurons to learn how to control its new legs.
鈥淲hen the team fixed jointed legs onto the robot, it 鈥榬ealised鈥 it had to learn how to walk all over again鈥
As the IEA runs again, the leg below the 鈥渒nee鈥 is initially wobbly, but the existing peg-leg 鈥渉ip鈥 is already trained. 鈥淪o it flops about, but with more purpose to it,鈥 says MacLeod. 鈥淓ventually the knee joint works and the robot evolves a salamander-like motion.鈥
Once the primary command has been fulfilled once again, the IEA freezes that second neural network. When two more jointed legs are added to the rear of the robot, the software once again adds more neurons and this time evolves a four-legged trotting motion, and so on (see diagram).
The robot can also adapt to newly acquired vision, and learn how to avoid or seek light when given a camera. 鈥淭his is just like the way the brain evolved, building up in layers,鈥 Macleod says (Engineering Applications of Artificial Intelligence ().
, head of cybernetics at the University of Reading in the UK, is far from convinced. He says just adding more neurons to the brain as things change is not enough; the entire neural structure must also adapt. 鈥淸MacLeod鈥檚] approach will result in many more neurons being needed to do the job badly, when a smaller number of neurons would have done well,鈥 he says.
Macleod says the team ran tests in which the whole 鈥渂rain鈥 was able to re-evolve, but the system became too complex and simply ground to a halt. But he is now taking his idea a step further, with a simulated robot that not only evolves its own way of moving, but also decides how many legs and sensors it needs to carry out a given task most effectively.
He is confident the technique will help to build more advanced robots. In particular, the software could make humanoid robots and prosthetic limbs more versatile, he says. 鈥淚t can build layer-upon-layer of complexity to fulfil tasks in an open-ended way.鈥