Teaching robots to learn new tricks faster with dog training methods
With a training technique commonly used to teach dogs to sit and stay, Johns Hopkins University computer scientists 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.
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 findings are newly published in a paper called, “Good Robot!”
“The question here was how do we get the robot to learn a skill?” said lead author Andrew Hundt, a PhD student working in Johns Hopkins’ 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.”
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 here 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.
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 said. “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 said.
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,” said co-author Gregory D. Hager, the Mandell Bellmore 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.”
The team and co-authors included Johns Hopkins graduate students Andrew Hundt, Benjamin Killeen, Nicholas Greene, Heeyeon Kwon, and Hongtao Wu; and former graduate student Chris Paxton .
The Latest Updates from Bing News & Google News
Go deeper with Bing News on:
Robot learning
- Tech News: The uprising of the robots or merely a design fault, is debatable
ARTIFICIAL intelligence (AI) and machine learning have made considerable progress in the last few years. This progress has been to such an extent that robots are currently replacing humans in many ...
- Gupta earns prestigious NSF CAREER award to build predictive models that can improve robot navigation and object interaction
Champaign Electrical & Computer Engineering Assistant Professor Saurabh Gupta received a coveted NSF CAREER award grant for young faculty to conduct research that will improve robots’ abilities to ...
- 5 Trends Dominating the Robotics Sector
What is the state of the robotics and automation sector at 2022's midpoint? ABI Research’s Lian Jye Su has a few thoughts, five in fact.
- Robots Learn To Play With Play Dough – Better Than People With Just 10 Minutes of Data
Robots manipulate soft, deformable material into various shapes from visual inputs in a new system that could one day enable better home assistants. Many of us feel an overwhelming sense of joy from ...
- Nvidia Megatron: Not a robot in disguise, but a large language model that’s getting faster
Nvidia's Megatron has been upgraded to help train LLMs more efficiently by reducing the amount of memory and compute required for training.
Go deeper with Google Headlines on:
Robot learning
Go deeper with Bing News on:
Positive reinforcement to teach robots
- How To Get Your Dog to Stop Barking (Without Barking Back)
I know people call me the queen of shitty robots and that my track record ... S2: The latest trend and dog training philosophy is called positive reinforcement. Essentially, instead of using ...
- Robots learn household tasks by watching humans
The robot watched as Shikhar Bahl opened the refrigerator door. It recorded his movements, the swing of the door, the location of the fridge and more, analyzing this data and readying itself to mimic ...
- Robots learn household tasks by watching humans
Current methods for teaching a robot a task typically rely on imitation or reinforcement learning. In imitation learning, humans manually operate a robot to teach it how to complete a task.
- This Robot Dog Taught Itself How To Walk Without Any Assistance
A novel robot ... teaching approach could have huge potential for complicated learning too such as autonomous driving. However, there still exist some unsolved problems too. For starters ...
- Teaching home robots to learn by watching people
Robotic learning has quickly become of automation’s most vibrant categories -- and understandably so. Programming a robot has traditionally required a lot of ...