Old dog training methods teach robots new tricks
A robot named Spot has learned some new skills with training techniques that work on our four-legged friends, researchers report.
With a training technique commonly used to teach dogs to sit and stay, researchers showed a robot how to teach itself several new tricks, including stacking blocks.
With the method, the robot, named Spot, was able to learn in days what typically takes a month.
“I’ve had dogs so I know rewards work and that was the inspiration for how I designed the learning algorithm.”
By using positive reinforcement, an approach familiar to anyone who’s used treats to change a dog’s behavior, the team dramatically improved the robot’s skills and did it quickly enough to make training robots for real-world work a more feasible enterprise.
“The question here was how do we get the robot to learn a skill?” says lead author Andrew Hundt, a PhD student working in Johns Hopkins University’s Computational Interaction and Robotics Laboratory. “I’ve had dogs so I know rewards work and that was the inspiration for how I designed the learning algorithm.”
The research appears in IEEE Robotics and Automation Letters .
Teaching a robot to learn
Unlike humans and animals that are born with highly intuitive brains, computers are blank slates and must learn everything from scratch. But true learning is often accomplished with trial and error, and roboticists are still figuring out how robots can learn efficiently from their mistakes.
The team accomplished that by devising a reward system that works for a robot the way treats work for a dog. Where a dog might get a cookie for a job well done, the robot earned numeric points.
Hundt recalled how he once taught his terrier mix puppy named Leah the command “leave it,” so she could ignore squirrels on walks. He used two types of treats, ordinary trainer treats and something even better, like cheese.
When Leah was excited and sniffing around the treats, she got nothing. But when she calmed down and looked away, she got the good stuff. “That’s when I gave her the cheese and said, ‘Leave it! Good Leah!'”
Similarly, to stack blocks, Spot the robot needed to learn how to focus on constructive actions. As the robot explored the blocks, it quickly learned that correct behaviors for stacking earned high points, but incorrect ones earned nothing. Reach out but don’t grasp a block? No points. Knock over a stack? Definitely no points. Spot earned the most by placing the last block on top of a four-block stack.
High score!
The training tactic not only worked, it took just days to teach the robot what used to take weeks. The team was able to reduce the practice time by first training a simulated robot, which is a lot like a video game, then running tests with Spot.
“The robot wants the higher score,” Hundt says. “It quickly learns the right behavior to get the best reward. In fact, it used to take a month of practice for the robot to achieve 100% accuracy. We were able to do it in two days.”
Positive reinforcement not only worked to help the robot teach itself to stack blocks, with the point system the robot just as quickly learned several other tasks —even how to play a simulated navigation game. The ability to learn from mistakes in all types of situations is critical for designing a robot that could adapt to new environments.
“At the start the robot has no idea what it’s doing but it will get better and better with each practice. It never gives up and keeps trying to stack and is able to finish the task 100% of the time,” Hundt says.
The team imagines these findings could help train household robots to do laundry and wash dishes—tasks that could be popular on the open market and help seniors live independently. It could also help design improved self-driving cars.
“Our goal is to eventually develop robots that can do complex tasks in the real world—like product assembly, caring for the elderly, and surgery,” says coauthor Gregory D. Hager, a professor of computer science.
“We don’t currently know how to program tasks like that—the world is too complex. But work like this shows us that there is promise to the idea that robots can learn how to accomplish such real-world tasks in a safe and efficient way,” Hager says.
Source: Johns Hopkins University
The post Old dog training methods teach robots new tricks appeared first on Futurity .
Share this article:
This article uses material from the Futurity article, and is licenced under a CC BY-SA 4.0 International License. Images, videos and audio are available under their respective licenses.
Related Articles:
AI teaches a robot how to learn to walk
July 14, 2021 • futurityWatch this open-source dog robot do backflips
May 20, 2019 • futurityLinks/images:
- https://doi.org/10.1109/LRA.2020.3015448
- https://www.futurity.org/robots-make-hot-dogs-machine-learning-2285142-2/
- https://www.futurity.org/robotic-arm-artificial-intelligence-packing-2094082/
- https://www.futurity.org/robots-artificial-brain-system-touch-2410222-2/
- https://hub.jhu.edu/2020/10/26/positive-reinforcement-for-robots/
- https://www.futurity.org/robots-learning-dog-training-2460922/
- https://www.futurity.org