How to train your robot: treat it like an animal

Teaching a robot is just like teaching an animal

Programming robots is kinda hard. There's a lot of coding involved, and despite the zillion learn-to-code courses that have sprung up in recent years it's probably fair to say that most people won't ever develop the skills necessary to program a robot from scratch.

That's why researchers from Washington State University's School of Electrical Engineering and Computer Science are working on alternatives - and one that they've discovered is the use of techniques normally designed to train animals.

In real-world animal training, dogs tend to be slow to respond to instructions when they're learning them, and react faster once they're more confident. So the researchers designed a computer program that lets humans teach a virtual robot dog and included the ability for dog-bot to react at different speeds.

"At the beginning, the virtual dog moves slowly. But as it receives more feedback and becomes more confident in what to do, it speeds up," said Bei Peng, who worked on the project.

When the user taught the robot dog tasks by reinforcing good actions and punishing incorrect ones, it was able to learn to effectively predict the correct course of action in different circumstances. The more feedback it got, the better it got.

No Feedback

Additionally, the algorithm allowed the dog-bot to confront the tricky task of knowing what no feedback at all means. "When you're training a dog, you may withhold a treat when it does something wrong," said Matthew Taylor, who also worked on the study.

"So no feedback means it did something wrong. On the other hand, when professors are grading tests, they may only mark wrong answers, so no feedback means you did something right."

It's hoped that these principles could one day be used to let people with no programming skills teach their robots what they want them to do. The researchers say they also hope it could teach people how to be more effective animal trainers.

"We want everyone to be able to program, but that's probably not going to happen," said Taylor. "So we needed to provide a way for everyone to train robots – without programming."

Duncan Geere
Duncan Geere is TechRadar's science writer. Every day he finds the most interesting science news and explains why you should care. You can read more of his stories here, and you can find him on Twitter under the handle @duncangeere.
Latest in Tech
The best tech of MWC 2025 examples, including the Nothing Phone 3a Pro, the Nubia Flip 2, and the Lenovo Solar PC
Best of MWC 2025: the 10 top tech launches we tried on the show floor
Toy Fair 2025 Primal Hatch
The 7 best toys we saw at Toy Fair 2025, from a Lego boat to a hatching, robotic dinosaur
ICYMI
ICYMI: the 7 biggest tech stories of the week, from a next-gen Alexa to the new iPhone 16e
A triptych image featuring the Beats Powerbeats Pro 2, iPhone 16e and Amazon Echo Show 21.
5 hottest tech reviews of the week: the gorgeous, affordable iPhone 16e and Amazon's epic 21-inch Echo Show
Apple Airtag four pack on orange background with lowest price sign
The Apple AirTags are now even cheaper than Black Friday thanks to a surprise price cut at Amazon
Acer Predator Helios Neo 14 on purple background with big savings text overlay
Portable and powerful, the Acer Predator Helios Neo 14 gaming laptop with an RTX 4070 is $600 off right now
Latest in News
iPad Air M3
The new iPad Air M3 is good value – but I’d still buy this iPad Pro model instead
A piece of paper with the words 'an HBO Original film' on it next to a pile of snow
Jesse Armstrong’s next HBO Original sounds like another Succession-style satire starring Steve Carrell and Jason Schwartzman
The Samsung Galaxy Ring in Titanium Silver
A future Samsung Galaxy Ring could have a feature to stop you burning yourself on your morning coffee
The maps feature of the Strava app open on an iPhone 15 Pro
Strava does a u-turn as users are allowed to post external links again
CorelDraw Go homepage showing design examples
Adobe arch-rival unveils online graphic design tool for beginners - and yes, it has a subscription
Android Auto
Android Auto is about to get a big Gemini upgrade – and there's good news and bad news