Citizen Scientists: Play A Game, Teach A Robot
September 10, 2013

Online Gaming Improves Robotic Swarm Algorithms

[ Watch the Video: Play A Game, Help A Robot ]

redOrbit Staff & Wire Reports - Your Universe Online

Researchers at Rice University's Multi-Robot Systems Laboratory (MRSL) are refining their control algorithms for robotic swarms based on data from five free online games that anyone can play.

"What we learn from the game and our lab experiments applies directly to real-world challenges," said Aaron Becker, a postdoctoral researcher at MRSL.

"For example, if a doctor had a swarm of several thousand microscopic robots, each carrying a tiny payload of anti-cancer drugs, might it be possible to have them all converge on a tumor using magnetic signals from an MRI machine?"

[ Watch the Video: Robotic Ensemble Control ]

The five online games used in the study let players use simple commands to move groups of robots through mazes and around obstacles. Sometimes the goal is to push a larger object to a particular location, while at other times the goal is to move the collective to a target, or to have it assume a specific shape. Each time a game is played, the website gathers data about how the task was completed.

Becker said MRSL would use the data to develop new control algorithms for robot swarms.

"The data from these games will help us better understand how to use multi-robot systems with massive populations to perform coordinated, complex tasks," said MRSL lab director James McLurkin, assistant professor of computer science at Rice.

To demonstrate the kind of complex behaviors that can be achieved with simple commands, Becker videotaped an experiment over the Labor Day weekend in which a swarm of a dozen randomly scattered r-one robots were directed to form a complex shape – a capital R. To direct the robots, he used a simple, one-button controller – an '80s-era videogame joystick capable of giving only two commands: rotate and roll forward.

"The robots are all connected to the same joystick, so each robot received exactly the same commands," Becker said.

The experiments were the latest to use the r-one, a low-cost yet sophisticated multi-robot system that McLurkin began designing in 2009. Each fist-sized r-one has a radio, a motor, two wheels, dozens of sensors, onboard electronics and is up to 10 times less expensive than previously available research-grade swarm robots.

In the Labor Day experiment, Becker's control algorithm directed each r-one in the swarm to a unique, pre-programmed, end position. The algorithm accomplished this by harnessing slight differences in each robot's response to the two simple commands. In a computer simulation, Becker also showed how the same technique could be used to direct a 120-robot swarm to both spell out "Rice" and display the shape of the university's owl mascot.

"The controller commands all the robots to rotate, and prior to giving the forward command, the controller measures the location and orientation of each member of the swarm with an overhead camera," Becker said.

"The algorithm collapses all of that information into a single number -- a measurement of error -- and tries to make this error as small as possible."

To reduce the error measure, the controller exploits "rotational noise."

"Each time the joystick tells the robots to turn, every robot turns a slightly different amount due to random wheel slip," Becker said.

"The controller uses these differences to slowly drive the swarm to its goal. This is where the algorithmic results are critical. It might take thousands of individual commands to produce a complex shape, but the proof shows that the algorithm will always produce the desired goal positions."

"It's counterintuitive," McLurkin said.

"Common sense would seem to indicate that you'd need to issue individual commands to each robot to move the group into complex patterns, but that is not the case. The beauty of the algorithm is that each simple move brings the entire group closer to the goal."

McLurkin said the demonstration is the first step toward a more impressive goal.

"Aaron's new work is aimed at using environmental obstacles to perform more complex tasks and to simultaneously control hundreds or thousands of robots.”

"That may sound like science fiction, but Rice chemist James Tour is developing massive populations of nanorobots right now, just two buildings over. His group can build many trillions of these in a single batch."

Becker acknowledged that the current algorithm is slow, but said data from the online games will be used to design new control algorithms that are as much as 200 times faster.

Becker, who will complete a yearlong postdoctoral stint at MRSL later this month, said he will continue his research at his next postdoctoral assignment at Harvard University and Boston Children's Hospital.