Archives

Play Video

Old dog training methods teach robots new tricks

"...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."(Credit: hey skinny/Flickr)

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

  • Will COVID-19 spur new robot ‘friends’ and helpers?
  • Play Video

    Color camera teaches kitchen robots to grab clear stuff

    A new color camera system that recognizes shapes based on color could help robots get better at picking up transparent or reflective objects. (Credit: Getty Images)

    A new way to teach kitchen robots how to pick up transparent or reflective objects uses just a color camera, report researchers.

    Kitchen robots are a popular vision of the future, but if a robot of today tries to grasp a clear measuring cup or a shiny knife, it likely won’t be able to. Transparent and reflective objects are the things of robot nightmares.

    Depth cameras, which shine infrared light on an object to determine its shape, work well for identifying opaque objects. But infrared light passes right through clear objects and scatters off reflective surfaces, says David Held, an assistant professor in Carnegie Mellon University’s Robotics Institute.

    Thus, depth cameras can’t calculate an accurate shape, resulting in largely flat or hole-riddled shapes for transparent and reflective objects.

    But a color camera can see transparent and reflective objects as well as opaque ones. So roboticists developed a color camera system to recognize shapes based on color.

    A standard camera can’t measure shapes like a depth camera, but the researchers nevertheless could train the new system to imitate the depth system and implicitly infer shape to grasp objects. They did so using depth camera images of opaque objects paired with color images of those same objects.

    Once trained, they applied the color camera system to transparent and shiny objects. Based on those images, along with whatever scant information a depth camera could provide, the system could grasp these challenging objects with a high degree of success.

    “We do sometimes miss,” Held says, “but for the most part it did a pretty good job, much better than any previous system for grasping transparent or reflective objects.”

    The system can’t pick up transparent or reflective objects as efficiently as opaque objects, says Thomas Weng, a PhD student in robotics. But it is far more successful than depth camera systems alone.

    And the multimodal transfer learning used to train the system was so effective that the color system proved almost as good as the depth camera system at picking up opaque objects.

    “Our system not only can pick up individual transparent and reflective objects, but it can also grasp such objects in cluttered piles,” he says.

    Other attempts at robotic grasping of transparent objects have relied on training systems based on exhaustively repeated attempted grasps—on the order of 800,000 attempts—or on expensive human labeling of objects.

    The new system uses a commercial RGB-D camera that’s capable of both color images (RGB) and depth images (D). The system can use this single sensor to sort through recyclables or other collections of objects—some opaque, some transparent, some reflective.

    The researchers will present the system this summer at the International Conference on Robotics and Automation virtual conference.

    Additional coauthors are from BITS Pilani in India, ShanghaiTech, and Carnegie Mellon. The National Science Foundation, Sony Corporation, the Office of Naval Research, Efort Intelligent Equipment Co., and ShanghaiTech supported the work.

    Source: Carnegie Mellon University