This undated handout photo provided by the journal Science shows cockroaches and robots interacting for common shelter selection.
Tiny robots programmed to act like roaches were able to blend into cockroach society, according to researchers studying the collective behavior of insects.
Cockroaches tend to self-organize into leaderless groups, seeming to reach consensus on where to rest together.
For example, when provided two similar shelters, most of the group tended to gather under the same one.
Hoping to learn more about this behavior, researchers led by Jose Halloy at the Free University of Brussels, Belgium, designed small robots programmed to act like a cockroach.
The robots didn't look like the insects, and at first the roaches fled from them, but after the scientists coated the robots with pheromones that made them smell like roaches, the machines were accepted into the group, nesting together with the insects.
Given a choice, roaches generally prefer a darker place, and the robots were programmed to do the same.
When given a choice of a darker or lighter shelter, 75 percent of the cockroaches and 85 percent of the robots gathered under the darker one.
Then, to see if the robots had really become part of society and could influence group decisions, Halloy and colleagues programmed them to prefer shelters with more light.
The result, the lighter shelter was preferred by the mixed group 61 percent of the time, while the cockroaches alone picked it just 27 percent of the time.
On the other hand, in 39 percent of cases the robots, despite being programmed to prefer a lighter shelter, joined the cockroaches under the darker one.
The findings were reported in Friday's issue of the journal Science.