Collective animal behaviour
The usual term for insects which are not always in a fixed colony, but move in large numbers is swarm. There are many good examples: army ants for instance. The best researched is the locust.