If you've ever watched professional ping-pong players on TV, you may have wondered if -- due to their rapid-fire pace of play -- they were actually robots.
Well wonder, no more. A German research team created the first robot that can not only play ping-pong like a human, but can also improve its game by learning from its human opponents like the ones you've maybe seen whizzing around the table in a blur.
The robot -- the brainchild of PhD candidate and robotic researcher Katharina Muelling at the Technical University of Darmstadt -- consists of a robotic arm to which a ping-pong paddle is attached, as well as a camera that provides a view of the table and area of play.
Researcher Katharina Muelling poses with a ping pong playing robot she and her team at the Technical University of Darmstadt in Germany designed and built. The robot is comprised of an arm to which a paddle is attached as well as a camera that watches the table and area of play, responding to the opponent's moves. (Source: The Technical University of Darmstadt)
Muelling's work focuses on developing robots that can achieve motor control and perform complex motor-oriented tasks, as well as learn to adapt as they perform them -- a concept called "kinesthetic teach-in." She outlined her work on the robot in a paper available online.
As described by Muelling, she and her team used table tennis as a "benchmark task" to design the mixture of motor primitives (MoMP) algorithm controlling the robot, allowing it to understand one basic set of movements and then dynamically apply those movements as it goes along. (Watch a video of this process below.)
"The goal of this task is to learn autonomously from and with a human to return a table tennis ball to the opponent's court and to adapt its movements accordingly," she wrote in the paper, titled "Learning to Select and Generalize Striking Movements in Robot Table Tennis."
Once the robot learns movements from a human teacher -- the kinesthetic teach-in aspect of the basic task -- the machine's MoMP is programmed according to these movements. Following this, the robot's learning system identifies the movements it takes to hit the ball, generalizes them, and is able to apply them later throughout a game or prolonged play with an opponent, Muelling wrote. "The resulting system is able to return balls served by a ball launcher as well as to play in a match against a human."
From the looks of the video, Muelling's robotic ping-pong player isn't quite ready for the Olympics yet, but it could provide a steady opponent for practice -- the equivalent of a mechanical ball pitcher for batting practice or playing tennis against a wall.
The first sentence is pretty funny. I've often wondered if some people were robots: not only in sports, but in customer service conversations, both on the phone and by email. As robots get more humanoid looking that's going to be harder to determine even with visual cues.
I must say, 88% return rate is much better than me. But I would be surprised if it could beat a series of new players consistently. Artificial intelligence may seem like a fantasy far into the future, but simple forms of artificial learning are already possible, and are quite formidable. This is definitely the first step in the right direction.
From the bot's perspective, the ball is probably moving in slow motion. A 60Hz sample rate is near in-human. Average reaction time in humans hovers around 200ms.
Good point about human verses bot reaction time - it reminded me of Data when he was tempted by the Borg Queen's offer to join her in First Contact - Captain Picard asked him how long he considered it and Data replied, "0.68 seconds sir. For an android, that is nearly an eternity."
This is pretty amazing to see the robot learn how to play over time. At the Robot display at the Carnegie Science Center in Pittsburgh, they have a robot setup to play air hockey. The robot used vision to analyze the table then would only go on an offensive shot when it saw that there was a clear angle to the goal. At all other times, it stayed on defense. The robot did a pretty good job and won most of its matches.
I wouldn't think that a legal serve should confuse the robot. In order to operate at all it needs to know the ball's location in space as well the "field" (i.e., its side of the table). Not sure that it would be able to keep score, but I would think it would be relatively simple to discount any bounces on the far side of the net, considering everything else it is work off of.
This was pretty fun to watch as the robot learned and got better. I'm sure somebody will eventually figure out a useful application for this one-armed pongster even if it's only for ping pong training camps. Maybe it can be used to toss packs of peanuts into the stands during a ball game?
Nice article, Elizabeth. I especially like the video. It seems were seeing more and more versions of humans against the machine. I love the fact that it learns. However, Chuck makes a good point about the backhand.
Focus on Fundamentals consists of 45-minute on-line classes that cover a host of technologies. You learn without leaving the comfort of your desk. All classes are taught by subject-matter experts and all are archived. So if you can't attend live, attend at your convenience.