Researchers have been studying decentralized ant behavior to create smarter swarm robotics and self-organizing algorithms.