Empirical Studies of Deep Learning on Information Diffusion on Social Networks and Collective Task Learning for Swarm Robotics