Bio-inspired robotics: Teaching machines to walk like stick insects
Source PublicationBioinspiration & Biomimetics
Primary AuthorsWang, Chuthong, Hayashibe et al.
"Teaching a robot to walk using strict rules is like trying to learn to ride a bike by reading a maths textbook. It is much better to watch a master and learn the hidden goals, like staying balanced."

Imagine trying to teach a friend to ride a bicycle by handing them a massive list of mathematical rules. You write down exactly what to do. 'If the bicycle tilts two degrees to the left, then turn the handlebars one degree to the left.' You add another rule. 'If the road slopes upward, then push the pedals with ten percent more force.' What happens next? Your friend gets on the bike, hits a tiny bump that was not in the rulebook, and immediately falls over. Learning strict rules makes you stiff. It makes you unable to adapt when the environment changes.
Instead, how do humans actually learn? We watch a master do it. We figure out the hidden goal, which is to stay balanced and keep moving forward. We feel the weight of the bike. Once we understand the main goal, our brains naturally adjust to bumps, hills, and sudden turns without needing a rulebook.
This exact problem is what scientists face when building walking machines. For years, engineers have tried to programme robots using massive lists of predefined rules. But insects, with their tiny brains, navigate rough terrain far better than our most advanced machines.
The challenge in bio-inspired robotics
Bio-inspired robotics aims to borrow brilliant designs from nature and apply them to machines. But capturing the natural flow of an insect's movement is difficult. In the past, researchers manually tuned the walking parameters. They wrote hand-crafted rewards for the computer to follow, hoping the machine would learn to walk. This meant the robots walked well in a controlled lab, but struggled to transfer those skills to the messy real world.
To fix this, researchers tried a different approach. They stopped writing rules. Instead, they recorded the walking behaviour of real stick insects. Then, they fed this data into a computer model using a system that learns by observation.
The computer did not just copy the insect step-by-step. It acted exactly like the bicycle learner. It watched the biological demonstration and worked backwards to figure out the insect's hidden goals. By analysing the data, the programme inferred the underlying reward structure of the insect. It learned the continuous control policy directly from the natural movements.
Walking off the screen and into the real world
The scientists trained the system using only a short segment of data from a stick insect walking on flat ground. Even with this small amount of information, the learned policy adapted beautifully. When the virtual robot faced different environmental conditions, it successfully changed its leg coordination to stay upright.
Furthermore, the researchers measured how well this learned network transferred to different types of robots. Even if the new machine had a completely different physical shape, the core walking strategy still worked. The system achieved faster learning and produced a walking style that matched real biological creatures.
Finally, the team tested this on a physical robot. The study suggests that this data-driven method could easily transfer from a computer simulation to a real-world machine. If engineers can refine this process, then future robots might navigate disaster zones, forests, and rocky planets with the effortless grace of a simple stick insect.