Coarse-grained analysis of stochasticity-induced switching between collective motion states